Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(321)

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc

Issue 2788793003: gpu: Support other buffer targets for ScopedBufferBinder (Closed)
Patch Set: Update{Pack,Unpack}Parameters() made public Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698