Bug 133388 - Fix iOS depth buffer clearing issue.
Summary: Fix iOS depth buffer clearing issue.
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2014-05-29 14:24 PDT by Alex Christensen
Modified: 2014-05-29 15:10 PDT (History)
5 users (show)

See Also:

Patch (1.98 KB, patch)
2014-05-29 14:27 PDT, Alex Christensen
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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]
Comment 2 WebKit Commit Bot 2014-05-29 15:10:48 PDT
Comment on attachment 232263 [details]

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.