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

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

Issue 402693003: Replace GrTHash with SkTDynamicHash (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix compiler complaints Created 6 years, 5 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
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"
23 #include "SkTypes.h" 22 #include "SkTypes.h"
24 23
25 #ifdef SK_DEVELOPER 24 #ifdef SK_DEVELOPER
26 #define PROGRAM_CACHE_STATS 25 #define PROGRAM_CACHE_STATS
27 #endif 26 #endif
28 27
29 class GrGLNameAllocator; 28 class GrGLNameAllocator;
30 29
31 class GrGpuGL : public GrGpu { 30 class GrGpuGL : public GrGpu {
32 public: 31 public:
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 // we record what stencil format worked last time to hopefully exit early 476 // we record what stencil format worked last time to hopefully exit early
478 // from our loop that tries stencil formats and calls check fb status. 477 // from our loop that tries stencil formats and calls check fb status.
479 int fLastSuccessfulStencilFmtIdx; 478 int fLastSuccessfulStencilFmtIdx;
480 479
481 SkAutoTDelete<GrGLNameAllocator> fPathNameAllocator; 480 SkAutoTDelete<GrGLNameAllocator> fPathNameAllocator;
482 481
483 typedef GrGpu INHERITED; 482 typedef GrGpu INHERITED;
484 }; 483 };
485 484
486 #endif 485 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698