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

Unified Diff: tools/gpu/GrTest.cpp

Issue 2078483002: Start using GrGpuCommandBuffer in GrDrawTarget. (Closed) Base URL: https://skia.googlesource.com/skia.git@memoryWAR
Patch Set: remove errant lines Created 4 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 | « tests/VkUploadPixelsTests.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gpu/GrTest.cpp
diff --git a/tools/gpu/GrTest.cpp b/tools/gpu/GrTest.cpp
index e380b340103193e3ff4765fa592bf0ea5f6b60c4..dca47baea5750e8952443ffe9e8825ed9fa6a706 100644
--- a/tools/gpu/GrTest.cpp
+++ b/tools/gpu/GrTest.cpp
@@ -284,8 +284,6 @@ public:
GrPixelConfig srcConfig, DrawPreference*,
WritePixelTempDrawInfo*) override { return false; }
- void discard(GrRenderTarget*) override {}
-
bool onCopySurface(GrSurface* dst,
GrSurface* src,
const SkIRect& srcRect,
@@ -302,11 +300,9 @@ public:
return false;
}
- GrGpuCommandBuffer* createCommandBuffer(const GrRenderTarget& target,
- GrGpuCommandBuffer::LoadAndStoreOp colorOp,
- GrColor colorClear,
- GrGpuCommandBuffer::LoadAndStoreOp stencilOp,
- GrColor stencilClear) override {
+ GrGpuCommandBuffer* createCommandBuffer(GrRenderTarget* target,
+ const GrGpuCommandBuffer::LoadAndStoreInfo&,
+ const GrGpuCommandBuffer::LoadAndStoreInfo&) override {
return nullptr;
}
@@ -343,15 +339,6 @@ private:
return nullptr;
}
- void onClear(GrRenderTarget*, const SkIRect& rect, GrColor color) override {}
-
- void onClearStencilClip(GrRenderTarget*, const SkIRect& rect, bool insideClip) override {}
-
- void onDraw(const GrPipeline&,
- const GrPrimitiveProcessor&,
- const GrMesh*,
- int meshCount) override {}
-
bool onReadPixels(GrSurface* surface,
int left, int top, int width, int height,
GrPixelConfig,
« no previous file with comments | « tests/VkUploadPixelsTests.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698