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

Side by Side Diff: src/gpu/gl/GrGLAssembleInterface.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/GrClipMaskManager.cpp ('k') | src/gpu/gl/GrGLCaps.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 /* 2 /*
3 * Copyright 2014 Google Inc. 3 * Copyright 2014 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #include "GrGLAssembleInterface.h" 10 #include "GrGLAssembleInterface.h"
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 GET_PROC_SUFFIX(DisableVertexArrayAttrib, EXT); 443 GET_PROC_SUFFIX(DisableVertexArrayAttrib, EXT);
444 GET_PROC_SUFFIX(GetVertexArrayIntegerv, EXT); 444 GET_PROC_SUFFIX(GetVertexArrayIntegerv, EXT);
445 GET_PROC_SUFFIX(GetVertexArrayPointerv, EXT); 445 GET_PROC_SUFFIX(GetVertexArrayPointerv, EXT);
446 GET_PROC_SUFFIX(GetVertexArrayIntegeri_v, EXT); 446 GET_PROC_SUFFIX(GetVertexArrayIntegeri_v, EXT);
447 GET_PROC_SUFFIX(GetVertexArrayPointeri_v, EXT); 447 GET_PROC_SUFFIX(GetVertexArrayPointeri_v, EXT);
448 GET_PROC_SUFFIX(MapNamedBufferRange, EXT); 448 GET_PROC_SUFFIX(MapNamedBufferRange, EXT);
449 GET_PROC_SUFFIX(FlushMappedNamedBufferRange, EXT); 449 GET_PROC_SUFFIX(FlushMappedNamedBufferRange, EXT);
450 } 450 }
451 } 451 }
452 452
453 if (glVer >= GR_GL_VER(4,5)) {
454 GET_PROC(NamedFramebufferParameteri);
455 }
456
453 if (glVer >= GR_GL_VER(4,3) || extensions.has("GL_KHR_debug")) { 457 if (glVer >= GR_GL_VER(4,3) || extensions.has("GL_KHR_debug")) {
454 // KHR_debug defines these methods to have no suffix in an OpenGL (not E S) context. 458 // KHR_debug defines these methods to have no suffix in an OpenGL (not E S) context.
455 GET_PROC(DebugMessageControl); 459 GET_PROC(DebugMessageControl);
456 GET_PROC(DebugMessageInsert); 460 GET_PROC(DebugMessageInsert);
457 GET_PROC(DebugMessageCallback); 461 GET_PROC(DebugMessageCallback);
458 GET_PROC(GetDebugMessageLog); 462 GET_PROC(GetDebugMessageLog);
459 GET_PROC(PushDebugGroup); 463 GET_PROC(PushDebugGroup);
460 GET_PROC(PopDebugGroup); 464 GET_PROC(PopDebugGroup);
461 GET_PROC(ObjectLabel); 465 GET_PROC(ObjectLabel);
462 } 466 }
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
751 GET_PROC_SUFFIX(PushDebugGroup, KHR); 755 GET_PROC_SUFFIX(PushDebugGroup, KHR);
752 GET_PROC_SUFFIX(PopDebugGroup, KHR); 756 GET_PROC_SUFFIX(PopDebugGroup, KHR);
753 GET_PROC_SUFFIX(ObjectLabel, KHR); 757 GET_PROC_SUFFIX(ObjectLabel, KHR);
754 } 758 }
755 759
756 interface->fStandard = kGLES_GrGLStandard; 760 interface->fStandard = kGLES_GrGLStandard;
757 interface->fExtensions.swap(&extensions); 761 interface->fExtensions.swap(&extensions);
758 762
759 return interface; 763 return interface;
760 } 764 }
OLDNEW
« no previous file with comments | « src/gpu/GrClipMaskManager.cpp ('k') | src/gpu/gl/GrGLCaps.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698