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

Side by Side Diff: src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp

Issue 174123003: Add hooks for GL_EXT_debug_marker in gpu (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 10 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 2011 Google Inc. 3 * Copyright 2011 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 "gl/GrGLInterface.h" 10 #include "gl/GrGLInterface.h"
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 functions->fRenderbufferStorageMultisample = glRenderbufferStorageMultisampl eAPPLE; 137 functions->fRenderbufferStorageMultisample = glRenderbufferStorageMultisampl eAPPLE;
138 functions->fResolveMultisampleFramebuffer = glResolveMultisampleFramebufferA PPLE; 138 functions->fResolveMultisampleFramebuffer = glResolveMultisampleFramebufferA PPLE;
139 #endif 139 #endif
140 140
141 #if GL_OES_vertex_array_object 141 #if GL_OES_vertex_array_object
142 functions->fBindVertexArray = glBindVertexArrayOES; 142 functions->fBindVertexArray = glBindVertexArrayOES;
143 functions->fDeleteVertexArrays = glDeleteVertexArraysOES; 143 functions->fDeleteVertexArrays = glDeleteVertexArraysOES;
144 functions->fGenVertexArrays = glGenVertexArraysOES; 144 functions->fGenVertexArrays = glGenVertexArraysOES;
145 #endif 145 #endif
146 146
147 #if GL_EXT_debug_marker
148 functions->fInsertEventMarker = glInsertEventMarkerEXT;
149 functions->fPushGroupMarker = glPushGroupMarkerEXT;
150 functions->fPopGroupMarker = glPopGropuMarkerEXT;
151 #endif
152
147 interface->fStandard = kGLES_GrGLStandard; 153 interface->fStandard = kGLES_GrGLStandard;
148 interface->fExtensions.init(kGLES_GrGLStandard, glGetString, NULL, glGetInte gerv); 154 interface->fExtensions.init(kGLES_GrGLStandard, glGetString, NULL, glGetInte gerv);
149 155
150 return interface; 156 return interface;
151 } 157 }
OLDNEW
« no previous file with comments | « src/gpu/gl/angle/GrGLCreateANGLEInterface.cpp ('k') | src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698