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

Issue 1761893003: Avoid planar YUV resources when one component EGL images are not supported (Closed)

Created:
4 years, 9 months ago by Tobias Sargeant
Modified:
4 years, 3 months ago
Reviewers:
danakj, no sievers, dcheng
CC:
cc-bugs_chromium.org, chromium-reviews, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Avoid planar YUV resources when one component EGL images are not supported Some EGL drivers do not support binding one component textures to an EGL image. One component textures are used for YUV video frames, so to support those drivers in WebView, we need to do YUV to RGB conversion in software, and then upload an RGB texture instead of a set of 3 Y,U,V textures. BUG=579060, 632461 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rename Capabilities member #

Total comments: 6

Patch Set 3 : Address nits. #

Patch Set 4 : Rebase #

Patch Set 5 : Rebase; only call CreateRGBTextureForSoftwarePlanes if not software compositing #

Patch Set 6 : Resurrect #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -23 lines) Patch
M cc/resources/resource_provider.cc View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M cc/resources/video_resource_updater.h View 1 2 3 4 5 2 chunks +6 lines, -0 lines 0 comments Download
M cc/resources/video_resource_updater.cc View 1 2 3 4 5 4 chunks +79 lines, -22 lines 0 comments Download
M gpu/command_buffer/common/capabilities.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/common/capabilities.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M gpu/config/gpu_driver_bug_list_json.cc View 1 2 3 4 5 2 chunks +14 lines, -1 line 0 comments Download
M gpu/config/gpu_driver_bug_workaround_type.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/ipc/common/gpu_command_buffer_traits_multi.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 29 (18 generated)
Tobias Sargeant
4 years, 9 months ago (2016-03-03 21:41:44 UTC) #5
no sievers
https://codereview.chromium.org/1761893003/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/1761893003/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode3146 gpu/command_buffer/service/gles2_cmd_decoder.cc:3146: caps.avoid_one_component_egl_images = nit: The client doesn't know anything about ...
4 years, 9 months ago (2016-03-08 01:14:49 UTC) #6
Tobias Sargeant
https://codereview.chromium.org/1761893003/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/1761893003/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode3146 gpu/command_buffer/service/gles2_cmd_decoder.cc:3146: caps.avoid_one_component_egl_images = On 2016/03/08 01:14:49, sievers wrote: > nit: ...
4 years, 9 months ago (2016-03-08 12:06:38 UTC) #7
dcheng
ipc changes seem reasonable, but i will defer l-g-t-m until the main owners sign off. ...
4 years, 9 months ago (2016-03-08 18:33:15 UTC) #8
Tobias Sargeant
https://codereview.chromium.org/1761893003/diff/20001/cc/resources/resource_provider.cc File cc/resources/resource_provider.cc (right): https://codereview.chromium.org/1761893003/diff/20001/cc/resources/resource_provider.cc#newcode1253 cc/resources/resource_provider.cc:1253: } On 2016/03/08 18:33:15, dcheng wrote: > Nit: no ...
4 years, 9 months ago (2016-03-09 11:50:58 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1761893003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1761893003/80001
4 years, 9 months ago (2016-03-17 10:23:56 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/196599)
4 years, 9 months ago (2016-03-17 11:37:08 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1761893003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1761893003/100001
4 years, 9 months ago (2016-03-23 12:31:21 UTC) #16
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/200871)
4 years, 9 months ago (2016-03-23 13:47:47 UTC) #18
prashant.n
> I couldn't see any advice in the discussion of the CL that introduced the ...
4 years, 9 months ago (2016-03-26 18:57:11 UTC) #19
dcheng
4 years, 4 months ago (2016-08-15 18:24:24 UTC) #29
On 2016/03/26 18:57:11, prashant.n wrote:
> > I couldn't see any advice in the discussion of the CL that introduced the
> other
> > instance. cc'ing prashant.n for comment.
> 
> Basically unchecked versions are to be used only when
> 
> 1. we are sure about there would be no overflow occurring OR
> 2. somewhere in start of the call stack we have used checked versions, so
later
> we can safely use unchecked versions.
> 
> 2nd option is recommended.

As a reviewer, how can I tell that the checked versions were used earlier in the
stack?

Powered by Google App Engine
This is Rietveld 408576698