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

Side by Side Diff: src/gpu/GrDrawTarget.cpp

Issue 1233923004: Removing GrTemplates.h (Closed) Base URL: https://skia.googlesource.com/skia.git@grfontscaler
Patch Set: Created 5 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 | « gyp/gpu.gypi ('k') | src/gpu/GrFontScaler.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 /* 2 /*
3 * Copyright 2010 Google Inc. 3 * Copyright 2010 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 #include "GrDrawTarget.h" 9 #include "GrDrawTarget.h"
10 10
11 #include "GrAARectRenderer.h" 11 #include "GrAARectRenderer.h"
12 #include "GrBatch.h" 12 #include "GrBatch.h"
13 #include "GrCaps.h" 13 #include "GrCaps.h"
14 #include "GrGpu.h" 14 #include "GrGpu.h"
15 #include "GrPath.h" 15 #include "GrPath.h"
16 #include "GrPipeline.h" 16 #include "GrPipeline.h"
17 #include "GrMemoryPool.h" 17 #include "GrMemoryPool.h"
18 #include "GrRectBatch.h" 18 #include "GrRectBatch.h"
19 #include "GrRenderTarget.h" 19 #include "GrRenderTarget.h"
20 #include "GrResourceProvider.h" 20 #include "GrResourceProvider.h"
21 #include "GrRenderTargetPriv.h" 21 #include "GrRenderTargetPriv.h"
22 #include "GrSurfacePriv.h" 22 #include "GrSurfacePriv.h"
23 #include "GrTemplates.h"
24 #include "GrTexture.h" 23 #include "GrTexture.h"
25 #include "GrVertexBuffer.h" 24 #include "GrVertexBuffer.h"
26 25
27 #include "SkStrokeRec.h" 26 #include "SkStrokeRec.h"
28 27
29 //////////////////////////////////////////////////////////////////////////////// 28 ////////////////////////////////////////////////////////////////////////////////
30 29
31 GrDrawTarget::GrDrawTarget(GrGpu* gpu, GrResourceProvider* resourceProvider) 30 GrDrawTarget::GrDrawTarget(GrGpu* gpu, GrResourceProvider* resourceProvider)
32 : fGpu(SkRef(gpu)) 31 : fGpu(SkRef(gpu))
33 , fCaps(SkRef(gpu->caps())) 32 , fCaps(SkRef(gpu->caps()))
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 ars, 504 ars,
506 scissorState, 505 scissorState,
507 devBounds); 506 devBounds);
508 } 507 }
509 508
510 void GrClipTarget::purgeResources() { 509 void GrClipTarget::purgeResources() {
511 // The clip mask manager can rebuild all its clip masks so just 510 // The clip mask manager can rebuild all its clip masks so just
512 // get rid of them all. 511 // get rid of them all.
513 fClipMaskManager->purgeResources(); 512 fClipMaskManager->purgeResources();
514 }; 513 };
OLDNEW
« no previous file with comments | « gyp/gpu.gypi ('k') | src/gpu/GrFontScaler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698