Commit Graph

47838 Commits

Author SHA1 Message Date
Mathias Agopian
95b9a0b688 am e835976d: Merge "Tone down a fatal assert" into jb-mr1-dev
* commit 'e835976d285df80e261546bd4d016dadb45d906d':
  Tone down a fatal assert
2012-10-04 20:26:52 -07:00
Mathias Agopian
e835976d28 Merge "Tone down a fatal assert" into jb-mr1-dev 2012-10-04 20:24:17 -07:00
Stephen Hines
d920670f25 Fix missing parens in CleanSpec.mk.
Change-Id: I0440a942d3e685d619ec9cc402d3293cb3f52df1
2012-10-04 20:05:19 -07:00
Chet Haase
9c58d96f00 am 27b28fd9: Merge "Add GL Error logs (temporary)" into jb-mr1-dev
* commit '27b28fd9960b73a1f13e22dd6655f75e2e76eef7':
  Add GL Error logs (temporary)
2012-10-04 19:48:12 -07:00
Chet Haase
27b28fd996 Merge "Add GL Error logs (temporary)" into jb-mr1-dev 2012-10-04 19:45:17 -07:00
Raph Levien
dca9d13581 am 3fbbd076: Fix broken CleanSpec.mk in libs/gui
* commit '3fbbd076ad571810d9107ed870cfce2e8c062d10':
  Fix broken CleanSpec.mk in libs/gui
2012-10-04 19:37:42 -07:00
Andy McFadden
5a8f9012ee Tone down a fatal assert
The new disconnectDisplay function doesn't handle virtual displays,
but it may be called for them.  Return without doing anything.

Bug 7281786

Change-Id: I62607f2ae6073fa66b393f55932604aeb8e03566
2012-10-04 19:09:45 -07:00
Raph Levien
3fbbd076ad Fix broken CleanSpec.mk in libs/gui
The CleanSpec is missing parens, which causes $P to be interpreted as a
single variable, and the following printed to the log:

Clean step: rm -rf RODUCT_OUT/obj/SHARED_LIBRARIES/libgui_intermediates

This patch adds parens as needed.

Change-Id: I587998fa67a4884418c286360a577cdbb6ea9a21
2012-10-04 19:00:45 -07:00
Mathias Agopian
947abbdd2c make sure we don't call into the HWC HAL when not needed
when enabling/disabling vsync we now make sure to
not call into the HAL if the state wouldn't change.

Bug: 7274951

Change-Id: Ie24a6d68888a51b577acf9c2a973d85437cbacaf
2012-10-04 18:06:03 -07:00
Jesse Hall
178652a5d7 am 3b4e55c0: am 9a143922: Ignore display state changes for disconnected displays
* commit '3b4e55c0442322823898dd838cb50fe589e1e9d7':
  Ignore display state changes for disconnected displays
2012-10-04 18:01:50 -07:00
Jesse Hall
3b4e55c044 am 9a143922: Ignore display state changes for disconnected displays
* commit '9a14392256354538f1f43a5e80fe46c2c2b965cb':
  Ignore display state changes for disconnected displays
2012-10-04 17:59:26 -07:00
Chet Haase
2da2c15068 Add GL Error logs (temporary)
Adding logs to tell which specific methods throw OpenGL errors.

Change-Id: I1d73c7566ed1ea6610392020411762c6255a0ede
2012-10-04 17:15:59 -07:00
Jesse Hall
9a14392256 Ignore display state changes for disconnected displays
When a display is disconnected, removing it from SurfaceFlinger's
display list is non-atomic with removing it from the Display Manager
and any in-flight transactions. So SurfaceFlinger might get a display
state change transaction for a display it has already forgotten about.
Just ignore these.

Bug: 7288082
Change-Id: Ic27e55377f3db40fb34e3b1cd67e43297df117a2
2012-10-04 16:40:35 -07:00
Mathias Agopian
1c19de6c28 am 64a22423: am 81cd5d3b: make sure we don\'t call into the HWC HAL when not needed
* commit '64a224236d930921581de52eb87ef1ab7fab3780':
  make sure we don't call into the HWC HAL when not needed
2012-10-04 15:31:51 -07:00
Mathias Agopian
64a224236d am 81cd5d3b: make sure we don\'t call into the HWC HAL when not needed
* commit '81cd5d3b94d21253a0be925f4ae58cc7f4afeef7':
  make sure we don't call into the HWC HAL when not needed
2012-10-04 15:29:22 -07:00
Mathias Agopian
81cd5d3b94 make sure we don't call into the HWC HAL when not needed
when enabling/disabling vsync we now make sure to
not call into the HAL if the state wouldn't change.

Bug: 7274951

