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

Issue 1305153005: Add CHROMIUM_ycbcr_422_image extension. (Closed)

Created:
5 years, 3 months ago by Daniele Castagna
Modified:
5 years, 3 months ago
Reviewers:
reveman, no sievers
CC:
Andre, ccameron, chromium-apps-reviews_chromium.org, chromium-reviews, extensions-reviews_chromium.org, 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

Add CHROMIUM_ycbcr_422_image extension. Add an extension that provides a method for GL to process images that are defined in '2vuy' video format. GL_YCRCR_422_CHROMIUM <internalformat> as been added and it is an accepted value when creating an image if the extension is supported. This extension maps to GL_APPLE_ycbcr_422 and will allow us to determine if we can use IOSurfaces with that format. BUG=524582 Committed: https://crrev.com/a93c58151c01a8ccc6d98697f04c851f8992ef92 Cr-Commit-Position: refs/heads/master@{#345693}

Patch Set 1 #

Total comments: 11

Patch Set 2 : Address comments. #

Total comments: 4

Patch Set 3 : Make feature_info_unittest.cc compile. #

Total comments: 4

Patch Set 4 : Address sievers' comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -11 lines) Patch
A + gpu/GLES2/extensions/CHROMIUM/CHROMIUM_ycbcr_422_image.txt View 1 2 3 4 chunks +6 lines, -6 lines 0 comments Download
M gpu/GLES2/gl2extchromium.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/common/capabilities.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/common/capabilities.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/feature_info.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/feature_info.cc View 1 2 3 2 chunks +7 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/feature_info_unittest.cc View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/tests/gl_unittest.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/gl_bindings.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (5 generated)
Daniele Castagna
PTAL
5 years, 3 months ago (2015-08-26 17:45:31 UTC) #2
Daniele Castagna
5 years, 3 months ago (2015-08-26 17:45:58 UTC) #3
reveman
https://codereview.chromium.org/1305153005/diff/1/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_ycbcr_422_image.txt File gpu/GLES2/extensions/CHROMIUM/CHROMIUM_ycbcr_422_image.txt (right): https://codereview.chromium.org/1305153005/diff/1/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_ycbcr_422_image.txt#newcode40 gpu/GLES2/extensions/CHROMIUM/CHROMIUM_ycbcr_422_image.txt:40: GL_YCRCR_422_CHROMIUM 0x78FB GL_RGB_YCRCR_422_CHROMIUM https://codereview.chromium.org/1305153005/diff/1/gpu/command_buffer/common/capabilities.h File gpu/command_buffer/common/capabilities.h (right): https://codereview.chromium.org/1305153005/diff/1/gpu/command_buffer/common/capabilities.h#newcode135 gpu/command_buffer/common/capabilities.h:135: ...
5 years, 3 months ago (2015-08-26 18:21:09 UTC) #4
Daniele Castagna
https://codereview.chromium.org/1305153005/diff/1/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_ycbcr_422_image.txt File gpu/GLES2/extensions/CHROMIUM/CHROMIUM_ycbcr_422_image.txt (right): https://codereview.chromium.org/1305153005/diff/1/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_ycbcr_422_image.txt#newcode40 gpu/GLES2/extensions/CHROMIUM/CHROMIUM_ycbcr_422_image.txt:40: GL_YCRCR_422_CHROMIUM 0x78FB On 2015/08/26 at 18:21:08, reveman wrote: > ...
5 years, 3 months ago (2015-08-26 18:40:08 UTC) #5
reveman
lgtm after fixing unit test https://codereview.chromium.org/1305153005/diff/20001/gpu/command_buffer/service/feature_info_unittest.cc File gpu/command_buffer/service/feature_info_unittest.cc (right): https://codereview.chromium.org/1305153005/diff/20001/gpu/command_buffer/service/feature_info_unittest.cc#newcode1366 gpu/command_buffer/service/feature_info_unittest.cc:1366: TEST_P(FeatureInfoTest, InitializeEXT_ycbcr_422True) { InitializeCHROMIUM_ycbcr_422_imageTrue ...
5 years, 3 months ago (2015-08-26 18:47:10 UTC) #6
Daniele Castagna
https://codereview.chromium.org/1305153005/diff/20001/gpu/command_buffer/service/feature_info_unittest.cc File gpu/command_buffer/service/feature_info_unittest.cc (right): https://codereview.chromium.org/1305153005/diff/20001/gpu/command_buffer/service/feature_info_unittest.cc#newcode1366 gpu/command_buffer/service/feature_info_unittest.cc:1366: TEST_P(FeatureInfoTest, InitializeEXT_ycbcr_422True) { On 2015/08/26 at 18:47:10, reveman wrote: ...
5 years, 3 months ago (2015-08-26 18:53:17 UTC) #8
Daniele Castagna
+sievers for owner approval.
5 years, 3 months ago (2015-08-26 18:57:49 UTC) #10
no sievers
Shouldn't it be called GL_RGB_YCBCR_422_CHROMIUM? ^ https://codereview.chromium.org/1305153005/diff/60001/gpu/command_buffer/service/feature_info.cc File gpu/command_buffer/service/feature_info.cc (right): https://codereview.chromium.org/1305153005/diff/60001/gpu/command_buffer/service/feature_info.cc#newcode795 gpu/command_buffer/service/feature_info.cc:795: feature_flags_.chromium_image_ycbcr_422 = nit: ...
5 years, 3 months ago (2015-08-26 19:20:44 UTC) #11
Daniele Castagna
On 2015/08/26 at 19:20:44, sievers wrote: > Shouldn't it be called GL_RGB_YCBCR_422_CHROMIUM? > ^ > ...
5 years, 3 months ago (2015-08-26 19:41:16 UTC) #12
no sievers
lgtm
5 years, 3 months ago (2015-08-26 19:52:10 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1305153005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1305153005/80001
5 years, 3 months ago (2015-08-26 19:59:04 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:80001)
5 years, 3 months ago (2015-08-26 22:08:40 UTC) #17
commit-bot: I haz the power
5 years, 3 months ago (2015-08-26 22:09:17 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/a93c58151c01a8ccc6d98697f04c851f8992ef92
Cr-Commit-Position: refs/heads/master@{#345693}

Powered by Google App Engine
This is Rietveld 408576698