class VkRenderer
Defined at line 30 of file ../../src/ui/scenic/lib/flatland/renderer/vk_renderer.h
Implementation of the Flatland Renderer interface that relies on Escher and
by extension the Vulkan API.
Public Methods
void set_disable_lazy_pipeline_creation (bool b)
Determines whether |CommandBuffer::DisableLazyPipelineCreation()| is invoked on the command
buffers created within |Render()|.
Defined at line 90 of file ../../src/ui/scenic/lib/flatland/renderer/vk_renderer.h
void VkRenderer (escher::EscherWeakPtr escher)
Defined at line 312 of file ../../src/ui/scenic/lib/flatland/renderer/vk_renderer.cc
void ~VkRenderer ()
Defined at line 328 of file ../../src/ui/scenic/lib/flatland/renderer/vk_renderer.cc
fpromise::promise<> ImportBufferCollection (GlobalBufferCollectionIdcollection_id,fidl::WireClient<fuchsia_sysmem2::Allocator> &sysmem_allocator,fidl::ClientEnd<fuchsia_sysmem2::BufferCollectionToken>token,BufferCollectionUsageusage,std::optional<fuchsia::math::SizeU>size)
|BufferCollectionImporter|
Only called from the main thread.
Defined at line 415 of file ../../src/ui/scenic/lib/flatland/renderer/vk_renderer.cc
void ReleaseBufferCollection (GlobalBufferCollectionId collection_id, BufferCollectionUsage usage)
|BufferCollectionImporter|
Only called from the main thread.
Defined at line 476 of file ../../src/ui/scenic/lib/flatland/renderer/vk_renderer.cc
bool ImportBufferImage (const ImageMetadata & metadata, BufferCollectionUsage usage)
|BufferCollectionImporter|
Called from main thread or Flatland threads.
Defined at line 589 of file ../../src/ui/scenic/lib/flatland/renderer/vk_renderer.cc
void ReleaseBufferImage (GlobalImageId image_id)
|BufferCollectionImporter|
Called from main thread or Flatland threads.
Defined at line 630 of file ../../src/ui/scenic/lib/flatland/renderer/vk_renderer.cc
void Render (const allocation::ImageMetadata &render_target,const std::vector<EngineLayer> &layers,const std::vector<EngineLayerImage> &images,const RenderArgs &render_args)
|Renderer|.
Only called from the main thread.
Defined at line 792 of file ../../src/ui/scenic/lib/flatland/renderer/vk_renderer.cc
void SetColorConversionValues (const fidl::Array<float, 9> &coefficients,const fidl::Array<float, 3> &preoffsets,const fidl::Array<float, 3> &postoffsets)
|Renderer|.
Only called from the main thread.
Defined at line 1004 of file ../../src/ui/scenic/lib/flatland/renderer/vk_renderer.cc
fuchsia_images2::PixelFormat ChoosePreferredRenderTargetFormat (const std::vector<fuchsia_images2::PixelFormat> & available_formats)
|Renderer|.
Only called from the main thread.
Defined at line 1028 of file ../../src/ui/scenic/lib/flatland/renderer/vk_renderer.cc
bool SupportsRenderInProtected ()
|Renderer|.
Only called from the main thread.
Defined at line 1044 of file ../../src/ui/scenic/lib/flatland/renderer/vk_renderer.cc
bool RequiresRenderInProtected (const std::vector<EngineLayerImage> & images)
|Renderer|.
Only called from the main thread.
Defined at line 1050 of file ../../src/ui/scenic/lib/flatland/renderer/vk_renderer.cc
bool WaitIdle ()
Wait for all gpu operations to complete.
Only called from the main thread.
Defined at line 1070 of file ../../src/ui/scenic/lib/flatland/renderer/vk_renderer.cc
void WarmPipelineCache ()
|Renderer|.
Defined at line 1076 of file ../../src/ui/scenic/lib/flatland/renderer/vk_renderer.cc