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( | 398 void GLES2DecoderPassthroughImpl::RestoreBufferBinding(unsigned int target) {} |
399 unsigned int target) const {} | |
400 | 399 |
401 void GLES2DecoderPassthroughImpl::RestoreBufferBindings() const {} | 400 void GLES2DecoderPassthroughImpl::RestoreBufferBindings() const {} |
402 | 401 |
403 void GLES2DecoderPassthroughImpl::RestoreFramebufferBindings() const {} | 402 void GLES2DecoderPassthroughImpl::RestoreFramebufferBindings() const {} |
404 | 403 |
405 void GLES2DecoderPassthroughImpl::RestoreRenderbufferBindings() {} | 404 void GLES2DecoderPassthroughImpl::RestoreRenderbufferBindings() {} |
406 | 405 |
407 void GLES2DecoderPassthroughImpl::RestoreGlobalState() const {} | 406 void GLES2DecoderPassthroughImpl::RestoreGlobalState() const {} |
408 | 407 |
409 void GLES2DecoderPassthroughImpl::RestoreProgramBindings() const {} | 408 void GLES2DecoderPassthroughImpl::RestoreProgramBindings() const {} |
(...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
894 }, /* NOLINT */ | 893 }, /* NOLINT */ |
895 | 894 |
896 const GLES2DecoderPassthroughImpl::CommandInfo | 895 const GLES2DecoderPassthroughImpl::CommandInfo |
897 GLES2DecoderPassthroughImpl::command_info[] = { | 896 GLES2DecoderPassthroughImpl::command_info[] = { |
898 GLES2_COMMAND_LIST(GLES2_CMD_OP)}; | 897 GLES2_COMMAND_LIST(GLES2_CMD_OP)}; |
899 | 898 |
900 #undef GLES2_CMD_OP | 899 #undef GLES2_CMD_OP |
901 | 900 |
902 } // namespace gles2 | 901 } // namespace gles2 |
903 } // namespace gpu | 902 } // namespace gpu |
OLD | NEW |