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

Issue 132543002: Not for review. (Closed)

Created:
6 years, 11 months ago by alexst (slow to review)
Modified:
4 years, 1 month ago
Reviewers:
rjkroege, dnicoara
Visibility:
Public.

Description

Not for review. End to end prototype of getting a buffer to display via an overlay. BUG=

Patch Set 1 : #

Total comments: 14

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1689 lines, -153 lines) Patch
cc/cc.gyp View 1 2 chunks +4 lines, -0 lines 0 comments Download
cc/output/compositor_frame_metadata.h View 1 2 chunks +3 lines, -0 lines 0 comments Download
cc/output/direct_renderer.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
cc/output/direct_renderer.cc View 1 5 chunks +11 lines, -3 lines 0 comments Download
cc/output/gl_renderer.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
cc/output/overlay_renderer.h View 1 chunk +36 lines, -0 lines 0 comments Download
cc/output/overlay_renderer.cc View 1 chunk +126 lines, -0 lines 0 comments Download
cc/output/software_overlay_presenter_hal.h View 1 chunk +41 lines, -0 lines 0 comments Download
cc/output/software_overlay_presenter_hal.cc View 1 chunk +45 lines, -0 lines 0 comments Download
cc/quads/render_pass.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
cc/quads/render_pass.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
cc/test/test_context_support.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
cc/test/test_context_support.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
cc/trees/layer_tree_host_impl.cc View 1 2 chunks +19 lines, -1 line 0 comments Download
cc/trees/thread_proxy.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
content/shell/browser/shell.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
gpu/GLES2/gl2chromium_autogen.h View 1 1 chunk +1 line, -0 lines 0 comments Download
gpu/GLES2/gl2extchromium.h View 1 1 chunk +17 lines, -0 lines 0 comments Download
gpu/command_buffer/build_gles2_cmd_buffer.py View 1 1 chunk +8 lines, -0 lines 0 comments Download
gpu/command_buffer/client/context_support.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
gpu/command_buffer/client/gles2_c_lib_autogen.h View 1 1 chunk +9 lines, -0 lines 0 comments Download
gpu/command_buffer/client/gles2_cmd_helper_autogen.h View 1 1 chunk +13 lines, -0 lines 0 comments Download
gpu/command_buffer/client/gles2_implementation.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
gpu/command_buffer/client/gles2_implementation.cc View 1 2 chunks +20 lines, -0 lines 0 comments Download
gpu/command_buffer/client/gles2_implementation_autogen.h View 1 1 chunk +7 lines, -0 lines 0 comments Download
gpu/command_buffer/client/gles2_interface_autogen.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
gpu/command_buffer/client/gles2_interface_stub_autogen.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
gpu/command_buffer/client/gles2_interface_stub_impl_autogen.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
gpu/command_buffer/client/gles2_trace_implementation_autogen.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h View 1 1 chunk +10 lines, -0 lines 0 comments Download
gpu/command_buffer/common/gles2_cmd_format_autogen.h View 1 1 chunk +49 lines, -0 lines 0 comments Download
gpu/command_buffer/common/gles2_cmd_ids_autogen.h View 1 1 chunk +1 line, -0 lines 0 comments Download
gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 chunks +23 lines, -0 lines 0 comments Download
third_party/mesa/mesa.gyp View 1 chunk +35 lines, -0 lines 0 comments Download
ui/aura/test/test_screen.cc View 1 1 chunk +1 line, -1 line 0 comments Download
ui/gfx/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
ui/gfx/gfx.gyp View 1 2 chunks +18 lines, -1 line 0 comments Download
ui/gfx/gpu_memory_buffer.h View 1 2 chunks +10 lines, -8 lines 0 comments Download
ui/gfx/ozone/dri/dri_skbitmap.h View 1 chunk +1 line, -1 line 0 comments Download
ui/gfx/ozone/dri/dri_surface.h View 5 chunks +7 lines, -11 lines 0 comments Download
ui/gfx/ozone/dri/dri_surface.cc View 1 2 chunks +17 lines, -0 lines 0 comments Download
ui/gfx/ozone/dri/dri_surface_factory.h View 1 3 chunks +12 lines, -8 lines 0 comments Download
ui/gfx/ozone/dri/dri_surface_factory.cc View 1 4 chunks +11 lines, -7 lines 0 comments Download
ui/gfx/ozone/dri/dri_surface_factory_unittest.cc View 1 chunk +0 lines, -12 lines 0 comments Download
ui/gfx/ozone/dri/dri_surface_unittest.cc View 5 chunks +21 lines, -4 lines 0 comments Download
ui/gfx/ozone/dri/dri_wrapper.h View 2 chunks +9 lines, -1 line 0 comments Download
ui/gfx/ozone/dri/dri_wrapper.cc View 1 chunk +32 lines, -7 lines 0 comments Download
ui/gfx/ozone/dri/gbm_surface.h View 1 chunk +66 lines, -0 lines 0 comments Download
ui/gfx/ozone/dri/gbm_surface.cc View 1 chunk +173 lines, -0 lines 0 comments Download
ui/gfx/ozone/dri/gbm_surface_factory.h View 1 1 chunk +70 lines, -0 lines 0 comments Download
ui/gfx/ozone/dri/gbm_surface_factory.cc View 1 1 chunk +248 lines, -0 lines 0 comments Download
ui/gfx/ozone/dri/hardware_display_controller.h View 4 chunks +28 lines, -4 lines 0 comments Download
ui/gfx/ozone/dri/hardware_display_controller.cc View 6 chunks +122 lines, -27 lines 0 comments Download
ui/gfx/ozone/dri/hardware_display_controller_unittest.cc View 8 chunks +22 lines, -25 lines 0 comments Download
ui/gfx/ozone/dri/scanout_surface.h View 1 chunk +40 lines, -0 lines 0 comments Download
ui/gfx/ozone/overlay_hal_ozone.h View 1 chunk +59 lines, -0 lines 0 comments Download
ui/gfx/ozone/overlay_hal_ozone.cc View 1 chunk +41 lines, -0 lines 0 comments Download
ui/gfx/ozone/surface_factory_ozone.h View 1 1 chunk +10 lines, -0 lines 0 comments Download
ui/gfx/ozone/surface_factory_ozone.cc View 1 1 chunk +16 lines, -0 lines 0 comments Download
ui/gl/gl.gyp View 1 1 chunk +4 lines, -0 lines 0 comments Download
ui/gl/gl_image_egl.h View 1 chunk +2 lines, -0 lines 0 comments Download
ui/gl/gl_image_egl.cc View 4 chunks +14 lines, -13 lines 0 comments Download
ui/gl/gl_image_ozone.cc View 2 chunks +13 lines, -3 lines 0 comments Download
ui/gl/gl_implementation.cc View 1 2 chunks +9 lines, -0 lines 0 comments Download
ui/gl/gl_surface_egl.cc View 1 3 chunks +5 lines, -3 lines 0 comments Download
ui/ozone/ozone.gyp View 2 chunks +13 lines, -0 lines 0 comments Download
ui/ozone/ozone_platform.h View 2 chunks +2 lines, -0 lines 0 comments Download
ui/ozone/ozone_platform.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
ui/ozone/platform/dri/ozone_platform_dri.h View 1 chunk +1 line, -0 lines 0 comments Download
ui/ozone/platform/dri/ozone_platform_dri.cc View 1 chunk +4 lines, -0 lines 0 comments Download
ui/ozone/platform/gbm/ozone_platform_gbm.h View 2 chunks +11 lines, -10 lines 0 comments Download
ui/ozone/platform/gbm/ozone_platform_gbm.cc View 1 chunk +34 lines, -0 lines 0 comments Download
ui/ozone/platform/test/ozone_platform_test.h View 1 chunk +1 line, -0 lines 0 comments Download
ui/ozone/platform/test/ozone_platform_test.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
alexst (slow to review)
https://codereview.chromium.org/132543002/diff/1/gpu/GLES2/gl2extchromium.h File gpu/GLES2/gl2extchromium.h (right): https://codereview.chromium.org/132543002/diff/1/gpu/GLES2/gl2extchromium.h#newcode630 gpu/GLES2/gl2extchromium.h:630: GL_APICALL void GL_APIENTRY glSetOverlayPlaneCHROMIUM(GLint plane_id, This isn't intended to ...
6 years, 11 months ago (2014-01-09 21:02:41 UTC) #1
alexst (slow to review)
https://codereview.chromium.org/132543002/diff/1/cc/output/compositor_frame_metadata.h File cc/output/compositor_frame_metadata.h (right): https://codereview.chromium.org/132543002/diff/1/cc/output/compositor_frame_metadata.h#newcode42 cc/output/compositor_frame_metadata.h:42: gfx::Rect overlay_position; This is a quick hack to plumb ...
6 years, 11 months ago (2014-01-09 21:15:55 UTC) #2
rjkroege
I think I see how the code here aligns with the architecture that we put ...
6 years, 11 months ago (2014-01-10 19:14:04 UTC) #3
dnicoara
6 years, 11 months ago (2014-01-21 21:22:42 UTC) #4
https://codereview.chromium.org/132543002/diff/40002/ui/gfx/ozone/dri/hardwar...
File ui/gfx/ozone/dri/hardware_display_controller.cc (right):

