class PaperRenderQueue
Defined at line 17 of file ../../src/ui/lib/escher/paper/paper_render_queue.h
PaperRenderQueue accepts enqueued PaperDrawCalls from PaperDrawCallFactory,
adding each encapsulated RenderQueueItem to the proper internal RenderQueue.
PaperRenderer first calls Sort() to sort these RenderQueueItems, then calls
GenerateCommands() to generate Vulkan commands from them. The latter accepts
a PaperRenderQueueContext (a subclass of RenderQueueContext); this is passed
to each RenderQueueItem, and affects the resulting Vulkan commands.
Public Methods
void PaperRenderQueue ()
Defined at line 12 of file ../../src/ui/lib/escher/paper/paper_render_queue.cc
void ~PaperRenderQueue ()
Defined at line 13 of file ../../src/ui/lib/escher/paper/paper_render_queue.cc
void PushDrawCall (const PaperDrawCall & draw_call)
Push the encapsulated RenderQueueItem onto one or more of the internal
queues, as indicated by |draw_call.render_queue_flags|.
Defined at line 53 of file ../../src/ui/lib/escher/paper/paper_render_queue.cc
void Sort ()
Sort the opaque/translucent RenderQueues.
Defined at line 23 of file ../../src/ui/lib/escher/paper/paper_render_queue.cc
void GenerateCommands (CommandBuffer * cmd_buf, const PaperRenderQueueContext * context, PaperRenderQueueFlags flags)
Set the CommandBuffer state for opaque rendering and invoke
GenerateCommands() on the opaque RenderQueue. Then, set the
CommandBuffer state for translucent rendering and invoke GenerateCommands()
on the translucent RenderQueue.
Defined at line 31 of file ../../src/ui/lib/escher/paper/paper_render_queue.cc
void Clear ()
Clear per-frame data, as well as the opaque/translucent RenderQueues.
Defined at line 15 of file ../../src/ui/lib/escher/paper/paper_render_queue.cc