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

Issue 1121813002: new image from backend desc (Closed)

Created:
5 years, 7 months ago by reed1
Modified:
5 years, 7 months ago
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 : still need a solution for actually drawing #

Patch Set 3 : rebase #

Patch Set 4 : now surface is snapshotting a GrTexture image #

Patch Set 5 : rebase #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 14

Patch Set 8 : reviewer comments #

Total comments: 2

Patch Set 9 : add test #

Patch Set 10 : 2nd test #

Patch Set 11 : #

Total comments: 16

Patch Set 12 : fix no-gpu version #

Total comments: 10

Patch Set 13 : #

Patch Set 14 : move test, add re-scribble step #

Patch Set 15 : set samplecount to 0 (for now) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+290 lines, -78 lines) Patch
M include/core/SkImage.h View 1 2 3 4 5 6 7 8 1 chunk +18 lines, -0 lines 0 comments Download
M include/gpu/SkGr.h View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 2 3 4 5 6 7 1 chunk +3 lines, -18 lines 0 comments Download
M src/gpu/SkGr.cpp View 1 2 3 4 5 6 7 2 chunks +23 lines, -0 lines 0 comments Download
M src/image/SkImage.cpp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +12 lines, -0 lines 0 comments Download
M src/image/SkImagePriv.h View 1 2 3 4 5 2 chunks +0 lines, -8 lines 0 comments Download
M src/image/SkImage_Gpu.h View 1 2 3 4 5 6 7 8 1 chunk +24 lines, -18 lines 0 comments Download
M src/image/SkImage_Gpu.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +128 lines, -31 lines 0 comments Download
M src/image/SkSurface_Gpu.cpp View 1 2 3 4 5 6 7 8 3 chunks +10 lines, -3 lines 0 comments Download
M tests/SurfaceTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +66 lines, -0 lines 0 comments Download

Messages

