summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/GLWebViewState.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Implement dual textures for layers to handle zooming correctly." into ↵Nicolas Roard2011-10-201-0/+4
|\ | | | | | | ics-mr0
| * Implement dual textures for layers to handle zooming correctly.Nicolas Roard2011-10-201-0/+4
| | | | | | | | | | | | | | | | | | We add a new class, DualTiledTexture, that encapsulate two TiledTextures and manage them according to the current scale factor. bug:5492874 Change-Id: I4ba3ff539f9242ae5102189e9623e1535e9cc28f
* | fix layer updates dropping invalsChris Craik2011-10-191-3/+2
|/ | | | | | | | | | bug:5473272 Layer inval regions were being dropped, since calling setBaseLayer multiple times in between drawGL() calls wouldn't call swapLayersTextures() on a layer tree, and the invals in it were lost. Change-Id: I36ebd419151613161a9a4fee858b9e97e83e61fd
* Switch find on page to GLJohn Reck2011-10-071-9/+3
| | | | | | | Bug: 5354191 Refactor how extras are drawn in GL Change-Id: Ifb61c73abecd2d074903a7fb44fe4b82aacc64ac
* HW accelate button focus ringsJohn Reck2011-10-031-1/+2
| | | | | | Bug: 5353510 Change-Id: I1bb306381864357dab4c38fd5c182fda2dd08d8c
* We be GL ringing it all over them layersJohn Reck2011-09-191-2/+2
| | | | | | Bug: 5333083 Change-Id: Ia2b03d8d9e0167d06f8a900152e25e66372acd59
* Enable double buffering via base tilesChris Craik2011-09-021-1/+1
| | | | | | | | | | | | bug:2522049 allocate textures and tiles using the gldraw count when they were most recently prepared remaining issues: -layers still flicker (presumably from texture stealing) -layers aren't double buffered yet Change-Id: Iccdf68326d7d476269d4e3a13903aaab249ee92d
* better locking while scrolling, but disables double bufferingChris Craik2011-08-251-11/+3
| | | | | | | | | | don't detect scrolling, query from java removes double buffering depends on CL in frameworks/base: https://android-git.corp.google.com/g/#/c/130213/ bug:5106313 Change-Id: Ibfa7f305874f4209fed001c030bb94e752d479b9
* Re-enable tile prefetching, correct and adjust max tile allocation logicChris Craik2011-08-221-2/+4
| | | | | bug:5168261 Change-Id: I37ec223da4ac1555cd925b08f105f9ed571cb2d9
* Refactoring of BaseLayerAndroid and GLWebViewState:Nicolas Roard2011-08-191-46/+11
| | | | | | | | | - we extract the GL set up GLWebViewState - we extract the zoom management to a new ZoomManager class bug:3392331 Change-Id: If42523a7192bab2f8c9d1f00a50721380340230d
* Revert prefetching for now, as we do not have enough tiles on stingrayNicolas Roard2011-08-181-1/+1
| | | | | | | to make it works well. bug:5168261 Change-Id: I5575195c192759629831e11dbc90a71bc1418475
* tile prefetching now triggered automaticallyChris Craik2011-08-171-0/+12
| | | | | | | | | bug:5178457 bug:5168261 Tiles are now prefetched at a distance of 2 from the view if the content is at least 1.2x the size of the view (in each dimension independantly) Change-Id: I1c251ffbbae709f8924133b9b22df39b4fa88b4c
* Support registering page swap callback, content invalChris Craik2011-08-021-0/+6
| | | | | | | | | | | | bug:5062896 Depends on the following frameworks/base change: https://android-git.corp.google.com/g/#change,124879 a WebView may now register a page swap callback and content invalidate to benchmark tile rendering performance Change-Id: I97f6ed05cff12b11266a472163aab1f3b3ddc87e
* added pageswap callback from drawGL to WebViewChris Craik2011-07-281-1/+2
| | | | | | | | | | | | | bug:5008210 When setting a new base layer, WebView can signal that it wants to have it's pageSwapCallback triggered. This is only done upon request, currently whenever the WebTextView is being displayed so that it can be repositioned upon pageswap. Depends on the following frameworks/base change: https://android-git.corp.google.com/g/#change,124607 Change-Id: Id99c2d5a15cdb4317802a92cedae16a9e0aebc8d
* Implements tiled layers. We remove all the existing code in LayerAndroidNicolas Roard2011-07-141-0/+10
| | | | | | | | | | | related to the old texture management and introduce two new classes: - PaintedSurface, used as a placeholder ui-side for the regularly changing LayerAndroid - TiledTexture, implementing the tiling of PaintedSurface using a set of BaseTile bug:4580444 bug:3392331 Change-Id: I0daa079d2acce49f3baa8c312ea0b0dd457ccd5c
* Remove legacy fps capJohn Reck2011-06-221-1/+0
| | | | | | Bug: 4743033 Change-Id: Ic0603ecf3af9290bd6d374aa8ddf4342948064ac
* Merge WebKit at r75315: Move Android-specific WebCore files to SourceSteve Block2011-05-121-0/+300
This moves files in the following WebCore subdirectories ... - bindings/js - bindings/v8/custom - plugins/android - platform/android - platform/graphics/android - page/ - css/ - dom/ - loader/archive/android