Undefine
5caead88fc
LibWeb: Allow WebGL getParameter when WEBGL_draw_buffers is enabled
...
When that extensions is enabled we should allow getting the parameter
value of MAX_COLOR_ATTACHMENTS_WEBGL.
2025-11-06 19:02:36 +01:00
Undefine
d4ac9fc5c6
LibWeb: Implement WebGL extension OES_standard_derivatives
2025-11-06 19:02:36 +01:00
Undefine
e7aeb71d29
LibWeb: Move WebGL error variable to WebGLRenderingContextBase
...
Implementations in both WebGL1 and WebGL2 were the same and most
probably will stay the same.
2025-11-06 19:02:36 +01:00
Undefine
6c115171da
LibWeb: Split off WebGL2RenderingContextImpl to Impl and Overloads
...
This mostly analogous to the previous commit that does the same with
the WebGL1 Impl file.
2025-11-05 02:19:32 +01:00
Undefine
a2c659ee6b
LibWeb: Implement WebGL getVertexAttrib
...
This also implements all allowed parameter name values for this
function.
2025-11-01 16:53:39 -07:00
Undefine
932a3328a3
LibWeb: Implement WebGL getParameter(COMPRESSED_TEXTURE_FORMATS)
2025-11-01 16:53:39 -07:00
Luke Wilde
b15f4424f9
LibWeb/WebGL: Implement the EXT_texture_filter_anisotropic extension
2025-10-20 15:33:33 +02:00
Luke Wilde
d08915a0cd
LibWeb/WebGL: Implement the WEBGL_compressed_texture_s3tc_srgb extension
2025-10-20 15:33:33 +02:00
Luke Wilde
ddf60ebe9e
LibWeb/WebGL2: Implement the EXT_texture_norm16 extension
2025-10-20 15:33:33 +02:00
Luke Wilde
93d3ebfd59
LibWeb/WebGL2: Implement the EXT_render_snorm extension
2025-10-20 15:33:33 +02:00
Luke Wilde
9ca25eed7f
LibWeb/WebGL2: Implement EXT_color_buffer_float extension
...
This makes the Point Of Sale model on https://www.shopify.com/ have
colour instead of being completely black.
2025-03-06 12:59:28 +01:00
Luke Wilde
958938655d
LibWeb/WebGL: Implement WEBGL_compressed_texture_s3tc extension
2025-02-09 01:00:51 +01:00
Aliaksandr Kalenik
cf730870c5
LibWeb: Save WebGL context pointer in WebGLObject
...
This way we could be sure that context object won't be deallocated
before any of the objects that belong to it.
Having a context pointer is also going to be used in upcoming changes
to generate an INVALID_OPERATION error if an object does not belong to
the context it's being used in.
2024-12-19 13:38:43 +01:00
Aliaksandr Kalenik
145bb0f849
LibWeb/WebGL: Implement getSupportedExtensions()
2024-12-13 09:19:10 +01:00
Aliaksandr Kalenik
c199be061a
LibWeb/WebGL: Implement drawingBufferWidth and drawingBufferHeight
2024-12-13 09:19:10 +01:00
Andrew Kaster
56d45282ea
LibWeb/WebGL: Don't crash on unknown getParameter on the context
...
And allow the implementation to set the error code.
2024-12-06 15:35:36 +01:00
Andrew Kaster
af536e1192
LibWeb: Add stubbed-out WebGL2RenderingContext
2024-12-06 15:35:36 +01:00