mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
LibVirtGPU: Drop gl_ prefix from CommandBufferBuilder methods
This commit is contained in:
parent
b220ed6b5c
commit
7a2b9ad164
Notes:
sideshowbarker
2024-07-17 02:34:51 +09:00
Author: https://github.com/sunverwerth Commit: https://github.com/SerenityOS/serenity/commit/7a2b9ad164 Pull-request: https://github.com/SerenityOS/serenity/pull/16590 Reviewed-by: https://github.com/ADKaster Reviewed-by: https://github.com/ccapitalK Reviewed-by: https://github.com/gmta ✅ Reviewed-by: https://github.com/supercomputer7 ✅
@ -145,7 +145,7 @@ void CommandBufferBuilder::append_draw_vbo(u32 count)
|
||||
builder.appendu32(0); // cso
|
||||
}
|
||||
|
||||
void CommandBufferBuilder::append_gl_clear(float r, float g, float b)
|
||||
void CommandBufferBuilder::append_clear(float r, float g, float b)
|
||||
{
|
||||
CommandBuilder builder(m_buffer, Protocol::VirGLCommand::CLEAR, Protocol::ObjectType::NONE);
|
||||
Protocol::ClearType clear_flags {};
|
||||
@ -224,7 +224,7 @@ void CommandBufferBuilder::append_set_framebuffer_state(Protocol::ObjectHandle d
|
||||
builder.appendu32(drawtarget.value()); // surf_handle
|
||||
}
|
||||
|
||||
void CommandBufferBuilder::append_gl_viewport()
|
||||
void CommandBufferBuilder::append_viewport()
|
||||
{
|
||||
CommandBuilder builder(m_buffer, Protocol::VirGLCommand::SET_VIEWPORT_STATE, Protocol::ObjectType::NONE);
|
||||
builder.appendu32(0);
|
||||
|
@ -21,7 +21,7 @@ public:
|
||||
void append_transfer3d(Protocol::ResourceID resource, size_t width, size_t height = 1, size_t depth = 1, size_t direction = VIRGL_DATA_DIR_GUEST_TO_HOST);
|
||||
void append_end_transfers_3d();
|
||||
void append_draw_vbo(u32 count);
|
||||
void append_gl_clear(float r, float g, float b);
|
||||
void append_clear(float r, float g, float b);
|
||||
void append_set_vertex_buffers(u32 stride, u32 offset, Protocol::ResourceID resource);
|
||||
void append_create_blend(Protocol::ObjectHandle handle);
|
||||
void append_bind_blend(Protocol::ObjectHandle handle);
|
||||
@ -29,7 +29,7 @@ public:
|
||||
void append_set_framebuffer_state(Protocol::ObjectHandle drawtarget, Protocol::ObjectHandle depthbuffer = 0);
|
||||
void append_create_vertex_elements(Protocol::ObjectHandle handle);
|
||||
void append_bind_vertex_elements(Protocol::ObjectHandle handle);
|
||||
void append_gl_viewport();
|
||||
void append_viewport();
|
||||
void append_set_framebuffer_state_no_attach();
|
||||
void append_set_constant_buffer(Vector<float> const& constant_buffer);
|
||||
void append_create_shader(Protocol::ObjectHandle handle, Gallium::ShaderType shader_type, StringView shader_data);
|
||||
|
Loading…
Reference in New Issue
Block a user