summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorNicolas Roard <nicolasroard@google.com>2012-02-21 15:38:06 -0800
committerNicolas Roard <nicolasroard@google.com>2012-02-21 16:00:42 -0800
commit4d49c7f04ab34686de0da5aba6f7427a151c471d (patch)
treebc9509f1cbf86a27062088236c1b49bc2e401a6b /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parent16e19ce9190791d5e45d71f2810529691e1f44be (diff)
Simplify Youtube <embed> management
When we encounter youtube <embed> objects, we replace them on the fly with an element that will redirect to the youtube application. Currently, this element is a canvas, that we add to the document wrapped into a Frame. This cause some problems when we switch to have canvas elements on their own individual layer (which drastically improves performances). Note that we do support correctly composited layers into frameset/iframes on normal websites, the problems we see here are due to us creating the frame on the fly, messing with webkit's compositing logic. This CL rewrite the HTML code we insert to not use canvas and instead use normal html elements positioned via CSS. This work around the composited canvas issue as well as simplifying the code. Change-Id: Ie6043f9445e8bc191b229db9f9ff5de192d8b5db
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions