|
Blender V5.3
|
Public Member Functions | |
| ThumbsDrawBatch (StripsDrawBatch &strips_batch, gpu::Texture *atlas) | |
| ~ThumbsDrawBatch () | |
| void | add_thumb (const SeqThumbInfo &info, float width, const rcti &rect, int tex_width, int tex_height) |
| void | flush_batch () |
Public Attributes | |
| StripsDrawBatch & | strips_batch_ |
| Array< SeqStripThumbData > | thumbs_ |
| gpu::UniformBuf * | ubo_thumbs_ = nullptr |
| gpu::Shader * | shader_ = nullptr |
| gpu::Batch * | batch_ = nullptr |
| gpu::Texture * | atlas_ = nullptr |
| int | binding_context_ = 0 |
| int | binding_thumbs_ = 0 |
| int | binding_image_ = 0 |
| int | thumbs_count_ = 0 |
Definition at line 392 of file sequencer_thumbnails.cc.
|
inline |
Definition at line 404 of file sequencer_thumbnails.cc.
References atlas_, batch_, binding_context_, binding_image_, binding_thumbs_, blender::GPU_batch_preset_quad(), blender::GPU_shader_get_builtin_shader(), blender::GPU_shader_get_sampler_binding(), blender::GPU_shader_get_ubo_binding(), blender::GPU_SHADER_SEQUENCER_THUMBS, GPU_uniformbuf_create, shader_, strips_batch_, thumbs_, and ubo_thumbs_.
|
inline |
Definition at line 417 of file sequencer_thumbnails.cc.
References flush_batch(), blender::GPU_uniformbuf_free(), blender::GPU_uniformbuf_unbind(), and ubo_thumbs_.
|
inline |
Definition at line 424 of file sequencer_thumbnails.cc.
References blender::ed::vse::SeqThumbInfo::bottom, float, flush_batch(), blender::ed::vse::SeqThumbInfo::is_muted, blender::ed::vse::SeqThumbInfo::left_handle, blender::ed::vse::StripsDrawBatch::pos_to_pixel_space_x(), blender::ed::vse::StripsDrawBatch::pos_to_pixel_space_y(), blender::ed::vse::SeqThumbInfo::right_handle, strips_batch_, thumbs_, thumbs_count_, blender::ed::vse::SeqThumbInfo::top, blender::ed::vse::SeqThumbInfo::x1, blender::ed::vse::SeqThumbInfo::x2, blender::rcti::xmin, blender::ed::vse::SeqThumbInfo::y1, blender::ed::vse::SeqThumbInfo::y2, blender::rcti::ymax, and blender::rcti::ymin.
Referenced by blender::ed::vse::draw_strip_thumbnails().
|
inline |
Definition at line 449 of file sequencer_thumbnails.cc.
References atlas_, batch_, binding_context_, binding_image_, binding_thumbs_, blender::Array< T, InlineBufferCapacity, Allocator >::data(), blender::ed::vse::StripsDrawBatch::get_ubo_context(), blender::GPU_batch_draw_instance_range(), blender::GPU_batch_set_shader(), blender::GPU_shader_bind(), blender::GPU_texture_bind(), blender::GPU_uniformbuf_bind(), blender::GPU_uniformbuf_update(), shader_, strips_batch_, thumbs_, thumbs_count_, and ubo_thumbs_.
Referenced by add_thumb(), blender::ed::vse::draw_strip_thumbnails(), and ~ThumbsDrawBatch().
| gpu::Texture* blender::ed::vse::ThumbsDrawBatch::atlas_ = nullptr |
Definition at line 398 of file sequencer_thumbnails.cc.
Referenced by flush_batch(), and ThumbsDrawBatch().
| gpu::Batch* blender::ed::vse::ThumbsDrawBatch::batch_ = nullptr |
Definition at line 397 of file sequencer_thumbnails.cc.
Referenced by flush_batch(), and ThumbsDrawBatch().
| int blender::ed::vse::ThumbsDrawBatch::binding_context_ = 0 |
Definition at line 399 of file sequencer_thumbnails.cc.
Referenced by flush_batch(), and ThumbsDrawBatch().
| int blender::ed::vse::ThumbsDrawBatch::binding_image_ = 0 |
Definition at line 401 of file sequencer_thumbnails.cc.
Referenced by flush_batch(), and ThumbsDrawBatch().
| int blender::ed::vse::ThumbsDrawBatch::binding_thumbs_ = 0 |
Definition at line 400 of file sequencer_thumbnails.cc.
Referenced by flush_batch(), and ThumbsDrawBatch().
| gpu::Shader* blender::ed::vse::ThumbsDrawBatch::shader_ = nullptr |
Definition at line 396 of file sequencer_thumbnails.cc.
Referenced by flush_batch(), and ThumbsDrawBatch().
| StripsDrawBatch& blender::ed::vse::ThumbsDrawBatch::strips_batch_ |
Definition at line 393 of file sequencer_thumbnails.cc.
Referenced by add_thumb(), flush_batch(), and ThumbsDrawBatch().
| Array<SeqStripThumbData> blender::ed::vse::ThumbsDrawBatch::thumbs_ |
Definition at line 394 of file sequencer_thumbnails.cc.
Referenced by add_thumb(), flush_batch(), and ThumbsDrawBatch().
| int blender::ed::vse::ThumbsDrawBatch::thumbs_count_ = 0 |
Definition at line 402 of file sequencer_thumbnails.cc.
Referenced by add_thumb(), and flush_batch().
| gpu::UniformBuf* blender::ed::vse::ThumbsDrawBatch::ubo_thumbs_ = nullptr |
Definition at line 395 of file sequencer_thumbnails.cc.
Referenced by flush_batch(), ThumbsDrawBatch(), and ~ThumbsDrawBatch().