1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 07:37:35 +00:00

LibVirtGPU: Remove hard coded primitive type in append_draw_vbo()

This commit is contained in:
Stephan Unverwerth 2022-12-22 15:16:13 +01:00 committed by Andreas Kling
parent b5acfba487
commit 03884fad74
2 changed files with 14 additions and 14 deletions

View file

@ -21,7 +21,7 @@ public:
void append_set_tweaks(u32 id, u32 value);
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_draw_vbo(Protocol::PipePrimitiveTypes, u32 count);
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);