Total messages: 42 (15 generated)
reed1
how can we finish the impl? chrome could uses this in gl_renderer.cc so it doesn't ...
5 years, 7 months ago (2015-05-01 19:33:32 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1121813002/80001
5 years, 7 months ago (2015-05-05 21:19:21 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-05-05 21:25:18 UTC) #6
reed1
ptal
5 years, 7 months ago (2015-05-07 16:15:43 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1121813002/100001
5 years, 7 months ago (2015-05-07 16:16:14 UTC) #9
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/737) Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on ...
5 years, 7 months ago (2015-05-07 16:17:28 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1121813002/120001
5 years, 7 months ago (2015-05-07 16:23:10 UTC) #13
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-05-07 16:29:13 UTC) #15
robertphillips
https://codereview.chromium.org/1121813002/diff/120001/src/gpu/SkGpuDevice.cpp File src/gpu/SkGpuDevice.cpp (right): https://codereview.chromium.org/1121813002/diff/120001/src/gpu/SkGpuDevice.cpp#newcode1754 src/gpu/SkGpuDevice.cpp:1754: Move the #include up ? Do we even need ...
5 years, 7 months ago (2015-05-07 16:50:04 UTC) #16
bsalomon
great to see the bitmapiness of SkImage_Gpu is going away. https://codereview.chromium.org/1121813002/diff/120001/src/gpu/SkGpuDevice.cpp File src/gpu/SkGpuDevice.cpp (right): https://codereview.chromium.org/1121813002/diff/120001/src/gpu/SkGpuDevice.cpp#newcode1749 ...
5 years, 7 months ago (2015-05-07 17:05:57 UTC) #17
reed1
https://codereview.chromium.org/1121813002/diff/120001/src/gpu/SkGpuDevice.cpp File src/gpu/SkGpuDevice.cpp (right): https://codereview.chromium.org/1121813002/diff/120001/src/gpu/SkGpuDevice.cpp#newcode1749 src/gpu/SkGpuDevice.cpp:1749: void GrWrapTextureInBitmap(GrTexture* src, int w, int h, bool isOpaque, ...
5 years, 7 months ago (2015-05-07 17:49:12 UTC) #18
bsalomon
https://codereview.chromium.org/1121813002/diff/140001/src/image/SkImage_Gpu.cpp File src/image/SkImage_Gpu.cpp (right): https://codereview.chromium.org/1121813002/diff/140001/src/image/SkImage_Gpu.cpp#newcode95 src/image/SkImage_Gpu.cpp:95: if (!ctx->copySurface(dst, src)) { I think you want to ...
5 years, 7 months ago (2015-05-07 17:57:29 UTC) #19
reed1
ptal https://codereview.chromium.org/1121813002/diff/140001/src/image/SkImage_Gpu.cpp File src/image/SkImage_Gpu.cpp (right): https://codereview.chromium.org/1121813002/diff/140001/src/image/SkImage_Gpu.cpp#newcode95 src/image/SkImage_Gpu.cpp:95: if (!ctx->copySurface(dst, src)) { On 2015/05/07 17:57:29, bsalomon ...
5 years, 7 months ago (2015-05-07 19:39:30 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/1121813002/200001
5 years, 7 months ago (2015-05-07 19:39:49 UTC) #22
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/751) Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on ...
5 years, 7 months ago (2015-05-07 19:41:36 UTC) #24
bsalomon
https://codereview.chromium.org/1121813002/diff/220001/tests/GrSurfaceTest.cpp File tests/GrSurfaceTest.cpp (right): https://codereview.chromium.org/1121813002/diff/220001/tests/GrSurfaceTest.cpp#newcode74 tests/GrSurfaceTest.cpp:74: static SkImage* make_gpu_image(GrContext* ctx, int w, int h, SkColor ...
5 years, 7 months ago (2015-05-07 19:52:23 UTC) #25
robertphillips
https://codereview.chromium.org/1121813002/diff/200001/src/image/SkImage_Gpu.cpp File src/image/SkImage_Gpu.cpp (right): https://codereview.chromium.org/1121813002/diff/200001/src/image/SkImage_Gpu.cpp#newcode59 src/image/SkImage_Gpu.cpp:59: one line? https://codereview.chromium.org/1121813002/diff/200001/src/image/SkImage_Gpu.cpp#newcode88 src/image/SkImage_Gpu.cpp:88: info.profileType()); init to 0 ? ...
5 years, 7 months ago (2015-05-07 20:01:30 UTC) #26
robertphillips
https://codereview.chromium.org/1121813002/diff/220001/tests/GrSurfaceTest.cpp File tests/GrSurfaceTest.cpp (right): https://codereview.chromium.org/1121813002/diff/220001/tests/GrSurfaceTest.cpp#newcode106 tests/GrSurfaceTest.cpp:106: // Test wrapping a GrBackendObject in a surface, rendering ...
5 years, 7 months ago (2015-05-07 20:09:08 UTC) #27
reed1
https://codereview.chromium.org/1121813002/diff/200001/src/image/SkImage_Gpu.cpp File src/image/SkImage_Gpu.cpp (right): https://codereview.chromium.org/1121813002/diff/200001/src/image/SkImage_Gpu.cpp#newcode59 src/image/SkImage_Gpu.cpp:59: On 2015/05/07 20:01:29, robertphillips wrote: > one line? hmmm, ...
5 years, 7 months ago (2015-05-07 20:28:00 UTC) #28
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1121813002/260001
5 years, 7 months ago (2015-05-07 20:28:34 UTC) #30
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-05-07 20:34:41 UTC) #32
reed1
ptal
5 years, 7 months ago (2015-05-07 20:42:19 UTC) #33
bsalomon
lgtm
5 years, 7 months ago (2015-05-07 21:24:17 UTC) #34
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1121813002/280001
5 years, 7 months ago (2015-05-07 21:39:21 UTC) #37
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-05-07 21:45:29 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1121813002/280001
5 years, 7 months ago (2015-05-07 22:36:00 UTC) #41
commit-bot: I haz the power
5 years, 7 months ago (2015-05-07 22:36:29 UTC) #42
Message was sent while issue was closed.
Committed patchset #15 (id:280001) as
https://skia.googlesource.com/skia/+/8b26b99c97473f020df4b9d4ba789e074e06cedd

Powered by Google App Engine
This is Rietveld 408576698