summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android/nav
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Draw entire layer tree in capturePicture()" into jb-devChris Craik2012-05-301-2/+10
|\
| * Draw entire layer tree in capturePicture()Chris Craik2012-05-301-2/+10
| | | | | | | | | | | | | | Also fixes matrix initialization in BaseLayerAndroid::getLocalTransform() bug:6389297 Change-Id: I6a3df3de129aa263986c5082614d8d76bc7408f7
* | Disable copyScrollPosition for iframesJohn Reck2012-05-291-0/+3
|/ | | | | | | | | Bug: 6557664 For now simply disable copyScrollPosition for iframes. They may jitter slightly if webkit does a tree sync while scrolling, but the copying isn't trivial due to the nature of iframe scrolling Change-Id: I816fe96b452794b3289c3a522a11447c057e9c5e
* Copy scroll position for scrolling layerJohn Reck2012-05-251-21/+15
| | | | | | Bug: 6557664 Change-Id: I32aa77b6fd408dc4f1097513cbb1211184a93885
* DO NOT MERGE Consider fixed layers when scrolling the edit box.George Mount2012-05-221-0/+90
| | | | | | | Bug 6147580 Framework Change: Idaa538824e611acd64eb5a4ccb7866d3c978a077 Change-Id: I810891decf0bad682e90f29f0f65c6b765b7d6d6
* Null checkJohn Reck2012-05-211-2/+3
| | | | | | Bug: 6525224 Change-Id: Id47ebe8a99388765340f7628b6398644dd7d852c
* Add checks for null base layer contentChris Craik2012-05-211-2/+2
| | | | | bug:6519982 Change-Id: I1ef0eda2b94090cc894441c1620ae85e7fd86d22
* Merge "Update bounds calculation to use draw transform" into jb-devChris Craik2012-05-141-30/+5
|\
| * Update bounds calculation to use draw transformChris Craik2012-05-141-30/+5
| | | | | | | | | | | | | | | | | | Remove old bounds calculation method. Depends on frameworks/base change: https://android-git.corp.google.com/g/#/c/190474/ bug:6486310 Change-Id: Ieeb09778f810598c38127c66ae12b2b29abcf8e4
* | Change selection to work with left/right instead of base/extent.George Mount2012-05-143-40/+8
|/ | | | | | | | | | | Bug 5859620 Use the LTR/RTL content of the text selection to determine which handle is left and which is right. This simplifies text selection logic slightly and helps make RTL text selection handles work properly. Framework Change: Ib88ed2327182ba5b47b3e41584cbe944d05c8ada Change-Id: I3362c5034ce08ce1517a86882c13b78aff35fe3f
* Revert "Don't draw when clip is zero."Teng-Hui Zhu2012-05-111-5/+5
| | | | This reverts commit 8391ddb06a5b36834e8bafb36763d792c1602ace.
* Don't draw when clip is zero.Teng-Hui Zhu2012-05-111-5/+5
| | | | | | | | In full screen mode, framework still need to call drawGL for now. But we can early return in this case. bug:6477718 Change-Id: I02194f5739d6ae055b1cf14fbf9479b7bb8ebe52
* Better fix for crash workaroundNicolas Roard2012-05-081-6/+2
| | | | | bug:6431194 Change-Id: I444b1efb7ab12a18994c8b0553fa80f2ce09d386
* Disable prerenders if we aren't focusedJohn Reck2012-05-081-2/+12
| | | | | | Bug: 6448418 Change-Id: I624d78a2b674cbd91ebe70008c70967101fbb12a
* Pass webview instance when getting base layer / color, and prevent null valueChris Craik2012-05-081-13/+13
| | | | | | | depends on frameworks/base change: https://android-git.corp.google.com/g/#/c/188470/ bug:6429897 Change-Id: I374534b0302b5029d69b058c670083e6ad33ea95
* Replace tree observer with a JNI call at draw timeTeng-Hui Zhu2012-05-071-19/+14
| | | | | | | | framework change: https://android-git.corp.google.com/g/#/c/188149/ bug:6447729 Change-Id: Id115fd1d4ad62e958fec1ff27f7dc7d55a59b6cc
* Ensure updateGLPositionsAndScale is called from updateLayerPosition.George Mount2012-05-041-1/+1
| | | | | | | | 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
* Merge "Unify the naming of rectangles used for draw." into jb-devTeng-Hui Zhu2012-05-041-63/+64
|\
| * Unify the naming of rectangles used for draw.Teng-Hui Zhu2012-05-031-63/+64
| | | | | | | | | | | | | | | | | | The rects are referring to the same rect under different coordinates, so we just prefix the coordinates' name to differentiate the rects. This is pure refactor, no functional change. bug:6338456 Change-Id: Ic072a4f5aa56a25751e0151a697c0e31bca94ef5
* | Merge "Fix mapLayerRect to modify the mapped rectangle." into jb-devGeorge Mount2012-05-031-1/+1
|\ \ | |/ |/|
| * Fix mapLayerRect to modify the mapped rectangle.George Mount2012-05-021-1/+1
| | | | | | | | | | | | Bug 6434432 Change-Id: I42181f232332e4c015ed403d53248b9e0b787043
* | Rewrite PictureSet with TURBO!John Reck2012-05-021-28/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 "Don't create a new functor if old one exists" into jb-devChris Craik2012-05-021-3/+13
|\ \
| * | Don't create a new functor if old one existsChris Craik2012-05-021-3/+13
| | | | | | | | | | | | | | | bug:6405861 Change-Id: Ife0dcc6416b18bbd50b4d244e6464f423f651de6
* | | Merge "Workaround a crash" into jb-devTeng-Hui Zhu2012-05-021-2/+8
|\ \ \ | |/ / |/| |
| * | Workaround a crashTeng-Hui Zhu2012-05-011-2/+8
| | | | | | | | | | | | | | | | | | | | | When content is empty, just minus an empty rect. bug:6404975 Change-Id: Ia12a64f93345bde7d3b92a99746b29e2e71bb652
* | | fix monkey scrolling crashChris Craik2012-05-011-12/+12
| |/ |/| | | | | | | | | | | | | bug:6336994 Depends on frameworks/base change: https://android-git.corp.google.com/g/#/c/186187/ Change-Id: Id9a179728a504a32b52bede9d30deb0dbeb39423
* | On new content, attach functor directlyChris Craik2012-04-251-12/+6
|/ | | | | | | | bug:6323847 depends on frameworks/base change: https://android-git.corp.google.com/g/#/c/184313/ Change-Id: I8f21317af746d501c92e338ce678434a2479576c
* Merge "CSS Background image implementation"Nicolas Roard2012-04-241-1/+1
|\
| * CSS Background image implementationNicolas Roard2012-04-241-1/+1
| | | | | | | | | | | | bug:1352305 Change-Id: Id9caaae9b9442729110b52c75004f634d8284db4
* | signal framework to unregister functorChris Craik2012-04-231-5/+15
|/ | | | Change-Id: Ia503e508a13c40c29f18db924dce4ac711b03c68
* Better handle the EGL context lost situation.Teng-Hui Zhu2012-04-201-3/+1
| | | | | | | | | 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 "Follow the new rule from framework about EGLContext deletion"Teng-Hui Zhu2012-04-181-2/+3
|\
| * Follow the new rule from framework about EGLContext deletionTeng-Hui Zhu2012-04-181-2/+3
| | | | | | | | | | bug:6325463 Change-Id: I303e2cf08feec110bd75c95f1de8ebc2e79f3c4c
* | add basic webview tracingChris Craik2012-04-161-0/+2
|/ | | | Change-Id: Id97ce1efab5918802cff5b90c0122b4cc2d7e73d
* Move the matrix support to rely on the new framework clip infoTeng-Hui Zhu2012-04-131-1/+3
| | | | | | | | | | In this new way, we don't need to worry about the animation offset, b/c it is in the clip rect. Also add the matrix support for video layer. bug:5684832 Change-Id: I08e22ca042e425f8f7af935b60e04f2a4dbc52df
* Merge "Correct viewport for GL drawing when webview is on FBO"Teng-Hui Zhu2012-04-121-4/+8
|\
| * Correct viewport for GL drawing when webview is on FBOTeng-Hui Zhu2012-04-111-4/+8
| | | | | | | | | | | | bug:6283539 Change-Id: I0d5fb92a9ad7e8b6781900bbc08e5afd48c53614
* | Fix crash.Mangesh Ghiware2012-04-111-21/+22
| | | | | | | | | | | | | | | | Add null checks for m_baseLayer. Refactor common code to a separate getLayerTransform() function that returns a draw tranform ptr. Bug: 6239165 Change-Id: I7c2079e58b49c10a780b099fea9e3d7959b7fe00
* | Merge "Revert "Revert "Keep selection handles in edit fields."""George Mount2012-04-101-2/+2
|\ \
| * | Revert "Revert "Keep selection handles in edit fields.""George Mount2012-04-101-2/+2
| | | | | | | | | This reverts commit eb4152454774fa6e38c8be1a2810bc893d494de3
| * | Revert "Keep selection handles in edit fields."George Mount2012-04-101-2/+2
| | | | | | | | | This reverts commit 76a09fb547aa97b2f0e9cbb1e4a800d61b30a477
| * | Keep selection handles in edit fields.George Mount2012-04-101-2/+2
| |/ | | | | | | | | | | | | Bug 6264769 Framework Change: I9ee89f8b1d4e6954092b8c4d677fb75b79354b36 Change-Id: Ie937a8c55da0f8aef66cfcee11beb961669b7168
* | Expand base layer bounds to fill viewportChris Craik2012-04-101-1/+2
|/ | | | | | | | | Additionally, paint area outside the content bounds with content bg color in software rendering path. bug:6304213 Change-Id: I6fe5246e82d30fe000e570c8dccb605d46fc428d
* Rename several classesChris Craik2012-04-041-0/+3
| | | | | | | | | | | | | | | | | | | | BaseTile,BaseTileTexture -> Tile,TileTexture Used in layers other than the base LayerGroup -> Surface Renamed to convey that it is a member of the SurfaceCollection, and that the layers grouped inside are painted together (if at all) DualTiledTexture -> SurfaceBacking Better conveys that this is the raster backing for a surface that can paint. It may be implemented with two tiled textures for now, but that isn't as important as its relationship to the surface. TiledTexture -> TileGrid Renamed to make it more clear that it was a container of tiles, and to be less similar to TileTexture Change-Id: I843f8603a2080cfe5a7313ba1c2eff10620f8aa2
* Use new draw-less functor execution mode to do work without redrawingTeng-Hui Zhu2012-04-021-22/+21
| | | | | | Depends on frameworks/base change https://android-git.corp.google.com/g/#/c/177934/ Change-Id: I9154017ef2990b3bebd038cabcaf3d93c9df14d8
* Snap selection handles to text.George Mount2012-03-282-15/+55
| | | | | | | Bug 6198286 Framework Change: I3c51ed5f6988d58440badfbe8b076fd83d48ae2a Change-Id: I55604f3ec28586beaec5fd98a27c9f4b8a59a8a5
* reimplement BaseLayerAndroid as a LayerAndroid subclassChris Craik2012-03-222-76/+41
| | | | | | Breaks low res tiling, and expanded rendering bounds. Change-Id: Iec3ba2adceb6bd95399594d29fd8c0b18c1122ce
* Fix location of selection handles on rotated text.George Mount2012-03-211-1/+19
| | | | | | | | Bug 6206177 The left/bottom of the caret is always the point at which the selection should point. The top/right is at the "top" of the text. Change-Id: Ie13f6ad5bfea3614892c0f986e019393f77ab3cf
* Remove unnecessary invertedTileSwitchJohn Reck2012-03-201-4/+1
| | | | Change-Id: Ifd27772aba0435ea55008400e4b42181bf45b944