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

Unified Diff: src/gpu/gl/GrGLCaps.cpp

Issue 1232103002: Enable stencil clipping in mixed sampled render targets (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 3 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/gl/GrGLCaps.cpp
diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp
index 6522e1b14bce63256dd822c3ecb973934c50d1e5..8101b82ae46784eb9610855a9dc24c9a7bb21332 100644
--- a/src/gpu/gl/GrGLCaps.cpp
+++ b/src/gpu/gl/GrGLCaps.cpp
@@ -348,7 +348,8 @@ void GrGLCaps::init(const GrContextOptions& contextOptions,
glslCaps->fMixedSamplesSupport =
ctxInfo.hasExtension("GL_NV_framebuffer_mixed_samples") &&
ctxInfo.hasExtension("GL_NV_sample_mask_override_coverage") &&
- ctxInfo.hasExtension("GL_EXT_raster_multisample");
+ ctxInfo.hasExtension("GL_EXT_raster_multisample") &&
+ ctxInfo.hasExtension("GL_NV_sample_locations");
Chris Dalton 2015/09/22 08:35:24 With our current plans to just put basic mixed sam
}
// Workaround NVIDIA bug related to glInvalidateFramebuffer and mixed samples.
if (kNVIDIA_GrGLDriver == ctxInfo.driver() && fShaderCaps->mixedSamplesSupport()) {

Powered by Google App Engine
This is Rietveld 408576698