OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" | 5 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" |
6 | 6 |
7 #include <limits.h> | 7 #include <limits.h> |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 #include <stdio.h> | 10 #include <stdio.h> |
(...skipping 15964 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15975 error::Error GLES2DecoderImpl::HandleInsertFenceSyncCHROMIUM( | 15975 error::Error GLES2DecoderImpl::HandleInsertFenceSyncCHROMIUM( |
15976 uint32_t immediate_data_size, | 15976 uint32_t immediate_data_size, |
15977 const volatile void* cmd_data) { | 15977 const volatile void* cmd_data) { |
15978 const volatile gles2::cmds::InsertFenceSyncCHROMIUM& c = | 15978 const volatile gles2::cmds::InsertFenceSyncCHROMIUM& c = |
15979 *static_cast<const volatile gles2::cmds::InsertFenceSyncCHROMIUM*>( | 15979 *static_cast<const volatile gles2::cmds::InsertFenceSyncCHROMIUM*>( |
15980 cmd_data); | 15980 cmd_data); |
15981 | 15981 |
15982 const uint64_t release_count = c.release_count(); | 15982 const uint64_t release_count = c.release_count(); |
15983 if (!fence_sync_release_callback_.is_null()) | 15983 if (!fence_sync_release_callback_.is_null()) |
15984 fence_sync_release_callback_.Run(release_count); | 15984 fence_sync_release_callback_.Run(release_count); |
| 15985 ExitCommandProcessingEarly(); |
15985 return error::kNoError; | 15986 return error::kNoError; |
15986 } | 15987 } |
15987 | 15988 |
15988 error::Error GLES2DecoderImpl::HandleWaitSyncTokenCHROMIUM( | 15989 error::Error GLES2DecoderImpl::HandleWaitSyncTokenCHROMIUM( |
15989 uint32_t immediate_data_size, | 15990 uint32_t immediate_data_size, |
15990 const volatile void* cmd_data) { | 15991 const volatile void* cmd_data) { |
15991 const volatile gles2::cmds::WaitSyncTokenCHROMIUM& c = | 15992 const volatile gles2::cmds::WaitSyncTokenCHROMIUM& c = |
15992 *static_cast<const volatile gles2::cmds::WaitSyncTokenCHROMIUM*>( | 15993 *static_cast<const volatile gles2::cmds::WaitSyncTokenCHROMIUM*>( |
15993 cmd_data); | 15994 cmd_data); |
15994 | 15995 |
(...skipping 3571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
19566 } | 19567 } |
19567 | 19568 |
19568 // Include the auto-generated part of this file. We split this because it means | 19569 // Include the auto-generated part of this file. We split this because it means |
19569 // we can easily edit the non-auto generated parts right here in this file | 19570 // we can easily edit the non-auto generated parts right here in this file |
19570 // instead of having to edit some template or the code generator. | 19571 // instead of having to edit some template or the code generator. |
19571 #include "base/macros.h" | 19572 #include "base/macros.h" |
19572 #include "gpu/command_buffer/service/gles2_cmd_decoder_autogen.h" | 19573 #include "gpu/command_buffer/service/gles2_cmd_decoder_autogen.h" |
19573 | 19574 |
19574 } // namespace gles2 | 19575 } // namespace gles2 |
19575 } // namespace gpu | 19576 } // namespace gpu |
OLD | NEW |