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

Side by Side Diff: include/gpu/gl/GrGLInterface.h

Issue 86353002: Export GrGLCreateNullInterface for use in Chromium compositor unit tests. (Closed) Base URL: http://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 | « no previous file | no next file » | 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 #ifndef GrGLInterface_DEFINED 8 #ifndef GrGLInterface_DEFINED
9 #define GrGLInterface_DEFINED 9 #define GrGLInterface_DEFINED
10 10
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 /** 77 /**
78 * Creates a GrGLInterface for an ANGLE context. 78 * Creates a GrGLInterface for an ANGLE context.
79 */ 79 */
80 const GrGLInterface* GrGLCreateANGLEInterface(); 80 const GrGLInterface* GrGLCreateANGLEInterface();
81 #endif 81 #endif
82 82
83 /** 83 /**
84 * Creates a null GrGLInterface that doesn't draw anything. Used for measuring 84 * Creates a null GrGLInterface that doesn't draw anything. Used for measuring
85 * CPU overhead. 85 * CPU overhead.
86 */ 86 */
87 const GrGLInterface* GrGLCreateNullInterface(); 87 const SK_API GrGLInterface* GrGLCreateNullInterface();
88 88
89 /** 89 /**
90 * Creates a debugging GrGLInterface that doesn't draw anything. Used for 90 * Creates a debugging GrGLInterface that doesn't draw anything. Used for
91 * finding memory leaks and invalid memory accesses. 91 * finding memory leaks and invalid memory accesses.
92 */ 92 */
93 const GrGLInterface* GrGLCreateDebugInterface(); 93 const GrGLInterface* GrGLCreateDebugInterface();
94 94
95 #if GR_GL_PER_GL_FUNC_CALLBACK 95 #if GR_GL_PER_GL_FUNC_CALLBACK
96 typedef void (*GrGLInterfaceCallbackProc)(const GrGLInterface*); 96 typedef void (*GrGLInterfaceCallbackProc)(const GrGLInterface*);
97 typedef intptr_t GrGLInterfaceCallbackData; 97 typedef intptr_t GrGLInterfaceCallbackData;
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 354
355 // Per-GL func callback 355 // Per-GL func callback
356 #if GR_GL_PER_GL_FUNC_CALLBACK 356 #if GR_GL_PER_GL_FUNC_CALLBACK
357 GrGLInterfaceCallbackProc fCallback; 357 GrGLInterfaceCallbackProc fCallback;
358 GrGLInterfaceCallbackData fCallbackData; 358 GrGLInterfaceCallbackData fCallbackData;
359 #endif 359 #endif
360 360
361 }; 361 };
362 362
363 #endif 363 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698