summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/rendering/ShaderProgram.h
Commit message (Collapse)AuthorAgeFilesLines
* Cache gl operations to avoid redundancyChris Craik2012-07-161-0/+6
| | | | Change-Id: I1e8f607a94685f3aa8f63e40fe2a265bca8a084e
* Add fast drawing path for repeat background image.Teng-Hui Zhu2012-06-071-3/+9
| | | | | | | | | In the slow draw path, we are drawing the small background image one by one. Now in the fast path, we can use the GL shader to repeat the iamges. bug:6579681 Change-Id: I8ab413bdd073cb867002b77b36d4a1361290ecb2
* Unify the naming of rectangles used for draw.Teng-Hui Zhu2012-05-031-19/+19
| | | | | | | | | The rects are referring to the same rect under different coordinates, so we just prefix the coordinates' name to differentiate the rects. This is pure refactor, no functional change. bug:6338456 Change-Id: Ic072a4f5aa56a25751e0151a697c0e31bca94ef5
* Support partial draw in terms of a rect.Teng-Hui Zhu2012-04-261-1/+1
| | | | | | | | In this way, we can cover any internal rect area of the tiles. bug:6338952 Change-Id: If236a7f6ad82a3f9126a692ca5b08240a3631f88
* Don't overdraw TileGridsChris Craik2012-04-241-2/+5
| | | | | | | Given the visible area info, we can just tune the shader and matrix to draw partial tile at the edge of TileGrids. This could save a lot of GPU time. Change-Id: I1a45aa9a3a76ab5894096828bfff83057b1c9272
* Better handle the EGL context lost situation.Teng-Hui Zhu2012-04-201-1/+1
| | | | | | | | | Unless framework provide a better message, we can't avoid this EGL context issue totally if mis-match happen again. Clean up some obsolete code. Change-Id: Ica03daecd58f9757c8cad41e0f40d5d51b041748
* Enable point sample when the texel and pixel is 1:1 mapping.Teng-Hui Zhu2012-04-171-0/+1
| | | | Change-Id: I532ad6b038d3b141bd212c8c408533fec0e9616e
* Move the common matrix computation to higher levelTeng-Hui Zhu2012-04-161-2/+3
| | | | | | | | Now we don't need to compute the same thing for each tile any more. bug:6338456 Change-Id: I68e744ab7af2bb55a67047bc16aeb8659b26daf2
* Move the matrix support to rely on the new framework clip infoTeng-Hui Zhu2012-04-131-25/+19
| | | | | | | | | | In this new way, we don't need to worry about the animation offset, b/c it is in the clip rect. Also add the matrix support for video layer. bug:5684832 Change-Id: I08e22ca042e425f8f7af935b60e04f2a4dbc52df
* Reorganize platform/graphics/androidNicolas Roard2012-04-061-0/+234
Change-Id: Idc67155cfa99784dcd931e705336bfa063ecae46