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

Side by Side Diff: components/mus/surfaces/top_level_display_client.h

Issue 1854953002: Plumb GpuSwapBuffers completion from Mus GPU thread to WS thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review nits Created 4 years, 8 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 #ifndef COMPONENTS_MUS_SURFACES_DISPLAY_IMPL_H_ 5 #ifndef COMPONENTS_MUS_SURFACES_TOP_LEVEL_DISPLAY_CLIENT_H_
6 #define COMPONENTS_MUS_SURFACES_DISPLAY_IMPL_H_ 6 #define COMPONENTS_MUS_SURFACES_TOP_LEVEL_DISPLAY_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/ref_counted.h"
11 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
12 #include "cc/surfaces/display_client.h" 13 #include "cc/surfaces/display_client.h"
13 #include "cc/surfaces/surface_factory.h" 14 #include "cc/surfaces/surface_factory.h"
14 #include "cc/surfaces/surface_factory_client.h" 15 #include "cc/surfaces/surface_factory_client.h"
15 #include "components/mus/gles2/gpu_state.h" 16 #include "components/mus/gles2/gpu_state.h"
16 #include "components/mus/public/interfaces/window_manager.mojom.h" 17 #include "components/mus/public/interfaces/window_manager.mojom.h"
17 #include "components/mus/surfaces/surfaces_context_provider.h" 18 #include "components/mus/surfaces/surfaces_context_provider.h"
18 #include "components/mus/surfaces/surfaces_context_provider_delegate.h" 19 #include "components/mus/surfaces/surfaces_context_provider_delegate.h"
19 #include "components/mus/surfaces/surfaces_state.h" 20 #include "components/mus/surfaces/surfaces_state.h"
20 #include "mojo/public/cpp/bindings/strong_binding.h" 21 #include "mojo/public/cpp/bindings/strong_binding.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 77
77 scoped_ptr<cc::SyntheticBeginFrameSource> synthetic_frame_source_; 78 scoped_ptr<cc::SyntheticBeginFrameSource> synthetic_frame_source_;
78 scoped_ptr<cc::DisplayScheduler> scheduler_; 79 scoped_ptr<cc::DisplayScheduler> scheduler_;
79 scoped_ptr<cc::Display> display_; 80 scoped_ptr<cc::Display> display_;
80 81
81 DISALLOW_COPY_AND_ASSIGN(TopLevelDisplayClient); 82 DISALLOW_COPY_AND_ASSIGN(TopLevelDisplayClient);
82 }; 83 };
83 84
84 } // namespace mus 85 } // namespace mus
85 86
86 #endif // COMPONENTS_MUS_SURFACES_DISPLAY_IMPL_H_ 87 #endif // COMPONENTS_MUS_SURFACES_TOP_LEVEL_DISPLAY_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698