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

Issue 1832923002: Clean up calls to CreateGpuMemoryBufferImageCHROMIUM. (Closed)

Created:
4 years, 9 months ago by erikchen
Modified:
4 years, 9 months ago
CC:
chromium-reviews, krit, pdr+graphicswatchlist_chromium.org, drott+blinkwatch_chromium.org, f(malita), ajuma+watch-canvas_chromium.org, dshwang, jam, jbroman, Justin Novosad, sievers+watch_chromium.org, jbauman+watch_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, darin-cc_chromium.org, kalyank, blink-reviews, piman+watch_chromium.org, danakj+watch_chromium.org, rwlbuis, kinuko+watch, Stephen Chennney
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Clean up calls to CreateGpuMemoryBufferImageCHROMIUM. This CL should not induce any behavior changes. IOSurfaces expect a format of GL_BGRA, and an internal format of GL_RGBA. Callers of CreateGpuMemoryBufferImageCHROMIUM were incorrectly passing in GL_BGRA as |internalformat|, and the implementation of CreateGpuMemoryBufferImageCHROMIUM was incorrectly allowing this. This CL updates callsites to pass in GL_RGBA, and updates the implementation of CreateGpuMemoryBufferImageCHROMIUM to not accept GL_BGRA. BUG=595948 CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel Committed: https://crrev.com/4d8dc295cccc146320088799dd9af2f90d71232d Cr-Commit-Position: refs/heads/master@{#383243}

Patch Set 1 #

Patch Set 2 : Fix test failure. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -18 lines) Patch
M content/browser/compositor/gpu_process_transport_factory.cc View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/client/gles2_implementation.cc View 4 chunks +14 lines, -4 lines 0 comments Download
M gpu/command_buffer/service/image_factory.cc View 3 chunks +25 lines, -10 lines 0 comments Download
M gpu/command_buffer/tests/gl_copy_tex_image_2d_workaround_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/tests/gl_iosurface_readback_workaround_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 33 (18 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1832923002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1832923002/1
4 years, 9 months ago (2016-03-24 17:53:05 UTC) #3
erikchen
kbr: Please review.
4 years, 9 months ago (2016-03-24 19:04:12 UTC) #5
Ken Russell (switch to Gerrit)
LGTM overall, but could you get a review from ccameron@ on the browser compositor output ...
4 years, 9 months ago (2016-03-24 19:10:21 UTC) #8
ccameron
lgtm -- better to hide this detail from the command buffer client.
4 years, 9 months ago (2016-03-24 19:29:58 UTC) #12
erikchen
On 2016/03/24 19:29:58, ccameron wrote: > lgtm -- better to hide this detail from the ...
4 years, 9 months ago (2016-03-24 19:55:03 UTC) #15
Ken Russell (switch to Gerrit)
On 2016/03/24 19:55:03, erikchen wrote: > On 2016/03/24 19:29:58, ccameron wrote: > > lgtm -- ...
4 years, 9 months ago (2016-03-24 19:56:38 UTC) #16
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/200129)
4 years, 9 months ago (2016-03-24 21:06:12 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1832923002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1832923002/20001
4 years, 9 months ago (2016-03-25 00:11:25 UTC) #20
erikchen
zmo: Please review gpu/command_buffer
4 years, 9 months ago (2016-03-25 00:11:51 UTC) #22
Zhenyao Mo
piman: can you review the command buffer change instead? I am not familiar with the ...
4 years, 9 months ago (2016-03-25 00:28:39 UTC) #24
piman
lgtm
4 years, 9 months ago (2016-03-25 01:02:36 UTC) #25
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-25 02:26:50 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1832923002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1832923002/20001
4 years, 9 months ago (2016-03-25 04:32:07 UTC) #30
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-25 04:37:21 UTC) #31
commit-bot: I haz the power
4 years, 9 months ago (2016-03-25 04:40:30 UTC) #33
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/4d8dc295cccc146320088799dd9af2f90d71232d
Cr-Commit-Position: refs/heads/master@{#383243}

Powered by Google App Engine
This is Rietveld 408576698