Bug 54327
| Summary: | [chromium] Accelerated PlatformContextSkia doesn't always render with the correct context | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Vangelis Kokkevis <vangelis> |
| Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bsalomon, jamesr, reed, senorblanco |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | PC | ||
| OS: | OS X 10.5 | ||
Vangelis Kokkevis
When using the gpu-accelerated skia path (ENABLE(SKIA_GPU)), all GraphicsContext methods must first set the current GL context to the context that the underlying gpu canvas uses. Currently only methods that call PlatformContextSkia::prepareForSoftwareDraw() will do that. An example of a method that won't set the GL context is GraphicsContext::clearRect() but there's plenty of others.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Brian Salomon
We now set the correct context before each GL call.