Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/GPU_draw.h
| Show First 20 Lines • Show All 65 Lines • ▼ Show 20 Lines | void GPU_paint_update_image( | ||||
| struct Image *ima, struct ImageUser *iuser, int x, int y, int w, int h); | struct Image *ima, struct ImageUser *iuser, int x, int y, int w, int h); | ||||
| void GPU_create_gl_tex(unsigned int *bind, | void GPU_create_gl_tex(unsigned int *bind, | ||||
| unsigned int *rect, | unsigned int *rect, | ||||
| float *frect, | float *frect, | ||||
| int rectw, | int rectw, | ||||
| int recth, | int recth, | ||||
| int textarget, | int textarget, | ||||
| bool mipmap, | bool mipmap, | ||||
| bool half_float, | |||||
| bool use_srgb, | bool use_srgb, | ||||
| struct Image *ima); | struct Image *ima); | ||||
| void GPU_create_gl_tex_compressed(unsigned int *bind, | void GPU_create_gl_tex_compressed(unsigned int *bind, | ||||
| int textarget, | int textarget, | ||||
| struct Image *ima, | struct Image *ima, | ||||
| struct ImBuf *ibuf); | struct ImBuf *ibuf); | ||||
| bool GPU_upload_dxt_texture(struct ImBuf *ibuf, bool use_srgb); | bool GPU_upload_dxt_texture(struct ImBuf *ibuf, bool use_srgb); | ||||
| void GPU_free_image(struct Image *ima); | void GPU_free_image(struct Image *ima); | ||||
| Show All 31 Lines | |||||