| Summary: | GraphicsContextGLOpenGL.cpp contains OpenGL implementation specific and platform specific code | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Kimmo Kinnunen <kkinnunen> | ||||||||||
| Component: | WebGL | Assignee: | Kimmo Kinnunen <kkinnunen> | ||||||||||
| Status: | RESOLVED FIXED | ||||||||||||
| Severity: | Normal | CC: | cmarcelo, dino, ews-watchlist, kbr, kkinnunen, koivisto, kondapallykalyan, luiz, webkit-bug-importer | ||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||
| Version: | WebKit Local Build | ||||||||||||
| Hardware: | Unspecified | ||||||||||||
| OS: | Unspecified | ||||||||||||
| Bug Depends on: | |||||||||||||
| Bug Blocks: | 221664 | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Kimmo Kinnunen
2021-11-25 23:16:23 PST
Created attachment 445172 [details]
Patch
Created attachment 445173 [details]
Patch
Created attachment 445176 [details]
Patch
Created attachment 445178 [details]
Patch
Comment on attachment 445178 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=445178&action=review > Source/WebCore/platform/graphics/opengl/GraphicsContextGLOpenGL.cpp:-67 > -void GraphicsContextGLOpenGL::resetBuffersToAutoClear() > -{ > - GCGLuint buffers = GraphicsContextGL::COLOR_BUFFER_BIT; > - // The GraphicsContextGL's attributes (as opposed to > - // WebGLRenderingContext's) indicate whether there is an > - // implicitly-allocated stencil buffer, for example. > - auto attrs = contextAttributes(); > - if (attrs.depth) > - buffers |= GraphicsContextGL::DEPTH_BUFFER_BIT; > - if (attrs.stencil) > - buffers |= GraphicsContextGL::STENCIL_BUFFER_BIT; > - setBuffersToAutoClear(buffers); > -} > - Might want to comment what happened to this function (and others?) since it doesn't move anywhere mechanically. Committed r286175 (244558@main): <https://commits.webkit.org/244558@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 445178 [details]. *** Bug 233512 has been marked as a duplicate of this bug. *** |