diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2010-11-24 09:27:07 +0300 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2010-11-24 09:27:07 +0300 |
commit | 32eba0898b8df5ed40db38e6b41884190e8e45e0 (patch) | |
tree | 94afd204e0084514bbdf996700cc542513237f5f /source/blender/gpu/GPU_extensions.h | |
parent | c790b2c238691b5688866244f2372535e51061a1 (diff) |
Reverting revision 33120, which added vram monitoring. The method used had some problems (especially in the freeing function). I will research an alternative solution and submit it to the tracker.
Diffstat (limited to 'source/blender/gpu/GPU_extensions.h')
-rw-r--r-- | source/blender/gpu/GPU_extensions.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/gpu/GPU_extensions.h b/source/blender/gpu/GPU_extensions.h index a9b4b7a8544..96c68778201 100644 --- a/source/blender/gpu/GPU_extensions.h +++ b/source/blender/gpu/GPU_extensions.h @@ -104,10 +104,6 @@ int GPU_type_matches(GPUDeviceType device, GPUOSType os, GPUDriverType driver); - if created with from_blender, will not free the texture */ -unsigned int GPU_texture_vram_usage(void); -void GPU_texture_vram_add(unsigned int amount); -void GPU_texture_vram_subtract(unsigned int amount); - GPUTexture *GPU_texture_create_1D(int w, float *pixels); GPUTexture *GPU_texture_create_2D(int w, int h, float *pixels); GPUTexture *GPU_texture_create_3D(int w, int h, int depth, float *fpixels); |