[Webkit-unassigned] [Bug 101426] Coordinated Graphics: Decode an image directly into a GraphicsSurface.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 12 00:58:53 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=101426





--- Comment #2 from Huang Dongsung <luxtella at company100.net>  2013-03-12 01:01:18 PST ---
I think you show the direction where we should go.

I think it would be better if we can change only ImageDecoder without changing BitmapImage and ImageSource.
I think we can do it as following chromium's approach. 
for instance, define as follow in NativeImagePtr.h

#elif PLATFORM(QT)
#if USE(GRAPHICS_SURFACE)
typedef GraphicsSurface* NativeImagePtr;
#else
typedef QPixmap* NativeImagePtr;
#endif

and every image decoders access NativeImagePtr's pixel.

btw, I think the most tricky blocker is caching mechanism of MemoryCache.
MemoryCache needs to remove decoded data of CachedImage. But if MemoryCache removes directed-composited image, UI Process encounters null pointer exception. we need to make the plan for this.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list