Bug 219342
Summary: | WebGL rendering context should track the "context has been changed" state | ||
---|---|---|---|
Product: | WebKit | Reporter: | Kimmo Kinnunen <kkinnunen> |
Component: | WebGL | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED CONFIGURATION CHANGED | ||
Severity: | Normal | CC: | dino, jonlee, simon.fraser, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Local Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: |
https://bugs.webkit.org/show_bug.cgi?id=webglgpup https://bugs.webkit.org/show_bug.cgi?id=263772 |
||
Bug Depends on: | |||
Bug Blocks: | 263770 |
Kimmo Kinnunen
WebGL rendering context should track the "context has been changed" state.
Currently the WebGL rendering context kind of tracks this, but still sends this also to the GraphicsContextGL(OpenGL).
This state is used to understand whether the prepare for presentation should create a new frame or not. If the context has not been changed, compositing skips swapping a new frame.
This should be instead tracked at the caller level and trigger compositing only when exactly needed.
Having this variable complicates especially the GPU Process implementation, where this variable needs to be tracked in both web process as well as the gpu process.
Having this variable complicates the WebGL rendering context implicit back buffer clear implementation, as it is consulted in redundant fashion.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/72038783>
Kimmo Kinnunen
Fixed in bug 263772