| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 OffscreenCanvasFrameDispatcherImpl_h | 5 #ifndef OffscreenCanvasFrameDispatcherImpl_h |
| 6 #define OffscreenCanvasFrameDispatcherImpl_h | 6 #define OffscreenCanvasFrameDispatcherImpl_h |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include "cc/ipc/mojo_compositor_frame_sink.mojom-blink.h" | 9 #include "cc/ipc/mojo_compositor_frame_sink.mojom-blink.h" |
| 10 #include "cc/output/begin_frame_args.h" | 10 #include "cc/output/begin_frame_args.h" |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 HashSet<unsigned> m_spareResourceLocks; | 73 HashSet<unsigned> m_spareResourceLocks; |
| 74 | 74 |
| 75 bool verifyImageSize(const IntSize); | 75 bool verifyImageSize(const IntSize); |
| 76 void postImageToPlaceholder(RefPtr<StaticBitmapImage>); | 76 void postImageToPlaceholder(RefPtr<StaticBitmapImage>); |
| 77 | 77 |
| 78 cc::mojom::blink::MojoCompositorFrameSinkPtr m_sink; | 78 cc::mojom::blink::MojoCompositorFrameSinkPtr m_sink; |
| 79 mojo::Binding<cc::mojom::blink::MojoCompositorFrameSinkClient> m_binding; | 79 mojo::Binding<cc::mojom::blink::MojoCompositorFrameSinkClient> m_binding; |
| 80 | 80 |
| 81 int m_placeholderCanvasId; | 81 int m_placeholderCanvasId; |
| 82 | 82 |
| 83 cc::BeginFrameAck m_currentBeginFrameAck; |
| 84 |
| 83 void setTransferableResourceToSharedBitmap(cc::TransferableResource&, | 85 void setTransferableResourceToSharedBitmap(cc::TransferableResource&, |
| 84 RefPtr<StaticBitmapImage>); | 86 RefPtr<StaticBitmapImage>); |
| 85 void setTransferableResourceToSharedGPUContext(cc::TransferableResource&, | 87 void setTransferableResourceToSharedGPUContext(cc::TransferableResource&, |
| 86 RefPtr<StaticBitmapImage>); | 88 RefPtr<StaticBitmapImage>); |
| 87 void setTransferableResourceToStaticBitmapImage(cc::TransferableResource&, | 89 void setTransferableResourceToStaticBitmapImage(cc::TransferableResource&, |
| 88 RefPtr<StaticBitmapImage>); | 90 RefPtr<StaticBitmapImage>); |
| 89 }; | 91 }; |
| 90 | 92 |
| 91 } // namespace blink | 93 } // namespace blink |
| 92 | 94 |
| 93 #endif // OffscreenCanvasFrameDispatcherImpl_h | 95 #endif // OffscreenCanvasFrameDispatcherImpl_h |
| OLD | NEW |