| OLD | NEW | 
|    1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |    1 // Copyright (c) 2012 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_COMPOSITOR_COMPOSITOR_H_ |    5 #ifndef UI_COMPOSITOR_COMPOSITOR_H_ | 
|    6 #define UI_COMPOSITOR_COMPOSITOR_H_ |    6 #define UI_COMPOSITOR_COMPOSITOR_H_ | 
|    7  |    7  | 
|    8 #include <list> |    8 #include <list> | 
|    9 #include <string> |    9 #include <string> | 
|   10  |   10  | 
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   89       SharedMainThreadContextProvider() = 0; |   89       SharedMainThreadContextProvider() = 0; | 
|   90  |   90  | 
|   91   // Destroys per-compositor data. |   91   // Destroys per-compositor data. | 
|   92   virtual void RemoveCompositor(Compositor* compositor) = 0; |   92   virtual void RemoveCompositor(Compositor* compositor) = 0; | 
|   93  |   93  | 
|   94   // When true, the factory uses test contexts that do not do real GL |   94   // When true, the factory uses test contexts that do not do real GL | 
|   95   // operations. |   95   // operations. | 
|   96   virtual bool DoesCreateTestContexts() = 0; |   96   virtual bool DoesCreateTestContexts() = 0; | 
|   97  |   97  | 
|   98   // Returns the OpenGL target to use for image textures. |   98   // Returns the OpenGL target to use for image textures. | 
|   99   virtual uint32 GetImageTextureTarget(gfx::GpuMemoryBuffer::Format format, |   99   virtual uint32 GetImageTextureTarget(gfx::BufferFormat format, | 
|  100                                        gfx::GpuMemoryBuffer::Usage usage) = 0; |  100                                        gfx::BufferUsage usage) = 0; | 
|  101  |  101  | 
|  102   // Gets the shared bitmap manager for software mode. |  102   // Gets the shared bitmap manager for software mode. | 
|  103   virtual cc::SharedBitmapManager* GetSharedBitmapManager() = 0; |  103   virtual cc::SharedBitmapManager* GetSharedBitmapManager() = 0; | 
|  104  |  104  | 
|  105   // Gets the GPU memory buffer manager. |  105   // Gets the GPU memory buffer manager. | 
|  106   virtual gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() = 0; |  106   virtual gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() = 0; | 
|  107  |  107  | 
|  108   // Gets the task graph runner. |  108   // Gets the task graph runner. | 
|  109   virtual cc::TaskGraphRunner* GetTaskGraphRunner() = 0; |  109   virtual cc::TaskGraphRunner* GetTaskGraphRunner() = 0; | 
|  110  |  110  | 
| (...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  367   cc::BeginFrameArgs missed_begin_frame_args_; |  367   cc::BeginFrameArgs missed_begin_frame_args_; | 
|  368  |  368  | 
|  369   base::WeakPtrFactory<Compositor> weak_ptr_factory_; |  369   base::WeakPtrFactory<Compositor> weak_ptr_factory_; | 
|  370  |  370  | 
|  371   DISALLOW_COPY_AND_ASSIGN(Compositor); |  371   DISALLOW_COPY_AND_ASSIGN(Compositor); | 
|  372 }; |  372 }; | 
|  373  |  373  | 
|  374 }  // namespace ui |  374 }  // namespace ui | 
|  375  |  375  | 
|  376 #endif  // UI_COMPOSITOR_COMPOSITOR_H_ |  376 #endif  // UI_COMPOSITOR_COMPOSITOR_H_ | 
| OLD | NEW |