| 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 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 | 382 |
| 383 return caps; | 383 return caps; |
| 384 } | 384 } |
| 385 | 385 |
| 386 void GLES2DecoderPassthroughImpl::RestoreState(const ContextState* prev_state) { | 386 void GLES2DecoderPassthroughImpl::RestoreState(const ContextState* prev_state) { |
| 387 | 387 |
| 388 } | 388 } |
| 389 | 389 |
| 390 void GLES2DecoderPassthroughImpl::RestoreActiveTexture() const {} | 390 void GLES2DecoderPassthroughImpl::RestoreActiveTexture() const {} |
| 391 | 391 |
| 392 void GLES2DecoderPassthroughImpl::RestoreAllTextureUnitBindings( | 392 void GLES2DecoderPassthroughImpl::RestoreAllTextureUnitAndSamplerBindings( |
| 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(unsigned int target) {} | 398 void GLES2DecoderPassthroughImpl::RestoreBufferBinding(unsigned int target) {} |
| 399 | 399 |
| 400 void GLES2DecoderPassthroughImpl::RestoreBufferBindings() const {} | 400 void GLES2DecoderPassthroughImpl::RestoreBufferBindings() const {} |
| 401 | 401 |
| 402 void GLES2DecoderPassthroughImpl::RestoreFramebufferBindings() const {} | 402 void GLES2DecoderPassthroughImpl::RestoreFramebufferBindings() const {} |
| (...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 921 }, /* NOLINT */ | 921 }, /* NOLINT */ |
| 922 | 922 |
| 923 const GLES2DecoderPassthroughImpl::CommandInfo | 923 const GLES2DecoderPassthroughImpl::CommandInfo |
| 924 GLES2DecoderPassthroughImpl::command_info[] = { | 924 GLES2DecoderPassthroughImpl::command_info[] = { |
| 925 GLES2_COMMAND_LIST(GLES2_CMD_OP)}; | 925 GLES2_COMMAND_LIST(GLES2_CMD_OP)}; |
| 926 | 926 |
| 927 #undef GLES2_CMD_OP | 927 #undef GLES2_CMD_OP |
| 928 | 928 |
| 929 } // namespace gles2 | 929 } // namespace gles2 |
| 930 } // namespace gpu | 930 } // namespace gpu |
| OLD | NEW |