| OLD | NEW | 
|    1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |    1 // Copyright (c) 2012 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/ipc/service/gpu_channel_manager.h" |    5 #include "gpu/ipc/service/gpu_channel_manager.h" | 
|    6  |    6  | 
|    7 #include <algorithm> |    7 #include <algorithm> | 
|    8 #include <utility> |    8 #include <utility> | 
|    9  |    9  | 
|   10 #include "base/bind.h" |   10 #include "base/bind.h" | 
|   11 #include "base/command_line.h" |   11 #include "base/command_line.h" | 
|   12 #include "base/location.h" |   12 #include "base/location.h" | 
|   13 #include "base/memory/ptr_util.h" |   13 #include "base/memory/ptr_util.h" | 
|   14 #include "base/single_thread_task_runner.h" |   14 #include "base/single_thread_task_runner.h" | 
|   15 #include "base/thread_task_runner_handle.h" |   15 #include "base/threading/thread_task_runner_handle.h" | 
|   16 #include "build/build_config.h" |   16 #include "build/build_config.h" | 
|   17 #include "gpu/command_buffer/common/sync_token.h" |   17 #include "gpu/command_buffer/common/sync_token.h" | 
|   18 #include "gpu/command_buffer/service/feature_info.h" |   18 #include "gpu/command_buffer/service/feature_info.h" | 
|   19 #include "gpu/command_buffer/service/mailbox_manager.h" |   19 #include "gpu/command_buffer/service/mailbox_manager.h" | 
|   20 #include "gpu/command_buffer/service/memory_program_cache.h" |   20 #include "gpu/command_buffer/service/memory_program_cache.h" | 
|   21 #include "gpu/command_buffer/service/shader_translator_cache.h" |   21 #include "gpu/command_buffer/service/shader_translator_cache.h" | 
|   22 #include "gpu/command_buffer/service/sync_point_manager.h" |   22 #include "gpu/command_buffer/service/sync_point_manager.h" | 
|   23 #include "gpu/ipc/common/gpu_messages.h" |   23 #include "gpu/ipc/common/gpu_messages.h" | 
|   24 #include "gpu/ipc/service/gpu_channel.h" |   24 #include "gpu/ipc/service/gpu_channel.h" | 
|   25 #include "gpu/ipc/service/gpu_channel_manager_delegate.h" |   25 #include "gpu/ipc/service/gpu_channel_manager_delegate.h" | 
| (...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  305     } |  305     } | 
|  306   } |  306   } | 
|  307   if (!stub || !stub->decoder()->MakeCurrent()) |  307   if (!stub || !stub->decoder()->MakeCurrent()) | 
|  308     return; |  308     return; | 
|  309   glFinish(); |  309   glFinish(); | 
|  310   DidAccessGpu(); |  310   DidAccessGpu(); | 
|  311 } |  311 } | 
|  312 #endif |  312 #endif | 
|  313  |  313  | 
|  314 }  // namespace gpu |  314 }  // namespace gpu | 
| OLD | NEW |