Commit Graph

39615 Commits

Author SHA1 Message Date
Mathias Agopian
0dfb7b73a4 mDirtyRegion is single threaded, but could be accessed from a hwc thread
We now have mInvalidateRegion which holds the region to invalidate, it
can be set from any thread as long as mInvalidateLock is held. We use
fine-grained locking here because mInvalidateRegion can be set from anywhere,
in particular frmo HWC callbacks.

Bug: 5466774
Change-Id: Iafca20aa3f5b25a87755e65bde7b769aa8f997bc
2011-10-21 15:41:01 -07:00
Adam Cohen
f91a2f070a Merge "Removing fades on last item in StackView for major FPS improvement on Prime" into ics-mr0 2011-10-21 13:34:46 -07:00
John Reck
b038496fca Merge changes I2df047b6,I791eeb3c into ics-mr0
* changes:
  Fix rebuildWebTextView issues
  DO NOT MERGE Fixed spell check failing to change word.
2011-10-21 13:01:48 -07:00
Dianne Hackborn
615699532b Merge "Fix issue #5342788: Setting wallpaper from gallery set default..." into ics-mr0 2011-10-21 12:45:07 -07:00
Dirk Dougherty
458e581b48 Merge "Doc change: fix typo in platform highlights." into ics-mr0 2011-10-21 11:55:21 -07:00
Winson Chung
f8bf356c3e Merge "Last update for screenshot animations for MR0. (Bug: 5333706)" into ics-mr0 2011-10-21 11:07:06 -07:00
Dianne Hackborn
9ed4fbc0cd Merge "Fix issue #5228934: IME shows up on boot, or when digits screen is tapped" into ics-mr0 2011-10-21 11:03:34 -07:00
Mike Lockwood
b3edff3264 Merge "PowerManagerService: Enable light sensor debug output" into ics-mr0 2011-10-21 10:26:55 -07:00
Gilles Debunne
307f970b88 Merge "Bug 5428541: Check that span is still in text before deleting" into ics-mr0 2011-10-21 09:48:07 -07:00
Eric Fischer
07c74bdad2 Merge "Import revised translations." into ics-mr0 2011-10-21 09:34:22 -07:00
Mathias Agopian
52cbf99446 Merge "added dpi and refresh rate info in SF's dumpsys" into ics-mr0 2011-10-20 17:45:55 -07:00
Jim Miller
3b91d48938 Merge "Fix 5493266: Properly restore background after playing music" into ics-mr0 2011-10-20 17:33:42 -07:00
Mathias Agopian
d5e4ef9e43 added dpi and refresh rate info in SF's dumpsys
Change-Id: I2327248eb1993689367e3daeaccba74c172dfceb
2011-10-20 17:22:38 -07:00
Adam Powell
f9f0de7671 Merge "Bug 5275928 - Invasion of the monkeys" into ics-mr0 2011-10-20 16:25:04 -07:00
Irfan Sheriff
8d5836a68a Merge "Fix handling in DisconnectingState" into ics-mr0 2011-10-20 15:05:07 -07:00
Dirk Dougherty
8d5932f6a6 Merge "Doc change: minor fixes to ICS highlights." into ics-mr0 2011-10-20 14:32:19 -07:00
Daniel Sandler
fb4f927651 Merge "Lazily fetch the status bar service." into ics-mr0 2011-10-20 13:08:36 -07:00
Eric Fischer
917d5f5a01 Merge "Import revised translations. DO NOT MERGE" into ics-mr0 2011-10-20 11:25:44 -07:00
satok
5a0acf42b4 Merge "Update links for SampleSpellCheckerService for I938ba499" into ics-mr0 2011-10-20 08:42:50 -07:00
Justin Ho
1972295eed Merge "Add louder keypress sounds for different device configurations" into ics-mr0 2011-10-20 07:25:14 -07:00
Dave Burke
3b3bc00202 Merge "Stagefright: idle OMX after ANW errors" into ics-mr0 2011-10-19 22:37:18 -07:00
Winson Chung
13228830dd Merge "Updating the screenshot notification icons." into ics-mr0 2011-10-19 21:36:32 -07:00
Svetoslav Ganov
976161cc6f Merge "DatePicker crashes when going from 2036 to 2035 via â–¼" into ics-mr0 2011-10-19 21:15:30 -07:00
Jim Miller
8629ede03a Merge "Fix 5485925: Fix crash in transport control view" into ics-mr0 2011-10-19 20:49:33 -07:00
Maarten Hooft
60b195831c Merge "Add a delay before walled garden test" into ics-mr0 2011-10-19 18:21:56 -07:00
Svetoslav Ganov
980cb0421c Merge "AccessibilityServiceInfo does not report properly the feedback type." into ics-mr0 2011-10-19 18:15:52 -07:00
Daniel Sandler
7400a5a52c Merge "Add hasNavigationBar() to the window manager." into ics-mr0 2011-10-19 18:05:20 -07:00
Dirk Dougherty
e20950052c Merge "Doc change: add video to platform highlights and fix a few things." into ics-mr0 2011-10-19 18:05:18 -07:00
James Dong
35c9945aa5 Merge "Check whether media recorder client exists before dumping." into ics-mr0 2011-10-19 17:55:45 -07:00
Dianne Hackborn
709adab040 Merge "Fix issue #5484096: Device rebooted after turning WiFi tethering ON, IRL19 Crespo." into ics-mr0 2011-10-19 17:15:39 -07:00
Svetoslav Ganov
3e93cdd119 Merge "AdapterView does not check for null adapter when initializing accessibility event." into ics-mr0 2011-10-19 15:51:18 -07:00
Eric Laurent
fbab3f7a9c Merge "Fix issue 381905: BassBoostTest CTS tests fail..." into ics-mr0 2011-10-19 13:59:55 -07:00
Daniel Sandler
dee884f13a Merge "Auto-close if you swipe away the last notification." into ics-mr0 2011-10-19 11:58:27 -07:00
Dianne Hackborn
f7db9d8b52 Merge "Work on issue #5465917: Wakelock *overflow* held for very long times" into ics-mr0 2011-10-19 11:07:34 -07:00
Jamie Gennis
c9362e7b0f Merge "SurfaceTexture: free buffers when disconnect fails" into ics-mr0 2011-10-19 11:06:05 -07:00
Michael Jurka
1248d07eb9 Merge "Make Recent Apps faster" into ics-mr0 2011-10-19 10:04:19 -07:00
Ben Komalo
d5dd8263e6 Merge "Fix remote device wipe to not hang." into ics-mr0 2011-10-19 09:32:50 -07:00
Dave Burke
8b29b65aeb Merge "Add a LayerScreenshot" into ics-mr0 2011-10-18 22:58:09 -07:00
Dave Burke
98ba099d8f Merge "Fix a hang in SF caused by invalid transform matrix from the WM" into ics-mr0 2011-10-18 22:33:40 -07:00
James Dong
df17db9941 Merge "Bail out after kMaxColorFormatSupported calls to OMX_GetParameter(). Avoid infinite loop in querying omx component about the supported color format." into ics-mr0 2011-10-18 22:16:08 -07:00
Mathias Agopian
7c4cd93ad2 Merge "Don't call hwc set() if there is nothing new to do" into ics-mr0 2011-10-18 20:23:22 -07:00
Mathias Agopian
265eed738d Merge "Make sure set GL state properly" into ics-mr0 2011-10-18 20:23:15 -07:00
Mathias Agopian
118d0245ee Add a LayerScreenshot
A LayerScreenshot is a special type of layer that contains a screenshot of
the screen acquired when its created. It works just like LayerDim.

