|
|
Chromium Code Reviews|
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. |
DescriptionClean 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. #
Messages
Total messages: 33 (18 generated)
Description was changed from ========== Clean up calls to CreateGpuMemoryBufferImageCHROMIUM. Enforce the requirement that |internalformat| is either GL_RGB or GL_RGBA. BUG=595948 ========== to ========== Clean up calls to CreateGpuMemoryBufferImageCHROMIUM. Enforce the requirement that |internalformat| is either GL_RGB or GL_RGBA. BUG=595948 CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel ==========
The CQ bit was checked by erikchen@chromium.org to run a CQ dry run
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
erikchen@chromium.org changed reviewers: + kbr@chromium.org
kbr: Please review.
Description was changed from ========== Clean up calls to CreateGpuMemoryBufferImageCHROMIUM. Enforce the requirement that |internalformat| is either GL_RGB or GL_RGBA. BUG=595948 CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel ========== to ========== Clean up calls to CreateGpuMemoryBufferImageCHROMIUM. Enforce the requirement that |internalformat| is either GL_RGB or GL_RGBA. BUG=595948 CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel ==========
kbr@chromium.org changed reviewers: + ccameron@chromium.org
LGTM overall, but could you get a review from ccameron@ on the browser compositor output surface change? Basically, as long as everything still renders correctly this is fine, unless for some reason the change to the IOSurface's internal format increases Chromium's power consumption. Also, I added tryserver.chromium.mac:mac_optional_gpu_tests_rel to your CQ trybots. It's being auto-added again in https://codereview.chromium.org/1829063003 . Could you please run it and make sure it passes? Thanks.
Description was changed from ========== Clean up calls to CreateGpuMemoryBufferImageCHROMIUM. Enforce the requirement that |internalformat| is either GL_RGB or GL_RGBA. BUG=595948 CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel ========== to ========== Clean up calls to CreateGpuMemoryBufferImageCHROMIUM. Enforce the requirement that |internalformat| is either GL_RGB or GL_RGBA. This CL should not induce any behavior changes. The previous callers of CreateGpuMemoryBufferImageCHROMIUM were incorrectly passing in GL_BGRA_EXT. BUG=595948 CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel ==========
Description was changed from ========== Clean up calls to CreateGpuMemoryBufferImageCHROMIUM. Enforce the requirement that |internalformat| is either GL_RGB or GL_RGBA. This CL should not induce any behavior changes. The previous callers of CreateGpuMemoryBufferImageCHROMIUM were incorrectly passing in GL_BGRA_EXT. BUG=595948 CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel ========== to ========== Clean up calls to CreateGpuMemoryBufferImageCHROMIUM. Enforce the requirement that |internalformat| is either GL_RGB or GL_RGBA. This CL should not induce any behavior changes. The previous callers of CreateGpuMemoryBufferImageCHROMIUM were incorrectly passing in GL_BGRA_EXT. They've been updated to pass in GL_RGBA, which should keep the exact same behavior. BUG=595948 CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel ==========
Description was changed from ========== Clean up calls to CreateGpuMemoryBufferImageCHROMIUM. Enforce the requirement that |internalformat| is either GL_RGB or GL_RGBA. This CL should not induce any behavior changes. The previous callers of CreateGpuMemoryBufferImageCHROMIUM were incorrectly passing in GL_BGRA_EXT. They've been updated to pass in GL_RGBA, which should keep the exact same behavior. BUG=595948 CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel ========== to ========== Clean up calls to CreateGpuMemoryBufferImageCHROMIUM. Enforce the requirement that |internalformat| is either GL_RGB or GL_RGBA. This CL should not induce any behavior changes. The previous callers of CreateGpuMemoryBufferImageCHROMIUM were incorrectly passing in GL_BGRA_EXT. They've been updated to pass in GL_RGBA, which has the same behavior in the implementation. BUG=595948 CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel ==========
lgtm -- better to hide this detail from the command buffer client.
Description was changed from ========== Clean up calls to CreateGpuMemoryBufferImageCHROMIUM. Enforce the requirement that |internalformat| is either GL_RGB or GL_RGBA. This CL should not induce any behavior changes. The previous callers of CreateGpuMemoryBufferImageCHROMIUM were incorrectly passing in GL_BGRA_EXT. They've been updated to pass in GL_RGBA, which has the same behavior in the implementation. BUG=595948 CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel ========== to ========== 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 aloowing 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 ==========
Description was changed from ========== 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 aloowing 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 ========== to ========== 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 ==========
On 2016/03/24 19:29:58, ccameron wrote: > lgtm -- better to hide this detail from the command buffer client. I updated the CL description to better reflect the problem: """ 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. """
On 2016/03/24 19:55:03, erikchen wrote: > On 2016/03/24 19:29:58, ccameron wrote: > > lgtm -- better to hide this detail from the command buffer client. > > I updated the CL description to better reflect the problem: > """ > 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. > """ Thanks for clarifying.
The CQ bit was unchecked by commit-bot@chromium.org
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_...)
The CQ bit was checked by erikchen@chromium.org to run a CQ dry run
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
erikchen@chromium.org changed reviewers: + zmo@chromium.org
zmo: Please review gpu/command_buffer
zmo@chromium.org changed reviewers: + piman@chromium.org
piman: can you review the command buffer change instead? I am not familiar with the GpuMemoryBufferImage code.
lgtm
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by erikchen@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from kbr@chromium.org, ccameron@chromium.org Link to the patchset: https://codereview.chromium.org/1832923002/#ps20001 (title: "Fix test failure.")
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
Message was sent while issue was closed.
Committed patchset #2 (id:20001)
Message was sent while issue was closed.
Description was changed from ========== 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 ========== to ========== 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} ==========
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/4d8dc295cccc146320088799dd9af2f90d71232d Cr-Commit-Position: refs/heads/master@{#383243} |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
