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

Issue 1882953006: Attach YUV420 to RGB converter to GLContext (Closed)

Created:
4 years, 8 months ago by ccameron
Modified:
4 years, 8 months ago
CC:
chromium-reviews, piman+watch_chromium.org, reveman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Attach YUV420 to RGB converter to GLContext This is less hacky than the global lookup table. Leave the IOSurface-specific parts of the conversion inside GLImageIOSurface. If this converter is needed on other platforms, this will make it easier to reuse. BUG= CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel;tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/dde9e95fb0cd656c952906a630052d560d8a6753 Cr-Commit-Position: refs/heads/master@{#387986}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Rebase #

Patch Set 3 : Incorporate review feedback #

Total comments: 2

Patch Set 4 : Move output arg #

Unified diffs Side-by-side diffs Delta from patch set Stats (+286 lines, -237 lines) Patch
M gpu/command_buffer/service/gl_context_virtual.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/gl_context_virtual.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M ui/gl/BUILD.gn View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M ui/gl/gl.gyp View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M ui/gl/gl_context.h View 1 2 3 chunks +7 lines, -1 line 0 comments Download
M ui/gl/gl_context.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M ui/gl/gl_context_cgl.h View 1 2 3 chunks +3 lines, -0 lines 0 comments Download
M ui/gl/gl_context_cgl.cc View 1 2 3 chunks +12 lines, -0 lines 0 comments Download
M ui/gl/gl_image_io_surface.h View 1 chunk +0 lines, -4 lines 0 comments Download
M ui/gl/gl_image_io_surface.mm View 1 2 3 4 chunks +52 lines, -232 lines 0 comments Download
A ui/gl/yuv_to_rgb_converter.h View 1 2 3 1 chunk +33 lines, -0 lines 0 comments Download
A ui/gl/yuv_to_rgb_converter.cc View 1 2 3 1 chunk +166 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
ccameron
This is a refactor that I promised. Feels much less hacky. dcastagna: ptal at GLImage ...
4 years, 8 months ago (2016-04-14 20:32:36 UTC) #3
bajones
gpu/ duly stamped. LGTM
4 years, 8 months ago (2016-04-15 16:56:26 UTC) #4
Daniele Castagna
Thank you for doing this. This is going to be useful for implementing other converters ...
4 years, 8 months ago (2016-04-16 02:45:59 UTC) #5
ccameron
Updated. I've left this as being a virtual method for retrieving the YUVToRGBConverter so that ...
4 years, 8 months ago (2016-04-16 16:19:19 UTC) #6
Daniele Castagna
LGTM https://codereview.chromium.org/1882953006/diff/40001/ui/gl/yuv_to_rgb_converter.h File ui/gl/yuv_to_rgb_converter.h (right): https://codereview.chromium.org/1882953006/diff/40001/ui/gl/yuv_to_rgb_converter.h#newcode16 ui/gl/yuv_to_rgb_converter.h:16: void CopyYUV420ToRGB(unsigned target, nit: the style guide suggests ...
4 years, 8 months ago (2016-04-17 07:56:04 UTC) #7
ccameron
Thanks! https://codereview.chromium.org/1882953006/diff/40001/ui/gl/yuv_to_rgb_converter.h File ui/gl/yuv_to_rgb_converter.h (right): https://codereview.chromium.org/1882953006/diff/40001/ui/gl/yuv_to_rgb_converter.h#newcode16 ui/gl/yuv_to_rgb_converter.h:16: void CopyYUV420ToRGB(unsigned target, On 2016/04/17 07:56:03, Daniele Castagna ...
4 years, 8 months ago (2016-04-18 18:17:40 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1882953006/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1882953006/60001
4 years, 8 months ago (2016-04-18 18:18:07 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-04-18 19:36:21 UTC) #12
commit-bot: I haz the power
4 years, 8 months ago (2016-04-18 19:38:09 UTC) #14
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/dde9e95fb0cd656c952906a630052d560d8a6753
Cr-Commit-Position: refs/heads/master@{#387986}

Powered by Google App Engine
This is Rietveld 408576698