mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:57:35 +00:00
LibVirtGPU: Remove hardcoded size from append_viewport()
This commit is contained in:
parent
7a2b9ad164
commit
4a4aa23aed
2 changed files with 9 additions and 8 deletions
|
@ -10,6 +10,7 @@
|
|||
|
||||
#include <AK/StringView.h>
|
||||
#include <AK/Vector.h>
|
||||
#include <LibGfx/Size.h>
|
||||
#include <LibVirtGPU/VirGLProtocol.h>
|
||||
#include <sys/ioctl_numbers.h>
|
||||
|
||||
|
@ -29,7 +30,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_viewport();
|
||||
void append_viewport(Gfx::IntSize);
|
||||
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…
Add table
Add a link
Reference in a new issue