4 years, 11 months ago
(2015-06-04 17:56:53 UTC)
#2
PTAL
Stephen White
LGTM! https://codereview.chromium.org/1170523002/diff/20001/Source/core/frame/ImageBitmap.cpp File Source/core/frame/ImageBitmap.cpp (right): https://codereview.chromium.org/1170523002/diff/20001/Source/core/frame/ImageBitmap.cpp#newcode87 Source/core/frame/ImageBitmap.cpp:87: buffer->canvas()->drawPicture(recording.get()); chrishtr@: Not new to this patch, but ...
4 years, 11 months ago
(2015-06-04 18:33:10 UTC)
#3
https://codereview.chromium.org/1170523002/diff/20001/Source/core/frame/ImageBitmap.cpp File Source/core/frame/ImageBitmap.cpp (right): https://codereview.chromium.org/1170523002/diff/20001/Source/core/frame/ImageBitmap.cpp#newcode87 Source/core/frame/ImageBitmap.cpp:87: buffer->canvas()->drawPicture(recording.get()); Agree that this looks wrong and we should ...
4 years, 11 months ago
(2015-06-04 19:58:00 UTC)
#4
4 years, 11 months ago
(2015-06-05 02:20:45 UTC)
#5
On 2015/06/04 19:58:00, chrishtr wrote:
>
https://codereview.chromium.org/1170523002/diff/20001/Source/core/frame/Image...
> File Source/core/frame/ImageBitmap.cpp (right):
>
>
https://codereview.chromium.org/1170523002/diff/20001/Source/core/frame/Image...
> Source/core/frame/ImageBitmap.cpp:87:
> buffer->canvas()->drawPicture(recording.get());
> Agree that this looks wrong and we should just draw here. Justin could you fix
> that? Just remove the picture builder and sub-context and drawing recorder,
and
> simply call clip and translate on buffer->context().
You mean "buffer->canvas()". Yes I can do that here, and in DragImage, but not
in LocalFrame.cpp
chrishtr
On 2015/06/05 at 02:20:45, junov wrote: > On 2015/06/04 19:58:00, chrishtr wrote: > > https://codereview.chromium.org/1170523002/diff/20001/Source/core/frame/ImageBitmap.cpp ...
4 years, 11 months ago
(2015-06-05 04:59:09 UTC)
#6
On 2015/06/05 at 02:20:45, junov wrote:
> On 2015/06/04 19:58:00, chrishtr wrote:
> >
https://codereview.chromium.org/1170523002/diff/20001/Source/core/frame/Image...
> > File Source/core/frame/ImageBitmap.cpp (right):
> >
> >
https://codereview.chromium.org/1170523002/diff/20001/Source/core/frame/Image...
> > Source/core/frame/ImageBitmap.cpp:87:
> > buffer->canvas()->drawPicture(recording.get());
> > Agree that this looks wrong and we should just draw here. Justin could you
fix
> > that? Just remove the picture builder and sub-context and drawing recorder,
and
> > simply call clip and translate on buffer->context().
>
> You mean "buffer->canvas()".
Yes, sorry.
> Yes I can do that here, and in DragImage, but not in LocalFrame.cpp
Right. In LocalFrame it actually paints some HTML content.
Justin Novosad
re-review ping. This cl now draws directly into SkCanvas instead of using SkPictureBuilder in ImageBitmap ...
4 years, 10 months ago
(2015-06-12 15:52:43 UTC)
#7
re-review ping.
This cl now draws directly into SkCanvas instead of using SkPictureBuilder in
ImageBitmap and DragImage. Other significant change since last review: multiple
files related to mac theme painting had to be tweaked to remove uses of
GraphicsContext, and use SkCanvas directly instead.
chrishtr
The CQ bit was checked by chrishtr@chromium.org
4 years, 10 months ago
(2015-06-12 16:08:01 UTC)
#8
Issue 1170523002: Removing GraphicsContext from ImageBuffer
(Closed)
Created 4 years, 11 months ago by Justin Novosad
Modified 4 years, 10 months ago
Reviewers: chrishtr, Stephen White
Base URL: svn://svn.chromium.org/blink/trunk
Comments: 2