| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 CC_OUTPUT_RENDERER_H_ | 5 #ifndef CC_OUTPUT_RENDERER_H_ |
| 6 #define CC_OUTPUT_RENDERER_H_ | 6 #define CC_OUTPUT_RENDERER_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "cc/base/cc_export.h" | 9 #include "cc/base/cc_export.h" |
| 10 #include "cc/base/scoped_ptr_vector.h" | 10 #include "cc/base/scoped_ptr_vector.h" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 | 27 |
| 28 // Capabilities copied to main thread. | 28 // Capabilities copied to main thread. |
| 29 ResourceFormat best_texture_format; | 29 ResourceFormat best_texture_format; |
| 30 bool allow_partial_texture_updates; | 30 bool allow_partial_texture_updates; |
| 31 int max_texture_size; | 31 int max_texture_size; |
| 32 bool using_shared_memory_resources; | 32 bool using_shared_memory_resources; |
| 33 | 33 |
| 34 // Capabilities used on compositor thread only. | 34 // Capabilities used on compositor thread only. |
| 35 bool using_partial_swap; | 35 bool using_partial_swap; |
| 36 bool using_egl_image; | 36 bool using_egl_image; |
| 37 bool using_map_image; | 37 bool using_image; |
| 38 bool using_discard_framebuffer; | 38 bool using_discard_framebuffer; |
| 39 bool allow_rasterize_on_demand; | 39 bool allow_rasterize_on_demand; |
| 40 | 40 |
| 41 RendererCapabilities MainThreadCapabilities() const; | 41 RendererCapabilities MainThreadCapabilities() const; |
| 42 }; | 42 }; |
| 43 | 43 |
| 44 class CC_EXPORT RendererClient { | 44 class CC_EXPORT RendererClient { |
| 45 public: | 45 public: |
| 46 virtual void SetFullRootLayerDamage() = 0; | 46 virtual void SetFullRootLayerDamage() = 0; |
| 47 }; | 47 }; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 const LayerTreeSettings* settings_; | 89 const LayerTreeSettings* settings_; |
| 90 bool visible_; | 90 bool visible_; |
| 91 | 91 |
| 92 private: | 92 private: |
| 93 DISALLOW_COPY_AND_ASSIGN(Renderer); | 93 DISALLOW_COPY_AND_ASSIGN(Renderer); |
| 94 }; | 94 }; |
| 95 | 95 |
| 96 } // namespace cc | 96 } // namespace cc |
| 97 | 97 |
| 98 #endif // CC_OUTPUT_RENDERER_H_ | 98 #endif // CC_OUTPUT_RENDERER_H_ |
| OLD | NEW |