mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-05 17:16:04 +00:00
LibVirtGPU: Make depth and color clearing separate functions
This commit is contained in:
parent
03884fad74
commit
140338670a
Notes:
sideshowbarker
2024-07-17 03:45:48 +09:00
Author: https://github.com/sunverwerth
Commit: 140338670a
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 ✅
2 changed files with 20 additions and 5 deletions
|
@ -22,7 +22,8 @@ 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(Protocol::PipePrimitiveTypes, u32 count);
|
||||
void append_clear(float r, float g, float b);
|
||||
void append_clear(float r, float g, float b, float a);
|
||||
void append_clear(double depth);
|
||||
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue