Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/engines/gpencil/gpencil_engine.h
| Context not available. | |||||
| } GpencilBatchCacheElem; | } GpencilBatchCacheElem; | ||||
| typedef struct GpencilBatchGroup { | typedef struct GpencilBatchGroup { | ||||
| bGPDlayer *gpl; /* reference to original layer */ | struct bGPDlayer *gpl; /* reference to original layer */ | ||||
| bGPDframe *gpf; /* reference to original frame */ | struct bGPDframe *gpf; /* reference to original frame */ | ||||
| bGPDstroke *gps; /* reference to original stroke */ | struct bGPDstroke *gps; /* reference to original stroke */ | ||||
| short type; /* type of element */ | short type; /* type of element */ | ||||
| bool onion; /* the group is part of onion skin */ | bool onion; /* the group is part of onion skin */ | ||||
| int vertex_idx; /* index of vertex data */ | int vertex_idx; /* index of vertex data */ | ||||
| } GpencilBatchGroup; | } GpencilBatchGroup; | ||||
| typedef enum GpencilBatchGroup_Type { | typedef enum GpencilBatchGroup_Type { | ||||
| Context not available. | |||||
| struct RenderLayer *render_layer, | struct RenderLayer *render_layer, | ||||
| const rcti *rect); | const rcti *rect); | ||||
| /* TODO: GPXX workaround function to call free memory from draw manager while draw manager support | |||||
| * scene finish callback. */ | |||||
| void DRW_gpencil_free_runtime_data(void *ved); | |||||
| /* Use of multisample framebuffers. */ | /* Use of multisample framebuffers. */ | ||||
| #define MULTISAMPLE_GP_SYNC_ENABLE(lvl, fbl) \ | #define MULTISAMPLE_GP_SYNC_ENABLE(lvl, fbl) \ | ||||
| { \ | { \ | ||||
| Context not available. | |||||