commit | 73063dc517f424ad5660db0fbc5fe6fcc13f77f7 | [log] [tgz] |
---|---|---|
author | jvanverth <jvanverth@google.com> | Thu Dec 03 09:15:47 2015 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Thu Dec 03 09:15:47 2015 -0800 |
tree | 96360627441f666f6632336afdbb5bd6c90fbf4d | |
parent | c2e0ac4fce5bfe5bac9f2cb1ebd3aea3a8900fb1 [diff] [blame] |
Add transfer buffer support. BUG=skia:4604 Committed: https://skia.googlesource.com/skia/+/fa498fe12239988578465d0dee69f0d5645bb361 Review URL: https://codereview.chromium.org/1490473003
diff --git a/src/gpu/GrTest.cpp b/src/gpu/GrTest.cpp index b1c1354..a3823dd 100644 --- a/src/gpu/GrTest.cpp +++ b/src/gpu/GrTest.cpp
@@ -311,6 +311,8 @@ GrIndexBuffer* onCreateIndexBuffer(size_t size, bool dynamic) override { return nullptr; } + GrTransferBuffer* onCreateTransferBuffer(size_t, TransferType) override { return nullptr; } + void onClear(GrRenderTarget*, const SkIRect& rect, GrColor color) override {} void onClearStencilClip(GrRenderTarget*, const SkIRect& rect, bool insideClip) override {}