Change-Id: Ie24a6d68888a51b577acf9c2a973d85437cbacaf
2012-10-04 15:25:32 -07:00
Andy McFadden
eb1caaea69 Fix crashes after HDMI disconnect
The display was being removed from SurfaceFlinger's list before we
had a chance to reset HWComposer's layer list, so we were passing
stale data into the hardware composer (which has its own per-display
data).  This resulted in "invalid gralloc handle" complaints.
We now clear the layer list immediately after removing the display.

The display was being removed while its EGLSurface was still
"current", resulting in "cancelBuffer: BufferQueue has been
abandoned" complaints.  We now call makeCurrent on the primary
display before removing the external display.

Bug 7274254

Change-Id: Ia59e3a61d7ec46488b96bf93ec5e4ed3488b70e4
2012-10-04 14:42:03 -07:00
Andy McFadden
42d7dfccee am 61f142a2: am 27ec5739: Fix crashes after HDMI disconnect
* commit '61f142a25c14c8e24f8040098b4c223f0d725cb2':
  Fix crashes after HDMI disconnect
2012-10-04 12:29:00 -07:00
Andy McFadden
61f142a25c am 27ec5739: Fix crashes after HDMI disconnect
* commit '27ec5739bc05330e08b02f25b62a8f597bad897a':
  Fix crashes after HDMI disconnect
2012-10-04 12:11:11 -07:00
The Android Open Source Project
07f86ae970 am af4324cc: (-s ours) Reconcile with jb-mr1-release - do not merge
* commit 'af4324cc0ad6fb4d4a7716ebff2421424c4a2292':
  Fix issue #7271589: Cannot set Ocean HD live wallpaper
2012-10-04 07:52:23 -07:00
The Android Open Source Project
af4324cc0a Reconcile with jb-mr1-release - do not merge
Change-Id: I4e8f1a58de984fa0945b9df9e8bc230c11e7fc58
2012-10-04 07:48:28 -07:00
The Android Automerger
5031729a37 merge in jb-mr1-release history after reset to jb-mr1-dev 2012-10-04 06:59:43 -07:00
Andy McFadden
27ec5739bc Fix crashes after HDMI disconnect
The display was being removed from SurfaceFlinger's list before we
had a chance to reset HWComposer's layer list, so we were passing
stale data into the hardware composer (which has its own per-display
data).  This resulted in "invalid gralloc handle" complaints.
We now clear the layer list immediately after removing the display.

The display was being removed while its EGLSurface was still
"current", resulting in "cancelBuffer: BufferQueue has been
abandoned" complaints.  We now call makeCurrent on the primary
display before removing the external display.

Bug 7274254

Change-Id: Ia59e3a61d7ec46488b96bf93ec5e4ed3488b70e4
2012-10-04 02:02:23 -07:00
Jamie Gennis
f05130f1cb am 2526675e: am a573945d: libgui: enable fence support for exynos5
* commit '2526675e907dd9b3d224760a87185c017f66a796':
  libgui: enable fence support for exynos5
2012-10-03 17:15:22 -07:00
Jamie Gennis
2526675e90 am a573945d: libgui: enable fence support for exynos5
* commit 'a573945df7d21cfb73aa9cdba41561105e2ffb01':
  libgui: enable fence support for exynos5
2012-10-03 17:12:57 -07:00
Dianne Hackborn
078da147f4 Fix issue #7271589: Cannot set Ocean HD live wallpaper
Change-Id: Id7662c503815293040c240232a6622bd6f6eab37
2012-10-03 16:17:30 -07:00
Jamie Gennis
a573945df7 libgui: enable fence support for exynos5
Change-Id: Iffc48412b8c951116a956a3ac7dab8d75eed13da
Bug: 7238122
2012-10-03 15:55:14 -07:00
Jamie Gennis
e3e9921c86 am 596f5efd: am 3fd12e41: libgui: fix up compile options
* commit '596f5efd4e0f151f7a33fbe3569551d0c6266728':
  libgui: fix up compile options
2012-10-03 15:41:46 -07:00
Jamie Gennis
596f5efd4e am 3fd12e41: libgui: fix up compile options
* commit '3fd12e41afcf323fdb99a4cf6bef0f904d72cc8b':
  libgui: fix up compile options
2012-10-03 15:39:29 -07:00
Jamie Gennis
3fd12e41af libgui: fix up compile options
This change adds debug info to SurfaceFlinger's dumpsys to indicate that the
USE_WAIT_SYNC compile option was enabled, and it removes the
ALLOW_DEQUEUE_CURRENT_BUFFER option.

Bug: 7238122
Change-Id: I70e08e34c2ef58aa6d2f88229e781a119f84b5a9
2012-10-03 15:05:58 -07:00
Dianne Hackborn
a3e8adbb19 am ec5f313a: am 35387922: Merge "Fix issue #7271589: Cannot set Ocean HD live wallpaper" into jb-mr1-dev
* commit 'ec5f313aa8dda899866fe8ab4dcfd47acd54c014':
  Fix issue #7271589: Cannot set Ocean HD live wallpaper
