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

Side by Side Diff: src/gpu/gl/GrGLInterface.cpp

Issue 1426993007: Revert of Enable stencil clipping in mixed sampled render targets (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « src/gpu/gl/GrGLGpu.cpp ('k') | src/gpu/gl/GrGLPathRendering.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 8
9 #include "gl/GrGLInterface.h" 9 #include "gl/GrGLInterface.h"
10 #include "gl/GrGLExtensions.h" 10 #include "gl/GrGLExtensions.h"
(...skipping 683 matching lines...) Expand 10 before | Expand all | Expand 10 after
694 nullptr == fFunctions.fGetVertexArrayPointerv || 694 nullptr == fFunctions.fGetVertexArrayPointerv ||
695 nullptr == fFunctions.fGetVertexArrayIntegeri_v || 695 nullptr == fFunctions.fGetVertexArrayIntegeri_v ||
696 nullptr == fFunctions.fGetVertexArrayPointeri_v || 696 nullptr == fFunctions.fGetVertexArrayPointeri_v ||
697 nullptr == fFunctions.fMapNamedBufferRange || 697 nullptr == fFunctions.fMapNamedBufferRange ||
698 nullptr == fFunctions.fFlushMappedNamedBufferRange) { 698 nullptr == fFunctions.fFlushMappedNamedBufferRange) {
699 RETURN_FALSE_INTERFACE 699 RETURN_FALSE_INTERFACE
700 } 700 }
701 } 701 }
702 } 702 }
703 703
704 if (kGL_GrGLStandard == fStandard && glVer >= GR_GL_VER(4,5)) {
705 if (nullptr == fFunctions.fNamedFramebufferParameteri) {
706 RETURN_FALSE_INTERFACE
707 }
708 }
709
710 if ((kGL_GrGLStandard == fStandard && glVer >= GR_GL_VER(4,3)) || 704 if ((kGL_GrGLStandard == fStandard && glVer >= GR_GL_VER(4,3)) ||
711 fExtensions.has("GL_KHR_debug")) { 705 fExtensions.has("GL_KHR_debug")) {
712 if (nullptr == fFunctions.fDebugMessageControl || 706 if (nullptr == fFunctions.fDebugMessageControl ||
713 nullptr == fFunctions.fDebugMessageInsert || 707 nullptr == fFunctions.fDebugMessageInsert ||
714 nullptr == fFunctions.fDebugMessageCallback || 708 nullptr == fFunctions.fDebugMessageCallback ||
715 nullptr == fFunctions.fGetDebugMessageLog || 709 nullptr == fFunctions.fGetDebugMessageLog ||
716 nullptr == fFunctions.fPushDebugGroup || 710 nullptr == fFunctions.fPushDebugGroup ||
717 nullptr == fFunctions.fPopDebugGroup || 711 nullptr == fFunctions.fPopDebugGroup ||
718 nullptr == fFunctions.fObjectLabel) { 712 nullptr == fFunctions.fObjectLabel) {
719 RETURN_FALSE_INTERFACE 713 RETURN_FALSE_INTERFACE
720 } 714 }
721 } 715 }
722 716
723 return true; 717 return true;
724 } 718 }
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLGpu.cpp ('k') | src/gpu/gl/GrGLPathRendering.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698