Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/intern/DRW_render.h
| Show First 20 Lines • Show All 117 Lines • ▼ Show 20 Lines | #define MULTISAMPLE_SYNC_DISABLE(dfbl, dtxl) { \ | ||||
| if (dfbl->multisample_fb != NULL) { \ | if (dfbl->multisample_fb != NULL) { \ | ||||
| DRW_stats_query_start("Multisample Resolve"); \ | DRW_stats_query_start("Multisample Resolve"); \ | ||||
| GPU_framebuffer_bind(dfbl->default_fb); \ | GPU_framebuffer_bind(dfbl->default_fb); \ | ||||
| DRW_multisamples_resolve(dtxl->multisample_depth, dtxl->multisample_color); \ | DRW_multisamples_resolve(dtxl->multisample_depth, dtxl->multisample_color); \ | ||||
| DRW_stats_query_end(); \ | DRW_stats_query_end(); \ | ||||
| } \ | } \ | ||||
| } | } | ||||
| #define MULTISAMPLE_GP_SYNC_DISABLE(dfbl, dtxl, fb) { \ | |||||
| if (dfbl->multisample_fb != NULL) { \ | |||||
| DRW_stats_query_start("GP Multisample Resolve"); \ | |||||
| GPU_framebuffer_bind(fb); \ | |||||
| DRW_multisamples_resolve(dtxl->multisample_depth, dtxl->multisample_color); \ | |||||
| DRW_stats_query_end(); \ | |||||
| } \ | |||||
| } | |||||
| typedef struct DrawEngineDataSize { | typedef struct DrawEngineDataSize { | ||||
| int fbl_len; | int fbl_len; | ||||
| int txl_len; | int txl_len; | ||||
| int psl_len; | int psl_len; | ||||
| int stl_len; | int stl_len; | ||||
| } DrawEngineDataSize; | } DrawEngineDataSize; | ||||
| ▲ Show 20 Lines • Show All 429 Lines • Show Last 20 Lines | |||||