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:
authorCampbell Barton <ideasman42@gmail.com>2019-01-23 06:15:43 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-01-23 06:16:03 +0300
commit2e4f1b592f7d1b63ec012528997fab64f16c0416 (patch)
treee53da8d758e3f3454afd27064d2382260653e210 /source/blender/gpu/GPU_framebuffer.h
parent14d947dcadea7c9debe6c8a078a571eba6cb828c (diff)
Cleanup: use eGPU prefix for GPU enum types
Diffstat (limited to 'source/blender/gpu/GPU_framebuffer.h')
-rw-r--r--source/blender/gpu/GPU_framebuffer.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/gpu/GPU_framebuffer.h b/source/blender/gpu/GPU_framebuffer.h
index 3f01d5167b4..3e52ff34814 100644
--- a/source/blender/gpu/GPU_framebuffer.h
+++ b/source/blender/gpu/GPU_framebuffer.h
@@ -43,11 +43,11 @@ typedef struct GPUAttachment {
int mip, layer;
} GPUAttachment;
-typedef enum GPUFrameBufferBits {
+typedef enum eGPUFrameBufferBits {
GPU_COLOR_BIT = (1 << 0),
GPU_DEPTH_BIT = (1 << 1),
GPU_STENCIL_BIT = (1 << 2),
-} GPUFrameBufferBits;
+} eGPUFrameBufferBits;
typedef struct GPUFrameBuffer GPUFrameBuffer;
typedef struct GPUOffScreen GPUOffScreen;
@@ -140,7 +140,7 @@ void GPU_framebuffer_config_array(GPUFrameBuffer *fb, const GPUAttachment *confi
void GPU_framebuffer_viewport_set(GPUFrameBuffer *fb, int x, int y, int w, int h);
void GPU_framebuffer_clear(
- GPUFrameBuffer *fb, GPUFrameBufferBits buffers,
+ GPUFrameBuffer *fb, eGPUFrameBufferBits buffers,
const float clear_col[4], float clear_depth, unsigned int clear_stencil);
#define GPU_framebuffer_clear_color(fb, col) \
@@ -168,7 +168,7 @@ void GPU_framebuffer_read_color(
void GPU_framebuffer_blit(
GPUFrameBuffer *fb_read, int read_slot,
GPUFrameBuffer *fb_write, int write_slot,
- GPUFrameBufferBits blit_buffers);
+ eGPUFrameBufferBits blit_buffers);
void GPU_framebuffer_recursive_downsample(
GPUFrameBuffer *fb, int max_lvl,
@@ -195,7 +195,7 @@ void GPU_offscreen_viewport_data_get(
GPUFrameBuffer **r_fb, struct GPUTexture **r_color, struct GPUTexture **r_depth);
void GPU_clear_color(float red, float green, float blue, float alpha);
-void GPU_clear(GPUFrameBufferBits flags);
+void GPU_clear(eGPUFrameBufferBits flags);
#ifdef __cplusplus
}