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

Side by Side Diff: src/gpu/gl/GrGLNameAllocator.h

Issue 1410333003: Move definitions of GrGL basic types (e.g. GrGLenum) to their own header. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 2 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 | « src/gpu/gl/GrGLBufferImpl.h ('k') | src/gpu/gl/GrGLNoOpInterface.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 /* 2 /*
3 * Copyright 2014 Google Inc. 3 * Copyright 2014 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 #ifndef GrGLNameAllocator_DEFINED 9 #ifndef GrGLNameAllocator_DEFINED
10 #define GrGLNameAllocator_DEFINED 10 #define GrGLNameAllocator_DEFINED
11 11
12 #include "SkRefCnt.h" 12 #include "SkRefCnt.h"
13 #include "gl/GrGLFunctions.h" 13 #include "gl/GrGLTypes.h"
14 14
15 /** 15 /**
16 * This class assumes ownership of an explicit range of OpenGL object names and 16 * This class assumes ownership of an explicit range of OpenGL object names and
17 * manages allocations within that range. This allows the app to generate new 17 * manages allocations within that range. This allows the app to generate new
18 * objects on the client side without making round trips to the GL server. 18 * objects on the client side without making round trips to the GL server.
19 */ 19 */
20 class GrGLNameAllocator { 20 class GrGLNameAllocator {
21 public: 21 public:
22 /** 22 /**
23 * Constructs a name allocator that produces names within the explicit 23 * Constructs a name allocator that produces names within the explicit
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 class SparseNameRange; 77 class SparseNameRange;
78 class SparseNameTree; 78 class SparseNameTree;
79 class ContiguousNameRange; 79 class ContiguousNameRange;
80 80
81 const GrGLuint fFirstName; 81 const GrGLuint fFirstName;
82 const GrGLuint fEndName; 82 const GrGLuint fEndName;
83 SkAutoTUnref<SparseNameRange> fAllocatedNames; 83 SkAutoTUnref<SparseNameRange> fAllocatedNames;
84 }; 84 };
85 85
86 #endif 86 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLBufferImpl.h ('k') | src/gpu/gl/GrGLNoOpInterface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698