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

Unified Diff: src/image/SkSurface_Gpu.cpp

Issue 792923002: Apply the layer's image filter to the hoisted image (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix cast Created 6 years 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/image/SkSurface_Gpu.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/image/SkSurface_Gpu.cpp
diff --git a/src/image/SkSurface_Gpu.cpp b/src/image/SkSurface_Gpu.cpp
index 848709445dadc3e39cb911513038664c869013b1..e58375b53b09c4bd43741ac230a58be8c1656004 100644
--- a/src/image/SkSurface_Gpu.cpp
+++ b/src/image/SkSurface_Gpu.cpp
@@ -10,30 +10,10 @@
#include "SkImage_Base.h"
#include "SkCanvas.h"
#include "SkGpuDevice.h"
+#include "SkSurface_Gpu.h"
#if SK_SUPPORT_GPU
-class SkSurface_Gpu : public SkSurface_Base {
-public:
- SK_DECLARE_INST_COUNT(SkSurface_Gpu)
-
- SkSurface_Gpu(GrRenderTarget*, const SkSurfaceProps*, bool doClear);
- virtual ~SkSurface_Gpu();
-
- virtual SkCanvas* onNewCanvas() SK_OVERRIDE;
- virtual SkSurface* onNewSurface(const SkImageInfo&) SK_OVERRIDE;
- virtual SkImage* onNewImageSnapshot() SK_OVERRIDE;
- virtual void onDraw(SkCanvas*, SkScalar x, SkScalar y,
- const SkPaint*) SK_OVERRIDE;
- virtual void onCopyOnWrite(ContentChangeMode) SK_OVERRIDE;
- virtual void onDiscard() SK_OVERRIDE;
-
-private:
- SkGpuDevice* fDevice;
-
- typedef SkSurface_Base INHERITED;
-};
-
///////////////////////////////////////////////////////////////////////////////
SkSurface_Gpu::SkSurface_Gpu(GrRenderTarget* renderTarget, const SkSurfaceProps* props,
« no previous file with comments | « src/image/SkSurface_Gpu.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698