https://codereview.chromium.org/132543002/diff/40002/ui/gfx/ozone/dri/hardwar...
ui/gfx/ozone/dri/hardware_display_controller.cc:192: overlay_plane_rect_,
I know this is hacked for now and will receive much love, but I was wondering if
you have an opinion on how we should handle multiple overlays for the same
display?

https://codereview.chromium.org/132543002/diff/40002/ui/gfx/ozone/surface_fac...
File ui/gfx/ozone/surface_factory_ozone.h (right):

https://codereview.chromium.org/132543002/diff/40002/ui/gfx/ozone/surface_fac...
ui/gfx/ozone/surface_factory_ozone.h:138: virtual void*
GetFunctionPointerFromNativeLibrary(base::NativeLibrary library,
On 2014/01/10 19:14:04, rjkroege wrote:
> Why? this doesn't seem to belong here.

Ignore this. This is legacy from the hacked GBM backend.

https://codereview.chromium.org/132543002/diff/40002/ui/gfx/ozone/surface_fac...
ui/gfx/ozone/surface_factory_ozone.h:141: virtual void SetOverlayPlane(int
plane_id,
This may need to have another gfx::AcceleratedWidget parameter to represent the
actual widget/display for the overlay plane.

https://codereview.chromium.org/132543002/diff/40002/ui/gfx/ozone/surface_fac...
ui/gfx/ozone/surface_factory_ozone.h:145: virtual gfx::AcceleratedWidget
CreateNativeBuffer(gfx::Size size,
Would we need to use this for anything other than overlays?

Powered by Google App Engine
This is Rietveld 408576698