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

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

Issue 2056413003: Fix a bug in the implementation of DescheduleUntilFinishedCHROMIUM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile error on windows. Created 4 years, 6 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 128
129 // Process any pending queries. 129 // Process any pending queries.
130 void ProcessPendingQueries(bool did_finish) override; 130 void ProcessPendingQueries(bool did_finish) override;
131 131
132 // Returns false if there is no idle work to be made. 132 // Returns false if there is no idle work to be made.
133 bool HasMoreIdleWork() const override; 133 bool HasMoreIdleWork() const override;
134 134
135 // Perform any idle work that needs to be made. 135 // Perform any idle work that needs to be made.
136 void PerformIdleWork() override; 136 void PerformIdleWork() override;
137 137
138 bool HasPollingWork() const override;
139 void PerformPollingWork() override;
140
138 bool GetServiceTextureId(uint32_t client_texture_id, 141 bool GetServiceTextureId(uint32_t client_texture_id,
139 uint32_t* service_texture_id) override; 142 uint32_t* service_texture_id) override;
140 143
141 // Provides detail about a lost context if one occurred. 144 // Provides detail about a lost context if one occurred.
142 error::ContextLostReason GetContextLostReason() override; 145 error::ContextLostReason GetContextLostReason() override;
143 146
144 // Clears a level sub area of a texture 147 // Clears a level sub area of a texture
145 // Returns false if a GL error should be generated. 148 // Returns false if a GL error should be generated.
146 bool ClearLevel(Texture* texture, 149 bool ClearLevel(Texture* texture,
147 unsigned target, 150 unsigned target,
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 248
246 // Include the prototypes of all the doer functions from a separate header to 249 // Include the prototypes of all the doer functions from a separate header to
247 // keep this file clean. 250 // keep this file clean.
248 #include "gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doer_prototyp es.h" 251 #include "gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doer_prototyp es.h"
249 }; 252 };
250 253
251 } // namespace gles2 254 } // namespace gles2
252 } // namespace gpu 255 } // namespace gpu
253 256
254 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_PASSTHROUGH_H_ 257 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_PASSTHROUGH_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder_mock.h ('k') | gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698