OLD | NEW |
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2016 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_passthrough.h" | 5 #include "gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h" |
6 | 6 |
7 #include "base/strings/string_split.h" | 7 #include "base/strings/string_split.h" |
8 #include "gpu/command_buffer/service/feature_info.h" | 8 #include "gpu/command_buffer/service/feature_info.h" |
9 #include "gpu/command_buffer/service/gl_utils.h" | 9 #include "gpu/command_buffer/service/gl_utils.h" |
10 #include "ui/gl/gl_version_info.h" | 10 #include "ui/gl/gl_version_info.h" |
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 | 418 |
419 size_t GLES2DecoderPassthroughImpl::GetCreatedBackTextureCountForTest() { | 419 size_t GLES2DecoderPassthroughImpl::GetCreatedBackTextureCountForTest() { |
420 return 0; | 420 return 0; |
421 } | 421 } |
422 | 422 |
423 void GLES2DecoderPassthroughImpl::SetFenceSyncReleaseCallback( | 423 void GLES2DecoderPassthroughImpl::SetFenceSyncReleaseCallback( |
424 const FenceSyncReleaseCallback& callback) { | 424 const FenceSyncReleaseCallback& callback) { |
425 fence_sync_release_callback_ = callback; | 425 fence_sync_release_callback_ = callback; |
426 } | 426 } |
427 | 427 |
428 void GLES2DecoderPassthroughImpl::SetWaitFenceSyncCallback( | 428 void GLES2DecoderPassthroughImpl::SetWaitSyncTokenCallback( |
429 const WaitFenceSyncCallback& callback) { | 429 const WaitSyncTokenCallback& callback) { |
430 wait_fence_sync_callback_ = callback; | 430 wait_sync_token_callback_ = callback; |
431 } | 431 } |
432 | 432 |
433 void GLES2DecoderPassthroughImpl::SetDescheduleUntilFinishedCallback( | 433 void GLES2DecoderPassthroughImpl::SetDescheduleUntilFinishedCallback( |
434 const NoParamCallback& callback) {} | 434 const NoParamCallback& callback) {} |
435 | 435 |
436 void GLES2DecoderPassthroughImpl::SetRescheduleAfterFinishedCallback( | 436 void GLES2DecoderPassthroughImpl::SetRescheduleAfterFinishedCallback( |
437 const NoParamCallback& callback) {} | 437 const NoParamCallback& callback) {} |
438 | 438 |
439 gpu::gles2::QueryManager* GLES2DecoderPassthroughImpl::GetQueryManager() { | 439 gpu::gles2::QueryManager* GLES2DecoderPassthroughImpl::GetQueryManager() { |
440 return nullptr; | 440 return nullptr; |
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
859 }, /* NOLINT */ | 859 }, /* NOLINT */ |
860 | 860 |
861 const GLES2DecoderPassthroughImpl::CommandInfo | 861 const GLES2DecoderPassthroughImpl::CommandInfo |
862 GLES2DecoderPassthroughImpl::command_info[] = { | 862 GLES2DecoderPassthroughImpl::command_info[] = { |
863 GLES2_COMMAND_LIST(GLES2_CMD_OP)}; | 863 GLES2_COMMAND_LIST(GLES2_CMD_OP)}; |
864 | 864 |
865 #undef GLES2_CMD_OP | 865 #undef GLES2_CMD_OP |
866 | 866 |
867 } // namespace gles2 | 867 } // namespace gles2 |
868 } // namespace gpu | 868 } // namespace gpu |
OLD | NEW |