4 years, 10 months ago
(2015-06-10 22:44:16 UTC)
#7
Dry run: This issue passed the CQ dry run.
reed1
I can't tell that the callers actually need the top, and that is *more* deprecated ...
4 years, 10 months ago
(2015-06-11 13:12:08 UTC)
#8
I can't tell that the callers actually need the top, and that is *more*
deprecated that getDevice (if that's possible). As with the bitlocker cl, do we
have tests that should tell us if this change is problematic?
reed1
Frankly, the important goal is to wean ImageBuffer off of bitmaps entirely, and have it ...
4 years, 10 months ago
(2015-06-11 13:13:53 UTC)
#9
Frankly, the important goal is to wean ImageBuffer off of bitmaps entirely, and
have it return images. This CL was just a baby step in that direction.
On 2015/06/11 13:12:08, reed1 wrote: > I can't tell that the callers actually need the ...
4 years, 10 months ago
(2015-06-11 13:21:05 UTC)
#11
On 2015/06/11 13:12:08, reed1 wrote:
> I can't tell that the callers actually need the top, and that is *more*
> deprecated that getDevice (if that's possible). As with the bitlocker cl, do
we
> have tests that should tell us if this change is problematic?
+Justin
4 years, 10 months ago
(2015-06-12 16:11:48 UTC)
#12
lgtm
https://codereview.chromium.org/1173973003/diff/1/Source/platform/graphics/Ca...
File Source/platform/graphics/Canvas2DLayerBridge.cpp (right):
https://codereview.chromium.org/1173973003/diff/1/Source/platform/graphics/Ca...
Source/platform/graphics/Canvas2DLayerBridge.cpp:523: GrRenderTarget*
renderTarget = m_canvas->getDevice()->accessRenderTarget();
On 2015/06/10 22:14:21, f(malita) wrote:
> Are these really interchangeable?
>
> IIUC getDevice() returns the root device while getTopDevice returns the
top-most
> device. It seems these would be backed by different pixels/textures, no?
2D canvas never uses saveLayer, So I think this is fine.
reed1
The CQ bit was checked by reed@google.com
4 years, 10 months ago
(2015-06-15 20:24:29 UTC)
#13
Issue 1173973003: getTopDevice is deprecated
(Closed)
Created 4 years, 10 months ago by reed1
Modified 4 years, 10 months ago
Reviewers: f(malita), Stephen Chennney, Justin Novosad
Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Comments: 2