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

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

Issue 1336413006: Just an experiment (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: tweaks 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/GrDrawTarget.cpp ('k') | src/gpu/SkGpuDevice.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 #ifndef SkGpuDevice_DEFINED 9 #ifndef SkGpuDevice_DEFINED
10 #define SkGpuDevice_DEFINED 10 #define SkGpuDevice_DEFINED
11 11
12 #include "SkGr.h" 12 #include "SkGr.h"
13 #include "SkBitmap.h" 13 #include "SkBitmap.h"
14 #include "SkDevice.h" 14 #include "SkDevice.h"
15 #include "SkPicture.h" 15 #include "SkPicture.h"
16 #include "SkRegion.h" 16 #include "SkRegion.h"
17 #include "SkSurface.h" 17 #include "SkSurface.h"
18 #include "GrContext.h" 18 #include "GrContext.h"
19 #include "GrSurfacePriv.h" 19 #include "GrSurfacePriv.h"
20 #include "draws/GrDrawRect.h"
20 21
21 struct SkDrawProcs; 22 struct SkDrawProcs;
22 struct GrSkDrawProcs; 23 struct GrSkDrawProcs;
23 24
24 class GrAccelData; 25 class GrAccelData;
25 struct GrCachedLayer; 26 struct GrCachedLayer;
26 27
27 /** 28 /**
28 * Subclass of SkBaseDevice, which directs all drawing to the GrGpu owned by th e 29 * Subclass of SkBaseDevice, which directs all drawing to the GrGpu owned by th e
29 * canvas. 30 * canvas.
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 237
237 static GrRenderTarget* CreateRenderTarget(GrContext*, SkSurface::Budgeted, c onst SkImageInfo&, 238 static GrRenderTarget* CreateRenderTarget(GrContext*, SkSurface::Budgeted, c onst SkImageInfo&,
238 int sampleCount); 239 int sampleCount);
239 240
240 friend class GrAtlasTextContext; 241 friend class GrAtlasTextContext;
241 friend class SkSurface_Gpu; // for access to surfaceProps 242 friend class SkSurface_Gpu; // for access to surfaceProps
242 typedef SkBaseDevice INHERITED; 243 typedef SkBaseDevice INHERITED;
243 }; 244 };
244 245
245 #endif 246 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrDrawTarget.cpp ('k') | src/gpu/SkGpuDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698