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

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

Issue 1507373004: Use a pseudo-extension CHROMIUM_framebuffer_mixed_samples (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years 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 | « src/gpu/gl/GrGLCaps.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/gl/GrGLInterface.cpp
diff --git a/src/gpu/gl/GrGLInterface.cpp b/src/gpu/gl/GrGLInterface.cpp
index 9cdc9f438657d3bee1c2c3cea9738805bbdb5723..b8d7db6b2e513bcfe3c16b778cef36601954893a 100644
--- a/src/gpu/gl/GrGLInterface.cpp
+++ b/src/gpu/gl/GrGLInterface.cpp
@@ -541,7 +541,8 @@ bool GrGLInterface::validate() const {
}
}
- if (fExtensions.has("GL_NV_framebuffer_mixed_samples")) {
+ if (fExtensions.has("GL_NV_framebuffer_mixed_samples") ||
+ fExtensions.has("GL_CHROMIUM_framebuffer_mixed_samples")) {
if (nullptr == fFunctions.fCoverageModulation) {
RETURN_FALSE_INTERFACE
}
« no previous file with comments | « src/gpu/gl/GrGLCaps.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698