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

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

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 // This file contains the GLES2DecoderPassthroughImpl class. 5 // This file contains the GLES2DecoderPassthroughImpl class.
6 6
7 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_PASSTHROUGH_H_ 7 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_PASSTHROUGH_H_
8 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_PASSTHROUGH_H_ 8 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_PASSTHROUGH_H_
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 const FenceSyncReleaseCallback& callback) override; 151 const FenceSyncReleaseCallback& callback) override;
152 void SetWaitSyncTokenCallback(const WaitSyncTokenCallback& callback) override; 152 void SetWaitSyncTokenCallback(const WaitSyncTokenCallback& callback) override;
153 void SetDescheduleUntilFinishedCallback( 153 void SetDescheduleUntilFinishedCallback(
154 const NoParamCallback& callback) override; 154 const NoParamCallback& callback) override;
155 void SetRescheduleAfterFinishedCallback( 155 void SetRescheduleAfterFinishedCallback(
156 const NoParamCallback& callback) override; 156 const NoParamCallback& callback) override;
157 157
158 // Gets the QueryManager for this context. 158 // Gets the QueryManager for this context.
159 QueryManager* GetQueryManager() override; 159 QueryManager* GetQueryManager() override;
160 160
161 // Gets the FramebufferManager for this context.
162 FramebufferManager* GetFramebufferManager() override;
163
161 // Gets the TransformFeedbackManager for this context. 164 // Gets the TransformFeedbackManager for this context.
162 TransformFeedbackManager* GetTransformFeedbackManager() override; 165 TransformFeedbackManager* GetTransformFeedbackManager() override;
163 166
164 // Gets the VertexArrayManager for this context. 167 // Gets the VertexArrayManager for this context.
165 VertexArrayManager* GetVertexArrayManager() override; 168 VertexArrayManager* GetVertexArrayManager() override;
166 169
167 // Gets the ImageManager for this context. 170 // Gets the ImageManager for this context.
168 ImageManager* GetImageManager() override; 171 ImageManager* GetImageManager() override;
169 172
170 // Returns false if there are no pending queries. 173 // Returns false if there are no pending queries.
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 400
398 // Include the prototypes of all the doer functions from a separate header to 401 // Include the prototypes of all the doer functions from a separate header to
399 // keep this file clean. 402 // keep this file clean.
400 #include "gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doer_prototyp es.h" 403 #include "gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doer_prototyp es.h"
401 }; 404 };
402 405
403 } // namespace gles2 406 } // namespace gles2
404 } // namespace gpu 407 } // namespace gpu
405 408
406 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_PASSTHROUGH_H_ 409 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_PASSTHROUGH_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698