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

Issue 1631053003: Add SkImage factory method that forces image to be resolved to a texture. (Closed)

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

Description

Patch Set 1 #

Patch Set 2 : rename #

Patch Set 3 : add more checks to unit test #

Patch Set 4 : initial raster impl #

Patch Set 5 : with renames #

Patch Set 6 : fix line wrap #

Patch Set 7 : fix no-gpu build #

Patch Set 8 : Fix windows int-to-scalar warning #

Patch Set 9 : Remove non-GPU implementation and rename #

Total comments: 1

Patch Set 10 : static->class method #

Unified diffs Side-by-side diffs Delta from patch set Stats (+196 lines, -6 lines) Patch
M gm/image.cpp View 1 2 3 4 5 6 7 8 9 2 chunks +84 lines, -0 lines 0 comments Download
M include/core/SkImage.h View 1 2 3 4 5 6 7 8 9 1 chunk +7 lines, -0 lines 0 comments Download
M src/image/SkImage.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M src/image/SkImage_Gpu.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +31 lines, -0 lines 0 comments Download
M tests/ImageTest.cpp View 1 2 3 4 5 6 7 8 9 4 chunks +70 lines, -6 lines 0 comments Download

Messages

Total messages: 38 (15 generated)
bsalomon
I want to add a GM but wanted to float this idea. Context: https://groups.google.com/forum/#!searchin/skia-discuss/How$20to$20move$20SkImage$20from$20CPU$20to$20GPU$3F/skia-discuss/M6G_bQd8Vf8/EePU1u-jEwAJ Also, ...
4 years, 11 months ago (2016-01-26 19:36:39 UTC) #3
reed1
Can we slightly broaden it? SkImage* newForContxtOrSomeOtherName(GrContext*); If ctx is not null, it does what ...
4 years, 11 months ago (2016-01-26 20:46:05 UTC) #4
bsalomon
On 2016/01/26 20:46:05, reed1 wrote: > Can we slightly broaden it? > > SkImage* newForContxtOrSomeOtherName(GrContext*); ...
4 years, 11 months ago (2016-01-26 20:47:41 UTC) #5
bsalomon
On 2016/01/26 20:47:41, bsalomon wrote: > On 2016/01/26 20:46:05, reed1 wrote: > > Can we ...
4 years, 11 months ago (2016-01-26 20:52:14 UTC) #6
reed1
could go either way -- minimalist would be to say that the result is NOT ...
4 years, 11 months ago (2016-01-26 20:54:20 UTC) #7
reed1
Or if its easier, we can say something much stronger, like either RASTER or TEXTURE, ...
4 years, 11 months ago (2016-01-26 20:55:01 UTC) #8
bsalomon
On 2016/01/26 20:55:01, reed1 wrote: > Or if its easier, we can say something much ...
4 years, 11 months ago (2016-01-26 21:03:49 UTC) #9
bsalomon
Here is a version that forces to a cpu memory pixel grid. (Still need to ...
4 years, 11 months ago (2016-01-26 21:33:15 UTC) #11
bsalomon
On 2016/01/26 21:33:15, bsalomon wrote: > Here is a version that forces to a cpu ...
4 years, 11 months ago (2016-01-26 22:04:18 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1631053003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1631053003/100001
4 years, 11 months ago (2016-01-27 15:34:20 UTC) #14
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/builds/5590)
4 years, 11 months ago (2016-01-27 15:35:22 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1631053003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1631053003/120001
4 years, 11 months ago (2016-01-27 15:37:40 UTC) #18
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86_64-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86_64-Debug-Trybot/builds/5707)
4 years, 11 months ago (2016-01-27 15:39:53 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1631053003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1631053003/140001
4 years, 11 months ago (2016-01-27 15:53:44 UTC) #22
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot/builds/5589)
4 years, 11 months ago (2016-01-27 15:57:57 UTC) #24
bsalomon
PTAL, removed raster implementation
4 years, 10 months ago (2016-01-28 21:49:16 UTC) #26
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1631053003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1631053003/160001
4 years, 10 months ago (2016-01-29 16:53:30 UTC) #28
bsalomon
ping
4 years, 10 months ago (2016-01-29 16:53:47 UTC) #29
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-01-29 17:14:23 UTC) #31
reed1
lgtm w/ request to make the Static function into a method. https://codereview.chromium.org/1631053003/diff/160001/include/core/SkImage.h File include/core/SkImage.h (right): ...
4 years, 10 months ago (2016-01-29 17:19:10 UTC) #32
bsalomon
On 2016/01/29 17:19:10, reed1 wrote: > lgtm w/ request to make the Static function into ...
4 years, 10 months ago (2016-01-29 19:27:51 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1631053003/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1631053003/180001
4 years, 10 months ago (2016-01-29 19:28:25 UTC) #36
commit-bot: I haz the power
4 years, 10 months ago (2016-01-30 18:01:42 UTC) #38
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as
https://skia.googlesource.com/skia/+/8e74f80ca1bd32581a583e2325daf4b46d892ee5

Powered by Google App Engine
This is Rietveld 408576698