Bug 73679
| Summary: | [chromium] Use EXT_discard_framebuffer to optimize buffer clearing | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sami Kyostila <skyostil> |
| Component: | Layout and Rendering | Assignee: | Sami Kyostila <skyostil> |
| Status: | RESOLVED WONTFIX | ||
| Severity: | Normal | CC: | schenney |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Sami Kyostila
In situations where we know that rendering is fully opaque and covers the entire framebuffer we could use the EXT_discard_framebuffer extension (where available) instead of glClear(). This allows some GPUs to avoid copying the previous framebuffer contents to temporary storage when starting to render.
The extension spec can be found at http://www.khronos.org/registry/gles/extensions/EXT/EXT_discard_framebuffer.txt
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Stephen Chenney
https://code.google.com/p/chromium/issues/detail?id=230815