Index: third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h |
diff --git a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h |
index f7361dbcd2abf911029f9a400ca89688f91f26c1..b91bed3ba6e16b83ab356e4ad2210644b8d013b7 100644 |
--- a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h |
+++ b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h |
@@ -41,14 +41,21 @@ class PLATFORM_EXPORT OffscreenCanvasFrameDispatcherImpl final |
const int m_height; |
unsigned m_nextResourceId; |
- unsigned getNextResourceIdAndIncrement() { return m_nextResourceId++; } |
HashMap<unsigned, RefPtr<StaticBitmapImage>> m_cachedImages; |
HashMap<unsigned, std::unique_ptr<cc::SharedBitmap>> m_sharedBitmaps; |
+ HashMap<unsigned, GLuint> m_cachedTextureIds; |
bool verifyImageSize(const sk_sp<SkImage>&); |
cc::mojom::blink::MojoCompositorFrameSinkPtr m_sink; |
mojo::Binding<cc::mojom::blink::MojoCompositorFrameSinkClient> m_binding; |
+ |
+ void setTransferableResourceCase1(cc::TransferableResource&, |
Justin Novosad
2016/10/04 14:20:48
These function names have readability issues. You
xidachen
2016/10/04 14:43:06
Done.
|
+ RefPtr<StaticBitmapImage>); |
+ void setTransferableResourceCase2(cc::TransferableResource&, |
+ RefPtr<StaticBitmapImage>); |
+ void setTransferableResourceCase3(cc::TransferableResource&, |
+ RefPtr<StaticBitmapImage>); |
}; |
} // namespace blink |