1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 12:07:45 +00:00

LibVirtGPU: Drop gl_ prefix from CommandBufferBuilder methods

This commit is contained in:
Stephan Unverwerth 2022-12-21 15:51:43 +01:00 committed by Andreas Kling
parent b220ed6b5c
commit 7a2b9ad164
2 changed files with 4 additions and 4 deletions

View file

@ -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);