diff options
author | mano-wii <germano.costa@ig.com.br> | 2019-08-12 18:10:44 +0300 |
---|---|---|
committer | mano-wii <germano.costa@ig.com.br> | 2019-08-12 18:10:44 +0300 |
commit | 44d95cbf9561a3b8840fb2145c22e0411d22f26d (patch) | |
tree | e0ed28bf7fc2e92a21afb0d14c9ab76b304676fd /source/blender/draw/engines/select/select_private.h | |
parent | 37b4384b59c09684ac4ece5e39bf20187968f737 (diff) |
Cleanup: DRW manager: Move `select_buffer.c` utilities out of the selection engine internals
Diffstat (limited to 'source/blender/draw/engines/select/select_private.h')
-rw-r--r-- | source/blender/draw/engines/select/select_private.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/source/blender/draw/engines/select/select_private.h b/source/blender/draw/engines/select/select_private.h index 2104f1485e7..d95b14ff2b6 100644 --- a/source/blender/draw/engines/select/select_private.h +++ b/source/blender/draw/engines/select/select_private.h @@ -62,39 +62,6 @@ typedef struct SELECTID_PrivateData { DRWView *view_verts; } SELECTID_PrivateData; /* Transient data */ -struct BaseOffset { - /* For convenience only. */ - union { - uint offset; - uint face_start; - }; - union { - uint face; - uint edge_start; - }; - union { - uint edge; - uint vert_start; - }; - uint vert; -}; - -struct SELECTID_Context { - struct GPUFrameBuffer *framebuffer_select_id; - struct GPUTexture *texture_u32; - - struct BaseOffset *index_offsets; - uint objects_len; - uint last_object_drawn; - /** Total number of items `base_array_index_offsets[bases_len - 1].vert`. */ - uint last_index_drawn; - - short select_mode; -}; - -/* select_engine.c */ -struct SELECTID_Context *select_context_get(void); - /* select_draw_utils.c */ void draw_select_framebuffer_select_id_setup(struct SELECTID_Context *r_select_ctx); short select_id_get_object_select_mode(Scene *scene, Object *ob); |