|
Add support to send optimal format as part of ScheduleOverlayPlane
On ChromeOS, during swap we try to convert the storage formats of
Video buffers to the most optimal one (i.e. YUV etc) which can save
Memroy bandwidth during scan out. This is currently hardcoded in
GbmBuffer, however this format support can vary on different hardware
and hence we should check first if this format is supported before
using it. This CL adds basic support to pass two additional parameters
storage_format and handle_scaling as part of ScheduleOverlayPlane.
These act as hints about the optimal format supported by the hardware
and if scaling needs to be handled in chrome before the composition
(i.e. Display Controller cannot handle plane scaling). Currently these
are hardcoded in DrmOverlayCandidateHost, in a followup patch I will add
support to actually query these from driver and pass it on here.
BUG= 553264
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+463 lines, -229 lines) |
Patch |
 |
M |
cc/output/gl_renderer.cc
|
View
|
1
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/output/gl_renderer_unittest.cc
|
View
|
1
|
2 chunks |
+9 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/output/overlay_candidate.h
|
View
|
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/output/overlay_candidate.cc
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/output/overlay_unittest.cc
|
View
|
|
21 chunks |
+40 lines, -34 lines |
0 comments
|
Download
|
 |
M |
cc/test/test_context_support.h
|
View
|
|
1 chunk |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/test/test_context_support.cc
|
View
|
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/browser/compositor/browser_compositor_overlay_candidate_validator_ozone.cc
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/image_transport_surface_overlay_mac.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/common/gpu/image_transport_surface_overlay_mac.mm
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/avda_codec_image.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/avda_codec_image.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/common/gpu/stream_texture_android.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/common/gpu/stream_texture_android.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
gpu/GLES2/gl2extchromium.h
|
View
|
1
|
4 chunks |
+10 lines, -2 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/context_support.h
|
View
|
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/gles2_c_lib_autogen.h
|
View
|
1
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/gles2_cmd_helper_autogen.h
|
View
|
1
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/gles2_implementation.h
|
View
|
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/gles2_implementation.cc
|
View
|
1
|
2 chunks |
+20 lines, -2 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/gles2_implementation_autogen.h
|
View
|
1
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/gles2_implementation_impl_autogen.h
|
View
|
1
|
2 chunks |
+15 lines, -10 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/gles2_interface_autogen.h
|
View
|
1
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/gles2_interface_stub_autogen.h
|
View
|
1
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/gles2_interface_stub_impl_autogen.h
|
View
|
1
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/gles2_trace_implementation_autogen.h
|
View
|
1
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h
|
View
|
1
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/cmd_buffer_functions.txt
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/common/gles2_cmd_format_autogen.h
|
View
|
1
|
6 chunks |
+40 lines, -26 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/common/gles2_cmd_format_test_autogen.h
|
View
|
1
|
1 chunk |
+18 lines, -15 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gles2_cmd_decoder.cc
|
View
|
1
|
2 chunks |
+17 lines, -1 line |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.cc
|
View
|
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/stream_texture_manager_in_process_android.cc
|
View
|
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/texture_definition.cc
|
View
|
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
mojo/gpu/mojo_gles2_impl_autogen.h
|
View
|
1
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
mojo/gpu/mojo_gles2_impl_autogen.cc
|
View
|
1
|
2 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
 |
M |
mojo/public/c/gles2/gles2_call_visitor_chromium_extension_autogen.h
|
View
|
1
|
3 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image.h
|
View
|
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_egl.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_egl.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_glx.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_glx.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_io_surface.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_io_surface.mm
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_memory.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_memory.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_ozone_native_pixmap.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_ozone_native_pixmap.cc
|
View
|
|
1 chunk |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_stub.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_stub.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_surface_texture.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_surface_texture.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/gl/gl_surface.h
|
View
|
|
3 chunks |
+14 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_surface.cc
|
View
|
|
2 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_surface_egl.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/gl/gl_surface_egl.cc
|
View
|
|
1 chunk |
+7 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_surface_overlay.h
|
View
|
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/gl/gl_surface_overlay.cc
|
View
|
|
1 chunk |
+8 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_surface_ozone.cc
|
View
|
|
6 chunks |
+24 lines, -13 lines |
0 comments
|
Download
|
 |
M |
ui/ozone/demo/surfaceless_gl_renderer.cc
|
View
|
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/ozone/platform/cast/surface_factory_cast.cc
|
View
|
1
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/ozone/platform/drm/gpu/gbm_buffer.h
|
View
|
|
1 chunk |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ui/ozone/platform/drm/gpu/gbm_buffer.cc
|
View
|
|
4 chunks |
+23 lines, -25 lines |
0 comments
|
Download
|
 |
M |
ui/ozone/platform/drm/host/drm_overlay_candidates_host.cc
|
View
|
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/ozone/platform/headless/headless_surface_factory.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/ozone/public/native_pixmap.h
|
View
|
|
3 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/ozone/public/overlay_candidates_ozone.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
Total messages: 14 (4 generated)
|