summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/layers/BaseLayerAndroid.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Add fast drawing path for repeat background image." into jb-devTeng-Hui Zhu2012-06-071-27/+114
|\
| * Add fast drawing path for repeat background image.Teng-Hui Zhu2012-06-071-27/+114
| | | | | | | | | | | | | | | | | | 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
* | Reduce base layer false clip size to avoid rounding issuesChris Craik2012-06-051-1/+2
| | | | | | | | | | bug:6605853 Change-Id: I65583e61197452ac70c5adf5f967182f0fd7578a
* | Disable clipping on the base surfaceChris Craik2012-06-011-1/+6
|/ | | | | | | | Base surface can expand dynamically (see BaseLayerAndroid::updatePosition) to fill the viewport, so disable clipping on it. bug:6593707 Change-Id: I3afafb28fbe95d3162c76f8e835932577ded65ce
* Merge "Minimize tearing for fixed element in single surface mode" into jb-devTeng-Hui Zhu2012-05-301-2/+14
|\
| * Minimize tearing for fixed element in single surface modeTeng-Hui Zhu2012-05-301-2/+14
| | | | | | | | | | | | bug:5683630 Change-Id: I43f738f2649a79b4ad7865ed27375c07195fa9b9
* | Draw entire layer tree in capturePicture()Chris Craik2012-05-301-0/+1
|/ | | | | | | Also fixes matrix initialization in BaseLayerAndroid::getLocalTransform() bug:6389297 Change-Id: I6a3df3de129aa263986c5082614d8d76bc7408f7
* Compute draw transforms only for new/dynamically transformed layersChris Craik2012-05-241-1/+5
| | | | | | | | | Previously, hundreds of layers could take 4+ ms to update transforms. Now, only those that are fixed, have animations, or are scrollable calculate transforms. bug:6530473 Change-Id: Ic9b14b76190c5bd0e5a405914a624d92b7ca7980
* Add tracing to interesting/potentially costly functionsChris Craik2012-05-231-0/+1
| | | | | | bug:6530473 bug:6344165 Change-Id: I40b190036af8c021134d5ac450e3217098ba2296
* Fix memory leak and repaint issues with fixed background elementsNicolas Roard2012-05-181-0/+3
| | | | | | bug:6522485 bug:6486951 Change-Id: Ia707efed9311e4352eed3ab005ec7ca93b8444e4
* Remove paint tile operations for stale paintersChris Craik2012-05-181-0/+15
| | | | | | | | bug:6516612 also adds ClassTracker to several classes Change-Id: I9a503084240d4935fba300a3256d266a2982dcc0
* Check layer state before dereferencingChris Craik2012-05-171-1/+3
| | | | | bug:6509226 Change-Id: Ie64bc2d92ddb2f323b20fa5bc8d1385dcb0e04c1
* Allow more layers to be merged (merging fixed)Nicolas Roard2012-05-161-1/+1
| | | | | | | | | | This will reduce the need to go to single surface rendering mode, as well as improving jank by reducing the number of surfaces we need. (tested on a set of popular sites, we now need up to 16 times less surfaces, commonly 4-5 times less) bug:5683630 bug:6499283 bug:6366440 Change-Id: I761c6a60279e5b21dca8bc1faccd956be58e3702
* Fix crash on arstechnicaNicolas Roard2012-05-151-0/+31
| | | | | | | Not checking for cachedImage for the background images... bug:6482165 Change-Id: I9de5ee9cef446cd07688b40f6b04bdd493e40edd
* Complete implementation fixed backgroundNicolas Roard2012-05-081-25/+113
| | | | | | | | | | - extract image for body background (a lot more memory-friendly) - implement tiling / repeat - handles background color bug:1352305 Change-Id: I0efa27e09416e3c3848a4a53ced650cbb3d9f7ce
* Ensure updateGLPositionsAndScale is called from updateLayerPosition.George Mount2012-05-041-0/+8
| | | | | | | | Bug 6436989 The layer transform was not being updated quickly enough after a draw, causing the thumb selection handle to become misplaced. Change-Id: I6cd33baaaba258c9d0977f06e7793ade2816b95d
* CSS Background image implementationNicolas Roard2012-04-241-2/+42
| | | | | | bug:1352305 Change-Id: Id9caaae9b9442729110b52c75004f634d8284db4
* Expand base layer bounds to fill viewportChris Craik2012-04-101-0/+13
| | | | | | | | | Additionally, paint area outside the content bounds with content bg color in software rendering path. bug:6304213 Change-Id: I6fe5246e82d30fe000e570c8dccb605d46fc428d
* Reorganize platform/graphics/androidNicolas Roard2012-04-061-0/+56
Change-Id: Idc67155cfa99784dcd931e705336bfa063ecae46