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

Issue 197433002: support direct writing to top layer (Closed)

Created:
6 years, 9 months ago by reed1
Modified:
6 years, 9 months ago
Reviewers:
junov1, scroggo, bsalomon
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

support direct writing to top layer, and hide getTopLayer() this should remove many of the chrome callers that today call accessBitmap on the toplayer, so they can read/write those pixels. The ultimate fix will be to support custom allocation of raster layers (via GDI/cairo/mac) so we can remove PlatformDevice subclassing in skia/ext BUG=skia: R=bsalomon@google.com, scroggo@google.com Committed: https://code.google.com/p/skia/source/detail?r=13774

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : rebase #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -73 lines) Patch
M gm/beziereffects.cpp View 1 3 chunks +3 lines, -6 lines 0 comments Download
M gm/convexpolyeffect.cpp View 1 1 chunk +1 line, -2 lines 0 comments Download
M gm/rrects.cpp View 1 1 chunk +2 lines, -6 lines 0 comments Download
M gm/texdata.cpp View 1 2 chunks +1 line, -3 lines 0 comments Download
M gyp/skia_for_chromium_defines.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M include/core/SkBitmapDevice.h View 1 chunk +1 line, -0 lines 0 comments Download
M include/core/SkCanvas.h View 1 2 3 4 7 chunks +28 lines, -4 lines 0 comments Download
M include/core/SkDevice.h View 1 3 chunks +8 lines, -1 line 0 comments Download
M include/utils/SkDeferredCanvas.h View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M src/core/SkBitmapDevice.cpp View 1 chunk +9 lines, -0 lines 0 comments Download
M src/core/SkCanvas.cpp View 1 2 3 4 5 2 chunks +14 lines, -0 lines 0 comments Download
M src/core/SkDevice.cpp View 1 chunk +16 lines, -0 lines 0 comments Download
M src/utils/SkDeferredCanvas.cpp View 1 2 3 4 18 chunks +48 lines, -48 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
reed1
6 years, 9 months ago (2014-03-12 14:28:34 UTC) #1
bsalomon
https://codereview.chromium.org/197433002/diff/20001/include/core/SkCanvas.h File include/core/SkCanvas.h (right): https://codereview.chromium.org/197433002/diff/20001/include/core/SkCanvas.h#newcode187 include/core/SkCanvas.h:187: * local RAM) return the const-address of those pixels, ...
6 years, 9 months ago (2014-03-12 14:43:11 UTC) #2
reed1
https://codereview.chromium.org/197433002/diff/20001/include/core/SkCanvas.h File include/core/SkCanvas.h (right): https://codereview.chromium.org/197433002/diff/20001/include/core/SkCanvas.h#newcode187 include/core/SkCanvas.h:187: * local RAM) return the const-address of those pixels, ...
6 years, 9 months ago (2014-03-12 15:31:58 UTC) #3
bsalomon
lgtm On 2014/03/12 15:31:58, reed1 wrote: > https://codereview.chromium.org/197433002/diff/20001/src/utils/SkDeferredCanvas.cpp#oldcode138 > src/utils/SkDeferredCanvas.cpp:138: class DeferredDevice : public SkBaseDevice ...
6 years, 9 months ago (2014-03-12 15:36:33 UTC) #4
scroggo
lgtm
6 years, 9 months ago (2014-03-12 15:36:58 UTC) #5
reed1
The CQ bit was checked by reed@google.com
6 years, 9 months ago (2014-03-12 15:39:20 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/reed@google.com/197433002/40001
6 years, 9 months ago (2014-03-12 15:39:26 UTC) #7
reed1
The CQ bit was unchecked by reed@google.com
6 years, 9 months ago (2014-03-12 15:39:32 UTC) #8
reed1
The CQ bit was checked by reed@google.com
6 years, 9 months ago (2014-03-12 15:40:25 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/reed@google.com/197433002/50013
6 years, 9 months ago (2014-03-12 15:40:26 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-12 15:48:16 UTC) #11
commit-bot: I haz the power
Retried try job too often on Build-Mac10.8-Clang-x86-Release-Trybot for step(s) BuildBench, BuildEverything, BuildGm, BuildSkiaLib, BuildTests, BuildTools ...
6 years, 9 months ago (2014-03-12 15:48:17 UTC) #12
reed1
The CQ bit was checked by reed@google.com
6 years, 9 months ago (2014-03-12 17:02:38 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/reed@google.com/197433002/70001
6 years, 9 months ago (2014-03-12 17:02:47 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-12 17:06:33 UTC) #15
commit-bot: I haz the power
Retried try job too often on Build-Mac10.8-Clang-x86-Release-Trybot for step(s) BuildSkiaLib http://108.170.219.164:10117/buildstatus?builder=Build-Mac10.8-Clang-x86-Release-Trybot&number=267
6 years, 9 months ago (2014-03-12 17:06:37 UTC) #16
reed1
The CQ bit was checked by reed@google.com
6 years, 9 months ago (2014-03-12 17:26:08 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/reed@google.com/197433002/80001
6 years, 9 months ago (2014-03-12 17:26:12 UTC) #18
reed1
The CQ bit was unchecked by reed@google.com
6 years, 9 months ago (2014-03-12 18:28:35 UTC) #19
reed1
6 years, 9 months ago (2014-03-12 18:28:42 UTC) #20
Message was sent while issue was closed.
Committed patchset #6 manually as r13774 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698