summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/rendering/TransferQueue.h
Commit message (Collapse)AuthorAgeFilesLines
* external/webkit: use Cpu Upload pathMatthew Hui2013-01-211-0/+4
| | | | | | | Use Cpu Upload mode since the Gpu mode is not working and expected to be slower. Change-Id: Iacb6de4a4e054e4f6ebb07d8a8209228e78e5ee0
* Improve the CPU upload path.Teng-Hui Zhu2012-06-261-3/+3
| | | | | | Swap the SkBitmap instead of a copy to save the memory bandwidth. Change-Id: I0998248a9a87ce4058898e66a4739995da9c003c
* Clean up the transferQueue code and add more detailed GL logTeng-Hui Zhu2012-05-231-11/+0
| | | | | | | | | | Remove one unnecessary parameter in blitTileFromQueue. Remove syncKHR related code in TransferQueue since that is supported by SurfaceTexture. bug:6516534 Change-Id: Iaf1f46a0f459ad8973c7465a9b8550f760115384
* ref count the surface to keep the tiles alive for transfer queueTeng-Hui Zhu2012-05-151-0/+5
| | | | | | bug:6317924 Change-Id: If0a56ee48247d924f5a4cbd2dcac2cbb3faf0adb
* Fix stale tile problemChris Craik2012-05-141-4/+0
| | | | | | | | | | bug:6483791 Update tile painter of outstanding operations Always schedule a paint operation if we can't update an outstanding one Remove old interruption code, as it's no longer used Change-Id: Ibcdb142d3d9b4ee7a52c78b5c121056089913211
* Rewrite PictureSet with TURBO!John Reck2012-05-021-1/+0
| | | | | | | | | | | | | | | | | | | | This changes how partial invals are done by adding a hybrid mode. What we used to do is generate a SkPicture for the new area. This SkPicture would possibly be larger than the actual inval, depending on various merge rules (more SkPictures == slower to draw a tile) The new code rewrites PictureSet entirely, preserving many of the old rules but cleans up the code and adds the concept of a "PrerenderedInval". This is a partial inval that WebKit has rasterized. By having WebKit produce both a SkPicture and a SkBitmap, we avoid needing to play back the picture and avoid overdrawing. We take this SkBitmap, and simply update the front textures with it. This gives us full partial invals through the entire system without hitting any driver bugs, and with minimal copies. And while the SkPicture may be larger than the inval, the SkBitmap that is rasterized is not - it matches the area webkit has said is dirty. Change-Id: Ieb7ecc9db0d4f679102fda004a43399f9b319ebc
* Better handle the EGL context lost situation.Teng-Hui Zhu2012-04-201-3/+4
| | | | | | | | | 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
* We shall restore the FBO id instead of setting it back to 0.Teng-Hui Zhu2012-04-111-0/+1
| | | | | | bug:6283539 Change-Id: I84b8d5e0a984cb98cedc43d755b04be521d675ca
* Reorganize platform/graphics/androidNicolas Roard2012-04-061-0/+234
Change-Id: Idc67155cfa99784dcd931e705336bfa063ecae46