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

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

Issue 98703002: Fix compilation with SK_ENABLE_INST_COUNT=1 (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « src/gpu/gl/GrGLCaps.cpp ('k') | src/gpu/gl/GrGLProgram.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"
11 #include "gl/GrGLUtil.h" 11 #include "gl/GrGLUtil.h"
12 12
13 #include <stdio.h> 13 #include <stdio.h>
14 14
15 SK_DEFINE_INST_COUNT(GrGLInterface)
16
17 #if GR_GL_PER_GL_FUNC_CALLBACK 15 #if GR_GL_PER_GL_FUNC_CALLBACK
18 namespace { 16 namespace {
19 void GrGLDefaultInterfaceCallback(const GrGLInterface*) {} 17 void GrGLDefaultInterfaceCallback(const GrGLInterface*) {}
20 } 18 }
21 #endif 19 #endif
22 20
23 GrGLInterface::GrGLInterface() { 21 GrGLInterface::GrGLInterface() {
24 fBindingsExported = kNone_GrGLBinding; 22 fBindingsExported = kNone_GrGLBinding;
25 23
26 #if GR_GL_PER_GL_FUNC_CALLBACK 24 #if GR_GL_PER_GL_FUNC_CALLBACK
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 if (NULL == fBindVertexArray || 411 if (NULL == fBindVertexArray ||
414 NULL == fDeleteVertexArrays || 412 NULL == fDeleteVertexArrays ||
415 NULL == fGenVertexArrays) { 413 NULL == fGenVertexArrays) {
416 return false; 414 return false;
417 } 415 }
418 } 416 }
419 } 417 }
420 418
421 return true; 419 return true;
422 } 420 }
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLCaps.cpp ('k') | src/gpu/gl/GrGLProgram.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698