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:
authorClément Foucault <foucault.clem@gmail.com>2020-07-16 21:56:17 +0300
committerClément Foucault <foucault.clem@gmail.com>2020-07-18 04:43:51 +0300
commit2840782d8478f1c37c2aa91cc7f12c8e1f4dca0a (patch)
treeb6da922d89a166fd1653e273f7bf6eb346c3d25c /source/blender/gpu/GPU_texture.h
parent02c09773ea07c8c0a3d7be63abdfd963a9452402 (diff)
Cleanup: GPU: Make icon drawing use GPUTexture
This remove all gl function calls. Adds a new sampler only for icon drawing.
Diffstat (limited to 'source/blender/gpu/GPU_texture.h')
-rw-r--r--source/blender/gpu/GPU_texture.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_texture.h b/source/blender/gpu/GPU_texture.h
index a13f61177e6..f9e129b2f7a 100644
--- a/source/blender/gpu/GPU_texture.h
+++ b/source/blender/gpu/GPU_texture.h
@@ -298,6 +298,8 @@ int GPU_texture_opengl_bindcode(const GPUTexture *tex);
void GPU_texture_get_mipmap_size(GPUTexture *tex, int lvl, int *size);
+void GPU_sampler_icon_bind(int number);
+
#ifdef __cplusplus
}
#endif