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

Side by Side Diff: src/gpu/GrGpu.h

Issue 414013005: Merge GrGpuObject and GrCacheable. (Closed) Base URL: https://skia.googlesource.com/skia.git@uniqueid
Patch Set: Address comments 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
« no previous file with comments | « src/gpu/GrContext.cpp ('k') | src/gpu/GrGpuObject.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 GrGpu_DEFINED 8 #ifndef GrGpu_DEFINED
9 #define GrGpu_DEFINED 9 #define GrGpu_DEFINED
10 10
11 #include "GrDrawTarget.h" 11 #include "GrDrawTarget.h"
12 #include "GrClipMaskManager.h" 12 #include "GrClipMaskManager.h"
13 #include "SkPath.h" 13 #include "SkPath.h"
14 14
15 class GrContext; 15 class GrContext;
16 class GrGpuObject;
17 class GrIndexBufferAllocPool; 16 class GrIndexBufferAllocPool;
18 class GrPath; 17 class GrPath;
19 class GrPathRange; 18 class GrPathRange;
20 class GrPathRenderer; 19 class GrPathRenderer;
21 class GrPathRendererChain; 20 class GrPathRendererChain;
22 class GrStencilBuffer; 21 class GrStencilBuffer;
23 class GrVertexBufferAllocPool; 22 class GrVertexBufferAllocPool;
24 23
25 class GrGpu : public GrDrawTarget { 24 class GrGpu : public GrDrawTarget {
26 public: 25 public:
(...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after
539 // these are mutable so they can be created on-demand 538 // these are mutable so they can be created on-demand
540 mutable GrIndexBuffer* fQuadInd exBuffer; 539 mutable GrIndexBuffer* fQuadInd exBuffer;
541 // Used to abandon/release all resources created by this GrGpu. TODO: Move t his 540 // Used to abandon/release all resources created by this GrGpu. TODO: Move t his
542 // functionality to GrResourceCache. 541 // functionality to GrResourceCache.
543 ObjectList fObjectL ist; 542 ObjectList fObjectL ist;
544 543
545 typedef GrDrawTarget INHERITED; 544 typedef GrDrawTarget INHERITED;
546 }; 545 };
547 546
548 #endif 547 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrContext.cpp ('k') | src/gpu/GrGpuObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698