Bug 134685

Summary: Should -[WebGLLayer display] call WebThreadLock?
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: WebGLAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: dino, kkinnunen
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description Simon Fraser (smfr) 2014-07-07 10:53:11 PDT
WebLayer's -display looks like:

- (void)display
{
#if PLATFORM(IOS)
    if (pthread_main_np())
        WebThreadLock();
#endif

and this is necessary since this as a place where CA calls back into WebKit.

This lock is missing in the WebGL -display implementation.