summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Fix old textures not being repaintedChris Craik2011-09-061-0/+4
| | | | | | | | | bug:5261488 Tile textures that were reacquired by the same tiles weren't being marked as dirty. Change-Id: Ie5c41ff7a8166e5e48736bdc504b90e8c5512f79
* Enable double buffering via base tilesChris Craik2011-09-0219-338/+382
| | | | | | | | | | | | 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
* Merge "Fix the Java bridge to correctly handle null strings"Steve Block2011-09-021-0/+15
|\
| * Fix the Java bridge to correctly handle null stringsSteve Block2011-09-021-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Passing null to methods expecting java/lang/String ... - Previously null was converted to the empty string but should be converted to Java null. - convertNPVariantToJavaValue() already converts a null NPVariant to a null WTF::String. - Fixed javaValueToJvalue() to convert a null WTF::String to a null jvalue. Returning null from a method with return type java/lang/String ... - Previously this would crash when trying to get the characters from the null jstring, but should return JavaScript undefined. - Fixed jvalueToJavaValue() to convert a null jvalue to a null WTF::String. - Fixed convertJavaValueToNPVariant() to convert a null WTF::String to a void NPVariant. Both of these are regressions from HC due to http://trac.webkit.org/changeset/82194. Added tests in https://android-git.corp.google.com/g/#/c/132580 Bug: 5222742 Change-Id: Id08bc7b40a51426fa7638ad0ed5260d09f3e28bb
* | Merge changes Iebbac8a9,I854067cbSteve Block2011-09-021-12/+32
|\ \ | | | | | | | | | | | | | | | * changes: Incorrect handling of 'display:' property within nested <ruby> tags Remove some unsafe static_cast in rendering/
| * | Incorrect handling of 'display:' property within nested <ruby> tagsSteve Block2011-09-021-14/+34
| | | | | | | | | | | | | | | | | | | | | | | | This is a cherry-pick of http://trac.webkit.org/changeset/89987 Bug: 5244760 Change-Id: Iebbac8a93d6aabd0f8d568c9b1ace6f9316a6b6c
| * | Remove some unsafe static_cast in rendering/Steve Block2011-09-021-4/+4
| |/ | | | | | | | | | | | | | | | | | | | | This is a partial cherry-pick of http://trac.webkit.org/changeset/89304 It is required to allow us to cherry-pick http://trac.webkit.org/changeset/89987 Bug: 5244760 Change-Id: I854067cbc297e667ec432f947a268eef5c4dfa0f
* | Merge "Closing idle connections, including jni interface"Kristian Monsen2011-09-013-0/+28
|\ \
| * | Closing idle connections, including jni interfaceKristian Monsen2011-09-023-0/+28
| | | | | | | | | | | | | | | | | | Part of fix for bug 4487538 Current Drain Change-Id: Ib08ea52c1c71726b76a5811663b6990aa13146ad
* | | Merge "Reapply CL for: "Fix for antialiased text with shadows.""Derek Sollenberger2011-09-011-0/+1
|\ \ \
| * | | Reapply CL for: "Fix for antialiased text with shadows."Derek Sollenberger2011-09-011-0/+1
| | | | | | | | | | | | This reverts commit e6303b0e3d1473670390053d70a691697ac8b0e6
* | | | Merge "WebView animation support"Teng-Hui Zhu2011-09-014-5/+40
|\ \ \ \
| * | | | WebView animation supportTeng-Hui Zhu2011-08-314-5/+40
| | | | | | | | | | | | | | | | | | | | | | | | | bug:4982054 Change-Id: I6f4fe313d242f728a515c485a2531611d7166198
* | | | | Merge "Allow native to query selection region"John Reck2011-09-013-0/+26
|\ \ \ \ \
| * | | | | Allow native to query selection regionJohn Reck2011-08-313-0/+26
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 5224394 Bug: 5208328 Change-Id: I2141ad80a78f717e3005740285661cd1f558dfca
* | | | | Merge "Fix some leaked JNI local references in the Java Bridge"Steve Block2011-09-014-11/+25
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | Fix some leaked JNI local references in the Java BridgeSteve Block2011-09-014-11/+25
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | This includes a cherry-pick of http://trac.webkit.org/changeset/92689 Bug: 5244518 Change-Id: I38704f2307ab667ee6019fb096265609e27618cc
* | | | Disable UI-side animations for now, and let webkit deal with them.Nicolas Roard2011-08-311-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Webkit communication/updates are now fast enough that it's not really an issue, and this fixes a few annoying bugs. bug:4104067 Change-Id: I5994f37de488bb5df1cd06523ed4f0c8cc8a2027
* | | | Enable the FAST_PICTURESET codepathNicolas Roard2011-08-312-2/+2
| | | | | | | | | | | | | | | | | | | | bug:5218173 bug:5145259 Change-Id: I4518185eb8501dffeef99c08c4ae703c63326e91
* | | | Merge "Implement a faster pictureset Cluster the invalidations in regular ↵Nicolas Roard2011-08-313-41/+425
|\ \ \ \ | |/ / / |/| | | | | | | buckets"
| * | | Implement a faster picturesetNicolas Roard2011-08-313-41/+425
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cluster the invalidations in regular buckets bug:5218173 bug:5145259 Change-Id: Ie3b4be6848b51ca0306bd163803635f9481ace9b
* | | | Merge "Make sure WebViewClient.onPageStarted() doesn't preceed ↵Steve Block2011-08-314-25/+37
|\ \ \ \ | |/ / / |/| | | | | | | WebViewClient.shouldOverrideUrlLoading()"
| * | | Make sure WebViewClient.onPageStarted() doesn't preceed ↵Steve Block2011-08-314-25/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WebViewClient.shouldOverrideUrlLoading() In the case of a server-side redirect, we were triggering a callback to WebViewClient.onPageStarted() before we'd called WebViewClient.shouldOverrideUrlLoading(). This change delays calling WebViewClient.onPageStarted() until after WebViewClient.shouldOverrideUrlLoading() has returned and has indicated that the WebView should continue with the load. Bug: 5191031 Change-Id: I43d12c4df46e5d6e2defad10e80efbf0d5c30aed
* | | | Reduce the number of dirty buffers (not needed anymore)Nicolas Roard2011-08-301-2/+2
| | | | | | | | | | | | | | | | | | | | bug:5145259 Change-Id: I05ab5682a1a95b5d0f14c6ff7609b8f6141a2fc5
* | | | Fix repaint issues with BaseTileNicolas Roard2011-08-301-0/+3
| | | | | | | | | | | | | | | | | | | | bug:5225313 Change-Id: I1cf4f60f005f00f8b1cc8454fce189b6a91d2dac
* | | | Merge "Fix the null pointer crash when playing full screen video."Teng-Hui Zhu2011-08-302-0/+10
|\ \ \ \ | |/ / / |/| / / | |/ /
| * | Fix the null pointer crash when playing full screen video.Teng-Hui Zhu2011-08-292-0/+10
| | | | | | | | | | | | | | | bug:5220693 Change-Id: I3696a8523c3328363ec9d162ef32525c7fbab930
* | | Merge "Add Harfbuzz support for fallback fonts (redux)"Russell Brenner2011-08-293-5/+90
|\ \ \
| * | | Add Harfbuzz support for fallback fonts (redux)Russell Brenner2011-08-233-5/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When Skia resorts to fallback fonts for non-latin characters, it retains the font ID of originally requested font, concealing the fact that a fallback was invoked. Harfbuzz needs to know the fallback font ID to read the correct GSUB/GPOS tables from the fallback font file so that these complex languages can be properly rendered. This change uses the script recognized by Harfbuzz as a means to surmise the fallback font that would be used by Skia and then injects that font file as a replacement for the originally requested font. Fallback fonts are loaded once and reused multiple times. An earlier implementation did not cache fonts in this way, causing large pages to run out of files for mmap streaming. Bug: 5087744 Change-Id: I61222829209d9bd6df465d37923ccff3681c2c54
* | | | Fix plugin crashes due to bad ref counting.Derek Sollenberger2011-08-295-16/+16
| |/ / |/| | | | | | | | | | | bug: 5197948 Change-Id: Iece573a141feda56af2123b5fc9ace4cefa5139d
* | | Fix PictureSet invlidation rectangle bugBen Murdoch2011-08-262-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set the height of the invalidation rectangle correctly. The last parameter to SkRect::set should be the bottom of the rectangle, not the desited height. Also, clear the content when we navigate between pages to avoid showing any stale content. Bug: 5213749 Change-Id: Ic75b9e9d8632750a15a03ebfbd4291fad03fca6a
* | | Fix crash when scrolling non-HW accelerated WebViewBen Murdoch2011-08-261-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | Need to null check m_glWebViewState. It should also have a compile time guard. Bug: 5219373 Change-Id: I36fc559fd20e54dc34912f7843a9aa6d2316765b
* | | Merge "better locking while scrolling, but disables double buffering"Chris Craik2011-08-257-65/+84
|\ \ \
| * | | better locking while scrolling, but disables double bufferingChris Craik2011-08-257-65/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge "Fix the duration value for the html5 inline video"Teng-Hui Zhu2011-08-251-0/+5
|\ \ \ \
| * | | | Fix the duration value for the html5 inline videoTeng-Hui Zhu2011-08-251-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:4600281 Change-Id: Ied1cd64744b59b9b272547656bc250c9eea5ed9e
* | | | | Merge "Prevent preparing a page with an invalid size."Teng-Hui Zhu2011-08-241-3/+12
|\ \ \ \ \
| * | | | | Prevent preparing a page with an invalid size.Teng-Hui Zhu2011-08-241-3/+12
| | |/ / / | |/| | | | | | | | | | | | | | | | | | bug:5185840 Change-Id: I9ac0ad0fcee76be8864494fd55398edf1e68506f
* | | | | Merge "The real fix for the video forward/back button."Teng-Hui Zhu2011-08-242-1/+3
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / /
| * | | The real fix for the video forward/back button.Teng-Hui Zhu2011-08-242-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the code move to the /shadow part, revert the previous change c/130242 and put in this new change. bug:4598827 Change-Id: I6592050e198d2801d87ccc1558ceb2bf6dfc25d5
* | | | Merge "video UI fix, hide the forward/back button"Teng-Hui Zhu2011-08-241-1/+1
|\ \ \ \ | |/ / /
| * | | video UI fix, hide the forward/back buttonTeng-Hui Zhu2011-08-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | bug:4598827 Change-Id: I7de60b79e79bbb0de8c3524764ccdbd6ff582268
* | | | Merge "Limit the number of inval rects we send to the UI"Nicolas Roard2011-08-231-0/+20
|\ \ \ \
| * | | | Limit the number of inval rects we send to the UINicolas Roard2011-08-231-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:5204192 Change-Id: I5c29e9b2411ac2e05274d9a89c472285ed1aeb67
* | | | | Merge "Re-enable tile prefetching, correct and adjust max tile allocation logic"Chris Craik2011-08-233-9/+16
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Re-enable tile prefetching, correct and adjust max tile allocation logicChris Craik2011-08-223-9/+16
| |/ / / | | | | | | | | | | | | | | | | bug:5168261 Change-Id: I37ec223da4ac1555cd925b08f105f9ed571cb2d9
* | | | Merge "Avoid the lock when dealing with Surface Texture"Teng-Hui Zhu2011-08-221-4/+4
|\ \ \ \
| * | | | Avoid the lock when dealing with Surface TextureTeng-Hui Zhu2011-08-221-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The lock over the surface texture operation is unnecessary. They just need to be around the transfer queue operation. bug:5185840 Change-Id: Ia09ec5f6049421047aac1944efbf601cdc179a52
* | | | | Merge "Merge the line by line copy into one when appropiate"Teng-Hui Zhu2011-08-221-6/+10
|\ \ \ \ \ | |/ / / /
| * | | | Merge the line by line copy into one when appropiateTeng-Hui Zhu2011-08-221-6/+10
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the stride is the same as the bitmap width, we can just use single memcpy to copy the whole content. bug:5196685 Change-Id: I01c9a673c8e95e14eb23f3d7df4002c886b7554d