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

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

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, 5 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 namespace gpu { 7 namespace gpu {
8 namespace gles2 { 8 namespace gles2 {
9 9
10 GLES2DecoderPassthroughImpl::GLES2DecoderPassthroughImpl(ContextGroup* group) 10 GLES2DecoderPassthroughImpl::GLES2DecoderPassthroughImpl(ContextGroup* group)
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 } 264 }
265 265
266 void GLES2DecoderPassthroughImpl::ProcessPendingQueries(bool did_finish) {} 266 void GLES2DecoderPassthroughImpl::ProcessPendingQueries(bool did_finish) {}
267 267
268 bool GLES2DecoderPassthroughImpl::HasMoreIdleWork() const { 268 bool GLES2DecoderPassthroughImpl::HasMoreIdleWork() const {
269 return false; 269 return false;
270 } 270 }
271 271
272 void GLES2DecoderPassthroughImpl::PerformIdleWork() {} 272 void GLES2DecoderPassthroughImpl::PerformIdleWork() {}
273 273
274 bool GLES2DecoderPassthroughImpl::HasPollingWork() const {
275 return false;
276 }
277
278 void GLES2DecoderPassthroughImpl::PerformPollingWork() {}
279
274 bool GLES2DecoderPassthroughImpl::GetServiceTextureId( 280 bool GLES2DecoderPassthroughImpl::GetServiceTextureId(
275 uint32_t client_texture_id, 281 uint32_t client_texture_id,
276 uint32_t* service_texture_id) { 282 uint32_t* service_texture_id) {
277 return false; 283 return false;
278 } 284 }
279 285
280 gpu::error::ContextLostReason 286 gpu::error::ContextLostReason
281 GLES2DecoderPassthroughImpl::GetContextLostReason() { 287 GLES2DecoderPassthroughImpl::GetContextLostReason() {
282 return error::kUnknown; 288 return error::kUnknown;
283 } 289 }
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 }, /* NOLINT */ 374 }, /* NOLINT */
369 375
370 const GLES2DecoderPassthroughImpl::CommandInfo 376 const GLES2DecoderPassthroughImpl::CommandInfo
371 GLES2DecoderPassthroughImpl::command_info[] = { 377 GLES2DecoderPassthroughImpl::command_info[] = {
372 GLES2_COMMAND_LIST(GLES2_CMD_OP)}; 378 GLES2_COMMAND_LIST(GLES2_CMD_OP)};
373 379
374 #undef GLES2_CMD_OP 380 #undef GLES2_CMD_OP
375 381
376 } // namespace gles2 382 } // namespace gles2
377 } // namespace gpu 383 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h ('k') | gpu/ipc/service/gpu_command_buffer_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698