Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Stokes <mogurijin@gmail.com>2010-11-24 09:27:07 +0300
committerMitchell Stokes <mogurijin@gmail.com>2010-11-24 09:27:07 +0300
commit32eba0898b8df5ed40db38e6b41884190e8e45e0 (patch)
tree94afd204e0084514bbdf996700cc542513237f5f /source/blender/gpu/GPU_extensions.h
parentc790b2c238691b5688866244f2372535e51061a1 (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.h4
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);