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

Unified Diff: src/gpu/GrStencilAndCoverTextContext.cpp

Issue 1288923005: Use stencil ops that don't issue writes whenever possible (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 4 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
Index: src/gpu/GrStencilAndCoverTextContext.cpp
diff --git a/src/gpu/GrStencilAndCoverTextContext.cpp b/src/gpu/GrStencilAndCoverTextContext.cpp
index 980a494eafd01bc2ac55c4177459fc7ce80c2fc1..554038fc32fe330db5f6262247ea0b53fd313786 100644
--- a/src/gpu/GrStencilAndCoverTextContext.cpp
+++ b/src/gpu/GrStencilAndCoverTextContext.cpp
@@ -435,7 +435,7 @@ void GrStencilAndCoverTextContext::flush() {
GR_STATIC_CONST_SAME_STENCIL(kStencilPass,
kZero_StencilOp,
- kZero_StencilOp,
+ kKeep_StencilOp,
kNotEqual_StencilFunc,
0xffff,
0x0000,

Powered by Google App Engine
This is Rietveld 408576698