OSDN Git Service
Derek Sollenberger [Tue, 6 Sep 2011 20:03:58 +0000 (16:03 -0400)]
Fix for plugin being "centered" to the left corner instead of center
bug:
5149930
Change-Id: I23aa7f8292806897cbc99f7a36e6aec428daf859
Chris Craik [Mon, 29 Aug 2011 02:15:00 +0000 (19:15 -0700)]
Enable double buffering via base tiles
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
Steve Block [Fri, 2 Sep 2011 17:06:59 +0000 (10:06 -0700)]
Merge "Fix the Java bridge to correctly handle null strings"
Steve Block [Fri, 2 Sep 2011 16:50:48 +0000 (09:50 -0700)]
Merge changes Iebbac8a9,I854067cb
* changes:
Incorrect handling of 'display:' property within nested <ruby> tags
Remove some unsafe static_cast in rendering/
Steve Block [Thu, 1 Sep 2011 11:08:57 +0000 (12:08 +0100)]
Fix the Java bridge to correctly handle null strings
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
Steve Block [Fri, 2 Sep 2011 09:16:42 +0000 (10:16 +0100)]
Incorrect handling of 'display:' property within nested <ruby> tags
This is a cherry-pick of
http://trac.webkit.org/changeset/89987
Bug:
5244760
Change-Id: Iebbac8a93d6aabd0f8d568c9b1ace6f9316a6b6c
Steve Block [Fri, 2 Sep 2011 09:15:02 +0000 (10:15 +0100)]
Remove some unsafe static_cast in rendering/
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
Kristian Monsen [Fri, 2 Sep 2011 03:30:10 +0000 (20:30 -0700)]
Merge "Closing idle connections, including jni interface"
Kristian Monsen [Thu, 25 Aug 2011 19:33:21 +0000 (20:33 +0100)]
Closing idle connections, including jni interface
Part of fix for bug
4487538 Current Drain
Change-Id: Ib08ea52c1c71726b76a5811663b6990aa13146ad
Derek Sollenberger [Thu, 1 Sep 2011 19:53:19 +0000 (12:53 -0700)]
Merge "Reapply CL for: "Fix for antialiased text with shadows.""
Teng-Hui Zhu [Thu, 1 Sep 2011 16:30:09 +0000 (09:30 -0700)]
Merge "WebView animation support"
John Reck [Thu, 1 Sep 2011 15:43:25 +0000 (08:43 -0700)]
Merge "Allow native to query selection region"
Derek Sollenberger [Thu, 1 Sep 2011 13:04:10 +0000 (06:04 -0700)]
Reapply CL for: "Fix for antialiased text with shadows."
This reverts commit
e6303b0e3d1473670390053d70a691697ac8b0e6
Steve Block [Thu, 1 Sep 2011 09:00:48 +0000 (02:00 -0700)]
Merge "Fix some leaked JNI local references in the Java Bridge"
Steve Block [Wed, 6 Jul 2011 11:57:47 +0000 (12:57 +0100)]
Fix some leaked JNI local references in the Java Bridge
This includes a cherry-pick of http://trac.webkit.org/changeset/92689
Bug:
5244518
Change-Id: I38704f2307ab667ee6019fb096265609e27618cc
John Reck [Thu, 1 Sep 2011 00:01:41 +0000 (17:01 -0700)]
Allow native to query selection region
Bug:
5224394
Bug:
5208328
Change-Id: I2141ad80a78f717e3005740285661cd1f558dfca
Teng-Hui Zhu [Wed, 31 Aug 2011 21:46:17 +0000 (14:46 -0700)]
WebView animation support
bug:
4982054
Change-Id: I6f4fe313d242f728a515c485a2531611d7166198
Nicolas Roard [Wed, 31 Aug 2011 22:06:47 +0000 (15:06 -0700)]
Disable UI-side animations for now, and let webkit deal with them.
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
Nicolas Roard [Wed, 31 Aug 2011 20:51:42 +0000 (13:51 -0700)]
Enable the FAST_PICTURESET codepath
bug:
5218173 bug:
5145259
Change-Id: I4518185eb8501dffeef99c08c4ae703c63326e91
Nicolas Roard [Wed, 31 Aug 2011 20:21:42 +0000 (13:21 -0700)]
Merge "Implement a faster pictureset Cluster the invalidations in regular buckets"
Nicolas Roard [Wed, 31 Aug 2011 02:33:56 +0000 (19:33 -0700)]
Implement a faster pictureset
Cluster the invalidations in regular buckets
bug:
5218173 bug:
5145259
Change-Id: Ie3b4be6848b51ca0306bd163803635f9481ace9b
Steve Block [Wed, 31 Aug 2011 13:23:18 +0000 (06:23 -0700)]
Merge "Make sure WebViewClient.onPageStarted() doesn't preceed WebViewClient.shouldOverrideUrlLoading()"
Steve Block [Thu, 25 Aug 2011 11:41:57 +0000 (12:41 +0100)]
Make sure WebViewClient.onPageStarted() doesn't preceed 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
Nicolas Roard [Wed, 31 Aug 2011 00:21:01 +0000 (17:21 -0700)]
Reduce the number of dirty buffers (not needed anymore)
bug:
5145259
Change-Id: I05ab5682a1a95b5d0f14c6ff7609b8f6141a2fc5
Nicolas Roard [Wed, 31 Aug 2011 00:13:28 +0000 (17:13 -0700)]
Fix repaint issues with BaseTile
bug:
5225313
Change-Id: I1cf4f60f005f00f8b1cc8454fce189b6a91d2dac
Teng-Hui Zhu [Tue, 30 Aug 2011 16:22:26 +0000 (09:22 -0700)]
Merge "Fix the null pointer crash when playing full screen video."
Teng-Hui Zhu [Mon, 29 Aug 2011 22:11:12 +0000 (15:11 -0700)]
Fix the null pointer crash when playing full screen video.
bug:
5220693
Change-Id: I3696a8523c3328363ec9d162ef32525c7fbab930
Russell Brenner [Mon, 29 Aug 2011 18:38:24 +0000 (11:38 -0700)]
Merge "Add Harfbuzz support for fallback fonts (redux)"
Derek Sollenberger [Mon, 29 Aug 2011 17:51:19 +0000 (13:51 -0400)]
Fix plugin crashes due to bad ref counting.
bug:
5197948
Change-Id: Iece573a141feda56af2123b5fc9ace4cefa5139d
Ben Murdoch [Fri, 26 Aug 2011 15:14:44 +0000 (16:14 +0100)]
Fix PictureSet invlidation rectangle bug
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
Ben Murdoch [Fri, 26 Aug 2011 10:35:50 +0000 (11:35 +0100)]
Fix crash when scrolling non-HW accelerated WebView
Need to null check m_glWebViewState. It should also have
a compile time guard.
Bug:
5219373
Change-Id: I36fc559fd20e54dc34912f7843a9aa6d2316765b
Chris Craik [Thu, 25 Aug 2011 22:13:37 +0000 (15:13 -0700)]
Merge "better locking while scrolling, but disables double buffering"
Chris Craik [Tue, 23 Aug 2011 20:36:18 +0000 (13:36 -0700)]
better locking while scrolling, but disables double buffering
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
Teng-Hui Zhu [Thu, 25 Aug 2011 21:21:38 +0000 (14:21 -0700)]
Merge "Fix the duration value for the html5 inline video"
Teng-Hui Zhu [Thu, 25 Aug 2011 18:51:51 +0000 (11:51 -0700)]
Fix the duration value for the html5 inline video
bug:
4600281
Change-Id: Ied1cd64744b59b9b272547656bc250c9eea5ed9e
Teng-Hui Zhu [Wed, 24 Aug 2011 20:23:03 +0000 (13:23 -0700)]
Merge "Prevent preparing a page with an invalid size."
Teng-Hui Zhu [Tue, 23 Aug 2011 23:18:08 +0000 (16:18 -0700)]
Prevent preparing a page with an invalid size.
bug:
5185840
Change-Id: I9ac0ad0fcee76be8864494fd55398edf1e68506f
Teng-Hui Zhu [Wed, 24 Aug 2011 20:07:49 +0000 (13:07 -0700)]
Merge "The real fix for the video forward/back button."
Teng-Hui Zhu [Wed, 24 Aug 2011 18:16:07 +0000 (11:16 -0700)]
The real fix for the video forward/back button.
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
Teng-Hui Zhu [Wed, 24 Aug 2011 17:38:00 +0000 (10:38 -0700)]
Merge "video UI fix, hide the forward/back button"
Teng-Hui Zhu [Mon, 22 Aug 2011 23:09:12 +0000 (16:09 -0700)]
video UI fix, hide the forward/back button
bug:
4598827
Change-Id: I7de60b79e79bbb0de8c3524764ccdbd6ff582268
Nicolas Roard [Tue, 23 Aug 2011 22:45:06 +0000 (15:45 -0700)]
Merge "Limit the number of inval rects we send to the UI"
Nicolas Roard [Tue, 23 Aug 2011 22:31:32 +0000 (15:31 -0700)]
Limit the number of inval rects we send to the UI
bug:
5204192
Change-Id: I5c29e9b2411ac2e05274d9a89c472285ed1aeb67
Russell Brenner [Thu, 18 Aug 2011 20:39:43 +0000 (13:39 -0700)]
Add Harfbuzz support for fallback fonts (redux)
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
Chris Craik [Tue, 23 Aug 2011 17:02:28 +0000 (10:02 -0700)]
Merge "Re-enable tile prefetching, correct and adjust max tile allocation logic"
Teng-Hui Zhu [Mon, 22 Aug 2011 23:46:13 +0000 (16:46 -0700)]
Merge "Avoid the lock when dealing with Surface Texture"
Chris Craik [Mon, 22 Aug 2011 22:49:32 +0000 (15:49 -0700)]
Re-enable tile prefetching, correct and adjust max tile allocation logic
bug:
5168261
Change-Id: I37ec223da4ac1555cd925b08f105f9ed571cb2d9
Teng-Hui Zhu [Mon, 22 Aug 2011 21:40:07 +0000 (14:40 -0700)]
Merge "Merge the line by line copy into one when appropiate"
John Reck [Mon, 22 Aug 2011 21:37:54 +0000 (14:37 -0700)]
Merge "Press state colors update"
John Reck [Mon, 22 Aug 2011 21:31:24 +0000 (14:31 -0700)]
Press state colors update
Bug:
5173644
Change-Id: Ic5a30410e7805e44880773420a3a20b587f80a28
Teng-Hui Zhu [Mon, 22 Aug 2011 20:37:08 +0000 (13:37 -0700)]
Avoid the lock when dealing with Surface Texture
The lock over the surface texture operation is unnecessary.
They just need to be around the transfer queue operation.
bug:
5185840
Change-Id: Ia09ec5f6049421047aac1944efbf601cdc179a52
Teng-Hui Zhu [Mon, 22 Aug 2011 20:20:28 +0000 (13:20 -0700)]
Merge the line by line copy into one when appropiate
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
Teng-Hui Zhu [Mon, 22 Aug 2011 18:27:10 +0000 (11:27 -0700)]
Fix the mouse handling for the video control
bug:
5137664
Change-Id: I0f2b1a84beebe03d4282e728bb26ec70d05bf813
Nicolas Roard [Fri, 19 Aug 2011 18:46:09 +0000 (11:46 -0700)]
Refactoring of BaseLayerAndroid and GLWebViewState:
- we extract the GL set up GLWebViewState
- we extract the zoom management to a new ZoomManager class
bug:
3392331
Change-Id: If42523a7192bab2f8c9d1f00a50721380340230d
Teng-Hui Zhu [Fri, 19 Aug 2011 16:52:14 +0000 (09:52 -0700)]
Merge "Show/hide HTML5 video control properly according to the touch event"
Teng-Hui Zhu [Fri, 19 Aug 2011 00:03:04 +0000 (17:03 -0700)]
Show/hide HTML5 video control properly according to the touch event
Due to the webkit merge, some code of handling touch and control is gone.
Now basically add this functionality back.
Refer to the original CL : c/101875
bug:
5137664
Change-Id: I951c88cf8fa86061a13465f966fb291706104d8f
Nicolas Roard [Fri, 19 Aug 2011 00:04:49 +0000 (17:04 -0700)]
Revert prefetching for now, as we do not have enough tiles on stingray
to make it works well.
bug:
5168261
Change-Id: I5575195c192759629831e11dbc90a71bc1418475
Nicolas Roard [Thu, 18 Aug 2011 22:45:30 +0000 (15:45 -0700)]
Merge "Fix repaint when we toggle the inverted mode - add a boolean return in WebView::nativeSetProperty() - add an inverted flag in BaseTileTexture"
Nicolas Roard [Thu, 18 Aug 2011 18:47:41 +0000 (11:47 -0700)]
Fix repaint when we toggle the inverted mode
- add a boolean return in WebView::nativeSetProperty()
- add an inverted flag in BaseTileTexture
Note that we invert the textures rather than the final screen.
bug:
5167645
java counterpart: https://android-git.corp.google.com/g/#/c/129133/
Change-Id: I249e429dbabb347b1c5c0828ef4fad17ece6e4b3
Russell Brenner [Thu, 18 Aug 2011 20:45:51 +0000 (13:45 -0700)]
Merge "Revert "Add Harfbuzz support for system fallback fonts""
Russell Brenner [Thu, 18 Aug 2011 18:21:29 +0000 (11:21 -0700)]
Revert "Add Harfbuzz support for system fallback fonts"
On large pages, too many font file references are open for mmap
streaming. Rolling back this feature while I add caching.
This reverts commit
cfcbe02678eabf19b6b904be61d9991d4515ecb6.
Bug:
5179817
Change-Id: I689db7794c945d548a90006b9484467b784d4b11
Teng-Hui Zhu [Thu, 18 Aug 2011 17:58:45 +0000 (10:58 -0700)]
Merge "refactor the nativeWindow handling in TransferQueue"
Chris Craik [Thu, 18 Aug 2011 16:41:46 +0000 (09:41 -0700)]
Merge "tile prefetching now triggered automatically"
Teng-Hui Zhu [Wed, 17 Aug 2011 21:55:16 +0000 (14:55 -0700)]
refactor the nativeWindow handling in TransferQueue
bug:
5161750
Change-Id: I33735f258abf850fa3afd7769385b38691365da3
Nicolas Roard [Thu, 18 Aug 2011 00:49:01 +0000 (17:49 -0700)]
Merge "Reduce the tiles lookup complexity"
Nicolas Roard [Wed, 17 Aug 2011 23:25:30 +0000 (16:25 -0700)]
Reduce the tiles lookup complexity
bug:
5032212
Change-Id: Id3c6ff55de995f1c6b3f9bf36e941f3f499f0bc8
Chris Craik [Wed, 17 Aug 2011 18:59:05 +0000 (11:59 -0700)]
tile prefetching now triggered automatically
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
John Reck [Wed, 17 Aug 2011 22:39:35 +0000 (15:39 -0700)]
Merge "Remove shouldOverrideUrlLoading restrictions"
John Reck [Wed, 17 Aug 2011 22:14:59 +0000 (15:14 -0700)]
Remove shouldOverrideUrlLoading restrictions
Bug:
5171504
Change-Id: I5c2dfc8a0fbf07cb5df11bddfafd9f7251380402
Teng-Hui Zhu [Wed, 17 Aug 2011 18:56:36 +0000 (11:56 -0700)]
Merge "Fix Gmail blank page"
Nicolas Roard [Wed, 17 Aug 2011 18:50:35 +0000 (11:50 -0700)]
Merge "Implement partial repaint for layers (at the tile level) Fixes a scheduling problem with layers"
Teng-Hui Zhu [Wed, 17 Aug 2011 18:24:04 +0000 (11:24 -0700)]
Fix Gmail blank page
Gmail is updating the tilePages in different scale factor.
One of the beginning scale factor happens to be the same as the initial value 1.0,
then the code will consider the page is prepared which is not true, and we miss
the necessary page update.
Changing the initial value will make sure that we know the current page is not
really prepared yet. And we can update accordingly.
bug:
5134126
Change-Id: Ieb4d01513fc4fbe9d996ab62ad5eb43bb5aace2e
Nicolas Roard [Fri, 12 Aug 2011 01:34:30 +0000 (18:34 -0700)]
Implement partial repaint for layers (at the tile level)
Fixes a scheduling problem with layers
bug:
3392331 bug:
5145259
Change-Id: I2ea2c91f2c6d6f5288375cb5ebdaa69819b740be
Ben Murdoch [Wed, 17 Aug 2011 18:35:19 +0000 (11:35 -0700)]
Merge "Cherry pick WebKit r87114"
Ben Murdoch [Wed, 17 Aug 2011 18:35:04 +0000 (11:35 -0700)]
Merge "Add xhdpi constants for combo box."
Ben Murdoch [Wed, 17 Aug 2011 12:51:54 +0000 (13:51 +0100)]
Cherry pick WebKit r87114
http://trac.webkit.org/changeset/87114
Bug:
5139032
Change-Id: Ia5a3607ad9163e19d2be5df522fddea3ccd6357e
Ben Murdoch [Wed, 17 Aug 2011 09:33:58 +0000 (10:33 +0100)]
Add xhdpi constants for combo box.
Update the asset sizes and margins so that the new xhdpi assets
display correctly.
Bug:
5171535
Change-Id: Id2f1c378563fd60e6493f513c78ffaea443454e7
Derek Sollenberger [Wed, 17 Aug 2011 16:27:48 +0000 (09:27 -0700)]
Merge "Fix NinePatch issue when the destination is smaller than the asset"
Kristian Monsen [Wed, 17 Aug 2011 09:41:34 +0000 (02:41 -0700)]
Merge "Fix for bug
3429537 Google voice (web version) does not play messages on HC"
Kristian Monsen [Wed, 17 Aug 2011 09:41:16 +0000 (02:41 -0700)]
Merge "Testing for bug
5122864 libwebcore related libraries increased by 3MB in ICS vs HCMR2"
Ben Murdoch [Wed, 17 Aug 2011 09:28:37 +0000 (02:28 -0700)]
Merge "Lazily decode assets for form controls."
Russell Brenner [Tue, 16 Aug 2011 22:06:30 +0000 (15:06 -0700)]
Merge "Add Harfbuzz support for system fallback fonts"
Russell Brenner [Wed, 10 Aug 2011 00:16:42 +0000 (17:16 -0700)]
Add Harfbuzz support for system fallback fonts
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.
Bug:
5087744
Change-Id: I3a3469bcd589ee796c9b5a828fb47d40ecb38738
Chris Craik [Tue, 16 Aug 2011 16:51:16 +0000 (09:51 -0700)]
Merge "full screen delayed repaints no longer dropped in GLWebViewState"
Kristian Monsen [Tue, 16 Aug 2011 15:56:03 +0000 (16:56 +0100)]
Testing for bug
5122864 libwebcore related libraries increased by 3MB in ICS vs HCMR2
Reenabling chromium as a shread lib
Change-Id: I746dad6c4ec8410fea3f525820362f1b54c07a6c
Ben Murdoch [Wed, 27 Jul 2011 12:53:42 +0000 (13:53 +0100)]
Lazily decode assets for form controls.
Rather than decoding the graphics when we create a WebView, wait until
we actually need them. This saves about 50ms on native WebView creation time.
Requires frameworks/base change:
I5a2e87d03d73fa74ebb00c33567783225ed97d3a
Bug:
5084146
Change-Id: Ia6c17634f535ed75b2a0757ac4d53f1a0befb78a
Kristian Monsen [Mon, 15 Aug 2011 10:25:07 +0000 (11:25 +0100)]
Fix for bug
3429537 Google voice (web version) does not play messages on HC
Sending the WebView to java so it can get the private status of
the window.
Depends on frameworks/base CL: https://android-git.corp.google.com/g/#/c/127813/
Change-Id: I014ca73557ba6a2b5fb4f1051465ec7d4bb3ebd5
Derek Sollenberger [Tue, 16 Aug 2011 13:25:01 +0000 (09:25 -0400)]
Fix NinePatch issue when the destination is smaller than the asset
bug:
5041053
Change-Id: Ic06d6d161a04d2d501ad629ba24f827ac6f98331
Kristian Monsen [Tue, 16 Aug 2011 11:07:23 +0000 (04:07 -0700)]
Merge "Parts of fix for bug
5152544 Reduce the number of warning, initializers"
Ben Murdoch [Tue, 16 Aug 2011 09:11:53 +0000 (02:11 -0700)]
Merge "Check the available memory when allocating an ImageBuffer."
Chris Craik [Mon, 15 Aug 2011 23:23:32 +0000 (16:23 -0700)]
full screen delayed repaints no longer dropped in GLWebViewState
bug:
5049965
Full screen repaints were passing incorrect inval regions. Added special case
for delayed full repaints to pass full screen back as inval region from drawGL()
method. Since no valid inval region was passed to framework to redraw, the
view's drawGL() wasn't called again, so the tiledPages couldn't be swapped.
Change-Id: Ibbcec77b304c01ba1e3072376480e04613aad56e
Derek Sollenberger [Mon, 15 Aug 2011 19:44:17 +0000 (12:44 -0700)]
Merge "Fixing issues needed to get Ganesh working with SurfaceTextures."
Derek Sollenberger [Fri, 12 Aug 2011 20:16:59 +0000 (16:16 -0400)]
Fixing issues needed to get Ganesh working with SurfaceTextures.
bug:
5013645
Change-Id: I255a19c68d8a98231b1500d93d21649d15d70820
Teng-Hui Zhu [Fri, 12 Aug 2011 17:46:50 +0000 (10:46 -0700)]
Merge "Remove old code handling SurfTex RGBA in 2D mode"
Ben Murdoch [Wed, 10 Aug 2011 12:17:08 +0000 (13:17 +0100)]
Check the available memory when allocating an ImageBuffer.
The ImageBuffers used by canvas can eat a ton of memory quickly, so
be mindful of the available memory on the device before allocating
them.
See also frameworks/base change
I3d0f85075497c2a374cd866b0223eecaaa4b5f46
Bug:
5142892
Change-Id: I74d243ef9d0d63aac168c16653e9aae0430dfa21
Kristian Monsen [Fri, 12 Aug 2011 10:11:07 +0000 (03:11 -0700)]
Merge changes I08b329cd,I06a7975d
* changes:
Part of fix for bug
5152544 Reduce the number of warning, int and size_t
Part of fix for bug
5152544 Reduce the number of warning
Ben Murdoch [Fri, 12 Aug 2011 09:36:29 +0000 (02:36 -0700)]
Merge "Force canvas scale factor to 1."
Teng-Hui Zhu [Thu, 11 Aug 2011 22:33:38 +0000 (15:33 -0700)]
Remove old code handling SurfTex RGBA in 2D mode
bug:
4982054
Change-Id: Ic8c559df84af0cd1ad27c281eadbc6adf74bea68
Chris Craik [Thu, 11 Aug 2011 22:23:37 +0000 (15:23 -0700)]
Merge "Remove ANativeWindow call to avoid blocking call"
Chris Craik [Thu, 11 Aug 2011 21:06:51 +0000 (14:06 -0700)]
Remove ANativeWindow call to avoid blocking call
bug:
5114637
Determine alpha blending through surface texture instead of ANativeWindow call.
Should no longer break the gpl build...
Change-Id: Iacc733c29413f0302304b78f378a003d690199f0