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

Issue 14550002: Making GraphicsContext the owner of PlatformContext. (Closed)

Created:
7 years, 7 months ago by Stephen Chennney
Modified:
7 years, 7 months ago
Reviewers:
jamesr, pdr., tony
CC:
blink-reviews, danakj, jeez
Visibility:
Public.

Description

Making GraphicsContext the owner of PlatformContext. This will simplify future work. R=jamesr@chromium.org BUG=235468 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=149484

Patch Set 1 #

Patch Set 2 : Fix the Windows build. #

Total comments: 4

Patch Set 3 : Fixing tests and addressing comments. #

Patch Set 4 : Fixing tests and addressing comments. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+381 lines, -386 lines) Patch
M Source/WebKit/chromium/src/LinkHighlight.cpp View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M Source/WebKit/chromium/src/WebScrollbarThemePainter.cpp View 1 chunk +20 lines, -30 lines 0 comments Download
M Source/WebKit/chromium/src/painting/GraphicsContextBuilder.h View 1 chunk +1 line, -3 lines 0 comments Download
M Source/WebKit/chromium/tests/PlatformContextSkiaTest.cpp View 40 chunks +309 lines, -309 lines 0 comments Download
M Source/WebKit/chromium/tests/TransparencyWinTest.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/WebKit/chromium/tests/WebFrameTest.cpp View 1 2 3 2 chunks +5 lines, -5 lines 0 comments Download
M Source/core/page/FrameView.cpp View 1 2 1 chunk +2 lines, -2 lines 1 comment Download
M Source/core/platform/chromium/support/GraphicsContext3DPrivate.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/platform/graphics/GraphicsContext.h View 1 2 3 chunks +2 lines, -3 lines 0 comments Download
M Source/core/platform/graphics/GraphicsContext.cpp View 1 2 2 chunks +9 lines, -8 lines 0 comments Download
M Source/core/platform/graphics/Path.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/platform/graphics/chromium/ImageBufferDataSkia.h View 2 chunks +0 lines, -3 lines 0 comments Download
M Source/core/platform/graphics/chromium/OpaqueRectTrackingContentLayerDelegate.cpp View 2 chunks +5 lines, -5 lines 0 comments Download
M Source/core/platform/graphics/filters/FEBlend.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/platform/graphics/filters/FEColorMatrix.cpp View 2 chunks +3 lines, -2 lines 0 comments Download
M Source/core/platform/graphics/filters/FEComponentTransfer.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/platform/graphics/filters/FEDisplacementMap.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/platform/graphics/filters/FEGaussianBlur.cpp View 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/platform/graphics/filters/FELighting.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/platform/graphics/filters/FEMorphology.cpp View 2 chunks +3 lines, -1 line 0 comments Download
M Source/core/platform/graphics/skia/ImageBufferSkia.cpp View 1 2 10 chunks +11 lines, -12 lines 1 comment Download
M Source/core/platform/graphics/skia/SkiaUtils.cpp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
jamesr
lgtm with a few comments https://codereview.chromium.org/14550002/diff/4001/Source/WebKit/chromium/src/painting/GraphicsContextBuilder.h File Source/WebKit/chromium/src/painting/GraphicsContextBuilder.h (right): https://codereview.chromium.org/14550002/diff/4001/Source/WebKit/chromium/src/painting/GraphicsContextBuilder.h#newcode40 Source/WebKit/chromium/src/painting/GraphicsContextBuilder.h:40: class GraphicsContextBuilder { this ...
7 years, 7 months ago (2013-04-29 23:56:17 UTC) #1
Stephen Chennney
Thanks for the comments. A zillion tests are failing so clearly I'm doing something wrong. ...
7 years, 7 months ago (2013-04-30 00:37:45 UTC) #2
Stephen Chennney
I've addressed all of Jame's concerns, and fixed the tests (I think). Locally I got ...
7 years, 7 months ago (2013-04-30 19:08:43 UTC) #3
jamesr
On 2013/04/30 19:08:43, Stephen Chenney wrote: > I've addressed all of Jame's concerns, and fixed ...
7 years, 7 months ago (2013-04-30 19:25:16 UTC) #4
Stephen Chennney
On 2013/04/30 19:25:16, jamesr wrote: > On 2013/04/30 19:08:43, Stephen Chenney wrote: > > I've ...
7 years, 7 months ago (2013-04-30 19:39:48 UTC) #5
jamesr
still looks awesome! https://codereview.chromium.org/14550002/diff/15001/Source/core/page/FrameView.cpp File Source/core/page/FrameView.cpp (right): https://codereview.chromium.org/14550002/diff/15001/Source/core/page/FrameView.cpp#newcode2993 Source/core/page/FrameView.cpp:2993: // FIXME: THe use of paint ...
7 years, 7 months ago (2013-04-30 19:57:08 UTC) #6
Stephen Chennney
Committed patchset #4 manually as r149484 (presubmit successful).
7 years, 7 months ago (2013-04-30 23:09:52 UTC) #7
Stephen Chennney
7 years, 7 months ago (2013-04-30 23:10:44 UTC) #8
Message was sent while issue was closed.
I took care of the nits before committing. Now onto the real show: merging
PlatformContextSkia and GraphicsContext.

On 2013/04/30 19:57:08, jamesr wrote:
> still looks awesome!
> 
>
https://codereview.chromium.org/14550002/diff/15001/Source/core/page/FrameVie...
> File Source/core/page/FrameView.cpp (right):
> 
>
https://codereview.chromium.org/14550002/diff/15001/Source/core/page/FrameVie...
> Source/core/page/FrameView.cpp:2993: // FIXME: THe use of paint seems like
> overkill: crbug.com/236892
> typo "THe"
> 
>
https://codereview.chromium.org/14550002/diff/15001/Source/core/platform/grap...
> File Source/core/platform/graphics/skia/ImageBufferSkia.cpp (right):
> 
>
https://codereview.chromium.org/14550002/diff/15001/Source/core/platform/grap...
> Source/core/platform/graphics/skia/ImageBufferSkia.cpp:153: bool isAccelerated
=
> false;
> nit: isAccelerated is the same as renderingMode == Accelerated, so I think
just
> putting that in the setAccelerated() call on line 172 would be cleaner

Powered by Google App Engine
This is Rietveld 408576698