mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-10 19:46:03 +00:00
LibGL: Implement glPolygonOffset
This commit is contained in:
parent
7cbaaf8366
commit
15299b763c
Notes:
sideshowbarker
2024-07-18 04:54:11 +09:00
Author: https://github.com/sunverwerth
Commit: 15299b763c
Pull-request: https://github.com/SerenityOS/serenity/pull/9713
Reviewed-by: https://github.com/Quaker762 ✅
7 changed files with 26 additions and 1 deletions
|
@ -89,6 +89,7 @@ public:
|
|||
virtual void gl_depth_range(GLdouble min, GLdouble max) override;
|
||||
virtual void gl_depth_func(GLenum func) override;
|
||||
virtual void gl_polygon_mode(GLenum face, GLenum mode) override;
|
||||
virtual void gl_polygon_offset(GLfloat factor, GLfloat units) override;
|
||||
virtual void gl_fogfv(GLenum pname, GLfloat* params) override;
|
||||
virtual void gl_fogf(GLenum pname, GLfloat param) override;
|
||||
virtual void gl_fogi(GLenum pname, GLint param) override;
|
||||
|
@ -227,7 +228,8 @@ private:
|
|||
decltype(&SoftwareGLContext::gl_depth_mask),
|
||||
decltype(&SoftwareGLContext::gl_draw_arrays),
|
||||
decltype(&SoftwareGLContext::gl_draw_elements),
|
||||
decltype(&SoftwareGLContext::gl_depth_range)>;
|
||||
decltype(&SoftwareGLContext::gl_depth_range),
|
||||
decltype(&SoftwareGLContext::gl_polygon_offset)>;
|
||||
|
||||
using ExtraSavedArguments = Variant<
|
||||
FloatMatrix4x4>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue