[webkit-help] Finding "visible" region of element, or preventing overlap in layout
Simon Fraser
simon.fraser at apple.com
Thu Feb 16 07:42:57 PST 2012
This is one of the problems that the accelerated compositing code path is intended to solve. Does your platform enable that build option?
Simon
On Feb 16, 2012, at 6:21 AM, Konstantin Tokarev wrote:
> Hi all,
>
> I'm developing custom media engine (i.e. MediaPlayerPrivate subclass etc.) for embedded platform, and due to platform's limitations I have to render video on top of all page layers. This leads to broken rendering of elements which overlap video region.
>
> I can imagine two ways to solve this problem:
> 1) Get "visible" region of <video> element, i.e. region which is not overlapped by other elements, and crop video frame to it.
> 2) Give some hint to layout manager to prevent all elements from overlapping <video>
>
> Could anyone give me some hints on it?
More information about the webkit-help
mailing list