Make sure to call compositionComplete() after rendering into a FBO.

Bug: 5446982, 5467587, 5466259
Change-Id: I5d8a1b4c327f9973d950cd4f4c0bca7f62825cd4
2011-10-18 20:21:47 -07:00
Eric Laurent
70b9281f94 Merge "Limit AudioFlinger log." into ics-mr0 2011-10-18 19:29:39 -07:00
Dirk Dougherty
985573e153 Merge "Doc change: Add Android 4.0 Platform Highlights" into ics-mr0 2011-10-18 18:02:35 -07:00
Scott Main
8fa085c13d Merge "docs: fix platform highlights" into ics-mr0 2011-10-18 17:49:32 -07:00
Jim Miller
8a95411bba Merge "Fix 5288804: Make music trasports in lockscreen more closely match design" into ics-mr0 2011-10-18 17:49:28 -07:00
Mathias Agopian
3a3cad30c4 Don't call hwc set() if there is nothing new to do
there was situations where SF's main loop would run (as if there was
an invalidate), but the dirty region was empty (so no new buffers
were retired). In this case we return early and don't swap, which
would cause drawing artifacts.

Bug: 5476838
Change-Id: Id3b7bf4b7aabec7919c50d9278eb2165973a4c3d
2011-10-18 17:39:09 -07:00
Scott Main
14d09d108c Merge "docs: update homepage for ICS announcement" into ics-mr0 2011-10-18 17:34:23 -07:00
Robert Ly
1f22f297a5 Merge "docs: change compatibility package to support package and update rel notes for r4" into ics-mr0 2011-10-18 17:24:02 -07:00