53 GPU_ATTACHMENT_TEXTURE(dtxl->depth),
54 GPU_ATTACHMENT_TEXTURE(dtxl->color),
58 GPU_ATTACHMENT_TEXTURE(dtxl->depth),
59 GPU_ATTACHMENT_TEXTURE(dtxl->color_overlay),
63 GPU_ATTACHMENT_TEXTURE(dtxl->depth),
69 GPU_ATTACHMENT_TEXTURE(dtxl->color),
74 GPU_ATTACHMENT_TEXTURE(dtxl->color_overlay),
78void DRWViewData::clear(
bool free_instance_data)
94 if (free_instance_data) {
115 for (std::unique_ptr<draw::TextureFromPool> &
texture :
#define GPU_FRAMEBUFFER_FREE_SAFE(fb)
#define GPU_framebuffer_ensure_config(_fb,...)
#define GPU_TEXTURE_FREE_SAFE(texture)
TEX_TEMPLATE DataVec texture(T, FltCoord, float=0.0f) RET
BLI_assert(slot->slot_subtype.map==BMO_OP_SLOT_SUBTYPE_MAP_FLT)
gpu::Texture * GPU_viewport_color_texture(GPUViewport *viewport, int view)
MINLINE void copy_v2_v2_int(int r[2], const int a[2])
void DRW_view_data_default_lists_from_viewport(DRWViewData *view_data, GPUViewport *viewport)
gpu::Texture * GPU_viewport_overlay_texture(GPUViewport *viewport, int view)
VecBase< int32_t, 2 > int2
void DRW_view_data_reset(DRWViewData *view_data)
gpu::Texture * GPU_viewport_depth_texture(GPUViewport *viewport)
draw::Manager * DRW_manager_get()
void DRW_view_data_free_unused(DRWViewData *view_data)
int GPU_viewport_active_view_get(GPUViewport *viewport)
DRWViewData * view_data_active
DefaultFramebufferList dfbl
void texture_list_size_validate(const int2 &size)
Map< std::string, std::unique_ptr< draw::TextureFromPool > > viewport_compositor_passes
void foreach_engine(CallbackT callback)
void foreach_enabled_engine(CallbackT callback)
gpu::FrameBuffer * default_fb
gpu::FrameBuffer * overlay_only_fb
gpu::FrameBuffer * depth_only_fb
gpu::FrameBuffer * color_only_fb
gpu::FrameBuffer * in_front_fb
gpu::FrameBuffer * overlay_fb
gpu::Texture * depth_in_front
gpu::Texture * color_overlay