LibWeb/WebGL2: Implement waitSync

This commit is contained in:
Luke Wilde
2025-10-20 21:05:29 +01:00
committed by Jelle Raaijmakers
parent 3005cc30b4
commit 39d42b7b73
Notes: github-actions[bot] 2025-10-21 21:33:53 +00:00
3 changed files with 19 additions and 1 deletions

View File

@@ -82,6 +82,7 @@ public:
GC::Root<WebGLSync> fence_sync(WebIDL::UnsignedLong condition, WebIDL::UnsignedLong flags);
void delete_sync(GC::Root<WebGLSync> sync);
WebIDL::UnsignedLong client_wait_sync(GC::Root<WebGLSync> sync, WebIDL::UnsignedLong flags, WebIDL::UnsignedLongLong timeout);
void wait_sync(GC::Root<WebGLSync> sync, WebIDL::UnsignedLong flags, WebIDL::UnsignedLongLong timeout);
JS::Value get_sync_parameter(GC::Root<WebGLSync> sync, WebIDL::UnsignedLong pname);
void bind_buffer_base(WebIDL::UnsignedLong target, WebIDL::UnsignedLong index, GC::Root<WebGLBuffer> buffer);
void bind_buffer_range(WebIDL::UnsignedLong target, WebIDL::UnsignedLong index, GC::Root<WebGLBuffer> buffer, WebIDL::LongLong offset, WebIDL::LongLong size);