|
Blender V5.3
|
#include <gpencil_engine_private.hh>
Inherits blender::DrawEngine.
Classes | |
| struct | [struct].tobjects |
| struct | [struct].tobjects_infront |
| struct | [struct].sbuffer_tobjects |
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 blender::DrawEngine | |
| virtual | ~DrawEngine ()=default |
| virtual bool | uses_render_border () const |
Static Public Member Functions | |
| static float2 | antialiasing_sample_get (int sample_index, int sample_count) |
Additional Inherited Members | |
| Static Public Attributes inherited from blender::DrawEngine | |
| static constexpr int | GPU_INFO_SIZE = 512 |
Definition at line 141 of file gpencil_engine_private.hh.
Definition at line 203 of file gpencil_engine_private.hh.
Definition at line 202 of file gpencil_engine_private.hh.
|
inlinefinal |
Definition at line 328 of file gpencil_engine_private.hh.
References blender::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 669 of file gpencil_engine_c.cc.
References blender::draw::TextureFromPool::acquire_2d(), color_layer_tx, color_object_tx, combined_pass_fb, depth_pass_img, depth_tx, draw_ctx, blender::DRW_viewport_pass_texture_exists(), blender::DRW_viewport_pass_texture_get(), blender::draw::Framebuffer::ensure(), gpencil_fb, gpencil_pass_fb, GPU_ATTACHMENT_NONE, GPU_ATTACHMENT_TEXTURE, blender::draw::Texture::gpu_texture(), is_render, layer_fb, mask_color_tx, mask_depth_tx, mask_fb, mask_tx, need_combined_pass, need_grease_pencil_pass, object_fb, RE_PASSNAME_COMBINED, RE_PASSNAME_DEPTH, RE_PASSNAME_GREASE_PENCIL, reveal_layer_tx, reveal_object_tx, reveal_tx, tobjects, use_layer_fb, use_mask_fb, use_object_fb, use_signed_fb, and blender::DRWContext::viewport_size_get().
Referenced by draw().
Definition at line 198 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(), blender::DRW_STATE_WRITE_DEPTH, blender::draw::Framebuffer::ensure(), blender::draw::Texture::ensure_2d(), blender::draw::gpencil::ShaderCache::get(), blender::GPU_framebuffer_bind(), blender::GPU_PRIM_TRIS, blender::draw::Texture::gpu_texture(), blender::GPU_TEXTURE_USAGE_ATTACHMENT, blender::GPU_TEXTURE_USAGE_HOST_READ, blender::GPU_TEXTURE_USAGE_SHADER_READ, blender::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(), blender::draw::Texture::size(), blender::draw::detail::PassBase< DrawCommandBufType >::state_set(), and blender::draw::Manager::submit().
Referenced by blender::draw::gpencil::render_frame().
|
static |
Definition at line 172 of file gpencil_antialiasing.cc.
References blender::BLI_halton_2d(), blender::draw::gpencil::erfinv_approx(), and blender::sqrt().
Referenced by blender::draw::gpencil::render_frame().
|
finalvirtual |
Scene synchronization. Command buffers building.
Implements blender::DrawEngine.
Definition at line 167 of file gpencil_engine_c.cc.
References blender::draw::detail::PassBase< DrawCommandBufType >::bind_image(), blender::draw::detail::PassBase< DrawCommandBufType >::bind_texture(), blender::BKE_camera_object_dof_distance(), blender::BKE_camera_sensor_size(), blender::CAM_DOF_ENABLED, camera, cfra, blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::CTX_wm_manager(), blender::DEG_get_ctime(), blender::DRWContext::depsgraph, depth_pass_img, depth_tx, do_onion, do_onion_only_active_object, dof_params, draw_ctx, blender::draw::detail::PassBase< DrawCommandBufType >::draw_procedural(), blender::DRW_STATE_DEPTH_LESS, blender::DRW_STATE_LOGIC_INVERT, blender::DRW_STATE_WRITE_COLOR, blender::DRW_STATE_WRITE_DEPTH, blender::ED_screen_animation_playing(), blender::DRWContext::evil_C, fabsf, fade_3d_object_opacity, fade_gp_object_opacity, fade_layer_opacity, fill_batch, blender::View3D::flag2, blender::draw::Texture::free(), blender::draw::gpencil::ShaderCache::get(), blender::bke::compositor::get_used_passes(), blender::View3D::gp_flag, blender::View3DOverlay::gpencil_fade_layer, blender::View3DOverlay::gpencil_paper_opacity, GPENCIL_SIMPLIFY_AA, GPENCIL_SIMPLIFY_FILL, GPENCIL_SIMPLIFY_FX, blender::View3DOverlay::gpencil_vertex_paint_opacity, blender::GPU_PRIM_TRIS, blender::draw::detail::Pass< DrawCommandBufType >::init(), is_render, is_stroke_order_3d, is_viewport, blender::DRWContext::is_viewport_compositor_used(), mask_invert, mask_invert_ps, merge_depth_pass_ps, merge_depth_ps, need_combined_pass, need_grease_pencil_pass, blender::nullptr, blender::OB_CAMERA, blender::OB_RENDER, obact, blender::DRWContext::obact, object_bound_mat, blender::View3D::overlay, playing, blender::bke::compositor::Preview, blender::draw::detail::PassBase< DrawCommandBufType >::push_constant(), RE_PASSNAME_COMBINED, RE_PASSNAME_GREASE_PENCIL, blender::DRWContext::rv3d, scene, blender::DRWContext::scene, blender::draw::detail::PassBase< DrawCommandBufType >::shader_set(), blender::View3D::shading, simplify_antialias, simplify_fill, simplify_fx, snapshot_color_tx, snapshot_depth_tx, snapshot_reveal_tx, blender::draw::detail::PassBase< DrawCommandBufType >::state_set(), stroke_batch, blender::Object::type, blender::View3DShading::type, use_layer_fb, use_mask_fb, use_object_fb, use_signed_fb, blender::DRWContext::v3d, blender::V3D_GP_FADE_NOACTIVE_GPENCIL, blender::V3D_GP_FADE_NOACTIVE_LAYERS, blender::V3D_GP_FADE_OBJECTS, blender::V3D_GP_ONION_SKIN_ACTIVE_OBJECT, blender::V3D_GP_SHOW_ONION_SKIN, blender::V3D_HIDE_OVERLAYS, vertex_paint_opacity, view_layer, blender::RegionView3D::viewcamtexcofac, and blender::DRWContext::viewport_size_get().
Referenced by blender::draw::gpencil::render_frame().
|
finalvirtual |
Command Submission.
Implements blender::DrawEngine.
Definition at line 868 of file gpencil_engine_c.cc.
References acquire_resources(), blender::BLI_assert(), blender::DefaultFramebufferList::default_fb, blender::draw::View::default_get(), blender::DefaultTextureList::depth, draw_ctx, blender::DRW_submission_end(), blender::DRW_submission_start(), blender::ED_view3d_background_color_get(), ELEM, fade_3d_object_opacity, gpencil_fb, blender::draw::gpencil::gpencil_object_cache_sort(), blender::GPU_framebuffer_bind(), blender::GPU_framebuffer_multi_clear(), blender::math::interpolate(), is_render, blender::draw::Texture::is_valid(), blender::OB_GREASE_PENCIL, release_resources(), render_depth_tx, render_fb, scene, scene_depth_tx, scene_fb, tobjects, v3d, blender::DRWContext::viewport_framebuffer_list_get(), and blender::DRWContext::viewport_texture_list_get().
Referenced by blender::draw::gpencil::render_frame().
|
finalvirtual |
Implements blender::DrawEngine.
Definition at line 652 of file gpencil_engine_c.cc.
References blender::BLI_memblock_iternew(), blender::BLI_memblock_iterstep(), gp_light_pool, gp_material_pool, blender::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 blender::DrawEngine.
Definition at line 54 of file gpencil_engine_c.cc.
References blender::BLI_memblock_clear(), camera, blender::View3D::camera, camera_pos, camera_z_axis, camera_z_offset, blender::draw::detail::SubPassVector< T, block_size >::clear(), blender::View3DShading::color_type, blender::copy_v3_fl(), blender::copy_v3_v3(), blender::draw::View::default_get(), blender::dot_v3v3(), draw_ctx, draw_wireframe, blender::DRW_context_get(), dummy_depth, dummy_texture, dummy_tx, blender::draw::Texture::ensure_2d(), blender::View3D::flag2, force_stroke_order_3d, global_light_pool, blender::View3D::gp_flag, 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(), blender::GPU_TEXTURE_USAGE_SHADER_READ, is_render, is_sorted, blender::draw::Texture::is_valid(), is_viewport, last_light_pool, last_material_pool, blender::Object::mode, blender::OB_MODE_VERTEX_GREASE_PENCIL, blender::OB_RENDER, blender::OB_SOLID, blender::OB_WIRE, blender::DRWContext::obact, blender::RegionView3D::persp, render_depth_tx, blender::DRWContext::rv3d, blender::RV3D_CAMOB, sbuffer_tobjects, scene, blender::DRWContext::scene, scene_depth_tx, scene_fb, shadeless_light_pool, blender::View3D::shading, blender::View3DShading::single_color, blender::View3DShading::studiolight_intensity, tobjects, tobjects_infront, blender::View3DShading::type, use_lighting, use_lights, use_multiedit_lines_only, v3d, blender::DRWContext::v3d, v3d_color_type, blender::V3D_GP_FORCE_STROKE_ORDER_3D, blender::V3D_GP_SHOW_MULTIEDIT_LINES, blender::V3D_HIDE_OVERLAYS, blender::V3D_SHADING_VERTEX_COLOR, v3d_single_color, V3D_USES_SCENE_LIGHTS, V3D_USES_SCENE_WORLD, view_layer, blender::DRWContext::view_layer, blender::draw::View::viewinv(), blender::Scene::world, XRAY_ALPHA, xray_alpha, and XRAY_ENABLED.
Referenced by blender::draw::gpencil::render_frame().
|
inlinefinalvirtual |
Implements blender::DrawEngine.
Definition at line 341 of file gpencil_engine_private.hh.
References final.
|
finalvirtual |
Implements blender::DrawEngine.
Definition at line 631 of file gpencil_engine_c.cc.
References blender::Object::data, blender::DRW_object_visibility_in_active_context(), blender::Object::dt, global_light_pool, blender::draw::gpencil::gpencil_light_pool_populate(), blender::OB_GREASE_PENCIL, blender::OB_LAMP, blender::OB_SOLID, blender::OB_VISIBLE_SELF, blender::draw::ObjectRef::object, blender::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 746 of file gpencil_engine_c.cc.
References color_layer_tx, color_object_tx, depth_tx, mask_color_tx, mask_depth_tx, mask_tx, blender::draw::TextureFromPool::release(), 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 145 of file gpencil_engine_private.hh.
Referenced by antialiasing_accumulate().
| Framebuffer blender::draw::gpencil::Instance::accumulation_fb = {"gp_accumulation_fb"} |
Definition at line 240 of file gpencil_engine_private.hh.
Referenced by antialiasing_accumulate().
| Texture blender::draw::gpencil::Instance::accumulation_tx = {"gp_accumulation_tx"} |
Definition at line 239 of file gpencil_engine_private.hh.
Referenced by antialiasing_accumulate(), and blender::draw::gpencil::render_result_color().
| Object* blender::draw::gpencil::Instance::camera |
Definition at line 265 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 261 of file gpencil_engine_private.hh.
Referenced by init().
| float blender::draw::gpencil::Instance::camera_z_axis[3] |
Definition at line 260 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 260 of file gpencil_engine_private.hh.
Referenced by init().
| int blender::draw::gpencil::Instance::cfra |
Definition at line 248 of file gpencil_engine_private.hh.
Referenced by begin_sync().
| TextureFromPool blender::draw::gpencil::Instance::color_layer_tx = {"color_layer_tx"} |
Definition at line 175 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 176 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 174 of file gpencil_engine_private.hh.
| Framebuffer blender::draw::gpencil::Instance::combined_pass_fb = {"combined_pass_fb"} |
Definition at line 191 of file gpencil_engine_private.hh.
Referenced by acquire_resources().
| gpu::Texture* blender::draw::gpencil::Instance::depth_pass_img = nullptr |
Definition at line 170 of file gpencil_engine_private.hh.
Referenced by acquire_resources(), and begin_sync().
| TextureFromPool blender::draw::gpencil::Instance::depth_tx = {"depth_tx"} |
Definition at line 173 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 285 of file gpencil_engine_private.hh.
Referenced by begin_sync(), and blender::draw::gpencil::grease_pencil_layer_final_tint_and_alpha_get().
| bool blender::draw::gpencil::Instance::do_onion_only_active_object |
Definition at line 287 of file gpencil_engine_private.hh.
Referenced by begin_sync().
| float blender::draw::gpencil::Instance::dof_params[2] |
Definition at line 263 of file gpencil_engine_private.hh.
Referenced by begin_sync().
| const DRWContext* blender::draw::gpencil::Instance::draw_ctx = nullptr |
Definition at line 218 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 256 of file gpencil_engine_private.hh.
Referenced by init().
| Texture blender::draw::gpencil::Instance::dummy_depth = {"dummy_depth"} |
Definition at line 157 of file gpencil_engine_private.hh.
Referenced by init().
| Texture blender::draw::gpencil::Instance::dummy_texture = {"dummy_texture"} |
Definition at line 156 of file gpencil_engine_private.hh.
Referenced by init().
| gpu::Texture* blender::draw::gpencil::Instance::dummy_tx |
Definition at line 242 of file gpencil_engine_private.hh.
Referenced by init().
| float blender::draw::gpencil::Instance::fade_3d_object_opacity |
Definition at line 316 of file gpencil_engine_private.hh.
Referenced by begin_sync(), and draw().
| float blender::draw::gpencil::Instance::fade_gp_object_opacity |
Definition at line 314 of file gpencil_engine_private.hh.
Referenced by begin_sync(), and blender::draw::gpencil::grease_pencil_layer_final_opacity_get().
| float blender::draw::gpencil::Instance::fade_layer_opacity |
Definition at line 312 of file gpencil_engine_private.hh.
Referenced by begin_sync(), and blender::draw::gpencil::grease_pencil_layer_final_opacity_get().
| gpu::Batch* blender::draw::gpencil::Instance::fill_batch |
Definition at line 281 of file gpencil_engine_private.hh.
Referenced by begin_sync().
| bool blender::draw::gpencil::Instance::force_stroke_order_3d |
Definition at line 326 of file gpencil_engine_private.hh.
Referenced by init().
| LightPool* blender::draw::gpencil::Instance::global_light_pool |
Definition at line 225 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 208 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 214 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 216 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 212 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 206 of file gpencil_engine_private.hh.
Referenced by blender::draw::gpencil::gpencil_object_cache_add(), init(), and ~Instance().
Definition at line 210 of file gpencil_engine_private.hh.
Referenced by init(), and ~Instance().
| Framebuffer blender::draw::gpencil::Instance::gpencil_fb = {"gpencil_fb"} |
Definition at line 190 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 192 of file gpencil_engine_private.hh.
Referenced by acquire_resources().
| bool blender::draw::gpencil::Instance::is_render |
Definition at line 252 of file gpencil_engine_private.hh.
Referenced by acquire_resources(), begin_sync(), draw(), blender::draw::gpencil::grease_pencil_layer_cache_add(), blender::draw::gpencil::grease_pencil_layer_final_opacity_get(), and init().
| bool blender::draw::gpencil::Instance::is_sorted |
Definition at line 234 of file gpencil_engine_private.hh.
Referenced by blender::draw::gpencil::gpencil_object_cache_sort(), and init().
| int blender::draw::gpencil::Instance::is_stroke_order_3d |
Definition at line 258 of file gpencil_engine_private.hh.
Referenced by begin_sync().
| bool blender::draw::gpencil::Instance::is_viewport |
Definition at line 254 of file gpencil_engine_private.hh.
Referenced by begin_sync(), and init().
| LightPool* blender::draw::gpencil::Instance::last_light_pool |
Definition at line 223 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 221 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 194 of file gpencil_engine_private.hh.
Referenced by acquire_resources().
| TextureFromPool blender::draw::gpencil::Instance::mask_color_tx = {"mask_color_tx"} |
Definition at line 183 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 182 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 196 of file gpencil_engine_private.hh.
Referenced by acquire_resources().
| int blender::draw::gpencil::Instance::mask_invert |
Definition at line 322 of file gpencil_engine_private.hh.
Referenced by begin_sync().
| PassSimple blender::draw::gpencil::Instance::mask_invert_ps = {"mask_invert_ps"} |
Definition at line 151 of file gpencil_engine_private.hh.
Referenced by begin_sync().
| float blender::draw::gpencil::Instance::mask_opacity |
Definition at line 318 of file gpencil_engine_private.hh.
| TextureFromPool blender::draw::gpencil::Instance::mask_tx = {"mask_tx"} |
Definition at line 184 of file gpencil_engine_private.hh.
Referenced by acquire_resources(), and release_resources().
| PassSimple blender::draw::gpencil::Instance::merge_depth_pass_ps = {"merge_depth_pass_ps"} |
Definition at line 149 of file gpencil_engine_private.hh.
Referenced by begin_sync().
| PassSimple blender::draw::gpencil::Instance::merge_depth_ps = {"merge_depth_ps"} |
Definition at line 147 of file gpencil_engine_private.hh.
Referenced by begin_sync().
| bool blender::draw::gpencil::Instance::need_combined_pass |
Definition at line 303 of file gpencil_engine_private.hh.
Referenced by acquire_resources(), and begin_sync().
| bool blender::draw::gpencil::Instance::need_grease_pencil_pass |
Definition at line 305 of file gpencil_engine_private.hh.
Referenced by acquire_resources(), and begin_sync().
| Object* blender::draw::gpencil::Instance::obact |
Definition at line 274 of file gpencil_engine_private.hh.
Referenced by begin_sync(), and blender::draw::gpencil::grease_pencil_layer_final_opacity_get().
| float4x4 blender::draw::gpencil::Instance::object_bound_mat |
Definition at line 153 of file gpencil_engine_private.hh.
Referenced by begin_sync().
| Framebuffer blender::draw::gpencil::Instance::object_fb = {"object_fb"} |
Definition at line 195 of file gpencil_engine_private.hh.
Referenced by acquire_resources().
| bool blender::draw::gpencil::Instance::playing |
Definition at line 289 of file gpencil_engine_private.hh.
Referenced by begin_sync().
| Texture blender::draw::gpencil::Instance::render_color_tx = {"render_color_tx"} |
Definition at line 160 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 159 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 189 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 179 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 180 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 178 of file gpencil_engine_private.hh.
Referenced by acquire_resources(), and release_resources().
| struct blender::draw::gpencil::Instance::[struct].sbuffer_tobjects blender::draw::gpencil::Instance::sbuffer_tobjects |
Referenced by init().
| struct Scene* blender::draw::gpencil::Instance::scene |
Definition at line 269 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 236 of file gpencil_engine_private.hh.
| gpu::FrameBuffer* blender::draw::gpencil::Instance::scene_fb |
Definition at line 237 of file gpencil_engine_private.hh.
| LightPool* blender::draw::gpencil::Instance::shadeless_light_pool |
Definition at line 227 of file gpencil_engine_private.hh.
Referenced by init().
| bool blender::draw::gpencil::Instance::simplify_antialias |
Definition at line 293 of file gpencil_engine_private.hh.
Referenced by begin_sync().
| bool blender::draw::gpencil::Instance::simplify_fill |
Definition at line 291 of file gpencil_engine_private.hh.
Referenced by begin_sync().
| bool blender::draw::gpencil::Instance::simplify_fx |
Definition at line 292 of file gpencil_engine_private.hh.
Referenced by begin_sync().
| Texture blender::draw::gpencil::Instance::smaa_area_tx = {"smaa_area_tx"} |
Definition at line 166 of file gpencil_engine_private.hh.
| Framebuffer blender::draw::gpencil::Instance::smaa_edge_fb = {"smaa_edge_fb"} |
Definition at line 197 of file gpencil_engine_private.hh.
| PassSimple blender::draw::gpencil::Instance::smaa_edge_ps = {"smaa_edge"} |
Definition at line 142 of file gpencil_engine_private.hh.
| TextureFromPool blender::draw::gpencil::Instance::smaa_edge_tx = {"smaa_edge_tx"} |
Definition at line 186 of file gpencil_engine_private.hh.
Referenced by release_resources().
| PassSimple blender::draw::gpencil::Instance::smaa_resolve_ps = {"smaa_resolve"} |
Definition at line 144 of file gpencil_engine_private.hh.
| Texture blender::draw::gpencil::Instance::smaa_search_tx = {"smaa_search_tx"} |
Definition at line 167 of file gpencil_engine_private.hh.
| Framebuffer blender::draw::gpencil::Instance::smaa_weight_fb = {"smaa_weight_fb"} |
Definition at line 198 of file gpencil_engine_private.hh.
| PassSimple blender::draw::gpencil::Instance::smaa_weight_ps = {"smaa_weight"} |
Definition at line 143 of file gpencil_engine_private.hh.
| TextureFromPool blender::draw::gpencil::Instance::smaa_weight_tx = {"smaa_weight_tx"} |
Definition at line 187 of file gpencil_engine_private.hh.
Referenced by release_resources().
| bool blender::draw::gpencil::Instance::snapshot_buffer_dirty |
Definition at line 282 of file gpencil_engine_private.hh.
| Texture blender::draw::gpencil::Instance::snapshot_color_tx = {"snapshot_color_tx"} |
Definition at line 163 of file gpencil_engine_private.hh.
Referenced by begin_sync().
| Texture blender::draw::gpencil::Instance::snapshot_depth_tx = {"snapshot_depth_tx"} |
Definition at line 162 of file gpencil_engine_private.hh.
Referenced by begin_sync().
| Framebuffer blender::draw::gpencil::Instance::snapshot_fb = {"snapshot_fb"} |
Definition at line 193 of file gpencil_engine_private.hh.
| Texture blender::draw::gpencil::Instance::snapshot_reveal_tx = {"snapshot_reveal_tx"} |
Definition at line 164 of file gpencil_engine_private.hh.
Referenced by begin_sync().
| gpu::Batch* blender::draw::gpencil::Instance::stroke_batch |
Definition at line 280 of file gpencil_engine_private.hh.
Referenced by begin_sync().
| struct blender::draw::gpencil::Instance::[struct].tobjects blender::draw::gpencil::Instance::tobjects |
| struct blender::draw::gpencil::Instance::[struct].tobjects_infront blender::draw::gpencil::Instance::tobjects_infront |
Referenced by init(), and blender::draw::gpencil::blender::is_power_of_2().
| bool blender::draw::gpencil::Instance::use_layer_fb |
Definition at line 299 of file gpencil_engine_private.hh.
Referenced by acquire_resources(), and begin_sync().
| bool blender::draw::gpencil::Instance::use_lighting |
Definition at line 295 of file gpencil_engine_private.hh.
Referenced by init().
| bool blender::draw::gpencil::Instance::use_lights |
Definition at line 297 of file gpencil_engine_private.hh.
Referenced by init().
| bool blender::draw::gpencil::Instance::use_mask_fb |
Definition at line 301 of file gpencil_engine_private.hh.
Referenced by acquire_resources(), begin_sync(), and blender::draw::gpencil::blender::memory_is_zero().
| bool blender::draw::gpencil::Instance::use_multiedit_lines_only |
Definition at line 310 of file gpencil_engine_private.hh.
Referenced by init().
| bool blender::draw::gpencil::Instance::use_object_fb |
Definition at line 300 of file gpencil_engine_private.hh.
Referenced by acquire_resources(), and begin_sync().
| bool blender::draw::gpencil::Instance::use_signed_fb |
Definition at line 308 of file gpencil_engine_private.hh.
Referenced by acquire_resources(), and begin_sync().
| struct View3D* blender::draw::gpencil::Instance::v3d |
Definition at line 271 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 246 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 244 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 324 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 267 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 320 of file gpencil_engine_private.hh.
Referenced by blender::draw::gpencil::grease_pencil_layer_cache_add(), and init().