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

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

Issue 1232103002: Enable stencil clipping in mixed sampled render targets (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: GL_ARB_sample_locations Created 5 years, 2 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 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
704 if ((kGL_GrGLStandard == fStandard && glVer >= GR_GL_VER(4,3)) || 710 if ((kGL_GrGLStandard == fStandard && glVer >= GR_GL_VER(4,3)) ||
705 fExtensions.has("GL_KHR_debug")) { 711 fExtensions.has("GL_KHR_debug")) {
706 if (nullptr == fFunctions.fDebugMessageControl || 712 if (nullptr == fFunctions.fDebugMessageControl ||
707 nullptr == fFunctions.fDebugMessageInsert || 713 nullptr == fFunctions.fDebugMessageInsert ||
708 nullptr == fFunctions.fDebugMessageCallback || 714 nullptr == fFunctions.fDebugMessageCallback ||
709 nullptr == fFunctions.fGetDebugMessageLog || 715 nullptr == fFunctions.fGetDebugMessageLog ||
710 nullptr == fFunctions.fPushDebugGroup || 716 nullptr == fFunctions.fPushDebugGroup ||
711 nullptr == fFunctions.fPopDebugGroup || 717 nullptr == fFunctions.fPopDebugGroup ||
712 nullptr == fFunctions.fObjectLabel) { 718 nullptr == fFunctions.fObjectLabel) {
713 RETURN_FALSE_INTERFACE 719 RETURN_FALSE_INTERFACE
714 } 720 }
715 } 721 }
716 722
717 return true; 723 return true;
718 } 724 }
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