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

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

Issue 1306823003: skia: add ability to load command_buffer_gles2 (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: and NULL->nullptr, just because. 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
« no previous file with comments | « gyp/gpu.gypi ('k') | include/gpu/gl/command_buffer/SkCommandBufferGLContext.h » ('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 #ifndef GrGLInterface_DEFINED 8 #ifndef GrGLInterface_DEFINED
9 #define GrGLInterface_DEFINED 9 #define GrGLInterface_DEFINED
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 const GrGLInterface* GrGLCreateMesaInterface(); 50 const GrGLInterface* GrGLCreateMesaInterface();
51 #endif 51 #endif
52 52
53 #if SK_ANGLE 53 #if SK_ANGLE
54 /** 54 /**
55 * Creates a GrGLInterface for an ANGLE context. 55 * Creates a GrGLInterface for an ANGLE context.
56 */ 56 */
57 const GrGLInterface* GrGLCreateANGLEInterface(); 57 const GrGLInterface* GrGLCreateANGLEInterface();
58 #endif 58 #endif
59 59
60 #if SK_COMMAND_BUFFER
61 /**
62 * Creates a GrGLInterface for a Command Buffer context.
63 */
64 const GrGLInterface* GrGLCreateCommandBufferInterface();
65 #endif
66
60 /** 67 /**
61 * Creates a null GrGLInterface that doesn't draw anything. Used for measuring 68 * Creates a null GrGLInterface that doesn't draw anything. Used for measuring
62 * CPU overhead. 69 * CPU overhead.
63 */ 70 */
64 const SK_API GrGLInterface* GrGLCreateNullInterface(); 71 const SK_API GrGLInterface* GrGLCreateNullInterface();
65 72
66 /** 73 /**
67 * Creates a debugging GrGLInterface that doesn't draw anything. Used for 74 * Creates a debugging GrGLInterface that doesn't draw anything. Used for
68 * finding memory leaks and invalid memory accesses. 75 * finding memory leaks and invalid memory accesses.
69 */ 76 */
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 #if GR_GL_PER_GL_FUNC_CALLBACK 505 #if GR_GL_PER_GL_FUNC_CALLBACK
499 GrGLInterfaceCallbackProc fCallback; 506 GrGLInterfaceCallbackProc fCallback;
500 GrGLInterfaceCallbackData fCallbackData; 507 GrGLInterfaceCallbackData fCallbackData;
501 #endif 508 #endif
502 509
503 // This exists for internal testing. 510 // This exists for internal testing.
504 virtual void abandon() const {} 511 virtual void abandon() const {}
505 }; 512 };
506 513
507 #endif 514 #endif
OLDNEW
« no previous file with comments | « gyp/gpu.gypi ('k') | include/gpu/gl/command_buffer/SkCommandBufferGLContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698