Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(204)

Unified Diff: cc/output/gl_renderer.cc

Issue 1564703005: Implement external stencil for Android WebView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, fix pixel tests Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « android_webview/browser/shared_renderer_state.cc ('k') | cc/output/output_surface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/gl_renderer.cc
diff --git a/cc/output/gl_renderer.cc b/cc/output/gl_renderer.cc
index 977bfe7b03f638c8169b2436c912de97ed8bbe10..4782fbbc27abdc3e93311c68f415969a6355d96d 100644
--- a/cc/output/gl_renderer.cc
+++ b/cc/output/gl_renderer.cc
@@ -2921,8 +2921,8 @@ void GLRenderer::BindFramebufferToOutputSurface(DrawingFrame* frame) {
output_surface_->BindFramebuffer();
if (output_surface_->HasExternalStencilTest()) {
+ output_surface_->ApplyExternalStencil();
SetStencilEnabled(true);
- gl_->StencilFunc(GL_EQUAL, 1, 1);
} else {
SetStencilEnabled(false);
}
« no previous file with comments | « android_webview/browser/shared_renderer_state.cc ('k') | cc/output/output_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698