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

Issue 2559523002: Send overlay promotion hints from to GLStreamTextureImage. (Closed)

Created:
4 years ago by liberato (no reviews please)
Modified:
4 years ago
Reviewers:
piman
CC:
chromium-reviews, posciak+watch_chromium.org, piman+watch_chromium.org, cc-bugs_chromium.org, feature-media-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Send overlay promotion hints from to GLStreamTextureImage. ResourceProvider knows if a resource has requested hints about overlay promotion. This CL closes the loop, allowing ResourceProvider to notify a GLStreamTextureImage that's bound to the resource's texture about the promotion hint. This is supported only on Android. The purpose is to let AndroidVideoDecodeAccelerator figure out if video frames should be backed by SurfaceTexture or SurfaceView. BUG=671357 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Committed: https://crrev.com/6408f27c941a3f90119958301b16f3c7cf2ebced Cr-Commit-Position: refs/heads/master@{#437906}

Patch Set 1 #

Patch Set 2 : added display coordinate to hint #

Patch Set 3 : renamed GL function, added doc #

Patch Set 4 : reverted media #

Patch Set 5 : reverted media #

Total comments: 10

Patch Set 6 : cl feedback #

Patch Set 7 : added gl command #

Patch Set 8 : fiddled with GLboolean for windows compiler #

Unified diffs Side-by-side diffs Delta from patch set Stats (+298 lines, -18 lines) Patch
M cc/output/overlay_candidate.h View 2 chunks +8 lines, -1 line 0 comments Download
M cc/output/overlay_candidate.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M cc/output/overlay_processor.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/output/overlay_strategy_underlay.cc View 1 chunk +5 lines, -5 lines 0 comments Download
M cc/resources/resource_provider.h View 1 2 1 chunk +5 lines, -4 lines 0 comments Download
M cc/resources/resource_provider.cc View 1 2 3 4 5 1 chunk +17 lines, -5 lines 0 comments Download
M components/display_compositor/compositor_overlay_candidate_validator_android.cc View 1 chunk +1 line, -1 line 0 comments Download
M gpu/GLES2/extensions/CHROMIUM/CHROMIUM_stream_texture_matrix.txt View 1 2 3 4 5 2 chunks +25 lines, -0 lines 0 comments Download
M gpu/GLES2/gl2chromium_autogen.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_c_lib_autogen.h View 1 2 3 4 5 2 chunks +11 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_cmd_helper_autogen.h View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_autogen.h View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_impl_autogen.h View 1 2 3 4 5 1 chunk +14 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_autogen.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_stub_autogen.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_stub_impl_autogen.h View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_trace_implementation_autogen.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M gpu/command_buffer/cmd_buffer_functions.txt View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_autogen.h View 1 2 3 4 5 1 chunk +54 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_test_autogen.h View 1 2 3 4 5 1 chunk +16 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_ids_autogen.h View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M gpu/command_buffer/service/gl_stream_texture_image.h View 1 chunk +4 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 4 5 6 7 2 chunks +31 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_autogen.h View 1 2 3 4 5 1 chunk +14 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doer_prototypes.h View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc View 1 2 3 4 5 6 1 chunk +9 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers_autogen.cc View 1 2 3 4 5 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (19 generated)
liberato (no reviews please)
Hi Here are some interesting bits about this CL: - i modified how hints are ...
4 years ago (2016-12-06 18:14:16 UTC) #7
piman
LGTM, just a bunch of nits. https://codereview.chromium.org/2559523002/diff/80001/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_stream_texture_matrix.txt File gpu/GLES2/extensions/CHROMIUM/CHROMIUM_stream_texture_matrix.txt (right): https://codereview.chromium.org/2559523002/diff/80001/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_stream_texture_matrix.txt#newcode51 gpu/GLES2/extensions/CHROMIUM/CHROMIUM_stream_texture_matrix.txt:51: void SendOverlayPromotionHintCHROMIUM( naming ...
4 years ago (2016-12-06 21:40:57 UTC) #8
liberato (no reviews please)
thanks for the help! -fl https://codereview.chromium.org/2559523002/diff/80001/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_stream_texture_matrix.txt File gpu/GLES2/extensions/CHROMIUM/CHROMIUM_stream_texture_matrix.txt (right): https://codereview.chromium.org/2559523002/diff/80001/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_stream_texture_matrix.txt#newcode51 gpu/GLES2/extensions/CHROMIUM/CHROMIUM_stream_texture_matrix.txt:51: void SendOverlayPromotionHintCHROMIUM( On 2016/12/06 ...
4 years ago (2016-12-12 16:44:38 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2559523002/140001
4 years ago (2016-12-12 16:45:10 UTC) #20
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years ago (2016-12-12 18:53:08 UTC) #23
commit-bot: I haz the power
4 years ago (2016-12-12 18:56:22 UTC) #25
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/6408f27c941a3f90119958301b16f3c7cf2ebced
Cr-Commit-Position: refs/heads/master@{#437906}

Powered by Google App Engine
This is Rietveld 408576698