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

Unified Diff: src/gpu/SkGpuDevice.h

Issue 1196683003: remove SkDeviceProperties (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Clean up Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/GrTextContext.cpp ('k') | src/gpu/SkGpuDevice.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/SkGpuDevice.h
diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h
index cf85cd967398d2cb7fa25ef15944a9da1daf89c9..5b54fafb26eaddf0dadccc6e0e6b0803d08a951c 100644
--- a/src/gpu/SkGpuDevice.h
+++ b/src/gpu/SkGpuDevice.h
@@ -76,7 +76,9 @@ public:
return fLegacyBitmap.info();
}
- const SkSurfaceProps& surfaceProps() const { return fSurfaceProps; }
+ const SkSurfaceProps& surfaceProps() const {
+ return this->getLeakyProperties();
bungeman-skia 2015/06/19 17:35:34 Does this make sense? The leaky properties are tho
bungeman-skia 2015/06/19 18:27:30 Ah, so no one is using the leaky properties.
robertphillips 2015/06/19 18:27:47 As discussed in person I will follow up this CL wi
+ }
void drawPaint(const SkDraw&, const SkPaint& paint) override;
virtual void drawPoints(const SkDraw&, SkCanvas::PointMode mode, size_t count,
@@ -151,7 +153,6 @@ private:
SkIPoint fClipOrigin;
GrClip fClip;
SkAutoTUnref<GrDrawContext> fDrawContext;
- SkSurfaceProps fSurfaceProps;
GrRenderTarget* fRenderTarget;
// remove when our clients don't rely on accessBitmap()
SkBitmap fLegacyBitmap;
« no previous file with comments | « src/gpu/GrTextContext.cpp ('k') | src/gpu/SkGpuDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698