| 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 UI_AURA_MUS_MUS_CONTEXT_FACTORY_H_ | 5 #ifndef UI_AURA_MUS_MUS_CONTEXT_FACTORY_H_ |
| 6 #define UI_AURA_MUS_MUS_CONTEXT_FACTORY_H_ | 6 #define UI_AURA_MUS_MUS_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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 base::WeakPtr<ui::Compositor> compositor) override; | 44 base::WeakPtr<ui::Compositor> compositor) override; |
| 45 scoped_refptr<cc::ContextProvider> SharedMainThreadContextProvider() override; | 45 scoped_refptr<cc::ContextProvider> SharedMainThreadContextProvider() override; |
| 46 void RemoveCompositor(ui::Compositor* compositor) override; | 46 void RemoveCompositor(ui::Compositor* compositor) override; |
| 47 double GetRefreshRate() const override; | 47 double GetRefreshRate() const override; |
| 48 gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override; | 48 gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override; |
| 49 cc::TaskGraphRunner* GetTaskGraphRunner() override; | 49 cc::TaskGraphRunner* GetTaskGraphRunner() override; |
| 50 const cc::RendererSettings& GetRendererSettings() const override; | 50 const cc::RendererSettings& GetRendererSettings() const override; |
| 51 void AddObserver(ui::ContextFactoryObserver* observer) override {} | 51 void AddObserver(ui::ContextFactoryObserver* observer) override {} |
| 52 void RemoveObserver(ui::ContextFactoryObserver* observer) override {} | 52 void RemoveObserver(ui::ContextFactoryObserver* observer) override {} |
| 53 | 53 |
| 54 cc::BufferToTextureTargetMap buffer_to_texture_target_map_; |
| 54 ui::RasterThreadHelper raster_thread_helper_; | 55 ui::RasterThreadHelper raster_thread_helper_; |
| 55 ui::Gpu* gpu_; | 56 ui::Gpu* gpu_; |
| 56 const cc::RendererSettings renderer_settings_; | 57 const cc::RendererSettings renderer_settings_; |
| 57 scoped_refptr<cc::ContextProvider> shared_main_thread_context_provider_; | 58 scoped_refptr<cc::ContextProvider> shared_main_thread_context_provider_; |
| 58 | 59 |
| 59 base::WeakPtrFactory<MusContextFactory> weak_ptr_factory_; | 60 base::WeakPtrFactory<MusContextFactory> weak_ptr_factory_; |
| 60 | 61 |
| 61 DISALLOW_COPY_AND_ASSIGN(MusContextFactory); | 62 DISALLOW_COPY_AND_ASSIGN(MusContextFactory); |
| 62 }; | 63 }; |
| 63 | 64 |
| 64 } // namespace aura | 65 } // namespace aura |
| 65 | 66 |
| 66 #endif // UI_AURA_MUS_MUS_CONTEXT_FACTORY_H_ | 67 #endif // UI_AURA_MUS_MUS_CONTEXT_FACTORY_H_ |
| OLD | NEW |