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

Issue 1835003002: Re-enable CPU mipmap generation for Ganesh. Aniso mips were landed a while ago. However, the CPU bu… (Closed)

Created:
4 years, 9 months ago by Brian Osman
Modified:
4 years, 9 months ago
Reviewers:
cblume, bsalomon, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Re-enable CPU mipmap generation for Ganesh. Aniso mips were landed a while ago. However, the CPU builder fails when it sees Index8 (among other things), so change the code to fallback to GPU in that case. Additionally, if we're going to be mipping an sRGB image, don't use the CPU code (which is not yet gamma correct). Unfortunately, this means that we will often be using the GPU path, still - with recent codec changes, most images are coming in tagged as sRGB. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1835003002 Committed: https://skia.googlesource.com/skia/+/b0ac1af7fab467aacbc27d20d14a09bcb960472f Committed: https://skia.googlesource.com/skia/+/eb3429c6cdcf77ff24eaa74ab9fcf802abd160e2

Patch Set 1 #

Patch Set 2 : Don't return uninitialized pointer. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -7 lines) Patch
M src/core/SkImageCacherator.cpp View 1 chunk +2 lines, -3 lines 0 comments Download
M src/gpu/GrImageIDTextureAdjuster.cpp View 1 2 chunks +3 lines, -4 lines 0 comments Download
M src/gpu/SkGr.cpp View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (10 generated)
Brian Osman
4 years, 9 months ago (2016-03-25 18:02:15 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1835003002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1835003002/1
4 years, 9 months ago (2016-03-25 18:04:14 UTC) #5
bsalomon
On 2016/03/25 18:02:15, Brian Osman wrote: lgtm
4 years, 9 months ago (2016-03-25 18:05:38 UTC) #6
cblume
Dang, that was fast. :D I just got out of a tech talk and it's ...
4 years, 9 months ago (2016-03-25 18:11:21 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-25 18:20:02 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1835003002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1835003002/1
4 years, 9 months ago (2016-03-25 18:25:30 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://skia.googlesource.com/skia/+/b0ac1af7fab467aacbc27d20d14a09bcb960472f
4 years, 9 months ago (2016-03-25 18:26:32 UTC) #13
Brian Osman
A revert of this CL (patchset #1 id:1) has been created in https://codereview.chromium.org/1836563002/ by brianosman@google.com. ...
4 years, 9 months ago (2016-03-25 18:54:12 UTC) #14
Brian Osman
Nanobench crashes were just due to returning an uninitialized texture pointer. Oops.
4 years, 9 months ago (2016-03-25 19:45:15 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1835003002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1835003002/20001
4 years, 9 months ago (2016-03-25 19:45:31 UTC) #19
commit-bot: I haz the power
4 years, 9 months ago (2016-03-25 20:03:07 UTC) #21
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/eb3429c6cdcf77ff24eaa74ab9fcf802abd160e2

Powered by Google App Engine
This is Rietveld 408576698