| 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/memory/ref_counted.h" | 7 #include "base/memory/ref_counted.h" |
| 8 #include "gpu/command_buffer/common/debug_marker_manager.h" | 8 #include "gpu/command_buffer/common/debug_marker_manager.h" |
| 9 #include "gpu/command_buffer/common/gles2_cmd_format.h" | 9 #include "gpu/command_buffer/common/gles2_cmd_format.h" |
| 10 #include "gpu/command_buffer/common/gles2_cmd_utils.h" | 10 #include "gpu/command_buffer/common/gles2_cmd_utils.h" |
| (...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 | 301 |
| 302 // A callback for messages from the decoder. | 302 // A callback for messages from the decoder. |
| 303 void SetShaderCacheCallback(const ShaderCacheCallback& callback) override {} | 303 void SetShaderCacheCallback(const ShaderCacheCallback& callback) override {} |
| 304 | 304 |
| 305 // Sets the callback for fence sync release and wait calls. The wait call | 305 // Sets the callback for fence sync release and wait calls. The wait call |
| 306 // returns true if the channel is still scheduled. | 306 // returns true if the channel is still scheduled. |
| 307 void SetFenceSyncReleaseCallback( | 307 void SetFenceSyncReleaseCallback( |
| 308 const FenceSyncReleaseCallback& callback) override {} | 308 const FenceSyncReleaseCallback& callback) override {} |
| 309 void SetWaitFenceSyncCallback( | 309 void SetWaitFenceSyncCallback( |
| 310 const WaitFenceSyncCallback& callback) override {} | 310 const WaitFenceSyncCallback& callback) override {} |
| 311 void SetDescheduleUntilFinishedCallback( |
| 312 const NoParamCallback& callback) override {} |
| 313 void SetRescheduleAfterFinishedCallback( |
| 314 const NoParamCallback& callback) override {} |
| 311 | 315 |
| 312 void WaitForReadPixels(base::Closure callback) override {} | 316 void WaitForReadPixels(base::Closure callback) override {} |
| 313 | 317 |
| 314 uint32_t GetTextureUploadCount() override { return 0; } | 318 uint32_t GetTextureUploadCount() override { return 0; } |
| 315 | 319 |
| 316 base::TimeDelta GetTotalTextureUploadTime() override { | 320 base::TimeDelta GetTotalTextureUploadTime() override { |
| 317 return base::TimeDelta(); | 321 return base::TimeDelta(); |
| 318 } | 322 } |
| 319 | 323 |
| 320 base::TimeDelta GetTotalProcessingCommandsTime() override { | 324 base::TimeDelta GetTotalProcessingCommandsTime() override { |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 372 | 376 |
| 373 const GLES2DecoderPassthroughImpl::CommandInfo | 377 const GLES2DecoderPassthroughImpl::CommandInfo |
| 374 GLES2DecoderPassthroughImpl::command_info[] = {}; | 378 GLES2DecoderPassthroughImpl::command_info[] = {}; |
| 375 | 379 |
| 376 GLES2Decoder* CreateGLES2DecoderPassthroughImpl(ContextGroup* group) { | 380 GLES2Decoder* CreateGLES2DecoderPassthroughImpl(ContextGroup* group) { |
| 377 return new GLES2DecoderPassthroughImpl(group); | 381 return new GLES2DecoderPassthroughImpl(group); |
| 378 } | 382 } |
| 379 | 383 |
| 380 } // namespace gles2 | 384 } // namespace gles2 |
| 381 } // namespace gpu | 385 } // namespace gpu |
| OLD | NEW |