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

Issue 1352293002: Revert[2] of add ImageShader, sharing code with its Bitmap cousin (Closed)

Created:
5 years, 3 months ago by reed1
Modified:
5 years, 2 months ago
CC:
reviews_skia.org, bsalomon
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Revert[2] of add ImageShader, sharing code with its Bitmap cousin Adjustment from previous land : runtime check for npot-support when texture is requested for tiling. (patchset #10 id:180001 of https://codereview.chromium.org/1342113002/ ) This reverts commit f2608513626264459a00388537175600b515cae2. BUG=skia:4365 Committed: https://skia.googlesource.com/skia/+/fe05707c356d2a8c2c69222591d4cafbd456b4e5

Patch Set 1 #

Patch Set 2 : add diagnostics to test #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : try larger texture sizes for tegra3 test #

Patch Set 7 : raise texture size to 16,16 to work around bug 4365 #

Patch Set 8 : undo change to test, check in Image_Gpu for nopt support #

Total comments: 1

Patch Set 9 : revert changes to test #

Patch Set 10 : manual rebase #

Patch Set 11 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+207 lines, -40 lines) Patch
M gyp/core.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M src/image/SkImage.cpp View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -1 line 0 comments Download
A src/image/SkImageShader.h View 1 chunk +44 lines, -0 lines 0 comments Download
A src/image/SkImageShader.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +144 lines, -0 lines 0 comments Download
M src/image/SkImage_Base.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -4 lines 0 comments Download
M src/image/SkImage_Generator.cpp View 1 2 3 4 5 6 7 8 9 2 chunks +0 lines, -16 lines 0 comments Download
M src/image/SkImage_Gpu.h View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -3 lines 0 comments Download
M src/image/SkImage_Gpu.cpp View 1 2 3 4 5 6 7 8 9 10 3 chunks +14 lines, -7 lines 0 comments Download
M src/image/SkImage_Raster.cpp View 1 2 3 4 5 6 7 8 9 2 chunks +0 lines, -9 lines 0 comments Download

Messages

Total messages: 31 (12 generated)
reed1
5 years, 3 months ago (2015-09-18 20:17:08 UTC) #2
reed1
Tegra3 help : we are failing in a unittest that tries to 1. draw to ...
5 years, 3 months ago (2015-09-18 21:40:15 UTC) #3
reed1
Looks like the dst is just opaque-black. Any guesses?
5 years, 3 months ago (2015-09-18 23:52:05 UTC) #4
reed1
SkPaint paint; paint.setShader(sourceShader); SkCanvas* destinationCanvas = destinationSurface->getCanvas(); destinationCanvas->clear(SK_ColorTRANSPARENT); destinationCanvas->drawPaint(paint); destinationCanvas->readPixels(...); Do we need to flush() ...
5 years, 3 months ago (2015-09-18 23:58:39 UTC) #5
reed1
GPU guys -- need help. ImageNewShaderTest.cpp void gpuToGpu(skiatest::Reporter* reporter, GrContext* context) { SkImageInfo info = ...
5 years, 3 months ago (2015-09-19 15:02:38 UTC) #7
robertphillips
On 2015/09/18 23:58:39, reed1 wrote: > SkPaint paint; > paint.setShader(sourceShader); > > SkCanvas* destinationCanvas = ...
5 years, 3 months ago (2015-09-21 13:22:34 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1352293002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1352293002/120001
5 years, 3 months ago (2015-09-21 19:29:45 UTC) #10
reed1
testing w/ modified test (see skbug.com/4365) If this passes, plan to land.
5 years, 3 months ago (2015-09-21 19:31:03 UTC) #12
reed1
Ready to re-land, with work-around in SkImage_Gpu for npot-tiling support being checked at runtime. PTAL ...
5 years, 3 months ago (2015-09-21 21:02:06 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1352293002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1352293002/160001
5 years, 3 months ago (2015-09-21 21:02:27 UTC) #15
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
5 years, 3 months ago (2015-09-21 21:02:29 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1352293002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1352293002/160001
5 years, 3 months ago (2015-09-21 23:29:12 UTC) #19
f(malita)
Reland L G T M, deferring to Robert/Brian for GPU.
5 years, 3 months ago (2015-09-22 00:25:13 UTC) #20
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Please ask for an LGTM from a full ...
5 years, 3 months ago (2015-09-22 03:02:08 UTC) #22
bsalomon
lgtm, we should add GrMakeTextureTileSafe() to SkGr.
5 years, 3 months ago (2015-09-22 13:52:30 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1352293002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1352293002/180001
5 years, 2 months ago (2015-09-25 06:38:33 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1352293002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1352293002/200001
5 years, 2 months ago (2015-09-25 09:25:57 UTC) #29
commit-bot: I haz the power
Committed patchset #11 (id:200001) as https://skia.googlesource.com/skia/+/fe05707c356d2a8c2c69222591d4cafbd456b4e5
5 years, 2 months ago (2015-09-25 09:31:16 UTC) #30
reed1
5 years, 2 months ago (2015-09-28 17:26:35 UTC) #31
Message was sent while issue was closed.
A revert of this CL (patchset #11 id:200001) has been created in
https://codereview.chromium.org/1375673002/ by reed@google.com.

The reason for reverting is: guess: Need to handle NPOT support in shader case.

Powered by Google App Engine
This is Rietveld 408576698