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

Issue 1438663004: API changes to GrTextureAdjuster. (Closed)

Created:
5 years, 1 month ago by bsalomon
Modified:
5 years, 1 month ago
Reviewers:
robertphillips
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@dividemat
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

API changes to GrTextureAdjuster. These changes are to facilitate converting SkGpuDevice::drawTextureAdjuster to SkGpuDevice::drawTextureProducer. Make constraint rect relative to content area Store dimensions in GrTextureProducer Make originalTexture() protected. Remove getContentArea() Provide pre-normalized texture matrix to GrTextureAdjuster::createFragmentProcessor. Define it to be be relative to content area. Committed: https://skia.googlesource.com/skia/+/3aa5fce54e1d8f4a682eaf6446fa73df962b3778

Patch Set 1 #

Patch Set 2 : small updates #

Patch Set 3 : fix comment #

Patch Set 4 : back away from lambdas #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -50 lines) Patch
M src/gpu/GrTextureParamsAdjuster.h View 1 2 3 7 chunks +23 lines, -24 lines 2 comments Download
M src/gpu/GrTextureParamsAdjuster.cpp View 1 2 3 3 chunks +18 lines, -5 lines 0 comments Download
M src/gpu/SkGpuDevice_drawTexture.cpp View 1 2 3 4 chunks +18 lines, -21 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 12 (5 generated)
bsalomon
The point here is mostly to hide any knowledge of the content area or the ...
5 years, 1 month ago (2015-11-11 22:32:40 UTC) #3
robertphillips
lgtm https://codereview.chromium.org/1438663004/diff/60001/src/gpu/GrTextureParamsAdjuster.h File src/gpu/GrTextureParamsAdjuster.h (right): https://codereview.chromium.org/1438663004/diff/60001/src/gpu/GrTextureParamsAdjuster.h#newcode111 src/gpu/GrTextureParamsAdjuster.h:111: * constraint rect is relative to the content ...
5 years, 1 month ago (2015-11-11 22:44:04 UTC) #4
bsalomon
https://codereview.chromium.org/1438663004/diff/60001/src/gpu/GrTextureParamsAdjuster.h File src/gpu/GrTextureParamsAdjuster.h (right): https://codereview.chromium.org/1438663004/diff/60001/src/gpu/GrTextureParamsAdjuster.h#newcode111 src/gpu/GrTextureParamsAdjuster.h:111: * constraint rect is relative to the content area. ...
5 years, 1 month ago (2015-11-12 00:40:42 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1438663004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1438663004/60001
5 years, 1 month ago (2015-11-12 17:17:01 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-11-12 17:28:22 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1438663004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1438663004/60001
5 years, 1 month ago (2015-11-12 17:59:11 UTC) #11
commit-bot: I haz the power
5 years, 1 month ago (2015-11-12 17:59:46 UTC) #12
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://skia.googlesource.com/skia/+/3aa5fce54e1d8f4a682eaf6446fa73df962b3778

Powered by Google App Engine
This is Rietveld 408576698