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

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

Issue 32523004: GrTHashCache -> GrTHashTable (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: no-find-copies Created 7 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 | Annotate | Revision Log
« no previous file with comments | « src/gpu/effects/GrTextureStripAtlas.h ('k') | tests/HashCacheTest.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 #ifndef GrGpuGL_DEFINED 8 #ifndef GrGpuGL_DEFINED
9 #define GrGpuGL_DEFINED 9 #define GrGpuGL_DEFINED
10 10
11 #include "GrBinHashKey.h" 11 #include "GrBinHashKey.h"
12 #include "GrDrawState.h" 12 #include "GrDrawState.h"
13 #include "GrGLContext.h" 13 #include "GrGLContext.h"
14 #include "GrGLIRect.h" 14 #include "GrGLIRect.h"
15 #include "GrGLIndexBuffer.h" 15 #include "GrGLIndexBuffer.h"
16 #include "GrGLProgram.h" 16 #include "GrGLProgram.h"
17 #include "GrGLStencilBuffer.h" 17 #include "GrGLStencilBuffer.h"
18 #include "GrGLTexture.h" 18 #include "GrGLTexture.h"
19 #include "GrGLVertexArray.h" 19 #include "GrGLVertexArray.h"
20 #include "GrGLVertexBuffer.h" 20 #include "GrGLVertexBuffer.h"
21 #include "GrGpu.h" 21 #include "GrGpu.h"
22 #include "GrTHashTable.h"
22 #include "SkTypes.h" 23 #include "SkTypes.h"
23 #include "../GrTHashCache.h"
24 24
25 #ifdef SK_DEVELOPER 25 #ifdef SK_DEVELOPER
26 #define PROGRAM_CACHE_STATS 26 #define PROGRAM_CACHE_STATS
27 #endif 27 #endif
28 28
29 class GrGpuGL : public GrGpu { 29 class GrGpuGL : public GrGpu {
30 public: 30 public:
31 GrGpuGL(const GrGLContext& ctx, GrContext* context); 31 GrGpuGL(const GrGLContext& ctx, GrContext* context);
32 virtual ~GrGpuGL(); 32 virtual ~GrGpuGL();
33 33
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 ///@} 450 ///@}
451 451
452 // we record what stencil format worked last time to hopefully exit early 452 // we record what stencil format worked last time to hopefully exit early
453 // from our loop that tries stencil formats and calls check fb status. 453 // from our loop that tries stencil formats and calls check fb status.
454 int fLastSuccessfulStencilFmtIdx; 454 int fLastSuccessfulStencilFmtIdx;
455 455
456 typedef GrGpu INHERITED; 456 typedef GrGpu INHERITED;
457 }; 457 };
458 458
459 #endif 459 #endif
OLDNEW
« no previous file with comments | « src/gpu/effects/GrTextureStripAtlas.h ('k') | tests/HashCacheTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698