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 CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
581 string16 tooltip_; | 581 string16 tooltip_; |
582 | 582 |
583 std::vector<base::Closure> on_compositing_did_commit_callbacks_; | 583 std::vector<base::Closure> on_compositing_did_commit_callbacks_; |
584 | 584 |
585 // The current frontbuffer texture. | 585 // The current frontbuffer texture. |
586 scoped_refptr<ui::Texture> current_surface_; | 586 scoped_refptr<ui::Texture> current_surface_; |
587 | 587 |
588 // This holds the current software framebuffer. | 588 // This holds the current software framebuffer. |
589 scoped_refptr<MemoryHolder> framebuffer_holder_; | 589 scoped_refptr<MemoryHolder> framebuffer_holder_; |
590 | 590 |
591 // With delegated renderer, this is the last output surface, used to | |
592 // disambiguate resources with the same id coming from different compositors. | |
danakj
2013/09/04 13:07:51
s/compositors/output surfaces/.
piman
2013/09/04 21:45:02
Done.
| |
593 uint32 last_output_surface_id_; | |
594 | |
591 // The damage in the previously presented buffer. | 595 // The damage in the previously presented buffer. |
592 SkRegion previous_damage_; | 596 SkRegion previous_damage_; |
593 | 597 |
594 // Pending damage from previous frames that we skipped. | 598 // Pending damage from previous frames that we skipped. |
595 SkRegion skipped_damage_; | 599 SkRegion skipped_damage_; |
596 | 600 |
597 // The size of the last frame that was swapped (even if we skipped it). | 601 // The size of the last frame that was swapped (even if we skipped it). |
598 // Used to determine when the skipped_damage_ needs to be reset due to | 602 // Used to determine when the skipped_damage_ needs to be reset due to |
599 // size changes between front- and backbuffer. | 603 // size changes between front- and backbuffer. |
600 gfx::Size last_swapped_surface_size_; | 604 gfx::Size last_swapped_surface_size_; |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
699 TouchEditingClient* touch_editing_client_; | 703 TouchEditingClient* touch_editing_client_; |
700 | 704 |
701 ui::LatencyInfo software_latency_info_; | 705 ui::LatencyInfo software_latency_info_; |
702 | 706 |
703 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 707 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
704 }; | 708 }; |
705 | 709 |
706 } // namespace content | 710 } // namespace content |
707 | 711 |
708 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 712 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
OLD | NEW |