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 output |
| 593 // surfaces. |
| 594 uint32 last_output_surface_id_; |
| 595 |
591 // The damage in the previously presented buffer. | 596 // The damage in the previously presented buffer. |
592 SkRegion previous_damage_; | 597 SkRegion previous_damage_; |
593 | 598 |
594 // Pending damage from previous frames that we skipped. | 599 // Pending damage from previous frames that we skipped. |
595 SkRegion skipped_damage_; | 600 SkRegion skipped_damage_; |
596 | 601 |
597 // The size of the last frame that was swapped (even if we skipped it). | 602 // 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 | 603 // Used to determine when the skipped_damage_ needs to be reset due to |
599 // size changes between front- and backbuffer. | 604 // size changes between front- and backbuffer. |
600 gfx::Size last_swapped_surface_size_; | 605 gfx::Size last_swapped_surface_size_; |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
699 TouchEditingClient* touch_editing_client_; | 704 TouchEditingClient* touch_editing_client_; |
700 | 705 |
701 ui::LatencyInfo software_latency_info_; | 706 ui::LatencyInfo software_latency_info_; |
702 | 707 |
703 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 708 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
704 }; | 709 }; |
705 | 710 |
706 } // namespace content | 711 } // namespace content |
707 | 712 |
708 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 713 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
OLD | NEW |