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

Issue 859043005: Add Sync related APIs to GPU command buffer: Part I (Closed)

Created:
5 years, 11 months ago by Zhenyao Mo
Modified:
5 years, 11 months ago
Reviewers:
piman
CC:
chromium-reviews, piman+watch_chromium.org, Ken Russell (switch to Gerrit), vmiura, no sievers, bajones
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add Sync related APIs to GPU command buffer. glFenceSync glIsFence glDeleteFence Most of the work is to deal with the fact that GLsync is not like any other ID types (GLuint). BUG=429053 TEST=gpu_unittests Committed: https://crrev.com/b5e2c68d2572cf5a38a0329e5daaee5fc27f32fe Cr-Commit-Position: refs/heads/master@{#312544}

Patch Set 1 : FenceSync #

Patch Set 2 : IsSync #

Patch Set 3 : glDeleteSync #

Patch Set 4 : rebase #

Total comments: 6

Patch Set 5 : FINAL #

Patch Set 6 : Make win bots happy #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1093 lines, -455 lines) Patch
M gpu/GLES2/gl2chromium_autogen.h View 1 2 3 chunks +3 lines, -0 lines 0 comments Download
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 2 3 4 5 23 chunks +203 lines, -37 lines 0 comments Download
M gpu/command_buffer/client/gles2_c_lib_autogen.h View 1 2 6 chunks +21 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_cmd_helper_autogen.h View 1 2 3 3 chunks +21 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation.cc View 1 2 3 4 1 chunk +14 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_autogen.h View 1 2 3 chunks +6 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_impl_autogen.h View 1 2 3 3 chunks +47 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_unittest.cc View 1 2 3 1 chunk +23 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_unittest_autogen.h View 1 2 14 chunks +43 lines, -32 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_autogen.h View 1 2 3 chunks +3 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_stub_autogen.h View 1 2 3 chunks +3 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_stub_impl_autogen.h View 1 2 3 chunks +9 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_trace_implementation_autogen.h View 1 2 3 chunks +3 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h View 1 2 3 chunks +15 lines, -0 lines 0 comments Download
M gpu/command_buffer/cmd_buffer_functions.txt View 1 2 3 chunks +3 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format.h View 2 chunks +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_autogen.h View 1 2 3 3 chunks +113 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_test_autogen.h View 1 2 3 3 chunks +32 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_ids_autogen.h View 1 2 1 chunk +217 lines, -214 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_utils_autogen.h View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h View 1 chunk +8 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/context_group.h View 1 2 3 4 5 chunks +23 lines, -5 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 2 chunks +0 lines, -28 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_autogen.h View 1 2 3 7 chunks +73 lines, -5 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_1.cc View 1 2 1 chunk +0 lines, -27 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h View 1 2 3 4 5 5 chunks +30 lines, -81 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_2.cc View 1 2 1 chunk +27 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_2_autogen.h View 1 2 3 chunks +101 lines, -26 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_3_autogen.h View 1 2 1 chunk +26 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h View 1 2 3 4 chunks +7 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc View 1 2 3 4 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (16 generated)
Zhenyao Mo
piman: please review. Others: FYI (feel free to review)
5 years, 11 months ago (2015-01-22 00:04:03 UTC) #16
piman
lgtm https://codereview.chromium.org/859043005/diff/340001/gpu/command_buffer/client/gles2_implementation.cc File gpu/command_buffer/client/gles2_implementation.cc (right): https://codereview.chromium.org/859043005/diff/340001/gpu/command_buffer/client/gles2_implementation.cc#newcode980 gpu/command_buffer/client/gles2_implementation.cc:980: GLuint my_sync = ToGLuint(sync); nit: anything better than ...
5 years, 11 months ago (2015-01-22 00:49:32 UTC) #17
Zhenyao Mo
https://codereview.chromium.org/859043005/diff/340001/gpu/command_buffer/client/gles2_implementation.cc File gpu/command_buffer/client/gles2_implementation.cc (right): https://codereview.chromium.org/859043005/diff/340001/gpu/command_buffer/client/gles2_implementation.cc#newcode980 gpu/command_buffer/client/gles2_implementation.cc:980: GLuint my_sync = ToGLuint(sync); On 2015/01/22 00:49:32, piman (Very ...
5 years, 11 months ago (2015-01-22 01:12:57 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/859043005/380001
5 years, 11 months ago (2015-01-22 01:32:41 UTC) #20
commit-bot: I haz the power
Committed patchset #6 (id:380001)
5 years, 11 months ago (2015-01-22 02:51:05 UTC) #21
commit-bot: I haz the power
5 years, 11 months ago (2015-01-22 02:52:35 UTC) #22
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/b5e2c68d2572cf5a38a0329e5daaee5fc27f32fe
Cr-Commit-Position: refs/heads/master@{#312544}

Powered by Google App Engine
This is Rietveld 408576698