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

Issue 741763002: add SkImage::newSurface (Closed)

Created:
6 years, 1 month ago by reed1
Modified:
6 years ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : allow image to know the props its parent surface had #

Patch Set 4 : #

Total comments: 2

Patch Set 5 : fix warning in gm #

Patch Set 6 : another warning fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+189 lines, -56 lines) Patch
M gm/surface.cpp View 1 2 3 4 5 1 chunk +51 lines, -1 line 0 comments Download
M include/core/SkImage.h View 1 2 2 chunks +11 lines, -0 lines 0 comments Download
M include/core/SkSurfaceProps.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/image/SkImage.cpp View 1 2 2 chunks +8 lines, -8 lines 0 comments Download
M src/image/SkImagePriv.h View 1 2 3 4 3 chunks +5 lines, -3 lines 0 comments Download
M src/image/SkImagePriv.cpp View 1 2 2 chunks +9 lines, -2 lines 0 comments Download
M src/image/SkImage_Base.h View 1 2 2 chunks +35 lines, -1 line 0 comments Download
M src/image/SkImage_Gpu.cpp View 1 2 3 4 4 chunks +27 lines, -17 lines 0 comments Download
M src/image/SkImage_Raster.cpp View 1 2 9 chunks +28 lines, -21 lines 0 comments Download
M src/image/SkSurface.cpp View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M src/image/SkSurface_Gpu.cpp View 1 2 3 4 2 chunks +7 lines, -1 line 0 comments Download
M src/image/SkSurface_Raster.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tests/DeferredCanvasTest.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 29 (9 generated)
reed1
6 years, 1 month ago (2014-11-19 17:17:07 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/741763002/20001
6 years, 1 month ago (2014-11-20 01:47:21 UTC) #4
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
6 years, 1 month ago (2014-11-20 01:47:22 UTC) #5
reed2
Florin is also looking at imagefilters and how they allocate their buffers.
6 years, 1 month ago (2014-11-20 01:47:58 UTC) #7
reed2
https://codereview.chromium.org/741763002/diff/20001/gm/surface.cpp File gm/surface.cpp (right): https://codereview.chromium.org/741763002/diff/20001/gm/surface.cpp#newcode132 gm/surface.cpp:132: SkAutoTUnref<SkSurface> surf(canvas->newSurface(info, &props)); Should just pass NULL for this ...
6 years, 1 month ago (2014-11-20 01:50:58 UTC) #9
reed2
https://codereview.chromium.org/741763002/diff/20001/gm/surface.cpp File gm/surface.cpp (right): https://codereview.chromium.org/741763002/diff/20001/gm/surface.cpp#newcode133 gm/surface.cpp:133: if (!surf.get()) return; need to call newraster, or disable ...
6 years, 1 month ago (2014-11-20 01:56:54 UTC) #10
reed1
https://codereview.chromium.org/741763002/diff/20001/gm/surface.cpp File gm/surface.cpp (right): https://codereview.chromium.org/741763002/diff/20001/gm/surface.cpp#newcode132 gm/surface.cpp:132: SkAutoTUnref<SkSurface> surf(canvas->newSurface(info, &props)); On 2014/11/20 01:50:58, reed2 wrote: > ...
6 years, 1 month ago (2014-11-20 19:00:19 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/741763002/40001
6 years, 1 month ago (2014-11-20 19:01:51 UTC) #13
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
6 years, 1 month ago (2014-11-20 19:01:52 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: Build-Ubuntu13.10-Clang-x86_64-Debug-Trybot on client.skia.compile (http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu13.10-Clang-x86_64-Debug-Trybot/builds/788) Build-Ubuntu13.10-GCC4.8-Arm7-Debug-Android-Trybot on client.skia.compile (http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu13.10-GCC4.8-Arm7-Debug-Android-Trybot/builds/784)
6 years, 1 month ago (2014-11-20 19:03:47 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/741763002/60001
6 years, 1 month ago (2014-11-20 19:10:52 UTC) #18
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
6 years, 1 month ago (2014-11-20 19:10:53 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: Build-Ubuntu13.10-GCC4.8-x86_64-Release-Trybot on client.skia.compile (http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu13.10-GCC4.8-x86_64-Release-Trybot/builds/799)
6 years, 1 month ago (2014-11-20 19:14:04 UTC) #21
bsalomon
https://codereview.chromium.org/741763002/diff/60001/src/image/SkImage_Gpu.cpp File src/image/SkImage_Gpu.cpp (right): https://codereview.chromium.org/741763002/diff/60001/src/image/SkImage_Gpu.cpp#newcode73 src/image/SkImage_Gpu.cpp:73: const int sampleCount = 0; // TODO: extract this ...
6 years ago (2014-11-21 14:45:44 UTC) #22
reed1
https://codereview.chromium.org/741763002/diff/60001/src/image/SkImage_Gpu.cpp File src/image/SkImage_Gpu.cpp (right): https://codereview.chromium.org/741763002/diff/60001/src/image/SkImage_Gpu.cpp#newcode73 src/image/SkImage_Gpu.cpp:73: const int sampleCount = 0; // TODO: extract this ...
6 years ago (2014-11-21 16:33:06 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/741763002/100001
6 years ago (2014-11-21 16:35:28 UTC) #25
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
6 years ago (2014-11-21 16:35:29 UTC) #26
reed1
PTAL
6 years ago (2014-11-21 16:42:40 UTC) #27
bsalomon
lgtm, but maybe should clarify somewhere that image's sample count is not the sample count ...
6 years ago (2014-11-21 16:43:41 UTC) #28
commit-bot: I haz the power
6 years ago (2014-11-21 16:46:42 UTC) #29
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://skia.googlesource.com/skia/+/4af267b11964d4a8acdb232ac46094c84d890e88

Powered by Google App Engine
This is Rietveld 408576698