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

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: Created 5 years, 3 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
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,3)) {
454 GET_PROC(FramebufferParameteri);
455 }
456 if (extensions.has("GL_NV_sample_locations")) {
457 GET_PROC_SUFFIX(NamedFramebufferSampleLocationsfv, NV);
458 GET_PROC_SUFFIX(GetMultisamplefv, NV);
Chris Dalton 2015/09/22 08:35:24 For glGetMultisamplefv we should check for GL vers
459 }
460
453 if (glVer >= GR_GL_VER(4,3) || extensions.has("GL_KHR_debug")) { 461 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. 462 // KHR_debug defines these methods to have no suffix in an OpenGL (not E S) context.
455 GET_PROC(DebugMessageControl); 463 GET_PROC(DebugMessageControl);
456 GET_PROC(DebugMessageInsert); 464 GET_PROC(DebugMessageInsert);
457 GET_PROC(DebugMessageCallback); 465 GET_PROC(DebugMessageCallback);
458 GET_PROC(GetDebugMessageLog); 466 GET_PROC(GetDebugMessageLog);
459 GET_PROC(PushDebugGroup); 467 GET_PROC(PushDebugGroup);
460 GET_PROC(PopDebugGroup); 468 GET_PROC(PopDebugGroup);
461 GET_PROC(ObjectLabel); 469 GET_PROC(ObjectLabel);
462 } 470 }
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
751 GET_PROC_SUFFIX(PushDebugGroup, KHR); 759 GET_PROC_SUFFIX(PushDebugGroup, KHR);
752 GET_PROC_SUFFIX(PopDebugGroup, KHR); 760 GET_PROC_SUFFIX(PopDebugGroup, KHR);
753 GET_PROC_SUFFIX(ObjectLabel, KHR); 761 GET_PROC_SUFFIX(ObjectLabel, KHR);
754 } 762 }
755 763
756 interface->fStandard = kGLES_GrGLStandard; 764 interface->fStandard = kGLES_GrGLStandard;
757 interface->fExtensions.swap(&extensions); 765 interface->fExtensions.swap(&extensions);
758 766
759 return interface; 767 return interface;
760 } 768 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698