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

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

Issue 1415873011: Revert of Enable stencil clipping in mixed sampled render targets (patchset #6 id:100001 of https:/… (Closed) Base URL: https://skia.googlesource.com/skia.git@reverts2
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/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 433 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 GET_PROC_SUFFIX(DisableVertexArrayAttrib, EXT); 444 GET_PROC_SUFFIX(DisableVertexArrayAttrib, EXT);
445 GET_PROC_SUFFIX(GetVertexArrayIntegerv, EXT); 445 GET_PROC_SUFFIX(GetVertexArrayIntegerv, EXT);
446 GET_PROC_SUFFIX(GetVertexArrayPointerv, EXT); 446 GET_PROC_SUFFIX(GetVertexArrayPointerv, EXT);
447 GET_PROC_SUFFIX(GetVertexArrayIntegeri_v, EXT); 447 GET_PROC_SUFFIX(GetVertexArrayIntegeri_v, EXT);
448 GET_PROC_SUFFIX(GetVertexArrayPointeri_v, EXT); 448 GET_PROC_SUFFIX(GetVertexArrayPointeri_v, EXT);
449 GET_PROC_SUFFIX(MapNamedBufferRange, EXT); 449 GET_PROC_SUFFIX(MapNamedBufferRange, EXT);
450 GET_PROC_SUFFIX(FlushMappedNamedBufferRange, EXT); 450 GET_PROC_SUFFIX(FlushMappedNamedBufferRange, EXT);
451 } 451 }
452 } 452 }
453 453
454 if (glVer >= GR_GL_VER(4,5)) {
455 GET_PROC(NamedFramebufferParameteri);
456 }
457
458 if (glVer >= GR_GL_VER(4,3) || extensions.has("GL_KHR_debug")) { 454 if (glVer >= GR_GL_VER(4,3) || extensions.has("GL_KHR_debug")) {
459 // KHR_debug defines these methods to have no suffix in an OpenGL (not E S) context. 455 // KHR_debug defines these methods to have no suffix in an OpenGL (not E S) context.
460 GET_PROC(DebugMessageControl); 456 GET_PROC(DebugMessageControl);
461 GET_PROC(DebugMessageInsert); 457 GET_PROC(DebugMessageInsert);
462 GET_PROC(DebugMessageCallback); 458 GET_PROC(DebugMessageCallback);
463 GET_PROC(GetDebugMessageLog); 459 GET_PROC(GetDebugMessageLog);
464 GET_PROC(PushDebugGroup); 460 GET_PROC(PushDebugGroup);
465 GET_PROC(PopDebugGroup); 461 GET_PROC(PopDebugGroup);
466 GET_PROC(ObjectLabel); 462 GET_PROC(ObjectLabel);
467 } 463 }
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
768 764
769 if (extensions.has("GL_CHROMIUM_bind_uniform_location")) { 765 if (extensions.has("GL_CHROMIUM_bind_uniform_location")) {
770 GET_PROC_SUFFIX(BindUniformLocation, CHROMIUM); 766 GET_PROC_SUFFIX(BindUniformLocation, CHROMIUM);
771 } 767 }
772 768
773 interface->fStandard = kGLES_GrGLStandard; 769 interface->fStandard = kGLES_GrGLStandard;
774 interface->fExtensions.swap(&extensions); 770 interface->fExtensions.swap(&extensions);
775 771
776 return interface; 772 return interface;
777 } 773 }
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