2012-10-03 14:04:43 -07:00
Dianne Hackborn
ec5f313aa8 am 35387922: Merge "Fix issue #7271589: Cannot set Ocean HD live wallpaper" into jb-mr1-dev
* commit '35387922bd3213ea4c376c7dcfb109da67a6a33e':
  Fix issue #7271589: Cannot set Ocean HD live wallpaper
2012-10-03 13:53:43 -07:00
Dianne Hackborn
35387922bd Merge "Fix issue #7271589: Cannot set Ocean HD live wallpaper" into jb-mr1-dev 2012-10-03 12:09:13 -07:00
Dianne Hackborn
7f3096ca88 Fix issue #7271589: Cannot set Ocean HD live wallpaper
Change-Id: Id7662c503815293040c240232a6622bd6f6eab37
2012-10-03 11:27:19 -07:00
The Android Open Source Project
963484eeea am 67091644: (-s ours) Reconcile with jb-mr1-release - do not merge
* commit '670916447290d619e4b689d3643f629f058fc244':
2012-10-03 07:36:31 -07:00
The Android Open Source Project
6709164472 Reconcile with jb-mr1-release - do not merge
Change-Id: I0c361b5f1fde8ab48360efa3a06ab7d2ccb88370
2012-10-03 07:34:04 -07:00
The Android Automerger
5ff5d16d32 merge in jb-mr1-release history after reset to jb-mr1-dev 2012-10-03 06:59:44 -07:00
Jesse Hall
c2e3e07549 am ee5fb929: am ba607d53: Add Fence::waitForever which logs a warning timeout, and use it
* commit 'ee5fb9299b6a7d81af6c2c1e598c4e9fd71a8ba9':
  Add Fence::waitForever which logs a warning timeout, and use it
2012-10-02 16:36:16 -07:00
Jesse Hall
ee5fb9299b am ba607d53: Add Fence::waitForever which logs a warning timeout, and use it
* commit 'ba607d53c6a94ea8c4c12571980c4ad159af308b':
  Add Fence::waitForever which logs a warning timeout, and use it
2012-10-02 16:35:17 -07:00
Jesse Hall
ba607d53c6 Add Fence::waitForever which logs a warning timeout, and use it
Bug: 7217641
Change-Id: If0c1a613ead307c4045a47824174bf40c72bc7d7
2012-10-02 16:29:46 -07:00
Kenny Root
56dd06c684 am 7011d5a4: am ee42072b: am 52f1edb3: Merge "Update tests for new build target"
* commit '7011d5a46b0b6e5a3cf31949036084c312343b3c':
  Update tests for new build target
2012-10-02 09:57:54 -07:00
Kenny Root
7011d5a46b am ee42072b: am 52f1edb3: Merge "Update tests for new build target"
* commit 'ee42072bcccab880dd685736a32a56ac62ffc331':
  Update tests for new build target
2012-10-02 09:55:49 -07:00
Kenny Root
ee42072bcc am 52f1edb3: Merge "Update tests for new build target"
* commit '52f1edb3f11aae1af74a1bfc6f18f81b4d761358':
  Update tests for new build target
2012-10-02 09:54:22 -07:00
Kenny Root
52f1edb3f1 Merge "Update tests for new build target" 2012-10-02 09:46:29 -07:00
Kenny Root
ed22c1cfe5 Update tests for new build target
Change-Id: Ia1740d1b2c0b611c4559c5c846b12fb5c3e81b07
2012-10-02 09:42:49 -07:00
The Android Open Source Project
62e6741f15 am 64a48d28: (-s ours) Reconcile with jb-mr1-release - do not merge
* commit '64a48d284c846250e541f350698c10aa1f9c5a50':
  Revert "Compatibility work around for bad graphics driver dependency."
2012-10-02 09:21:15 -07:00
The Android Open Source Project
64a48d284c Reconcile with jb-mr1-release - do not merge
Change-Id: If7c87d1cb0dc5bb52bb5a6e4b7fa8563c8e30694
2012-10-02 09:18:33 -07:00
The Android Automerger
0b08131b60 merge in jb-mr1-release history after reset to jb-mr1-dev 2012-10-02 06:59:40 -07:00
Mathias Agopian
b5cca09bf8 am 8345fb00: (-s ours) am 2ae7bec7: Revert "improve sensor fusion" -- DO NOT MERGE
* commit '8345fb00edbf71f0e291ff5c1540574f3eb54ecb':
  Revert "improve sensor fusion" -- DO NOT MERGE
2012-10-01 23:39:30 -07:00
Mathias Agopian
8345fb00ed am 2ae7bec7: Revert "improve sensor fusion" -- DO NOT MERGE
* commit '2ae7bec77093744206080dbae020edfa3bfac2e1':
  Revert "improve sensor fusion" -- DO NOT MERGE
2012-10-01 23:35:57 -07:00