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

Side by Side Diff: components/view_manager/surfaces/display_factory_impl.cc

Issue 1150093003: Move GLES2, GPU & Surfaces into the ViewManager directory. This does not merge the applications, th… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 7 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/surfaces/display_factory_impl.h" 5 #include "components/view_manager/surfaces/display_factory_impl.h"
6 6
7 #include "cc/surfaces/surface_id.h" 7 #include "cc/surfaces/surface_id.h"
8 8
9 namespace surfaces { 9 namespace surfaces {
10 10
11 DisplayFactoryImpl::DisplayFactoryImpl( 11 DisplayFactoryImpl::DisplayFactoryImpl(
12 SurfacesServiceApplication* application, 12 SurfacesServiceApplication* application,
13 cc::SurfaceManager* manager, 13 cc::SurfaceManager* manager,
14 uint32_t id_namespace, 14 uint32_t id_namespace,
15 SurfacesScheduler* scheduler, 15 SurfacesScheduler* scheduler,
(...skipping 14 matching lines...) Expand all
30 mojo::ResourceReturnerPtr returner, 30 mojo::ResourceReturnerPtr returner,
31 mojo::InterfaceRequest<mojo::Display> display_request) { 31 mojo::InterfaceRequest<mojo::Display> display_request) {
32 cc::SurfaceId cc_id(static_cast<uint64_t>(id_namespace_) << 32 | 32 cc::SurfaceId cc_id(static_cast<uint64_t>(id_namespace_) << 32 |
33 next_local_id_++); 33 next_local_id_++);
34 new DisplayImpl(application_, manager_, cc_id, scheduler_, 34 new DisplayImpl(application_, manager_, cc_id, scheduler_,
35 context_provider.Pass(), returner.Pass(), 35 context_provider.Pass(), returner.Pass(),
36 display_request.Pass()); 36 display_request.Pass());
37 } 37 }
38 38
39 } // namespace surfaces 39 } // namespace surfaces
OLDNEW
« no previous file with comments | « components/view_manager/surfaces/display_factory_impl.h ('k') | components/view_manager/surfaces/display_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698