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

Side by Side Diff: mojo/aura/surface_context_factory.h

Issue 656263003: cc: Move GpuMemoryBufferManager interface to gpu namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn build fix Created 6 years, 1 month 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
« no previous file with comments | « gpu/command_buffer_client.gypi ('k') | mojo/aura/surface_context_factory.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 MOJO_AURA_SURFACE_CONTEXT_FACTORY_H_ 5 #ifndef MOJO_AURA_SURFACE_CONTEXT_FACTORY_H_
6 #define MOJO_AURA_SURFACE_CONTEXT_FACTORY_H_ 6 #define MOJO_AURA_SURFACE_CONTEXT_FACTORY_H_
7 7
8 #include "mojo/aura/surface_binding.h" 8 #include "mojo/aura/surface_binding.h"
9 #include "ui/compositor/compositor.h" 9 #include "ui/compositor/compositor.h"
10 10
(...skipping 11 matching lines...) Expand all
22 void CreateOutputSurface(base::WeakPtr<ui::Compositor> compositor, 22 void CreateOutputSurface(base::WeakPtr<ui::Compositor> compositor,
23 bool software_fallback) override; 23 bool software_fallback) override;
24 scoped_refptr<ui::Reflector> CreateReflector( 24 scoped_refptr<ui::Reflector> CreateReflector(
25 ui::Compositor* mirrored_compositor, 25 ui::Compositor* mirrored_compositor,
26 ui::Layer* mirroring_layer) override; 26 ui::Layer* mirroring_layer) override;
27 void RemoveReflector(scoped_refptr<ui::Reflector> reflector) override; 27 void RemoveReflector(scoped_refptr<ui::Reflector> reflector) override;
28 scoped_refptr<cc::ContextProvider> SharedMainThreadContextProvider() override; 28 scoped_refptr<cc::ContextProvider> SharedMainThreadContextProvider() override;
29 void RemoveCompositor(ui::Compositor* compositor) override; 29 void RemoveCompositor(ui::Compositor* compositor) override;
30 bool DoesCreateTestContexts() override; 30 bool DoesCreateTestContexts() override;
31 cc::SharedBitmapManager* GetSharedBitmapManager() override; 31 cc::SharedBitmapManager* GetSharedBitmapManager() override;
32 cc::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override; 32 gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override;
33 base::MessageLoopProxy* GetCompositorMessageLoop() override; 33 base::MessageLoopProxy* GetCompositorMessageLoop() override;
34 scoped_ptr<cc::SurfaceIdAllocator> CreateSurfaceIdAllocator() override; 34 scoped_ptr<cc::SurfaceIdAllocator> CreateSurfaceIdAllocator() override;
35 35
36 SurfaceBinding surface_binding_; 36 SurfaceBinding surface_binding_;
37 37
38 DISALLOW_COPY_AND_ASSIGN(SurfaceContextFactory); 38 DISALLOW_COPY_AND_ASSIGN(SurfaceContextFactory);
39 }; 39 };
40 40
41 } // namespace mojo 41 } // namespace mojo
42 42
43 #endif // MOJO_AURA_SURFACE_CONTEXT_FACTORY_H_ 43 #endif // MOJO_AURA_SURFACE_CONTEXT_FACTORY_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer_client.gypi ('k') | mojo/aura/surface_context_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698