Mathias Agopian
76cd4ddc6a
partially fix [3306150] HTML5 video with H/W acceleration blackout
...
We used to guarantee that a layer in SurfaceFlinger would never be
destroyed before all references (to its ISurface) on the client
side would be released. At some point, this guarantee got
relaxed to allow to free gralloc resources sooner. This last
change was incorrect, because:
- in implementations with reference-counting the gralloc resources
wouldn't be released anyways, until all the mapping were gone
- in implementations without ref counting, the client side
would most likely crash or do something bad
- it also caused the SharedBufferStack slot to be reallocated
to another surface, which could be problematic if the client
continued to use the surface after the window manager destroyed it.
So, we essentially reinstate the guarantee that layers won't be
destroyed until after all references to their ISurface are
released.
NOTE: This doesn't entirely fix 3306150 because there is another
problem there where the Browser continues to use a surface after it
has been destroyed.
Change-Id: I305c830dd722b30a6d53cbf3a9c714fd3cf7eb06
2011-01-14 18:19:02 -08:00
Romain Guy
a034863a11
Merge "Cleanup GL objects on the correct thread." into honeycomb
2011-01-12 12:50:50 -08:00
Romain Guy
b2262c91c6
Merge "Fix CTS test. Bug #3345445 " into honeycomb
2011-01-12 12:47:30 -08:00
Kenny Root
fd71d288cf
Merge "Skip SD card tests on devices without SD cards" into honeycomb
2011-01-12 12:28:39 -08:00
Jaikumar Ganesh
1ed008bf08
Merge "Add ability to parse keyboard fixed pin auto pair blacklist." into honeycomb
2011-01-12 12:22:57 -08:00
Jaikumar Ganesh
3712282e0a
Merge "Revert "Add temporary hack for keyboards not following spec."" into honeycomb
2011-01-12 12:22:50 -08:00
Leon Scroggins
7db98c291c
Merge "Differentiate between clicks for focus and actual clicks." into honeycomb
2011-01-12 12:01:31 -08:00
Kenny Root
211d93f4df
Merge "Allow updated system apps to retain priority" into honeycomb
2011-01-12 11:58:11 -08:00
James Dong
8a27bdcea1
Merge "Speed up MP3Extractor using cached reads" into honeycomb
2011-01-12 11:54:32 -08:00
Alex Sakhartchouk
32258245f4
Merge "Adding ability to load cubemaps from individual faces." into honeycomb
2011-01-12 11:53:42 -08:00
Kristian Monsen
3c35a329b3
Merge "Add a static method to get the InputStream of a content URL" into honeycomb
2011-01-12 11:15:20 -08:00
Kristian Monsen
d9face92ee
Merge "Adding a static method to get the size of a content url" into honeycomb
2011-01-12 11:15:09 -08:00
Michael Jurka
c9a8dc97a6
Merge "Add sym_def_app_icon to mipmap directory" into honeycomb
2011-01-12 11:06:44 -08:00
Chet Haase
f3ec504c02
Merge "New interpolator resources now found in interpolator/ directory" into honeycomb
2011-01-12 11:01:50 -08:00
Huahui Wu
46ff1c4b1c
Merge "b/3340946 Fix NPE caused by null gesture detector." into honeycomb
2011-01-12 10:57:51 -08:00
Patrick Scott
fdadb0cbdf
Merge "Do not merge." into honeycomb
2011-01-12 09:44:59 -08:00
Glenn Kasten
edc6925a3e
Merge "Fix race in buffer ref counting." into honeycomb
2011-01-12 09:34:37 -08:00
Cary Clark
ef3cd33054
Merge "add null check to copy selection" into honeycomb
2011-01-12 08:19:24 -08:00
Robert Greenwalt
27af3e0432
Merge "Fix any_connection reporting." into honeycomb
2011-01-12 07:16:56 -08:00
satok
c7f66c9795
Merge "Update shortcut IME when asked. And match the language of subtype by "startWith" not "equals"." into honeycomb
2011-01-12 01:17:58 -08:00
Wei-Ta Chen
ceb57a5448
Merge "Correct the API comments." into honeycomb
2011-01-11 23:16:15 -08:00
Svetoslav Ganov
d351bee14f
Merge "Renaming NumberPicker resources to be consistent." into honeycomb
2011-01-11 21:56:03 -08:00
Christopher Tate
d3151cb96d
Merge "API CHANGE: startDrag() now takes "int flags" instead of "boolean localOnly"" into honeycomb
2011-01-11 20:02:35 -08:00
Chung-yih Wang
8cd900103f
Merge "Merge "Add auth. username in SipProfile." from gingerbread." into honeycomb
2011-01-11 19:47:48 -08:00
Stephen Hines
8c0d3c7256
Merge "Clean up RS math headers." into honeycomb
2011-01-11 19:09:47 -08:00
Svetoslav Ganov
ad6fbf27f7
Merge "Down arrow on the month can end up at the start of the month" into honeycomb
2011-01-11 18:04:42 -08:00
Romain Guy
e46d676465
Merge "Disable the region compositing pipeline for layers." into honeycomb
2011-01-11 17:58:56 -08:00
Dianne Hackborn
1d74903a40
Merge "Get rid of old ParcelFileDescriptor API." into honeycomb
2011-01-11 17:57:19 -08:00
Romain Guy
b3f10c9f33
Merge "Don't break the build!" into honeycomb
2011-01-11 17:56:09 -08:00
Svetoslav Ganov
9f19be3025
Merge "IAE: Service not registered: com.android.server.AccessibilityManagerService" into honeycomb
2011-01-11 17:53:15 -08:00
Romain Guy
bc3b90c335
Merge "Better backend for hardware layers." into honeycomb
2011-01-11 17:52:05 -08:00
Jason Sams
07b419a9a1
Merge "Add error checks to bitmap uploads. Fix java side calculation for pixel sizes." into honeycomb
2011-01-11 17:44:39 -08:00
Svetoslav Ganov
34425f6f3c
Merge "WebView accessibility key bindings do not allow mapping of all meta keys. Exception when turning off acessibility and having a WebView showing content." into honeycomb
2011-01-11 17:43:01 -08:00
Eric Fischer
ad54ee163c
Merge "Update large-screen translations." into honeycomb
2011-01-11 17:39:12 -08:00
Justin Ho
f6f7e57b82
Merge "Updated expander assets from Gingerbread" into honeycomb
2011-01-11 17:34:34 -08:00
Irfan Sheriff
175db6889b
Merge "default wifi sleep policy change" into honeycomb
2011-01-11 17:26:18 -08:00
Xavier Ducrohet
44420e6b0a
Merge "LayoutLib: Log error when style can't be found." into honeycomb
2011-01-11 17:24:06 -08:00
Joe Onorato
c2033d8dfb
Merge "The status bar half of making the status bar resize when hdmi is plugged in." into honeycomb
2011-01-11 17:09:16 -08:00
Joe Onorato
9cdf9a1424
Merge "Update AppWidgetHostActivity to work again." into honeycomb
2011-01-11 17:08:52 -08:00
Justin Ho
28814e3cc2
Merge "Dropdown, checkboxes, buttons from Gingerbread" into honeycomb
2011-01-11 16:11:35 -08:00
Adam Powell
115eec2728
Merge "Fix bug 3338079 - Dialog styled activity decor" into honeycomb
2011-01-11 15:58:29 -08:00
Justin Ho
30fec22091
Merge "List selectors, menu backgrounds, popups, menu backgrounds from Gingerbread (HDPI and MDPI)" into honeycomb
2011-01-11 15:39:40 -08:00
Justin Ho
41000b10ca
Merge "Updated HDPI btn_default states from Gingerbread" into honeycomb
2011-01-11 15:39:10 -08:00
Xavier Ducrohet
ba0ef63b73
Merge "LayoutLib: misc fix." into honeycomb
2011-01-11 15:34:44 -08:00
Andreas Huber
4959b432dd
Merge "Increase cache size and low-watermark threshold, also" into honeycomb
2011-01-11 15:20:39 -08:00
Andreas Huber
19aff19b30
Merge "Properly parse Matroska lacing flags and extract all frames contained in a block." into honeycomb
2011-01-11 15:16:04 -08:00
Romain Guy
05c077fc7a
Merge "Solve translucency issue when drawing paths." into honeycomb
2011-01-11 15:01:02 -08:00
Jaikumar Ganesh
6f575943a7
Merge "Update status bar icons for BT reverse tethering." into honeycomb
2011-01-11 14:51:01 -08:00
Irfan Sheriff
71d3d72801
Merge "Fix network availability reporting" into honeycomb
2011-01-11 14:16:04 -08:00
Jim Miller
ee9a32d01b
Merge "Update AndroidClock font for LockScreen and tweak transparency." into honeycomb
2011-01-11 14:13:37 -08:00