diff options
Diffstat (limited to 'source/blender/gpu/GPU_draw.h')
-rw-r--r-- | source/blender/gpu/GPU_draw.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/source/blender/gpu/GPU_draw.h b/source/blender/gpu/GPU_draw.h index 91f2442712b..3a22588e703 100644 --- a/source/blender/gpu/GPU_draw.h +++ b/source/blender/gpu/GPU_draw.h @@ -26,29 +26,11 @@ #include "BLI_utildefines.h" -#include "DNA_image_types.h" -#include "DNA_object_enums.h" - #ifdef __cplusplus extern "C" { #endif struct FluidModifierData; -struct GPUTexture; -struct Image; -struct ImageUser; -struct ImBuf; -struct Main; -struct MovieClip; -struct MovieClipUser; - -/* Texture creation from blender datablocks. */ -struct GPUTexture *GPU_texture_from_blender(struct Image *ima, - struct ImageUser *iuser, - struct ImBuf *ibuf, - eGPUTextureTarget target); - -struct GPUTexture *GPU_texture_from_movieclip(struct MovieClip *clip, struct MovieClipUser *cuser); /* Fluid simulation. */ void GPU_create_smoke(struct FluidModifierData *fmd, int highres); @@ -56,25 +38,9 @@ void GPU_create_smoke_coba_field(struct FluidModifierData *fmd); void GPU_create_smoke_velocity(struct FluidModifierData *fmd); /* Image updates and free. */ -void GPU_free_image(struct Image *ima); -void GPU_free_movieclip(struct MovieClip *clip); void GPU_free_smoke(struct FluidModifierData *fmd); void GPU_free_smoke_velocity(struct FluidModifierData *fmd); -void GPU_free_images(struct Main *bmain); -void GPU_free_images_anim(struct Main *bmain); -void GPU_free_images_old(struct Main *bmain); - -void GPU_paint_update_image( - struct Image *ima, struct ImageUser *iuser, int x, int y, int w, int h); -void GPU_paint_set_mipmap(struct Main *bmain, bool mipmap); - -/* Delayed free of OpenGL buffers by main thread */ -void GPU_free_unused_buffers(void); - -/* For internal use. */ -struct GPUTexture *GPU_texture_create_error(eGPUTextureTarget target); - #ifdef __cplusplus } #endif |