summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/rendering/TransferQueue.cpp
Commit message (Collapse)AuthorAgeFilesLines
* ref count the surface to keep the tiles alive for transfer queueTeng-Hui Zhu2012-05-151-11/+26
| | | | | | bug:6317924 Change-Id: If0a56ee48247d924f5a4cbd2dcac2cbb3faf0adb
* Fix stale tile problemChris Craik2012-05-141-17/+2
| | | | | | | | | | 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-31/+3
| | | | | | | | | | | | | | | | | | | | 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
* Merge "Revert "Revert "Turn on Fence sync for transfer queue."""Teng-Hui Zhu2012-04-241-1/+1
|\
| * Revert "Revert "Turn on Fence sync for transfer queue.""Teng-Hui Zhu2012-04-191-1/+1
| | | | | | | | | | | | | | So it turns out the fence sync is not the cause of ANR. bug:6325463 This reverts commit 389739d3808edb3bc97ad75d2ea5e37e281ca411.
* | Better handle the EGL context lost situation.Teng-Hui Zhu2012-04-201-10/+25
|/ | | | | | | | | 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
* Merge "Revert "Turn on Fence sync for transfer queue.""Chris Craik2012-04-161-1/+1
|\
| * Revert "Turn on Fence sync for transfer queue."Chris Craik2012-04-161-1/+1
| | | | | | | | | | | | | | Was causing ANRs bug:6325463 This reverts commit 79620b0826fdbb2f0d125042f1414391b51fc5fa
* | Merge "We shall restore the FBO id instead of setting it back to 0."Teng-Hui Zhu2012-04-121-2/+2
|\ \ | |/ |/|
| * We shall restore the FBO id instead of setting it back to 0.Teng-Hui Zhu2012-04-111-2/+2
| | | | | | | | | | | | bug:6283539 Change-Id: I84b8d5e0a984cb98cedc43d755b04be521d675ca
* | Turn on Fence sync for transfer queue.Teng-Hui Zhu2012-04-101-1/+1
|/ | | | | | | Given driver bug b/6222131 is fixed, we can turn on this sync to protect us from potential corruption and help the emulation. Change-Id: Icc6c2d8fc3d123cde972507c3261729cd912676d
* Reorganize platform/graphics/androidNicolas Roard2012-04-061-0/+644
Change-Id: Idc67155cfa99784dcd931e705336bfa063ecae46