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

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

Issue 1950523002: Remove GrLayerHoister (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Forgot to remove some files 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/GrRecordReplaceDraw.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 * 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
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 bool onAccessPixels(SkPixmap*) override; 138 bool onAccessPixels(SkPixmap*) override;
139 139
140 // for debugging purposes only 140 // for debugging purposes only
141 void drawTexture(GrTexture*, const SkRect& dst, const SkPaint&); 141 void drawTexture(GrTexture*, const SkRect& dst, const SkPaint&);
142 142
143 protected: 143 protected:
144 bool onReadPixels(const SkImageInfo&, void*, size_t, int, int) override; 144 bool onReadPixels(const SkImageInfo&, void*, size_t, int, int) override;
145 bool onWritePixels(const SkImageInfo&, const void*, size_t, int, int) overri de; 145 bool onWritePixels(const SkImageInfo&, const void*, size_t, int, int) overri de;
146 bool onShouldDisableLCD(const SkPaint&) const final; 146 bool onShouldDisableLCD(const SkPaint&) const final;
147 147
148 /** PRIVATE / EXPERIMENTAL -- do not call */
149 virtual bool EXPERIMENTAL_drawPicture(SkCanvas* canvas, const SkPicture* pic ture,
150 const SkMatrix*, const SkPaint*) overr ide;
151
152 private: 148 private:
153 // We want these unreffed in DrawContext, RenderTarget, GrContext order. 149 // We want these unreffed in DrawContext, RenderTarget, GrContext order.
154 SkAutoTUnref<GrContext> fContext; 150 SkAutoTUnref<GrContext> fContext;
155 sk_sp<GrRenderTarget> fRenderTarget; 151 sk_sp<GrRenderTarget> fRenderTarget;
156 sk_sp<GrDrawContext> fDrawContext; 152 sk_sp<GrDrawContext> fDrawContext;
157 153
158 SkAutoTUnref<const SkClipStack> fClipStack; 154 SkAutoTUnref<const SkClipStack> fClipStack;
159 SkIPoint fClipOrigin; 155 SkIPoint fClipOrigin;
160 GrClipStackClip fClip; 156 GrClipStackClip fClip;
161 // remove when our clients don't rely on accessBitmap() 157 // remove when our clients don't rely on accessBitmap()
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 258
263 void drawSpriteWithFilter(const SkDraw&, const SkBitmap&, int x, int y, 259 void drawSpriteWithFilter(const SkDraw&, const SkBitmap&, int x, int y,
264 const SkPaint&) override; 260 const SkPaint&) override;
265 261
266 friend class GrAtlasTextContext; 262 friend class GrAtlasTextContext;
267 friend class SkSurface_Gpu; // for access to surfaceProps 263 friend class SkSurface_Gpu; // for access to surfaceProps
268 typedef SkBaseDevice INHERITED; 264 typedef SkBaseDevice INHERITED;
269 }; 265 };
270 266
271 #endif 267 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrRecordReplaceDraw.cpp ('k') | src/gpu/SkGpuDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698