diff options
Diffstat (limited to 'source/blender/draw/intern/draw_manager.h')
-rw-r--r-- | source/blender/draw/intern/draw_manager.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/source/blender/draw/intern/draw_manager.h b/source/blender/draw/intern/draw_manager.h index 7a45b808651..6c93b208870 100644 --- a/source/blender/draw/intern/draw_manager.h +++ b/source/blender/draw/intern/draw_manager.h @@ -140,7 +140,7 @@ typedef struct DRWCall { struct { /* type == DRW_CALL_INSTANCES */ Gwn_Batch *geometry; /* Count can be adjusted between redraw. If needed, we can add fixed count. */ - unsigned int *count; + uint *count; } instances; struct { /* type == DRW_CALL_GENERATE */ DRWCallGenerateFn *geometry_fn; @@ -201,19 +201,19 @@ struct DRWShadingGroup { struct { /* DRW_SHG_***_BATCH */ struct Gwn_Batch *batch_geom; /* Result of call batching */ struct Gwn_VertBuf *batch_vbo; - unsigned int primitive_count; + uint primitive_count; }; struct { /* DRW_SHG_INSTANCE[_EXTERNAL] */ struct Gwn_Batch *instance_geom; struct Gwn_VertBuf *instance_vbo; - unsigned int instance_count; + uint instance_count; float instance_orcofac[2][3]; /* TODO find a better place. */ }; }; DRWState state_extra; /* State changes for this batch only (or'd with the pass's state) */ DRWState state_extra_disable; /* State changes for this batch only (and'd with the pass's state) */ - unsigned int stencil_mask; /* Stencil mask to use for stencil test / write operations */ + uint stencil_mask; /* Stencil mask to use for stencil test / write operations */ DRWShadingGroupType type; /* Builtin matrices locations */ @@ -279,7 +279,7 @@ typedef struct DRWManager { /* Managed by `DRW_state_set`, `DRW_state_reset` */ DRWState state; DRWState state_lock; - unsigned int stencil_mask; + uint stencil_mask; /* Per viewport */ GPUViewport *viewport; @@ -292,11 +292,11 @@ typedef struct DRWManager { GLenum backface, frontface; struct { - unsigned int is_select : 1; - unsigned int is_depth : 1; - unsigned int is_image_render : 1; - unsigned int is_scene_render : 1; - unsigned int draw_background : 1; + uint is_select : 1; + uint is_depth : 1; + uint is_image_render : 1; + uint is_scene_render : 1; + uint draw_background : 1; } options; /* Current rendering context */ @@ -326,7 +326,7 @@ typedef struct DRWManager { } clipping; #ifdef USE_GPU_SELECT - unsigned int select_id; + uint select_id; #endif /* ---------- Nothing after this point is cleared after use ----------- */ |