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

Issue 1169553003: add callbacks to Images that wrap client-provided content (Closed)

Created:
5 years, 6 months ago by reed1
Modified:
5 years, 6 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

add callbacks to Images that wrap client-provided content BUG=skia: Committed: https://skia.googlesource.com/skia/+/de49988bc24977f97bb1da8c17ceee5432fcc8e7

Patch Set 1 #

Total comments: 2

Patch Set 2 : impl #

Patch Set 3 : #

Patch Set 4 : rebase #

Patch Set 5 : now w/ tests #

Total comments: 1

Patch Set 6 : privatize #

Unified diffs Side-by-side diffs Delta from patch set Stats (+185 lines, -26 lines) Patch
M include/core/SkImage.h View 1 2 3 2 chunks +32 lines, -2 lines 0 comments Download
M include/core/SkImageInfo.h View 1 1 chunk +5 lines, -1 line 0 comments Download
M include/gpu/GrSurface.h View 1 2 3 4 5 2 chunks +29 lines, -1 line 0 comments Download
M src/gpu/GrSurface.cpp View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M src/image/SkImage.cpp View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M src/image/SkImage_Gpu.cpp View 1 2 3 2 chunks +11 lines, -4 lines 0 comments Download
M src/image/SkImage_Raster.cpp View 1 6 chunks +25 lines, -10 lines 0 comments Download
M tests/SurfaceTest.cpp View 1 2 3 4 11 chunks +71 lines, -7 lines 0 comments Download

Messages

Total messages: 23 (8 generated)
reed1
Just focusing on the API contract for now... thoughts?
5 years, 6 months ago (2015-06-05 13:53:04 UTC) #2
robertphillips
looks reasonable to me https://codereview.chromium.org/1169553003/diff/1/include/core/SkImage.h File include/core/SkImage.h (right): https://codereview.chromium.org/1169553003/diff/1/include/core/SkImage.h#newcode54 include/core/SkImage.h:54: /** especified?
5 years, 6 months ago (2015-06-05 15:57:07 UTC) #3
bsalomon
API looks good to me. Not sure how we'll handle flushing the image. image->flushPendingReads(); image->unref(); ...
5 years, 6 months ago (2015-06-11 21:18:38 UTC) #4
reed1
https://codereview.chromium.org/1169553003/diff/1/include/core/SkImage.h File include/core/SkImage.h (right): https://codereview.chromium.org/1169553003/diff/1/include/core/SkImage.h#newcode54 include/core/SkImage.h:54: /** On 2015/06/05 15:57:06, robertphillips wrote: > especified? Done.
5 years, 6 months ago (2015-06-17 13:25:34 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1169553003/20001
5 years, 6 months ago (2015-06-17 19:44:14 UTC) #8
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/1393)
5 years, 6 months ago (2015-06-17 19:45:30 UTC) #10
reed1
moved release management into GrSurface (due to multiple-inheritance awesomeness)
5 years, 6 months ago (2015-06-17 21:15:38 UTC) #11
reed1
will add raster test next...
5 years, 6 months ago (2015-06-17 21:15:54 UTC) #12
reed1
5 years, 6 months ago (2015-06-17 21:16:15 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1169553003/40001
5 years, 6 months ago (2015-06-17 21:16:20 UTC) #15
reed1
ptal
5 years, 6 months ago (2015-06-18 20:25:29 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1169553003/80001
5 years, 6 months ago (2015-06-18 20:26:01 UTC) #19
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
5 years, 6 months ago (2015-06-18 20:26:03 UTC) #20
bsalomon
otherwise lgtm https://codereview.chromium.org/1169553003/diff/80001/include/gpu/GrSurface.h File include/gpu/GrSurface.h (right): https://codereview.chromium.org/1169553003/diff/80001/include/gpu/GrSurface.h#newcode163 include/gpu/GrSurface.h:163: void invokeReleaseProc() { private?
5 years, 6 months ago (2015-06-18 20:39:13 UTC) #21
commit-bot: I haz the power
5 years, 6 months ago (2015-06-18 20:41:45 UTC) #23
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://skia.googlesource.com/skia/+/de49988bc24977f97bb1da8c17ceee5432fcc8e7

Powered by Google App Engine
This is Rietveld 408576698