JSFiddle - React, Tailwind, and code Playground
by Abhijeet Kandalkar
JavaScript
//canvas->buffer->layerBridge
//image->imageSource->decoder
diff --git a/src/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext2D.cpp b/src/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext2D.cpp
index 6bbb001..f5d44cc 100755
--- a/src/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext2D.cpp
+++ b/src/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext2D.cpp
@@ -1249,6 +1249,10 @@ void CanvasRenderingContext2D::drawImageInternal(Image* image, const FloatRect&
GraphicsContext* c = drawingContext();
if (!c)
return;
+
+ //canvas->buffer->layerBridge
+ //image->imageSource->decoder
+ //image->de///canvas()->buffer()->contextProvider3D())
if (!state().m_invertibleCTM)
return;
FloatRect clipBounds;
diff --git a/src/third_party/WebKit/Source/platform/graphics/Canvas2DImageBufferSurface.h b/src/third_party/WebKit/Source/platform/graphics/Canvas2DImageBufferSurface.h
index bf120b0..1c755db 100755
--- a/src/third_party/WebKit/Source/platform/graphics/Canvas2DImageBufferSurface.h
+++ b/src/third_party/WebKit/Source/platform/graphics/Canvas2DImageBufferSurface.h
@@ -61,6 +61,7 @@ public:
virtual bool isAccelerated() const OVERRIDE { return m_layerBridge->isAccelerated(); }
virtual void setIsHidden(bool hidden) OVERRIDE { m_layerBridge->setIsHidden(hidden); }
virtual void increaseDrawCount() const OVERRIDE { m_layerBridge->increaseDrawCount(); }
+ virtual void contextProvider3D() { return m_layerBridge->contextProvider3D(); }
private:
RefPtr<Canvas2DLayerBridge> m_layerBridge;
diff --git a/src/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h b/src/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h
index e1aa82e..13ca765 100755
--- a/src/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h
+++ b/src/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h
@@ -90,8 +90,8 @@ public:
...