Bug 133388

Summary: Fix iOS depth buffer clearing issue.
Product: WebKit Reporter: Alex Christensen <achristensen>
Component: WebGLAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, dino, kondapallykalyan, noam, roger_fong
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Alex Christensen 2014-05-29 14:24:43 PDT
On iOS, the depth buffer is not being cleared correctly in WebGLRenderingContext::clearIfComposited because it is always returning after the check for !m_context->layerComposited().  This moves where the layer is being marked as composited from the mac-specific GraphicsContext3D::prepareTexture to the mac and iOS specific display function, which calls drawInCGLContext through its [super display] call.
Comment 1 Alex Christensen 2014-05-29 14:27:24 PDT
Created attachment 232263 [details]
Patch
Comment 2 WebKit Commit Bot 2014-05-29 15:10:48 PDT
Comment on attachment 232263 [details]
Patch

Clearing flags on attachment: 232263

Committed r169467: <http://trac.webkit.org/changeset/169467>
Comment 3 WebKit Commit Bot 2014-05-29 15:10:53 PDT
All reviewed patches have been landed.  Closing bug.