| Index: content/renderer/child_frame_compositing_helper.h
|
| diff --git a/content/renderer/child_frame_compositing_helper.h b/content/renderer/child_frame_compositing_helper.h
|
| index 5ecf9a82326729f6c7e991d339fe998cba9b5508..8ad16f154539a1911015e0011a11bc9e5fc45c27 100644
|
| --- a/content/renderer/child_frame_compositing_helper.h
|
| +++ b/content/renderer/child_frame_compositing_helper.h
|
| @@ -13,7 +13,6 @@
|
| #include "base/memory/shared_memory.h"
|
| #include "cc/layers/delegated_frame_resource_collection.h"
|
| #include "content/common/content_export.h"
|
| -#include "gpu/command_buffer/common/mailbox.h"
|
| #include "ui/gfx/size.h"
|
|
|
| namespace base {
|
| @@ -67,11 +66,6 @@ class CONTENT_EXPORT ChildFrameCompositingHelper
|
| void DidCommitCompositorFrame();
|
| void EnableCompositing(bool);
|
| void OnContainerDestroy();
|
| - void OnBuffersSwapped(const gfx::Size& size,
|
| - const gpu::Mailbox& mailbox,
|
| - int gpu_route_id,
|
| - int gpu_host_id,
|
| - float device_scale_factor);
|
| void OnCompositorFrameSwapped(scoped_ptr<cc::CompositorFrame> frame,
|
| int route_id,
|
| uint32 output_surface_id,
|
| @@ -95,23 +89,6 @@ class CONTENT_EXPORT ChildFrameCompositingHelper
|
| RenderFrameProxy* render_frame_proxy,
|
| int host_routing_id);
|
|
|
| - enum SwapBuffersType {
|
| - TEXTURE_IMAGE_TRANSPORT,
|
| - GL_COMPOSITOR_FRAME,
|
| - SOFTWARE_COMPOSITOR_FRAME,
|
| - };
|
| - struct SwapBuffersInfo {
|
| - SwapBuffersInfo();
|
| -
|
| - gpu::Mailbox name;
|
| - SwapBuffersType type;
|
| - gfx::Size size;
|
| - int route_id;
|
| - uint32 output_surface_id;
|
| - int host_id;
|
| - unsigned software_frame_id;
|
| - base::SharedMemory* shared_memory;
|
| - };
|
| virtual ~ChildFrameCompositingHelper();
|
|
|
| BrowserPluginManager* GetBrowserPluginManager();
|
| @@ -120,19 +97,11 @@ class CONTENT_EXPORT ChildFrameCompositingHelper
|
|
|
| void SendCompositorFrameSwappedACKToBrowser(
|
| FrameHostMsg_CompositorFrameSwappedACK_Params& params);
|
| - void SendBuffersSwappedACKToBrowser(
|
| - FrameHostMsg_BuffersSwappedACK_Params& params);
|
| void SendReclaimCompositorResourcesToBrowser(
|
| FrameHostMsg_ReclaimCompositorResources_Params& params);
|
| void CheckSizeAndAdjustLayerProperties(const gfx::Size& new_size,
|
| float device_scale_factor,
|
| cc::Layer* layer);
|
| - void OnBuffersSwappedPrivate(const SwapBuffersInfo& mailbox,
|
| - unsigned sync_point,
|
| - float device_scale_factor);
|
| - void MailboxReleased(SwapBuffersInfo mailbox,
|
| - unsigned sync_point,
|
| - bool lost_resource);
|
| void SendReturnedDelegatedResources();
|
| void CopyFromCompositingSurfaceHasResult(
|
| int request_id,
|
| @@ -143,11 +112,8 @@ class CONTENT_EXPORT ChildFrameCompositingHelper
|
| int last_route_id_;
|
| uint32 last_output_surface_id_;
|
| int last_host_id_;
|
| - bool last_mailbox_valid_;
|
| bool ack_pending_;
|
| - bool software_ack_pending_;
|
| bool opaque_;
|
| - std::vector<unsigned> unacked_software_frames_;
|
|
|
| gfx::Size buffer_size_;
|
|
|
|
|