diff options
author | cdalton <cdalton@nvidia.com> | 2016-04-19 10:00:02 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-19 10:00:02 -0700 |
commit | 1bf3e71ad06a318613ccc09e1cf47d3c2465b23c (patch) | |
tree | 59aaa63ab864fdf4a6713d84b7a86eaac8dc8d71 /tools | |
parent | 44583122acff3251f48a98c71fa3180275e8437e (diff) |
Add optional data parameter to createBuffer
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1877073002
Review URL: https://codereview.chromium.org/1877073002
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gpu/GrTest.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/gpu/GrTest.cpp b/tools/gpu/GrTest.cpp index c707b69375..5771a78532 100644 --- a/tools/gpu/GrTest.cpp +++ b/tools/gpu/GrTest.cpp @@ -345,7 +345,9 @@ private: return nullptr; } - GrBuffer* onCreateBuffer(size_t, GrBufferType, GrAccessPattern) override { return nullptr; } + GrBuffer* onCreateBuffer(size_t, GrBufferType, GrAccessPattern, const void*) override { + return nullptr; + } void onClear(GrRenderTarget*, const SkIRect& rect, GrColor color) override {} |