Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(815)

Unified Diff: content/browser/renderer_host/render_widget_host_view_aura.h

Issue 15001027: [Aura] Added Support for rendering software compositor frames as cc::TextureLayers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Passed(&foo) instead for Passed(foo.Pass()). Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_widget_host_view_aura.h
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.h b/content/browser/renderer_host/render_widget_host_view_aura.h
index 0ed95a0ed0c0963722f3999924b8b28839cac0fe..58e5d082a6b40c0dfe34e1f55792dcdc5c060443 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.h
+++ b/content/browser/renderer_host/render_widget_host_view_aura.h
@@ -15,6 +15,7 @@
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
+#include "cc/resources/texture_mailbox.h"
#include "content/browser/accessibility/browser_accessibility_manager.h"
#include "content/browser/renderer_host/image_transport_factory.h"
#include "content/browser/renderer_host/render_widget_host_view_base.h"
@@ -484,7 +485,7 @@ class RenderWidgetHostViewAura
scoped_ptr<cc::SoftwareFrameData> frame_data,
float frame_device_scale_factor,
const ui::LatencyInfo& latency_info);
- void SendSoftwareFrameAck(const TransportDIB::Id& id);
+ void SendSoftwareFrameAck(unsigned software_frame_id);
BrowserAccessibilityManager* GetOrCreateBrowserAccessibilityManager();
@@ -562,12 +563,8 @@ class RenderWidgetHostViewAura
// The current frontbuffer texture.
scoped_refptr<ui::Texture> current_surface_;
- // The current frontbuffer DIB.
- scoped_ptr<TransportDIB> current_dib_;
-
- // The current DIB id as it was received from the renderer. Note that on
- // some platforms (e.g. Windows) this is different from current_dib_->id().
- TransportDIB::Id current_dib_id_;
+ // The current software frontbuffer.
+ cc::TextureMailbox current_software_frame_;
// The damage in the previously presented buffer.
SkRegion previous_damage_;

Powered by Google App Engine
This is Rietveld 408576698