diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-05-20 20:08:06 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-05-20 20:08:06 +0400 |
commit | 0ac1564f681aea3af7c0cb72d5c88637fc436503 (patch) | |
tree | ad1da46c9d6d0dc0a877184ea4ba43aa4b75c1d0 /source/blender/gpu/GPU_draw.h | |
parent | 4d6d68bfa16fd3d55455b12495bf21b82ea8cb11 (diff) |
opengl render was freeing all images from the graphics card each update.
with some 4x4k and 4x8k textures this becomes very slow.
only free animated textures (movies and sequences)
Diffstat (limited to 'source/blender/gpu/GPU_draw.h')
-rw-r--r-- | source/blender/gpu/GPU_draw.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_draw.h b/source/blender/gpu/GPU_draw.h index e233a3f3d94..92bf43e9a5a 100644 --- a/source/blender/gpu/GPU_draw.h +++ b/source/blender/gpu/GPU_draw.h @@ -117,6 +117,7 @@ int GPU_update_image_time(struct Image *ima, double time); int GPU_verify_image(struct Image *ima, struct ImageUser *iuser, int tftile, int tfmode, int compare, int mipmap); void GPU_free_image(struct Image *ima); void GPU_free_images(void); +void GPU_free_images_anim(void); /* smoke drawing functions */ void GPU_free_smoke(struct SmokeModifierData *smd); |