class RenderControl

Defined at line 49 of file ../../src/graphics/display/drivers/goldfish-display/render_control.h

This implements a client of goldfish renderControl API over

goldfish pipe communication. The methods are defined in

https://android.googlesource.com/device/generic/goldfish-opengl/+/master/system/renderControl_enc/README

Public Methods

void RenderControl ()

Defined at line 51 of file ../../src/graphics/display/drivers/goldfish-display/render_control.h

PipeIo * pipe_io ()

Defined at line 76 of file ../../src/graphics/display/drivers/goldfish-display/render_control.h

zx_status_t InitRcPipe (fidl::WireSyncClient<fuchsia_hardware_goldfish_pipe::Bus> )

Defined at line 128 of file ../../src/graphics/display/drivers/goldfish-display/render_control.cc

int32_t GetFbParam (uint32_t param, int32_t default_value)

Defined at line 147 of file ../../src/graphics/display/drivers/goldfish-display/render_control.cc

zx::result<HostColorBufferId> CreateColorBuffer (uint32_t width, uint32_t height, uint32_t format)

Defined at line 159 of file ../../src/graphics/display/drivers/goldfish-display/render_control.cc

zx_status_t OpenColorBuffer (HostColorBufferId host_color_buffer_id)

Defined at line 176 of file ../../src/graphics/display/drivers/goldfish-display/render_control.cc

zx_status_t CloseColorBuffer (HostColorBufferId host_color_buffer_id)

Defined at line 187 of file ../../src/graphics/display/drivers/goldfish-display/render_control.cc

zx::result<RcResult> SetColorBufferVulkanMode (HostColorBufferId host_color_buffer_id, uint32_t mode)

Defined at line 198 of file ../../src/graphics/display/drivers/goldfish-display/render_control.cc

zx::result<RcResult> UpdateColorBuffer (HostColorBufferId host_color_buffer_id, const fzl::PinnedVmo & pinned_vmo, uint32_t width, uint32_t height, uint32_t format, size_t size)

Defined at line 213 of file ../../src/graphics/display/drivers/goldfish-display/render_control.cc

zx_status_t FbPost (HostColorBufferId host_color_buffer_id)

Defined at line 250 of file ../../src/graphics/display/drivers/goldfish-display/render_control.cc

zx::result<HostDisplayId> CreateDisplay ()

Defined at line 262 of file ../../src/graphics/display/drivers/goldfish-display/render_control.cc

zx::result<RcResult> DestroyDisplay (HostDisplayId display_id)

Defined at line 286 of file ../../src/graphics/display/drivers/goldfish-display/render_control.cc

zx::result<RcResult> SetDisplayColorBuffer (HostDisplayId display_id, HostColorBufferId host_color_buffer_id)

Defined at line 298 of file ../../src/graphics/display/drivers/goldfish-display/render_control.cc

zx::result<RcResult> SetDisplayPose (HostDisplayId display_id, int32_t x, int32_t y, uint32_t w, uint32_t h)

Defined at line 313 of file ../../src/graphics/display/drivers/goldfish-display/render_control.cc