|
ui: Pass correct image texture target and one-copy settings to cc.
The ui browser compositor should use onecopy for implside painting, as
we have enabled that for all platforms that use ui::Compositor.
The image texture target should also match the one used in the renderer
compositor. So have the ui::Compositor query it from the ContextFactory
and move the code that makes the decision out from RenderProcessHostImpl
to a shared location.
R=piman@chromium.org, reveman
BUG= 314185
Committed: https://crrev.com/e6eb185c92a58e034bbe31e89bf3ac7205099527
Cr-Commit-Position: refs/heads/master@{#318551}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+65 lines, -43 lines) |
Patch |
 |
M |
content/browser/compositor/gpu_process_transport_factory.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/compositor/gpu_process_transport_factory.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/gpu/browser_gpu_channel_host_factory.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/gpu/browser_gpu_channel_host_factory.cc
|
View
|
|
2 chunks |
+26 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_process_host_impl.cc
|
View
|
|
1 chunk |
+4 lines, -27 lines |
0 comments
|
Download
|
 |
M |
content/public/common/content_switches.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/render_thread_impl.cc
|
View
|
|
1 chunk |
+5 lines, -13 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_thread_impl_browsertest.cc
|
View
|
1
2
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/compositor.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/compositor.cc
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/compositor_switches.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/compositor/compositor_switches.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/test/in_process_context_factory.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/test/in_process_context_factory.cc
|
View
|
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
Total messages: 16 (9 generated)
|