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

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

Issue 1731333002: Revert of Include glGetMultisamplefv API (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 10 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 | « src/gpu/gl/GrGLAssembleInterface.cpp ('k') | src/gpu/gl/GrGLCreateNullInterface.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/gl/GrGLCaps.cpp
diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp
index 883ac15251a93102bde7e9aa8069d9001afd8810..546b0bf692a57b621d28ae7dd7e7a1b34b688ed5 100644
--- a/src/gpu/gl/GrGLCaps.cpp
+++ b/src/gpu/gl/GrGLCaps.cpp
@@ -124,13 +124,6 @@
ctxInfo.hasExtension("GL_NV_texture_barrier");
} else {
fTextureBarrierSupport = ctxInfo.hasExtension("GL_NV_texture_barrier");
- }
-
- if (kGL_GrGLStandard == standard) {
- fSampleLocationsSupport = version >= GR_GL_VER(3,2) ||
- ctxInfo.hasExtension("GL_ARB_texture_multisample");
- } else {
- fSampleLocationsSupport = version >= GR_GL_VER(3,1);
}
// ARB_texture_rg is part of OpenGL 3.0, but mesa doesn't support GL_RED
« no previous file with comments | « src/gpu/gl/GrGLAssembleInterface.cpp ('k') | src/gpu/gl/GrGLCreateNullInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698