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

Side by Side Diff: mandoline/ui/aura/surface_context_factory.h

Issue 1189833005: Revert of Support impl-side painting in Mandoline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « mandoline/ui/aura/BUILD.gn ('k') | mandoline/ui/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 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 MANDOLINE_UI_AURA_SURFACE_CONTEXT_FACTORY_H_ 5 #ifndef MANDOLINE_UI_AURA_SURFACE_CONTEXT_FACTORY_H_
6 #define MANDOLINE_UI_AURA_SURFACE_CONTEXT_FACTORY_H_ 6 #define MANDOLINE_UI_AURA_SURFACE_CONTEXT_FACTORY_H_
7 7
8 #include "components/view_manager/gles2/mojo_gpu_memory_buffer_manager.h"
9 #include "components/view_manager/gles2/raster_thread_helper.h"
10 #include "mandoline/ui/aura/surface_binding.h" 8 #include "mandoline/ui/aura/surface_binding.h"
11 #include "ui/compositor/compositor.h" 9 #include "ui/compositor/compositor.h"
12 10
13 namespace mojo { 11 namespace mojo {
14 class Shell; 12 class Shell;
15 class View; 13 class View;
16 } 14 }
17 15
18 namespace mandoline { 16 namespace mandoline {
19 17
(...skipping 16 matching lines...) Expand all
36 gfx::GpuMemoryBuffer::Usage usage) override; 34 gfx::GpuMemoryBuffer::Usage usage) override;
37 cc::SharedBitmapManager* GetSharedBitmapManager() override; 35 cc::SharedBitmapManager* GetSharedBitmapManager() override;
38 gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override; 36 gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override;
39 cc::TaskGraphRunner* GetTaskGraphRunner() override; 37 cc::TaskGraphRunner* GetTaskGraphRunner() override;
40 scoped_ptr<cc::SurfaceIdAllocator> CreateSurfaceIdAllocator() override; 38 scoped_ptr<cc::SurfaceIdAllocator> CreateSurfaceIdAllocator() override;
41 void ResizeDisplay(ui::Compositor* compositor, 39 void ResizeDisplay(ui::Compositor* compositor,
42 const gfx::Size& size) override; 40 const gfx::Size& size) override;
43 41
44 SurfaceBinding surface_binding_; 42 SurfaceBinding surface_binding_;
45 uint32_t next_surface_id_namespace_; 43 uint32_t next_surface_id_namespace_;
46 gles2::RasterThreadHelper raster_thread_helper_;
47 gles2::MojoGpuMemoryBufferManager gpu_memory_buffer_manager_;
48 44
49 DISALLOW_COPY_AND_ASSIGN(SurfaceContextFactory); 45 DISALLOW_COPY_AND_ASSIGN(SurfaceContextFactory);
50 }; 46 };
51 47
52 } // namespace mandoline 48 } // namespace mandoline
53 49
54 #endif // MANDOLINE_UI_AURA_SURFACE_CONTEXT_FACTORY_H_ 50 #endif // MANDOLINE_UI_AURA_SURFACE_CONTEXT_FACTORY_H_
OLDNEW
« no previous file with comments | « mandoline/ui/aura/BUILD.gn ('k') | mandoline/ui/aura/surface_context_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698