summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/rendering/TransferQueue.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge tag 'android-4.2.2_r1' of ↵Steve Kondik2013-02-121-5/+1
|\ | | | | | | | | | | https://android.googlesource.com/platform/external/webkit into 1.1 Android 4.2.2 release 1
| * Revert "TransferQueue: use a few extra buffers"Chris Craik2012-11-151-5/+1
| | | | | | | | | | | | | | | | | | bug:7549630 bug:6876502 This reverts commit 923f222d2281bf1faac6221b3fb1298940a6d205. Change-Id: I232a5b5b077dc1046ff2d6272876a5e5b441d42c
* | 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
* TransferQueue: use a few extra buffersJamie Gennis2012-10-251-1/+5
| | | | | | | This change is a temporary workaround for a buffer synchronization issue. Bug: 6876502 Change-Id: I030b26818ba7e78037a38dcaddd18782cd086b75
* Improve the CPU upload path.Teng-Hui Zhu2012-06-261-9/+12
| | | | | | Swap the SkBitmap instead of a copy to save the memory bandwidth. Change-Id: I0998248a9a87ce4058898e66a4739995da9c003c
* Pin renderers to threads instead of tilesChris Craik2012-06-191-0/+1
| | | | | | | Move thread local bitmaps to renderers, so the renderers own them, and can perform optimizations. Change-Id: I60d604759f4ce2ec9981990d1613eaf23cd1e625
* Add detailed tracing to tile paintingChris Craik2012-06-131-0/+1
| | | | | bug:6653638 Change-Id: I839917feb1803bc1f4ace5aa2367067024a18706
* Clean up the transferQueue code and add more detailed GL logTeng-Hui Zhu2012-05-231-44/+11
| | | | | | | | | | Remove one unnecessary parameter in blitTileFromQueue. Remove syncKHR related code in TransferQueue since that is supported by SurfaceTexture. bug:6516534 Change-Id: Iaf1f46a0f459ad8973c7465a9b8550f760115384
* We need to clear the items even when seeing obsolete tilesTeng-Hui Zhu2012-05-221-0/+1
| | | | | | bug:6531360 Change-Id: Ia23ddeb56d384c4e3904cabf787bbe72be4a6f08
* 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