| OLD | NEW |
| 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 BLIMP_ENGINE_APP_UI_BLIMP_UI_CONTEXT_FACTORY_H_ | 5 #ifndef BLIMP_ENGINE_APP_UI_BLIMP_UI_CONTEXT_FACTORY_H_ |
| 6 #define BLIMP_ENGINE_APP_UI_BLIMP_UI_CONTEXT_FACTORY_H_ | 6 #define BLIMP_ENGINE_APP_UI_BLIMP_UI_CONTEXT_FACTORY_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 ui::Layer* mirroring_layer) override; | 27 ui::Layer* mirroring_layer) override; |
| 28 void RemoveReflector(ui::Reflector* reflector) override; | 28 void RemoveReflector(ui::Reflector* reflector) override; |
| 29 scoped_refptr<cc::ContextProvider> SharedMainThreadContextProvider() override; | 29 scoped_refptr<cc::ContextProvider> SharedMainThreadContextProvider() override; |
| 30 void RemoveCompositor(ui::Compositor* compositor) override; | 30 void RemoveCompositor(ui::Compositor* compositor) override; |
| 31 bool DoesCreateTestContexts() override; | 31 bool DoesCreateTestContexts() override; |
| 32 uint32_t GetImageTextureTarget(gfx::BufferFormat format, | 32 uint32_t GetImageTextureTarget(gfx::BufferFormat format, |
| 33 gfx::BufferUsage usage) override; | 33 gfx::BufferUsage usage) override; |
| 34 cc::SharedBitmapManager* GetSharedBitmapManager() override; | 34 cc::SharedBitmapManager* GetSharedBitmapManager() override; |
| 35 gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override; | 35 gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override; |
| 36 cc::TaskGraphRunner* GetTaskGraphRunner() override; | 36 cc::TaskGraphRunner* GetTaskGraphRunner() override; |
| 37 cc::SurfaceManager* GetSurfaceManager() override; |
| 37 scoped_ptr<cc::SurfaceIdAllocator> CreateSurfaceIdAllocator() override; | 38 scoped_ptr<cc::SurfaceIdAllocator> CreateSurfaceIdAllocator() override; |
| 38 void ResizeDisplay(ui::Compositor* compositor, | 39 void ResizeDisplay(ui::Compositor* compositor, |
| 39 const gfx::Size& size) override; | 40 const gfx::Size& size) override; |
| 40 | 41 |
| 41 uint32_t next_surface_id_namespace_; | 42 uint32_t next_surface_id_namespace_; |
| 42 BlimpTaskGraphRunner task_graph_runner_; | 43 BlimpTaskGraphRunner task_graph_runner_; |
| 44 scoped_ptr<cc::SurfaceManager> surface_manager_; |
| 43 | 45 |
| 44 DISALLOW_COPY_AND_ASSIGN(BlimpUiContextFactory); | 46 DISALLOW_COPY_AND_ASSIGN(BlimpUiContextFactory); |
| 45 }; | 47 }; |
| 46 | 48 |
| 47 } // namespace engine | 49 } // namespace engine |
| 48 } // namespace blimp | 50 } // namespace blimp |
| 49 | 51 |
| 50 #endif // BLIMP_ENGINE_APP_UI_BLIMP_UI_CONTEXT_FACTORY_H_ | 52 #endif // BLIMP_ENGINE_APP_UI_BLIMP_UI_CONTEXT_FACTORY_H_ |
| OLD | NEW |