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

Issue 2602563002: Refactor DrawTextureQuad and CheckPixels in gl_tests util (Closed)

Created:
3 years, 12 months ago by qiankun
Modified:
3 years, 11 months ago
CC:
chromium-reviews, piman+watch_chromium.org, Yang Gu
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor DrawTextureQuad and CheckPixels in gl_tests util BUG=612542 TEST=gl_tests CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/5fae2b9711128d4c0b88064c6cda1dfe97119e4e Cr-Commit-Position: refs/heads/master@{#441310}

Patch Set 1 #

Patch Set 2 : git cl format #

Total comments: 2

Patch Set 3 : add comment for mask #

Patch Set 4 : rebase only #

Unified diffs Side-by-side diffs Delta from patch set Stats (+274 lines, -298 lines) Patch
M gpu/command_buffer/tests/compressed_texture_test.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M gpu/command_buffer/tests/gl_apply_screen_space_antialiasing_CHROMIUM_unittest.cc View 6 chunks +14 lines, -14 lines 0 comments Download
M gpu/command_buffer/tests/gl_bind_uniform_location_unittest.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M gpu/command_buffer/tests/gl_chromium_framebuffer_multisample_unittest.cc View 2 chunks +5 lines, -12 lines 0 comments Download
M gpu/command_buffer/tests/gl_chromium_path_rendering_unittest.cc View 8 chunks +22 lines, -17 lines 0 comments Download
M gpu/command_buffer/tests/gl_clear_framebuffer_unittest.cc View 7 chunks +15 lines, -15 lines 0 comments Download
M gpu/command_buffer/tests/gl_compressed_copy_texture_CHROMIUM_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/tests/gl_copy_tex_image_2d_workaround_unittest.cc View 1 4 chunks +72 lines, -10 lines 0 comments Download
M gpu/command_buffer/tests/gl_copy_texture_CHROMIUM_unittest.cc View 1 2 3 11 chunks +27 lines, -59 lines 0 comments Download
M gpu/command_buffer/tests/gl_cube_map_texture_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/tests/gl_ext_blend_func_extended_unittest.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M gpu/command_buffer/tests/gl_ext_srgb_unittest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M gpu/command_buffer/tests/gl_gpu_memory_buffer_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 1 chunk +4 lines, -4 lines 0 comments Download
M gpu/command_buffer/tests/gl_lose_context_chromium_unittest.cc View 1 chunk +5 lines, -3 lines 0 comments Download
M gpu/command_buffer/tests/gl_map_buffer_range_unittest.cc View 10 chunks +30 lines, -30 lines 0 comments Download
M gpu/command_buffer/tests/gl_pointcoord_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/tests/gl_program_unittest.cc View 4 chunks +6 lines, -4 lines 0 comments Download
M gpu/command_buffer/tests/gl_stream_draw_unittest.cc View 3 chunks +14 lines, -9 lines 0 comments Download
M gpu/command_buffer/tests/gl_test_utils.h View 1 2 2 chunks +8 lines, -6 lines 0 comments Download
M gpu/command_buffer/tests/gl_test_utils.cc View 5 chunks +11 lines, -74 lines 0 comments Download
M gpu/command_buffer/tests/gl_texture_storage_unittest.cc View 2 chunks +3 lines, -9 lines 0 comments Download
M gpu/command_buffer/tests/gl_unittest.cc View 3 chunks +5 lines, -4 lines 0 comments Download
M gpu/command_buffer/tests/gl_virtual_contexts_unittest.cc View 7 chunks +16 lines, -12 lines 0 comments Download

Messages

Total messages: 16 (10 generated)
qiankun
After this refactoring, it will be easy to add new tests for other enhancements. PTAL.
3 years, 12 months ago (2016-12-23 16:53:44 UTC) #6
Zhenyao Mo
lgtm https://codereview.chromium.org/2602563002/diff/80001/gpu/command_buffer/tests/gl_test_utils.h File gpu/command_buffer/tests/gl_test_utils.h (right): https://codereview.chromium.org/2602563002/diff/80001/gpu/command_buffer/tests/gl_test_utils.h#newcode64 gpu/command_buffer/tests/gl_test_utils.h:64: const uint8_t* mask); Can you add a comment ...
3 years, 11 months ago (2017-01-03 23:09:00 UTC) #7
qiankun
Thanks. Land now. https://codereview.chromium.org/2602563002/diff/80001/gpu/command_buffer/tests/gl_test_utils.h File gpu/command_buffer/tests/gl_test_utils.h (right): https://codereview.chromium.org/2602563002/diff/80001/gpu/command_buffer/tests/gl_test_utils.h#newcode64 gpu/command_buffer/tests/gl_test_utils.h:64: const uint8_t* mask); On 2017/01/03 23:09:00, ...
3 years, 11 months ago (2017-01-04 02:39:57 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2602563002/120001
3 years, 11 months ago (2017-01-04 02:53:17 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:120001)
3 years, 11 months ago (2017-01-04 03:33:29 UTC) #14
commit-bot: I haz the power
3 years, 11 months ago (2017-01-04 03:35:40 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/5fae2b9711128d4c0b88064c6cda1dfe97119e4e
Cr-Commit-Position: refs/heads/master@{#441310}

Powered by Google App Engine
This is Rietveld 408576698