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

Side by Side Diff: services/ui/gles2/command_buffer_local.cc

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "components/mus/gles2/command_buffer_local.h" 5 #include "services/ui/gles2/command_buffer_local.h"
6 6
7 #include "base/atomic_sequence_num.h" 7 #include "base/atomic_sequence_num.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/memory/shared_memory.h" 9 #include "base/memory/shared_memory.h"
10 #include "base/synchronization/waitable_event.h" 10 #include "base/synchronization/waitable_event.h"
11 #include "base/threading/thread_task_runner_handle.h" 11 #include "base/threading/thread_task_runner_handle.h"
12 #include "components/mus/common/gpu_type_converters.h"
13 #include "components/mus/common/mojo_buffer_backing.h"
14 #include "components/mus/common/mojo_gpu_memory_buffer.h"
15 #include "components/mus/gles2/command_buffer_driver.h"
16 #include "components/mus/gles2/command_buffer_local_client.h"
17 #include "components/mus/gles2/gpu_memory_tracker.h"
18 #include "components/mus/gles2/gpu_state.h"
19 #include "gpu/command_buffer/client/gpu_control_client.h" 12 #include "gpu/command_buffer/client/gpu_control_client.h"
20 #include "gpu/command_buffer/common/gpu_memory_buffer_support.h" 13 #include "gpu/command_buffer/common/gpu_memory_buffer_support.h"
21 #include "gpu/command_buffer/common/sync_token.h" 14 #include "gpu/command_buffer/common/sync_token.h"
22 #include "gpu/command_buffer/service/command_buffer_service.h" 15 #include "gpu/command_buffer/service/command_buffer_service.h"
23 #include "gpu/command_buffer/service/context_group.h" 16 #include "gpu/command_buffer/service/context_group.h"
24 #include "gpu/command_buffer/service/image_manager.h" 17 #include "gpu/command_buffer/service/image_manager.h"
25 #include "gpu/command_buffer/service/memory_tracking.h" 18 #include "gpu/command_buffer/service/memory_tracking.h"
26 #include "gpu/command_buffer/service/shader_translator_cache.h" 19 #include "gpu/command_buffer/service/shader_translator_cache.h"
27 #include "gpu/command_buffer/service/transfer_buffer_manager.h" 20 #include "gpu/command_buffer/service/transfer_buffer_manager.h"
28 #include "mojo/public/cpp/system/platform_handle.h" 21 #include "mojo/public/cpp/system/platform_handle.h"
22 #include "services/ui/common/gpu_type_converters.h"
23 #include "services/ui/common/mojo_buffer_backing.h"
24 #include "services/ui/common/mojo_gpu_memory_buffer.h"
25 #include "services/ui/gles2/command_buffer_driver.h"
26 #include "services/ui/gles2/command_buffer_local_client.h"
27 #include "services/ui/gles2/gpu_memory_tracker.h"
28 #include "services/ui/gles2/gpu_state.h"
29 #include "ui/gfx/buffer_format_util.h" 29 #include "ui/gfx/buffer_format_util.h"
30 #include "ui/gfx/vsync_provider.h" 30 #include "ui/gfx/vsync_provider.h"
31 #include "ui/gl/gl_context.h" 31 #include "ui/gl/gl_context.h"
32 #include "ui/gl/gl_image_shared_memory.h" 32 #include "ui/gl/gl_image_shared_memory.h"
33 #include "ui/gl/gl_surface.h" 33 #include "ui/gl/gl_surface.h"
34 34
35 namespace mus { 35 namespace mus {
36 36
37 namespace { 37 namespace {
38 38
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 client_->UpdateVSyncParameters(timebase, interval); 567 client_->UpdateVSyncParameters(timebase, interval);
568 } 568 }
569 569
570 void CommandBufferLocal::OnGpuCompletedSwapBuffersOnClientThread( 570 void CommandBufferLocal::OnGpuCompletedSwapBuffersOnClientThread(
571 gfx::SwapResult result) { 571 gfx::SwapResult result) {
572 if (client_) 572 if (client_)
573 client_->GpuCompletedSwapBuffers(result); 573 client_->GpuCompletedSwapBuffers(result);
574 } 574 }
575 575
576 } // namespace mus 576 } // namespace mus
OLDNEW
« no previous file with comments | « services/ui/gles2/command_buffer_local.h ('k') | services/ui/gles2/command_buffer_local_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698