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

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

Issue 2826043002: Do not share FBOs/VAOs/Transform feedback objects across contexts (Closed)
Patch Set: added DeleteFramebuffers() expectation Created 3 years, 7 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
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 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 void GLES2DecoderPassthroughImpl::SetDescheduleUntilFinishedCallback( 449 void GLES2DecoderPassthroughImpl::SetDescheduleUntilFinishedCallback(
450 const NoParamCallback& callback) {} 450 const NoParamCallback& callback) {}
451 451
452 void GLES2DecoderPassthroughImpl::SetRescheduleAfterFinishedCallback( 452 void GLES2DecoderPassthroughImpl::SetRescheduleAfterFinishedCallback(
453 const NoParamCallback& callback) {} 453 const NoParamCallback& callback) {}
454 454
455 gpu::gles2::QueryManager* GLES2DecoderPassthroughImpl::GetQueryManager() { 455 gpu::gles2::QueryManager* GLES2DecoderPassthroughImpl::GetQueryManager() {
456 return nullptr; 456 return nullptr;
457 } 457 }
458 458
459 gpu::gles2::FramebufferManager*
460 GLES2DecoderPassthroughImpl::GetFramebufferManager() {
461 return nullptr;
462 }
463
459 gpu::gles2::TransformFeedbackManager* 464 gpu::gles2::TransformFeedbackManager*
460 GLES2DecoderPassthroughImpl::GetTransformFeedbackManager() { 465 GLES2DecoderPassthroughImpl::GetTransformFeedbackManager() {
461 return nullptr; 466 return nullptr;
462 } 467 }
463 468
464 gpu::gles2::VertexArrayManager* 469 gpu::gles2::VertexArrayManager*
465 GLES2DecoderPassthroughImpl::GetVertexArrayManager() { 470 GLES2DecoderPassthroughImpl::GetVertexArrayManager() {
466 return nullptr; 471 return nullptr;
467 } 472 }
468 473
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
908 }, /* NOLINT */ 913 }, /* NOLINT */
909 914
910 const GLES2DecoderPassthroughImpl::CommandInfo 915 const GLES2DecoderPassthroughImpl::CommandInfo
911 GLES2DecoderPassthroughImpl::command_info[] = { 916 GLES2DecoderPassthroughImpl::command_info[] = {
912 GLES2_COMMAND_LIST(GLES2_CMD_OP)}; 917 GLES2_COMMAND_LIST(GLES2_CMD_OP)};
913 918
914 #undef GLES2_CMD_OP 919 #undef GLES2_CMD_OP
915 920
916 } // namespace gles2 921 } // namespace gles2
917 } // namespace gpu 922 } // namespace gpu
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698