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

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

Issue 2138083002: skip call to clip::apply when clip is wide open Base URL: https://chromium.googlesource.com/skia.git@llist
Patch Set: rm gcmm Created 4 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/GrStencilAttachment.h ('k') | tests/ClipBoundsTest.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 2010 Google Inc. 2 * Copyright 2010 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 SkGpuDevice_DEFINED 8 #ifndef SkGpuDevice_DEFINED
9 #define SkGpuDevice_DEFINED 9 #define SkGpuDevice_DEFINED
10 10
11 #include "SkGr.h" 11 #include "SkGr.h"
12 #include "SkBitmap.h" 12 #include "SkBitmap.h"
13 #include "SkDevice.h" 13 #include "SkDevice.h"
14 #include "SkPicture.h" 14 #include "SkPicture.h"
15 #include "SkRegion.h" 15 #include "SkRegion.h"
16 #include "SkSurface.h" 16 #include "SkSurface.h"
17 #include "GrDrawContext.h" 17 #include "GrDrawContext.h"
18 #include "GrContext.h" 18 #include "GrContext.h"
19 #include "GrClipStackClip.h"
19 #include "GrSurfacePriv.h" 20 #include "GrSurfacePriv.h"
20 #include "GrTypes.h" 21 #include "GrTypes.h"
21 22
22 class GrAccelData; 23 class GrAccelData;
23 class GrTextureProducer; 24 class GrTextureProducer;
24 struct GrCachedLayer; 25 struct GrCachedLayer;
25 26
26 /** 27 /**
27 * Subclass of SkBaseDevice, which directs all drawing to the GrGpu owned by th e 28 * Subclass of SkBaseDevice, which directs all drawing to the GrGpu owned by th e
28 * canvas. 29 * canvas.
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 263
263 void drawSpriteWithFilter(const SkDraw&, const SkBitmap&, int x, int y, 264 void drawSpriteWithFilter(const SkDraw&, const SkBitmap&, int x, int y,
264 const SkPaint&) override; 265 const SkPaint&) override;
265 266
266 friend class GrAtlasTextContext; 267 friend class GrAtlasTextContext;
267 friend class SkSurface_Gpu; // for access to surfaceProps 268 friend class SkSurface_Gpu; // for access to surfaceProps
268 typedef SkBaseDevice INHERITED; 269 typedef SkBaseDevice INHERITED;
269 }; 270 };
270 271
271 #endif 272 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrStencilAttachment.h ('k') | tests/ClipBoundsTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698