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
Reported 2011-02-11 17:39:04 PST
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
Brian Salomon
Comment 1 2011-10-14 05:24:50 PDT
We now set the correct context before each GL call.
Note You need to log in before you can comment on or make changes to this bug.