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

Unified Diff: tools/gpu/GrTest.cpp

Issue 1888473002: Use transfer buffer for BatchAtlas texture copies Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase to ToT Created 4 years, 3 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/vk/GrVkGpu.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 b99cf06d60a00408f3a6cfc8cfa304c6a4e93875..dbb4e6526287c00e89445aca3bc2365d64d68006 100644
--- a/tools/gpu/GrTest.cpp
+++ b/tools/gpu/GrTest.cpp
@@ -318,6 +318,10 @@ public:
void drawDebugWireRect(GrRenderTarget*, const SkIRect&, GrColor) override {}
+ GrFence SK_WARN_UNUSED_RESULT insertFence() const override { return 0; }
+ bool waitFence(GrFence) const override { return true; }
+ void deleteFence(GrFence) const override {}
+
private:
void onResetContext(uint32_t resetBits) override {}
@@ -365,7 +369,7 @@ private:
return false;
}
- bool onTransferPixels(GrSurface* surface,
+ bool onTransferPixels(GrTexture* texture,
int left, int top, int width, int height,
GrPixelConfig config, GrBuffer* transferBuffer,
size_t offset, size_t rowBytes) override {
« no previous file with comments | « src/gpu/vk/GrVkGpu.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698