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_VIEWS_MUS_SURFACE_CONTEXT_FACTORY_H_ | 5 #ifndef UI_VIEWS_MUS_SURFACE_CONTEXT_FACTORY_H_ |
6 #define UI_VIEWS_MUS_SURFACE_CONTEXT_FACTORY_H_ | 6 #define UI_VIEWS_MUS_SURFACE_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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 uint32_t GetImageTextureTarget(gfx::BufferFormat format, | 45 uint32_t GetImageTextureTarget(gfx::BufferFormat format, |
46 gfx::BufferUsage usage) override; | 46 gfx::BufferUsage usage) override; |
47 cc::SharedBitmapManager* GetSharedBitmapManager() override; | 47 cc::SharedBitmapManager* GetSharedBitmapManager() override; |
48 gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override; | 48 gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override; |
49 cc::TaskGraphRunner* GetTaskGraphRunner() override; | 49 cc::TaskGraphRunner* GetTaskGraphRunner() override; |
50 std::unique_ptr<cc::SurfaceIdAllocator> CreateSurfaceIdAllocator() override; | 50 std::unique_ptr<cc::SurfaceIdAllocator> CreateSurfaceIdAllocator() override; |
51 void ResizeDisplay(ui::Compositor* compositor, | 51 void ResizeDisplay(ui::Compositor* compositor, |
52 const gfx::Size& size) override; | 52 const gfx::Size& size) override; |
53 void SetAuthoritativeVSyncInterval(ui::Compositor* compositor, | 53 void SetAuthoritativeVSyncInterval(ui::Compositor* compositor, |
54 base::TimeDelta interval) override {} | 54 base::TimeDelta interval) override {} |
| 55 void SetOutputIsSecure(ui::Compositor* compositor, bool secure) override {} |
55 | 56 |
56 SurfaceBinding surface_binding_; | 57 SurfaceBinding surface_binding_; |
57 uint32_t next_surface_id_namespace_; | 58 uint32_t next_surface_id_namespace_; |
58 gles2::RasterThreadHelper raster_thread_helper_; | 59 gles2::RasterThreadHelper raster_thread_helper_; |
59 mus::MojoGpuMemoryBufferManager gpu_memory_buffer_manager_; | 60 mus::MojoGpuMemoryBufferManager gpu_memory_buffer_manager_; |
60 | 61 |
61 DISALLOW_COPY_AND_ASSIGN(SurfaceContextFactory); | 62 DISALLOW_COPY_AND_ASSIGN(SurfaceContextFactory); |
62 }; | 63 }; |
63 | 64 |
64 } // namespace views | 65 } // namespace views |
65 | 66 |
66 #endif // UI_VIEWS_MUS_SURFACE_CONTEXT_FACTORY_H_ | 67 #endif // UI_VIEWS_MUS_SURFACE_CONTEXT_FACTORY_H_ |
OLD | NEW |