|
Blender V5.0
|
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 208 of file sequencer_thumbnails.cc.
|
inline |
Definition at line 220 of file sequencer_thumbnails.cc.
References atlas_, batch_, binding_context_, binding_image_, binding_thumbs_, GPU_batch_preset_quad(), GPU_SEQ_STRIP_DRAW_DATA_LEN, GPU_shader_get_builtin_shader(), GPU_shader_get_sampler_binding(), GPU_shader_get_ubo_binding(), GPU_SHADER_SEQUENCER_THUMBS, GPU_uniformbuf_create, shader_, strips_batch_, thumbs_, and ubo_thumbs_.
|
inline |
Definition at line 233 of file sequencer_thumbnails.cc.
References flush_batch(), GPU_uniformbuf_free(), GPU_uniformbuf_unbind(), and ubo_thumbs_.
|
inline |
Definition at line 240 of file sequencer_thumbnails.cc.
References blender::ed::vse::SeqThumbInfo::bottom, float, flush_batch(), GPU_SEQ_STRIP_DRAW_DATA_LEN, blender::ed::vse::SeqThumbInfo::is_muted, blender::ed::vse::SeqThumbInfo::left_handle, 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, rcti::xmin, blender::ed::vse::SeqThumbInfo::y1, blender::ed::vse::SeqThumbInfo::y2, rcti::ymax, and rcti::ymin.
|
inline |
Definition at line 265 of file sequencer_thumbnails.cc.
References atlas_, batch_, binding_context_, binding_image_, binding_thumbs_, GPU_batch_draw_instance_range(), GPU_batch_set_shader(), GPU_shader_bind(), GPU_texture_bind(), GPU_uniformbuf_bind(), GPU_uniformbuf_update(), shader_, strips_batch_, thumbs_, thumbs_count_, and ubo_thumbs_.
Referenced by add_thumb(), and ~ThumbsDrawBatch().
| gpu::Texture* blender::ed::vse::ThumbsDrawBatch::atlas_ = nullptr |
Definition at line 214 of file sequencer_thumbnails.cc.
Referenced by flush_batch(), and ThumbsDrawBatch().
| gpu::Batch* blender::ed::vse::ThumbsDrawBatch::batch_ = nullptr |
Definition at line 213 of file sequencer_thumbnails.cc.
Referenced by flush_batch(), and ThumbsDrawBatch().
| int blender::ed::vse::ThumbsDrawBatch::binding_context_ = 0 |
Definition at line 215 of file sequencer_thumbnails.cc.
Referenced by flush_batch(), and ThumbsDrawBatch().
| int blender::ed::vse::ThumbsDrawBatch::binding_image_ = 0 |
Definition at line 217 of file sequencer_thumbnails.cc.
Referenced by flush_batch(), and ThumbsDrawBatch().
| int blender::ed::vse::ThumbsDrawBatch::binding_thumbs_ = 0 |
Definition at line 216 of file sequencer_thumbnails.cc.
Referenced by flush_batch(), and ThumbsDrawBatch().
| gpu::Shader* blender::ed::vse::ThumbsDrawBatch::shader_ = nullptr |
Definition at line 212 of file sequencer_thumbnails.cc.
Referenced by flush_batch(), and ThumbsDrawBatch().
| StripsDrawBatch& blender::ed::vse::ThumbsDrawBatch::strips_batch_ |
Definition at line 209 of file sequencer_thumbnails.cc.
Referenced by add_thumb(), flush_batch(), and ThumbsDrawBatch().
| Array<SeqStripThumbData> blender::ed::vse::ThumbsDrawBatch::thumbs_ |
Definition at line 210 of file sequencer_thumbnails.cc.
Referenced by add_thumb(), flush_batch(), and ThumbsDrawBatch().
| int blender::ed::vse::ThumbsDrawBatch::thumbs_count_ = 0 |
Definition at line 218 of file sequencer_thumbnails.cc.
Referenced by add_thumb(), and flush_batch().
| gpu::UniformBuf* blender::ed::vse::ThumbsDrawBatch::ubo_thumbs_ = nullptr |
Definition at line 211 of file sequencer_thumbnails.cc.
Referenced by flush_batch(), ThumbsDrawBatch(), and ~ThumbsDrawBatch().