|
Enable GPU acceleration in 2D OffscreenCanvases on main thread
This change allows OffscreenCanvasRenderingContext2D to create
an AcceleratedImageBufferSurface for its backing on platforms
that support GPU-accelerated canvas.
The plumbing of the runtime option for controlling the
availability of accelerated canvases was moved from WebSettings
to RuntimeEnableFeatures so that we no longer need to access
the DOM in order to access the feature flag.
BUG= 593514
Committed: https://crrev.com/524668f2a8ed8d87a049a2dc1e74ff0134c8f82f
Cr-Commit-Position: refs/heads/master@{#410423}
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+50 lines, -27 lines) |
Patch |
 |
M |
content/renderer/render_view_impl.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/TestExpectations
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/compositing/content-changed-chicken-egg.html
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/compositing/content-changed-chicken-egg-expected.html
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/fast/borders/border-radius-mask-canvas.html
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/fast/borders/border-radius-mask-canvas-all.html
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/fast/borders/border-radius-mask-canvas-border.html
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/fast/borders/border-radius-mask-canvas-padding.html
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/fast/borders/border-radius-mask-canvas-with-mask.html
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/fast/borders/border-radius-mask-canvas-with-shadow.html
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/frame/Settings.in
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
|
View
|
1
2
3
4
|
2 chunks |
+9 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.cpp
|
View
|
1
2
3
|
3 chunks |
+23 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/WebSettingsImpl.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/WebSettingsImpl.cpp
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/public/web/WebRuntimeFeatures.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/public/web/WebSettings.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
Total messages: 38 (24 generated)
|