commit | 88b2961e29d1b48aee4af8b52568c8494447fa99 | [log] [tgz] |
---|---|---|
author | Robert Phillips <robertphillips@google.com> | Mon Nov 16 15:15:08 2020 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Nov 17 14:22:13 2020 +0000 |
tree | 6767a068367d06f33058b2c9eb696d2dd3338cf7 | |
parent | fbbc3bbecf097c53545d52ead4d61f330348d82d [diff] [blame] |
Connect DDL offsets in the testing harness to the new ddlTask This connects these two CLs: https://skia-review.googlesource.com/c/skia/+/333129 (Update DDL testing harness to support drawing DDL w/ integer offsets) https://skia-review.googlesource.com/c/skia/+/334422 (Change UnrefDDLTask to just be the DDLTask (take 2)) It still doesn't work though bc it is missing backend support and flags on the tools to enable it. Change-Id: I51e9c0d41689fce622222201280fb308f1679dcb Reviewed-on: https://skia-review.googlesource.com/c/skia/+/333579 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
diff --git a/src/gpu/GrDirectContextPriv.cpp b/src/gpu/GrDirectContextPriv.cpp index 5238e23..9a026c2 100644 --- a/src/gpu/GrDirectContextPriv.cpp +++ b/src/gpu/GrDirectContextPriv.cpp
@@ -67,8 +67,9 @@ } void GrDirectContextPriv::createDDLTask(sk_sp<const SkDeferredDisplayList> ddl, - GrRenderTargetProxy* newDest) { - fContext->drawingManager()->createDDLTask(std::move(ddl), newDest); + GrRenderTargetProxy* newDest, + SkIPoint offset) { + fContext->drawingManager()->createDDLTask(std::move(ddl), newDest, offset); } bool GrDirectContextPriv::compile(const GrProgramDesc& desc, const GrProgramInfo& info) {