| 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 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 388 } | 388 } |
| 389 | 389 |
| 390 void GLES2DecoderPassthroughImpl::RestoreActiveTexture() const {} | 390 void GLES2DecoderPassthroughImpl::RestoreActiveTexture() const {} |
| 391 | 391 |
| 392 void GLES2DecoderPassthroughImpl::RestoreAllTextureUnitBindings( | 392 void GLES2DecoderPassthroughImpl::RestoreAllTextureUnitBindings( |
| 393 const ContextState* prev_state) const {} | 393 const ContextState* prev_state) const {} |
| 394 | 394 |
| 395 void GLES2DecoderPassthroughImpl::RestoreActiveTextureUnitBinding( | 395 void GLES2DecoderPassthroughImpl::RestoreActiveTextureUnitBinding( |
| 396 unsigned int target) const {} | 396 unsigned int target) const {} |
| 397 | 397 |
| 398 void GLES2DecoderPassthroughImpl::RestoreBufferBinding( |
| 399 unsigned int target) const {} |
| 400 |
| 398 void GLES2DecoderPassthroughImpl::RestoreBufferBindings() const {} | 401 void GLES2DecoderPassthroughImpl::RestoreBufferBindings() const {} |
| 399 | 402 |
| 400 void GLES2DecoderPassthroughImpl::RestoreFramebufferBindings() const {} | 403 void GLES2DecoderPassthroughImpl::RestoreFramebufferBindings() const {} |
| 401 | 404 |
| 402 void GLES2DecoderPassthroughImpl::RestoreRenderbufferBindings() {} | 405 void GLES2DecoderPassthroughImpl::RestoreRenderbufferBindings() {} |
| 403 | 406 |
| 404 void GLES2DecoderPassthroughImpl::RestoreGlobalState() const {} | 407 void GLES2DecoderPassthroughImpl::RestoreGlobalState() const {} |
| 405 | 408 |
| 406 void GLES2DecoderPassthroughImpl::RestoreProgramBindings() const {} | 409 void GLES2DecoderPassthroughImpl::RestoreProgramBindings() const {} |
| 407 | 410 |
| 408 void GLES2DecoderPassthroughImpl::RestoreTextureState( | 411 void GLES2DecoderPassthroughImpl::RestoreTextureState( |
| 409 unsigned service_id) const {} | 412 unsigned service_id) const {} |
| 410 | 413 |
| 411 void GLES2DecoderPassthroughImpl::RestoreTextureUnitBindings( | 414 void GLES2DecoderPassthroughImpl::RestoreTextureUnitBindings( |
| 412 unsigned unit) const {} | 415 unsigned unit) const {} |
| 413 | 416 |
| 417 void GLES2DecoderPassthroughImpl::RestoreVertexAttribArray(unsigned index) {} |
| 418 |
| 414 void GLES2DecoderPassthroughImpl::RestoreAllExternalTextureBindingsIfNeeded() {} | 419 void GLES2DecoderPassthroughImpl::RestoreAllExternalTextureBindingsIfNeeded() {} |
| 415 | 420 |
| 416 void GLES2DecoderPassthroughImpl::ClearAllAttributes() const {} | 421 void GLES2DecoderPassthroughImpl::ClearAllAttributes() const {} |
| 417 | 422 |
| 418 void GLES2DecoderPassthroughImpl::RestoreAllAttributes() const {} | 423 void GLES2DecoderPassthroughImpl::RestoreAllAttributes() const {} |
| 419 | 424 |
| 420 void GLES2DecoderPassthroughImpl::SetIgnoreCachedStateForTest(bool ignore) {} | 425 void GLES2DecoderPassthroughImpl::SetIgnoreCachedStateForTest(bool ignore) {} |
| 421 | 426 |
| 422 void GLES2DecoderPassthroughImpl::SetForceShaderNameHashingForTest(bool force) { | 427 void GLES2DecoderPassthroughImpl::SetForceShaderNameHashingForTest(bool force) { |
| 423 | 428 |
| (...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 889 }, /* NOLINT */ | 894 }, /* NOLINT */ |
| 890 | 895 |
| 891 const GLES2DecoderPassthroughImpl::CommandInfo | 896 const GLES2DecoderPassthroughImpl::CommandInfo |
| 892 GLES2DecoderPassthroughImpl::command_info[] = { | 897 GLES2DecoderPassthroughImpl::command_info[] = { |
| 893 GLES2_COMMAND_LIST(GLES2_CMD_OP)}; | 898 GLES2_COMMAND_LIST(GLES2_CMD_OP)}; |
| 894 | 899 |
| 895 #undef GLES2_CMD_OP | 900 #undef GLES2_CMD_OP |
| 896 | 901 |
| 897 } // namespace gles2 | 902 } // namespace gles2 |
| 898 } // namespace gpu | 903 } // namespace gpu |
| OLD | NEW |