diff --git a/Userland/Libraries/LibVirtGPU/CommandBufferBuilder.cpp b/Userland/Libraries/LibVirtGPU/CommandBufferBuilder.cpp index 93f00be0cf..b44d520bb3 100644 --- a/Userland/Libraries/LibVirtGPU/CommandBufferBuilder.cpp +++ b/Userland/Libraries/LibVirtGPU/CommandBufferBuilder.cpp @@ -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); diff --git a/Userland/Libraries/LibVirtGPU/CommandBufferBuilder.h b/Userland/Libraries/LibVirtGPU/CommandBufferBuilder.h index a22f8cfcaf..3a245772a8 100644 --- a/Userland/Libraries/LibVirtGPU/CommandBufferBuilder.h +++ b/Userland/Libraries/LibVirtGPU/CommandBufferBuilder.h @@ -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 const& constant_buffer); void append_create_shader(Protocol::ObjectHandle handle, Gallium::ShaderType shader_type, StringView shader_data);