summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/RasterRenderer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Shared surface textureTeng-Hui Zhu2011-08-021-2/+1
| | | | | | | | | | | Instead of assigning each tile a Surface Texture, now just a normal GL texture. The content from skia bitmap will first drawn into a queue of Surface Textures, at draw time, blit them into each tile's GL texture. Added extra lock to protect the queue operation and Surface Texture operation. bug:5044597 Change-Id: I25f46228b93a3e99526daf52d8bd0d8d8fcc2879
* Implements tiled layers. We remove all the existing code in LayerAndroidNicolas Roard2011-07-141-4/+8
| | | | | | | | | | | related to the old texture management and introduce two new classes: - PaintedSurface, used as a placeholder ui-side for the regularly changing LayerAndroid - TiledTexture, implementing the tiling of PaintedSurface using a set of BaseTile bug:4580444 bug:3392331 Change-Id: I0daa079d2acce49f3baa8c312ea0b0dd457ccd5c
* Clear up the bitmap with white color at initial timeTeng-Hui Zhu2011-07-111-0/+4
| | | | | | bug:4995281 Change-Id: Iee2d508c234d3e1cecb367b0108fd7215730173c
* Add initial support for Ganesh renderer.Derek Sollenberger2011-06-301-24/+10
| | | | | | | The GaneshRenderer can now be swapped in for the RasterRenderer in BaseTile. A following CL will enable this swap at runtime. Change-Id: Id42040fce2895ab00cccb8f11dfd0489df861655
* Add BaseRenderer to handle generic rendering tasks.Derek Sollenberger2011-06-291-92/+40
| | | | Change-Id: I5cf0e2da4d4f48be5daf176b5aac8222b9919ba9
* Cleanup Skia related rendering code for raster rendering.Derek Sollenberger2011-06-281-3/+3
| | | | | | | | | | | | | | In the existing code we created a sharedBitmap for BaseTiles and never used it instead opting for createing bitmaps on the stack to enable partial invalidation. This CL removes the sharedBitmap concept and instead creates all bitmaps on the stack. This means that BackedDoubleBufferedTexture no longer needs to have a bitmap member, but instead simply takes the bitmap from the caller and uploads it to the appropriate texture. To make this upload clean we now pass the bitmap via const references instead of pointers. Change-Id: Ie218c4b4564e5574ca6e404d4857904ab41a3a5c
* Refactor and improve the raster rendering for base tiles.Derek Sollenberger2011-06-271-0/+197
Change-Id: I1dc4622e0ce1602f6dc314f0b510c41adb95a443