|
Blender V5.0
|
#include <gpencil_engine_private.hh>
Inherits DrawEngine.
Public Types | |
| using | tVfx_Pool = draw::detail::SubPassVector<tVfx> |
| using | tLayer_Pool = draw::detail::SubPassVector<tLayer> |
Public Member Functions | |
| ~Instance () final | |
| void | acquire_resources () |
| void | release_resources () |
| StringRefNull | name_get () final |
| void | init () final |
| void | begin_sync () final |
| void | object_sync (ObjectRef &ob_ref, Manager &manager) final |
| void | end_sync () final |
| void | draw (Manager &manager) final |
| void | antialiasing_accumulate (Manager &manager, float alpha) |
| Public Member Functions inherited from DrawEngine | |
| virtual | ~DrawEngine ()=default |
Static Public Member Functions | |
| static float2 | antialiasing_sample_get (int sample_index, int sample_count) |
Additional Inherited Members | |
| Static Public Attributes inherited from DrawEngine | |
| static constexpr int | GPU_INFO_SIZE = 512 |
Definition at line 123 of file gpencil_engine_private.hh.
Definition at line 179 of file gpencil_engine_private.hh.
Definition at line 178 of file gpencil_engine_private.hh.
|
inlinefinal |
Definition at line 303 of file gpencil_engine_private.hh.
References BLI_memblock_destroy(), final, gp_layer_pool, gp_light_pool, gp_maskbit_pool, gp_material_pool, gp_object_pool, and gp_vfx_pool.
| void blender::draw::gpencil::Instance::acquire_resources | ( | ) |
Definition at line 605 of file gpencil_engine_c.cc.
References blender::draw::TextureFromPool::acquire(), color_layer_tx, color_object_tx, depth_tx, draw_ctx, DRW_viewport_pass_texture_get(), gpencil_fb, gpencil_pass_fb, GPU_ATTACHMENT_NONE, GPU_ATTACHMENT_TEXTURE, is_render, layer_fb, mask_color_tx, mask_depth_tx, mask_fb, mask_tx, object_fb, reveal_layer_tx, reveal_object_tx, reveal_tx, size(), tobjects, use_layer_fb, use_mask_fb, use_object_fb, use_separate_pass, and use_signed_fb.
Referenced by draw().
Definition at line 190 of file gpencil_antialiasing.cc.
References accumulate_ps, accumulation_fb, accumulation_tx, blender::draw::detail::PassBase< DrawCommandBufType >::bind_image(), BLI_assert_msg, blender::draw::detail::PassBase< DrawCommandBufType >::draw_procedural(), DRW_STATE_WRITE_DEPTH, blender::draw::gpencil::ShaderCache::get(), GPU_framebuffer_bind(), GPU_PRIM_TRIS, GPU_TEXTURE_USAGE_ATTACHMENT, GPU_TEXTURE_USAGE_HOST_READ, GPU_TEXTURE_USAGE_SHADER_READ, GPU_TEXTURE_USAGE_SHADER_WRITE, blender::draw::detail::Pass< DrawCommandBufType >::init(), blender::draw::detail::PassBase< DrawCommandBufType >::push_constant(), render_color_tx, blender::draw::detail::PassBase< DrawCommandBufType >::shader_set(), size(), blender::draw::detail::PassBase< DrawCommandBufType >::state_set(), and blender::draw::Manager::submit().
Referenced by blender::draw::gpencil::render_frame().
|
static |
Definition at line 164 of file gpencil_antialiasing.cc.
References BLI_halton_2d(), blender::draw::gpencil::erfinv_approx(), and sqrt.
Referenced by blender::draw::gpencil::render_frame().
|
finalvirtual |
Scene synchronization. Command buffers building.
Implements DrawEngine.
Definition at line 168 of file gpencil_engine_c.cc.
References blender::draw::detail::PassBase< DrawCommandBufType >::bind_texture(), BKE_camera_object_dof_distance(), BKE_camera_sensor_size(), CAM_DOF_ENABLED, camera, cfra, blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), CTX_wm_manager(), DEG_get_ctime(), depth_tx, do_onion, do_onion_only_active_object, dof_params, draw_ctx, blender::draw::detail::PassBase< DrawCommandBufType >::draw_procedural(), DRW_STATE_DEPTH_LESS, DRW_STATE_LOGIC_INVERT, DRW_STATE_WRITE_COLOR, DRW_STATE_WRITE_DEPTH, ED_screen_animation_playing(), fabsf, fade_3d_object_opacity, fade_gp_object_opacity, fade_layer_opacity, fill_batch, blender::draw::gpencil::ShaderCache::get(), blender::bke::compositor::get_used_passes(), GPENCIL_SIMPLIFY_AA, GPENCIL_SIMPLIFY_FILL, GPENCIL_SIMPLIFY_FX, GPU_PRIM_TRIS, blender::draw::detail::Pass< DrawCommandBufType >::init(), is_render, is_stroke_order_3d, is_viewport, mask_invert, mask_invert_ps, merge_depth_ps, nullptr, OB_CAMERA, OB_RENDER, obact, object_bound_mat, playing, blender::draw::detail::PassBase< DrawCommandBufType >::push_constant(), scene, blender::draw::detail::PassBase< DrawCommandBufType >::shader_set(), simplify_antialias, simplify_fill, simplify_fx, snapshot_color_tx, snapshot_depth_tx, snapshot_reveal_tx, blender::draw::detail::PassBase< DrawCommandBufType >::state_set(), stroke_batch, use_layer_fb, use_mask_fb, use_object_fb, use_separate_pass, use_signed_fb, V3D_GP_FADE_NOACTIVE_GPENCIL, V3D_GP_FADE_NOACTIVE_LAYERS, V3D_GP_FADE_OBJECTS, V3D_GP_ONION_SKIN_ACTIVE_OBJECT, V3D_GP_SHOW_ONION_SKIN, V3D_HIDE_OVERLAYS, vertex_paint_opacity, and view_layer.
Referenced by blender::draw::gpencil::render_frame().
|
finalvirtual |
Command Submission.
Implements DrawEngine.
Definition at line 787 of file gpencil_engine_c.cc.
References acquire_resources(), BLI_assert, DefaultFramebufferList::default_fb, blender::draw::View::default_get(), DefaultTextureList::depth, draw_ctx, DRW_submission_end(), DRW_submission_start(), ED_view3d_background_color_get(), ELEM, fade_3d_object_opacity, gpencil_fb, blender::draw::gpencil::gpencil_object_cache_sort(), GPU_framebuffer_bind(), GPU_framebuffer_multi_clear(), interp_v3_v3v3(), is_render, LISTBASE_FOREACH, mul_v4_fl(), OB_GREASE_PENCIL, release_resources(), render_depth_tx, render_fb, scene, scene_depth_tx, scene_fb, tobjects, v3d, and view.
Referenced by blender::draw::gpencil::render_frame().
|
finalvirtual |
Implements DrawEngine.
Definition at line 588 of file gpencil_engine_c.cc.
References BLI_memblock_iternew(), BLI_memblock_iterstep(), gp_light_pool, gp_material_pool, GPU_uniformbuf_update(), blender::draw::gpencil::LightPool::light_data, blender::draw::gpencil::MaterialPool::mat_data, blender::draw::gpencil::LightPool::ubo, and blender::draw::gpencil::MaterialPool::ubo.
Referenced by blender::draw::gpencil::render_frame().
|
finalvirtual |
Init engine. Run first and for every redraw.
Implements DrawEngine.
Definition at line 55 of file gpencil_engine_c.cc.
References BLI_memblock_clear(), camera, camera_pos, camera_z_axis, camera_z_offset, copy_v3_fl(), copy_v3_v3(), blender::draw::View::default_get(), dot_v3v3(), draw_ctx, draw_wireframe, DRW_context_get(), dummy_depth, dummy_texture, dummy_tx, force_stroke_order_3d, global_light_pool, gp_layer_pool, gp_light_pool, gp_maskbit_pool, gp_material_pool, gp_object_pool, gp_vfx_pool, blender::draw::gpencil::gpencil_light_ambient_add(), blender::draw::gpencil::gpencil_light_pool_add(), GPU_TEXTURE_USAGE_SHADER_READ, is_render, is_sorted, is_viewport, last_light_pool, last_material_pool, OB_MODE_VERTEX_GREASE_PENCIL, OB_RENDER, OB_SOLID, OB_WIRE, render_depth_tx, RV3D_CAMOB, sbuffer_tobjects, scene, scene_depth_tx, scene_fb, shadeless_light_pool, tobjects, tobjects_infront, use_lighting, use_lights, use_multiedit_lines_only, v3d, v3d_color_type, V3D_GP_FORCE_STROKE_ORDER_3D, V3D_GP_SHOW_MULTIEDIT_LINES, V3D_HIDE_OVERLAYS, V3D_SHADING_VERTEX_COLOR, v3d_single_color, V3D_USES_SCENE_LIGHTS, V3D_USES_SCENE_WORLD, view_layer, blender::draw::View::viewinv(), XRAY_ALPHA, xray_alpha, and XRAY_ENABLED.
Referenced by blender::draw::gpencil::render_frame().
|
inlinefinalvirtual |
|
finalvirtual |
Implements DrawEngine.
Definition at line 567 of file gpencil_engine_c.cc.
References Object::data, DRW_object_visibility_in_active_context(), Object::dt, global_light_pool, blender::draw::gpencil::gpencil_light_pool_populate(), OB_GREASE_PENCIL, OB_LAMP, OB_SOLID, OB_VISIBLE_SELF, blender::draw::ObjectRef::object, Object::type, and blender::draw::Manager::unique_handle().
Referenced by blender::draw::gpencil::render_frame().
| void blender::draw::gpencil::Instance::release_resources | ( | ) |
Definition at line 668 of file gpencil_engine_c.cc.
References color_layer_tx, color_object_tx, depth_tx, mask_color_tx, mask_depth_tx, mask_tx, reveal_layer_tx, reveal_object_tx, reveal_tx, smaa_edge_tx, and smaa_weight_tx.
Referenced by draw().
| PassSimple blender::draw::gpencil::Instance::accumulate_ps = {"aa_accumulate"} |
Definition at line 127 of file gpencil_engine_private.hh.
Referenced by antialiasing_accumulate().
| Framebuffer blender::draw::gpencil::Instance::accumulation_fb = {"gp_accumulation_fb"} |
Definition at line 216 of file gpencil_engine_private.hh.
Referenced by antialiasing_accumulate().
| Texture blender::draw::gpencil::Instance::accumulation_tx = {"gp_accumulation_tx"} |
Definition at line 215 of file gpencil_engine_private.hh.
Referenced by antialiasing_accumulate(), blender::draw::gpencil::render_result_combined(), and blender::draw::gpencil::render_result_separated_pass().
| Object* blender::draw::gpencil::Instance::camera |
Definition at line 241 of file gpencil_engine_private.hh.
Referenced by begin_sync(), init(), and blender::draw::gpencil::render_frame().
| float blender::draw::gpencil::Instance::camera_pos[3] |
Definition at line 237 of file gpencil_engine_private.hh.
Referenced by init().
| float blender::draw::gpencil::Instance::camera_z_axis[3] |
Definition at line 236 of file gpencil_engine_private.hh.
Referenced by blender::draw::gpencil::gpencil_object_cache_add(), and init().
| float blender::draw::gpencil::Instance::camera_z_offset |
Definition at line 236 of file gpencil_engine_private.hh.
Referenced by init().
| int blender::draw::gpencil::Instance::cfra |
Definition at line 224 of file gpencil_engine_private.hh.
Referenced by begin_sync().
| TextureFromPool blender::draw::gpencil::Instance::color_layer_tx = {"color_layer_tx"} |
Definition at line 152 of file gpencil_engine_private.hh.
Referenced by acquire_resources(), and release_resources().
| TextureFromPool blender::draw::gpencil::Instance::color_object_tx = {"color_object_tx"} |
Definition at line 153 of file gpencil_engine_private.hh.
Referenced by acquire_resources(), and release_resources().
| TextureFromPool blender::draw::gpencil::Instance::color_tx = {"color_tx"} |
Definition at line 151 of file gpencil_engine_private.hh.
| TextureFromPool blender::draw::gpencil::Instance::depth_tx = {"depth_tx"} |
Definition at line 150 of file gpencil_engine_private.hh.
Referenced by acquire_resources(), begin_sync(), and release_resources().
| bool blender::draw::gpencil::Instance::do_onion |
Definition at line 261 of file gpencil_engine_private.hh.
Referenced by begin_sync().
| bool blender::draw::gpencil::Instance::do_onion_only_active_object |
Definition at line 263 of file gpencil_engine_private.hh.
Referenced by begin_sync().
| float blender::draw::gpencil::Instance::dof_params[2] |
Definition at line 239 of file gpencil_engine_private.hh.
Referenced by begin_sync().
| const DRWContext* blender::draw::gpencil::Instance::draw_ctx = nullptr |
Definition at line 194 of file gpencil_engine_private.hh.
Referenced by acquire_resources(), begin_sync(), draw(), and init().
| bool blender::draw::gpencil::Instance::draw_wireframe |
Definition at line 232 of file gpencil_engine_private.hh.
Referenced by init().
| Texture blender::draw::gpencil::Instance::dummy_depth = {"dummy_depth"} |
Definition at line 137 of file gpencil_engine_private.hh.
Referenced by init().
| Texture blender::draw::gpencil::Instance::dummy_texture = {"dummy_texture"} |
Definition at line 136 of file gpencil_engine_private.hh.
Referenced by init().
| gpu::Texture* blender::draw::gpencil::Instance::dummy_tx |
Definition at line 218 of file gpencil_engine_private.hh.
Referenced by init().
| float blender::draw::gpencil::Instance::fade_3d_object_opacity |
Definition at line 291 of file gpencil_engine_private.hh.
Referenced by begin_sync(), and draw().
| float blender::draw::gpencil::Instance::fade_gp_object_opacity |
Definition at line 289 of file gpencil_engine_private.hh.
Referenced by begin_sync().
| float blender::draw::gpencil::Instance::fade_layer_opacity |
Definition at line 287 of file gpencil_engine_private.hh.
Referenced by begin_sync().
| gpu::Batch* blender::draw::gpencil::Instance::fill_batch |
Definition at line 257 of file gpencil_engine_private.hh.
Referenced by begin_sync().
| tObject* blender::draw::gpencil::Instance::first |
Definition at line 206 of file gpencil_engine_private.hh.
| bool blender::draw::gpencil::Instance::force_stroke_order_3d |
Definition at line 301 of file gpencil_engine_private.hh.
Referenced by init().
| LightPool* blender::draw::gpencil::Instance::global_light_pool |
Definition at line 201 of file gpencil_engine_private.hh.
Referenced by init(), and object_sync().
| tLayer_Pool* blender::draw::gpencil::Instance::gp_layer_pool = new tLayer_Pool() |
Definition at line 184 of file gpencil_engine_private.hh.
Referenced by blender::draw::gpencil::grease_pencil_layer_cache_add(), init(), and ~Instance().
| struct BLI_memblock* blender::draw::gpencil::Instance::gp_light_pool = BLI_memblock_create(sizeof(LightPool)) |
Definition at line 190 of file gpencil_engine_private.hh.
Referenced by end_sync(), blender::draw::gpencil::gpencil_light_pool_add(), init(), and ~Instance().
| struct BLI_memblock* blender::draw::gpencil::Instance::gp_maskbit_pool = BLI_memblock_create(BLI_BITMAP_SIZE(GP_MAX_MASKBITS)) |
Definition at line 192 of file gpencil_engine_private.hh.
Referenced by blender::draw::gpencil::grease_pencil_layer_cache_add(), init(), and ~Instance().
| struct BLI_memblock* blender::draw::gpencil::Instance::gp_material_pool = BLI_memblock_create(sizeof(MaterialPool)) |
Definition at line 188 of file gpencil_engine_private.hh.
Referenced by end_sync(), blender::draw::gpencil::gpencil_material_pool_add(), init(), and ~Instance().
| struct BLI_memblock* blender::draw::gpencil::Instance::gp_object_pool = BLI_memblock_create(sizeof(tObject)) |
Definition at line 182 of file gpencil_engine_private.hh.
Referenced by blender::draw::gpencil::gpencil_object_cache_add(), init(), and ~Instance().
Definition at line 186 of file gpencil_engine_private.hh.
Referenced by init(), and ~Instance().
| Framebuffer blender::draw::gpencil::Instance::gpencil_fb = {"gpencil_fb"} |
Definition at line 167 of file gpencil_engine_private.hh.
Referenced by acquire_resources(), and draw().
| Framebuffer blender::draw::gpencil::Instance::gpencil_pass_fb = {"gpencil_pass_fb"} |
Definition at line 168 of file gpencil_engine_private.hh.
Referenced by acquire_resources().
| bool blender::draw::gpencil::Instance::is_render |
Definition at line 228 of file gpencil_engine_private.hh.
Referenced by acquire_resources(), begin_sync(), draw(), blender::draw::gpencil::grease_pencil_layer_cache_add(), and init().
| bool blender::draw::gpencil::Instance::is_sorted |
Definition at line 210 of file gpencil_engine_private.hh.
Referenced by init().
| int blender::draw::gpencil::Instance::is_stroke_order_3d |
Definition at line 234 of file gpencil_engine_private.hh.
Referenced by begin_sync().
| bool blender::draw::gpencil::Instance::is_viewport |
Definition at line 230 of file gpencil_engine_private.hh.
Referenced by begin_sync(), and init().
| tObject * blender::draw::gpencil::Instance::last |
Definition at line 206 of file gpencil_engine_private.hh.
| LightPool* blender::draw::gpencil::Instance::last_light_pool |
Definition at line 199 of file gpencil_engine_private.hh.
Referenced by blender::draw::gpencil::gpencil_light_pool_add(), blender::draw::gpencil::gpencil_light_pool_create(), and init().
| MaterialPool* blender::draw::gpencil::Instance::last_material_pool |
Definition at line 197 of file gpencil_engine_private.hh.
Referenced by blender::draw::gpencil::gpencil_material_pool_add(), blender::draw::gpencil::gpencil_material_pool_create(), and init().
| Framebuffer blender::draw::gpencil::Instance::layer_fb = {"layer_fb"} |
Definition at line 170 of file gpencil_engine_private.hh.
Referenced by acquire_resources().
| TextureFromPool blender::draw::gpencil::Instance::mask_color_tx = {"mask_color_tx"} |
Definition at line 160 of file gpencil_engine_private.hh.
Referenced by acquire_resources(), and release_resources().
| TextureFromPool blender::draw::gpencil::Instance::mask_depth_tx = {"mask_depth_tx"} |
Definition at line 159 of file gpencil_engine_private.hh.
Referenced by acquire_resources(), and release_resources().
| Framebuffer blender::draw::gpencil::Instance::mask_fb = {"mask_fb"} |
Definition at line 172 of file gpencil_engine_private.hh.
Referenced by acquire_resources().
| int blender::draw::gpencil::Instance::mask_invert |
Definition at line 297 of file gpencil_engine_private.hh.
Referenced by begin_sync().
| PassSimple blender::draw::gpencil::Instance::mask_invert_ps = {"mask_invert_ps"} |
Definition at line 131 of file gpencil_engine_private.hh.
Referenced by begin_sync().
| float blender::draw::gpencil::Instance::mask_opacity |
Definition at line 293 of file gpencil_engine_private.hh.
| TextureFromPool blender::draw::gpencil::Instance::mask_tx = {"mask_tx"} |
Definition at line 161 of file gpencil_engine_private.hh.
Referenced by acquire_resources(), and release_resources().
| PassSimple blender::draw::gpencil::Instance::merge_depth_ps = {"merge_depth_ps"} |
Definition at line 129 of file gpencil_engine_private.hh.
Referenced by begin_sync().
| Object* blender::draw::gpencil::Instance::obact |
Definition at line 250 of file gpencil_engine_private.hh.
Referenced by begin_sync().
| float4x4 blender::draw::gpencil::Instance::object_bound_mat |
Definition at line 133 of file gpencil_engine_private.hh.
Referenced by begin_sync().
| Framebuffer blender::draw::gpencil::Instance::object_fb = {"object_fb"} |
Definition at line 171 of file gpencil_engine_private.hh.
Referenced by acquire_resources().
| bool blender::draw::gpencil::Instance::playing |
Definition at line 265 of file gpencil_engine_private.hh.
Referenced by begin_sync().
| Texture blender::draw::gpencil::Instance::render_color_tx = {"render_color_tx"} |
Definition at line 140 of file gpencil_engine_private.hh.
Referenced by antialiasing_accumulate(), blender::draw::gpencil::render_frame(), and blender::draw::gpencil::render_init_buffers().
| Texture blender::draw::gpencil::Instance::render_depth_tx = {"render_depth_tx"} |
Definition at line 139 of file gpencil_engine_private.hh.
Referenced by draw(), init(), and blender::draw::gpencil::render_init_buffers().
| Framebuffer blender::draw::gpencil::Instance::render_fb = {"render_fb"} |
Definition at line 166 of file gpencil_engine_private.hh.
Referenced by draw(), blender::draw::gpencil::render_init_buffers(), and blender::draw::gpencil::render_result_z().
| TextureFromPool blender::draw::gpencil::Instance::reveal_layer_tx = {"reveal_layer_tx"} |
Definition at line 156 of file gpencil_engine_private.hh.
Referenced by acquire_resources(), and release_resources().
| TextureFromPool blender::draw::gpencil::Instance::reveal_object_tx = {"reveal_object_tx"} |
Definition at line 157 of file gpencil_engine_private.hh.
Referenced by acquire_resources(), and release_resources().
| TextureFromPool blender::draw::gpencil::Instance::reveal_tx = {"reveal_tx"} |
Definition at line 155 of file gpencil_engine_private.hh.
Referenced by acquire_resources(), and release_resources().
| struct { ... } blender::draw::gpencil::Instance::sbuffer_tobjects |
Referenced by init().
| struct Scene* blender::draw::gpencil::Instance::scene |
Definition at line 245 of file gpencil_engine_private.hh.
Referenced by begin_sync(), draw(), and init().
| gpu::Texture* blender::draw::gpencil::Instance::scene_depth_tx |
Definition at line 212 of file gpencil_engine_private.hh.
| gpu::FrameBuffer* blender::draw::gpencil::Instance::scene_fb |
Definition at line 213 of file gpencil_engine_private.hh.
| LightPool* blender::draw::gpencil::Instance::shadeless_light_pool |
Definition at line 203 of file gpencil_engine_private.hh.
Referenced by init().
| bool blender::draw::gpencil::Instance::simplify_antialias |
Definition at line 269 of file gpencil_engine_private.hh.
Referenced by begin_sync().
| bool blender::draw::gpencil::Instance::simplify_fill |
Definition at line 267 of file gpencil_engine_private.hh.
Referenced by begin_sync().
| bool blender::draw::gpencil::Instance::simplify_fx |
Definition at line 268 of file gpencil_engine_private.hh.
Referenced by begin_sync().
| Texture blender::draw::gpencil::Instance::smaa_area_tx = {"smaa_area_tx"} |
Definition at line 146 of file gpencil_engine_private.hh.
| Framebuffer blender::draw::gpencil::Instance::smaa_edge_fb = {"smaa_edge_fb"} |
Definition at line 173 of file gpencil_engine_private.hh.
| PassSimple blender::draw::gpencil::Instance::smaa_edge_ps = {"smaa_edge"} |
Definition at line 124 of file gpencil_engine_private.hh.
| TextureFromPool blender::draw::gpencil::Instance::smaa_edge_tx = {"smaa_edge_tx"} |
Definition at line 163 of file gpencil_engine_private.hh.
Referenced by release_resources().
| PassSimple blender::draw::gpencil::Instance::smaa_resolve_ps = {"smaa_resolve"} |
Definition at line 126 of file gpencil_engine_private.hh.
| Texture blender::draw::gpencil::Instance::smaa_search_tx = {"smaa_search_tx"} |
Definition at line 147 of file gpencil_engine_private.hh.
| Framebuffer blender::draw::gpencil::Instance::smaa_weight_fb = {"smaa_weight_fb"} |
Definition at line 174 of file gpencil_engine_private.hh.
| PassSimple blender::draw::gpencil::Instance::smaa_weight_ps = {"smaa_weight"} |
Definition at line 125 of file gpencil_engine_private.hh.
| TextureFromPool blender::draw::gpencil::Instance::smaa_weight_tx = {"smaa_weight_tx"} |
Definition at line 164 of file gpencil_engine_private.hh.
Referenced by release_resources().
| bool blender::draw::gpencil::Instance::snapshot_buffer_dirty |
Definition at line 258 of file gpencil_engine_private.hh.
| Texture blender::draw::gpencil::Instance::snapshot_color_tx = {"snapshot_color_tx"} |
Definition at line 143 of file gpencil_engine_private.hh.
Referenced by begin_sync().
| Texture blender::draw::gpencil::Instance::snapshot_depth_tx = {"snapshot_depth_tx"} |
Definition at line 142 of file gpencil_engine_private.hh.
Referenced by begin_sync().
| Framebuffer blender::draw::gpencil::Instance::snapshot_fb = {"snapshot_fb"} |
Definition at line 169 of file gpencil_engine_private.hh.
| Texture blender::draw::gpencil::Instance::snapshot_reveal_tx = {"snapshot_reveal_tx"} |
Definition at line 144 of file gpencil_engine_private.hh.
Referenced by begin_sync().
| gpu::Batch* blender::draw::gpencil::Instance::stroke_batch |
Definition at line 256 of file gpencil_engine_private.hh.
Referenced by begin_sync().
| struct { ... } blender::draw::gpencil::Instance::tobjects |
Referenced by acquire_resources(), draw(), and init().
| struct { ... } blender::draw::gpencil::Instance::tobjects_infront |
Referenced by init().
| bool blender::draw::gpencil::Instance::use_layer_fb |
Definition at line 275 of file gpencil_engine_private.hh.
Referenced by acquire_resources(), and begin_sync().
| bool blender::draw::gpencil::Instance::use_lighting |
Definition at line 271 of file gpencil_engine_private.hh.
Referenced by init().
| bool blender::draw::gpencil::Instance::use_lights |
Definition at line 273 of file gpencil_engine_private.hh.
Referenced by init().
| bool blender::draw::gpencil::Instance::use_mask_fb |
Definition at line 277 of file gpencil_engine_private.hh.
Referenced by acquire_resources(), begin_sync(), and blender::draw::gpencil::grease_pencil_layer_cache_add().
| bool blender::draw::gpencil::Instance::use_multiedit_lines_only |
Definition at line 285 of file gpencil_engine_private.hh.
Referenced by init().
| bool blender::draw::gpencil::Instance::use_object_fb |
Definition at line 276 of file gpencil_engine_private.hh.
Referenced by acquire_resources(), and begin_sync().
| bool blender::draw::gpencil::Instance::use_separate_pass |
Definition at line 280 of file gpencil_engine_private.hh.
Referenced by acquire_resources(), and begin_sync().
| bool blender::draw::gpencil::Instance::use_signed_fb |
Definition at line 283 of file gpencil_engine_private.hh.
Referenced by acquire_resources(), and begin_sync().
| struct View3D* blender::draw::gpencil::Instance::v3d |
Definition at line 247 of file gpencil_engine_private.hh.
Referenced by draw(), blender::draw::gpencil::gpencil_material_pool_create(), and init().
| int blender::draw::gpencil::Instance::v3d_color_type |
Definition at line 222 of file gpencil_engine_private.hh.
Referenced by blender::draw::gpencil::gpencil_material_pool_create(), blender::draw::gpencil::grease_pencil_layer_cache_add(), and init().
| float blender::draw::gpencil::Instance::v3d_single_color[3] |
Definition at line 220 of file gpencil_engine_private.hh.
Referenced by blender::draw::gpencil::gpencil_viewport_material_overrides(), and init().
| float blender::draw::gpencil::Instance::vertex_paint_opacity |
Definition at line 299 of file gpencil_engine_private.hh.
Referenced by begin_sync(), and blender::draw::gpencil::grease_pencil_layer_cache_add().
| struct ViewLayer* blender::draw::gpencil::Instance::view_layer |
Definition at line 243 of file gpencil_engine_private.hh.
Referenced by begin_sync(), blender::draw::gpencil::grease_pencil_layer_cache_add(), and init().
| float blender::draw::gpencil::Instance::xray_alpha |
Definition at line 295 of file gpencil_engine_private.hh.
Referenced by blender::draw::gpencil::grease_pencil_layer_cache_add(), and init().