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

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

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
« no previous file with comments | « no previous file | include/gpu/gl/GrGLFunctions.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 2013 Google Inc. 2 * Copyright 2013 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 GrGLExtensions_DEFINED 8 #ifndef GrGLExtensions_DEFINED
9 #define GrGLExtensions_DEFINED 9 #define GrGLExtensions_DEFINED
10 10
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 /** 47 /**
48 * Queries whether an extension is present. This will fail if init() has not been called. 48 * Queries whether an extension is present. This will fail if init() has not been called.
49 */ 49 */
50 bool has(const char[]) const; 50 bool has(const char[]) const;
51 51
52 /** 52 /**
53 * Removes an extension if present. Returns true if the extension was presen t before the call. 53 * Removes an extension if present. Returns true if the extension was presen t before the call.
54 */ 54 */
55 bool remove(const char[]); 55 bool remove(const char[]);
56 56
57 /**
58 * Adds an extension to list
59 */
60 void add(const char[]);
61
57 void reset() { fStrings->reset(); } 62 void reset() { fStrings->reset(); }
58 63
59 void print(const char* sep = "\n") const; 64 void print(const char* sep = "\n") const;
60 65
61 private: 66 private:
62 bool fInitialized; 67 bool fInitialized;
63 SkAutoTDelete<SkTArray<SkString> > fStrings; 68 SkAutoTDelete<SkTArray<SkString> > fStrings;
64 }; 69 };
65 70
66 #endif 71 #endif
OLDNEW
« no previous file with comments | « no previous file | include/gpu/gl/GrGLFunctions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698