OSDN Git Service

android-x86/frameworks-native.git
11 years agoam 777bea49: am f671385e: am 9801575a: am 908c8ff5: Merge "Fixed clang build error...
Jean-Baptiste Queru [Mon, 27 Aug 2012 15:22:28 +0000 (08:22 -0700)]
am 777bea49: am f671385e: am 9801575a: am 908c8ff5: Merge "Fixed clang build error for libgui"

* commit '777bea49e03d27497eccad6baa7c16cda00cffb5':
  Fixed clang build error for libgui

11 years agoam f671385e: am 9801575a: am 908c8ff5: Merge "Fixed clang build error for libgui"
Jean-Baptiste Queru [Mon, 27 Aug 2012 15:20:05 +0000 (08:20 -0700)]
am f671385e: am 9801575a: am 908c8ff5: Merge "Fixed clang build error for libgui"

* commit 'f671385e71644b6f34a06f425aff8dd16ffc0105':
  Fixed clang build error for libgui

11 years agoam 9801575a: am 908c8ff5: Merge "Fixed clang build error for libgui"
Jean-Baptiste Queru [Mon, 27 Aug 2012 15:17:48 +0000 (08:17 -0700)]
am 9801575a: am 908c8ff5: Merge "Fixed clang build error for libgui"

* commit '9801575a65f2f9d0bdc924ec0a4bbfb6ef071bbe':
  Fixed clang build error for libgui

11 years agoam 908c8ff5: Merge "Fixed clang build error for libgui"
Jean-Baptiste Queru [Mon, 27 Aug 2012 15:15:12 +0000 (08:15 -0700)]
am 908c8ff5: Merge "Fixed clang build error for libgui"

* commit '908c8ff55482b723eddec54c6308e54a136a3e49':
  Fixed clang build error for libgui

11 years agoMerge "Fixed clang build error for libgui"
Jean-Baptiste Queru [Mon, 27 Aug 2012 14:55:26 +0000 (07:55 -0700)]
Merge "Fixed clang build error for libgui"

11 years agoam 811da214: (-s ours) Reconcile with jb-mr1-release - do not merge
The Android Open Source Project [Sat, 25 Aug 2012 14:18:38 +0000 (07:18 -0700)]
am 811da214: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '811da2144eae98d9e92c4f594be9f1ce36398f80':

11 years agoReconcile with jb-mr1-release - do not merge
The Android Open Source Project [Sat, 25 Aug 2012 14:16:24 +0000 (07:16 -0700)]
Reconcile with jb-mr1-release - do not merge

Change-Id: I30ec4fc48ccc2a81fd0e5510514ba26a5d85840c

11 years agoam 69d10b4e: am 225c66a4: Revert "put back the unused virtuals in Vector<>"
Mathias Agopian [Sat, 25 Aug 2012 00:26:52 +0000 (17:26 -0700)]
am 69d10b4e: am 225c66a4: Revert "put back the unused virtuals in Vector<>"

* commit '69d10b4e3b472c65bbdc45d80022f6e4e162ae53':
  Revert "put back the unused virtuals in Vector<>"

11 years agoam 225c66a4: Revert "put back the unused virtuals in Vector<>"
Mathias Agopian [Sat, 25 Aug 2012 00:24:54 +0000 (17:24 -0700)]
am 225c66a4: Revert "put back the unused virtuals in Vector<>"

* commit '225c66a48cdc3acef21ee380dc134449749d3cb3':
  Revert "put back the unused virtuals in Vector<>"

11 years agoRevert "put back the unused virtuals in Vector<>"
Mathias Agopian [Fri, 24 Aug 2012 23:55:29 +0000 (16:55 -0700)]
Revert "put back the unused virtuals in Vector<>"

This reverts commit 1648d4c13ba2eff3ea14cd87ee94028458a39f97.

Bug: 6977192

Change-Id: Idbb6b239aaed4fb1c054ce943f6ba06ede3492bb

11 years agoam 641601d3: am 13a082e1: Added display initialization method
Andy McFadden [Fri, 24 Aug 2012 21:19:26 +0000 (14:19 -0700)]
am 641601d3: am 13a082e1: Added display initialization method

* commit '641601d3b25e8382d95adee12179d4bbd5754382':
  Added display initialization method

11 years agoam 13a082e1: Added display initialization method
Andy McFadden [Fri, 24 Aug 2012 21:18:11 +0000 (14:18 -0700)]
am 13a082e1: Added display initialization method

* commit '13a082e160c2d1d8006b93a555a57035213d568b':
  Added display initialization method

11 years agoAdded display initialization method
Andy McFadden [Fri, 24 Aug 2012 17:16:42 +0000 (10:16 -0700)]
Added display initialization method

The primary display device was being configured to "blank" by
default, which prevented the boot animation from appearing
(unless you got lucky with the hardware composer state).

Bug 6975688

Change-Id: I0fa52e9e719c6e997c5725a7baf15d9718461b78

11 years agoam f81fa528: am 0bceb847: surfaceflinger: fix display id selection
Jamie Gennis [Fri, 24 Aug 2012 18:19:45 +0000 (11:19 -0700)]
am f81fa528: am 0bceb847: surfaceflinger: fix display id selection

* commit 'f81fa52869d91bfe23bf641fff49884d41d6b57b':
  surfaceflinger: fix display id selection

11 years agoam 0bceb847: surfaceflinger: fix display id selection
Jamie Gennis [Fri, 24 Aug 2012 18:18:35 +0000 (11:18 -0700)]
am 0bceb847: surfaceflinger: fix display id selection

* commit '0bceb84773882b796d9dacbaf96167cb15928d78':
  surfaceflinger: fix display id selection

11 years agoam 21dbb2cd: am 490aee0f: Merge "SurfaceTexture: inherit from ConsumerBase (try 2...
Jamie Gennis [Fri, 24 Aug 2012 18:15:48 +0000 (11:15 -0700)]
am 21dbb2cd: am 490aee0f: Merge "SurfaceTexture: inherit from ConsumerBase (try 2)" into jb-mr1-dev

* commit '21dbb2cd6fb39ca252db346ce71c1efa6c233ef0':
  SurfaceTexture: inherit from ConsumerBase (try 2)

11 years agoam 490aee0f: Merge "SurfaceTexture: inherit from ConsumerBase (try 2)" into jb-mr1-dev
Jamie Gennis [Fri, 24 Aug 2012 18:13:34 +0000 (11:13 -0700)]
am 490aee0f: Merge "SurfaceTexture: inherit from ConsumerBase (try 2)" into jb-mr1-dev

* commit '490aee0fc5012acf2bf0b1dfe9c09e6fcca606fc':
  SurfaceTexture: inherit from ConsumerBase (try 2)

11 years agosurfaceflinger: fix display id selection
Jamie Gennis [Fri, 24 Aug 2012 03:19:38 +0000 (20:19 -0700)]
surfaceflinger: fix display id selection

This change fixes display ID selection so that it never chooses negative
numbers as display IDs.

Change-Id: I5af1acc7b1270b371595e096b18e2a6ad250c7ba

11 years agoMerge "SurfaceTexture: inherit from ConsumerBase (try 2)" into jb-mr1-dev
Jamie Gennis [Fri, 24 Aug 2012 18:11:06 +0000 (11:11 -0700)]
Merge "SurfaceTexture: inherit from ConsumerBase (try 2)" into jb-mr1-dev

11 years agoam c17dbaa2: am 9b6a395e: Revert "Added display initialization method"
Andy McFadden [Fri, 24 Aug 2012 17:18:57 +0000 (10:18 -0700)]
am c17dbaa2: am 9b6a395e: Revert "Added display initialization method"

* commit 'c17dbaa2c5689ae760da0e681d22a00fcd69fd9e':
  Revert "Added display initialization method"

11 years agoam 9b6a395e: Revert "Added display initialization method"
Andy McFadden [Fri, 24 Aug 2012 17:16:43 +0000 (10:16 -0700)]
am 9b6a395e: Revert "Added display initialization method"

* commit '9b6a395e65ff88ab79fe92d6f112c434441ca606':
  Revert "Added display initialization method"

11 years agoRevert "Added display initialization method"
Andy McFadden [Fri, 24 Aug 2012 17:12:22 +0000 (10:12 -0700)]
Revert "Added display initialization method"

Something doesn't seem right (again).

This reverts commit 53ade0853ca003c9e917b5e7d34e1b1338d7b87d.

Change-Id: Id5786997ca9dd2a447363e8ac95213ea37468504

11 years agoam d6db1773: am 53ade085: Added display initialization method
Andy McFadden [Fri, 24 Aug 2012 16:34:03 +0000 (09:34 -0700)]
am d6db1773: am 53ade085: Added display initialization method

* commit 'd6db17737b76ef412577bf39530ef887f6901bd8':
  Added display initialization method

11 years agoam 53ade085: Added display initialization method
Andy McFadden [Fri, 24 Aug 2012 16:31:42 +0000 (09:31 -0700)]
am 53ade085: Added display initialization method

* commit '53ade0853ca003c9e917b5e7d34e1b1338d7b87d':
  Added display initialization method

11 years agoAdded display initialization method
Andy McFadden [Fri, 24 Aug 2012 00:36:41 +0000 (17:36 -0700)]
Added display initialization method

The primary display device was being configured to "blank" by
default, which prevented the boot animation from appearing
(unless you got lucky with the hardware composer state).

Bug 6975688

(This reverts an earlier revert.)

11 years agoam a301dab9: am f4358634: teach HWC about multiple displays
Mathias Agopian [Fri, 24 Aug 2012 01:24:14 +0000 (18:24 -0700)]
am a301dab9: am f4358634: teach HWC about multiple displays

* commit 'a301dab968d27f3c4ca2b247d0e05ac58de248ee':
  teach HWC about multiple displays

11 years agoam df5fbf36: am 30bcc614: remove support for HWC < 1.0
Mathias Agopian [Fri, 24 Aug 2012 01:24:14 +0000 (18:24 -0700)]
am df5fbf36: am 30bcc614: remove support for HWC < 1.0

* commit 'df5fbf367595c8cca9a7986167dc51c9636461e9':
  remove support for HWC < 1.0

11 years agoam 4f2f0997: am e60b0687: HWComposer now has its own concept of display IDs
Mathias Agopian [Fri, 24 Aug 2012 01:24:13 +0000 (18:24 -0700)]
am 4f2f0997: am e60b0687: HWComposer now has its own concept of display IDs

* commit '4f2f099720ceb9ab19a88babfbbc1abb6e64538b':
  HWComposer now has its own concept of display IDs

11 years agoam f4358634: teach HWC about multiple displays
Mathias Agopian [Fri, 24 Aug 2012 01:23:05 +0000 (18:23 -0700)]
am f4358634: teach HWC about multiple displays

* commit 'f435863467ab407f2a482604beed5fa6f0144c62':
  teach HWC about multiple displays

11 years agoam 30bcc614: remove support for HWC < 1.0
Mathias Agopian [Fri, 24 Aug 2012 01:23:05 +0000 (18:23 -0700)]
am 30bcc614: remove support for HWC < 1.0

* commit '30bcc61431d8e3bef779472dd52a7b156dcaba09':
  remove support for HWC < 1.0

11 years agoam e60b0687: HWComposer now has its own concept of display IDs
Mathias Agopian [Fri, 24 Aug 2012 01:23:04 +0000 (18:23 -0700)]
am e60b0687: HWComposer now has its own concept of display IDs

* commit 'e60b0687c8d49871d0c8786cabe6851f7a7783b5':
  HWComposer now has its own concept of display IDs

11 years agoteach HWC about multiple displays
Mathias Agopian [Thu, 23 Aug 2012 00:16:19 +0000 (17:16 -0700)]
teach HWC about multiple displays

Change-Id: I5e72a83d419a729835cb0e1ec45557b4d3fb56b1

11 years agoremove support for HWC < 1.0
Mathias Agopian [Wed, 22 Aug 2012 22:39:48 +0000 (15:39 -0700)]
remove support for HWC < 1.0

Change-Id: If7e676a6e3524afeb9af3875125d2131d95db38b

11 years agoHWComposer now has its own concept of display IDs
Mathias Agopian [Wed, 22 Aug 2012 06:34:09 +0000 (23:34 -0700)]
HWComposer now has its own concept of display IDs

HWComposer can now create IDs representing a display
it can deal with. IDs MAIN and HDMI are reserved.
SurfaceFlinger associate HWComposer IDs with a
DisplayDevice and uses that when it talks to HWComposer.

A DisplayDevice doesn't have to have a HWComposer ID,
in that case it just can't use h/w composer composition.

Change-Id: Iec3d7ac92e0c22bf975052ae2847402f58bade71

11 years agoam 0336f30c: am 7c9e8263: Merge "simplify further vsync handling" into jb-mr1-dev
Mathias Agopian [Thu, 23 Aug 2012 22:29:42 +0000 (15:29 -0700)]
am 0336f30c: am 7c9e8263: Merge "simplify further vsync handling" into jb-mr1-dev

* commit '0336f30c575008db2afc821d8807231797102f77':
  simplify further vsync handling

11 years agoam 7c9e8263: Merge "simplify further vsync handling" into jb-mr1-dev
Mathias Agopian [Thu, 23 Aug 2012 22:28:11 +0000 (15:28 -0700)]
am 7c9e8263: Merge "simplify further vsync handling" into jb-mr1-dev

* commit '7c9e82633c5c4f85b896a5879bdb25cdf659646e':
  simplify further vsync handling

11 years agoMerge "simplify further vsync handling" into jb-mr1-dev
Mathias Agopian [Thu, 23 Aug 2012 22:27:09 +0000 (15:27 -0700)]
Merge "simplify further vsync handling" into jb-mr1-dev

11 years agosimplify further vsync handling
Mathias Agopian [Tue, 21 Aug 2012 22:47:28 +0000 (15:47 -0700)]
simplify further vsync handling

- we now clean-up "dead" connection in the main loop,
this entirely avoid the problem with the side effects of
releasing strong references. We now only hold on to strong
reference for the connection we will signal.

- also simplify how we build the list of "ready" connections, by
only adding them to the list when we did receive a vsync event

Change-Id: I2a84da431320a2af8e8a93e07622a1d258236f43

11 years agoFixed clang build error for libgui
Tareq A. Siraj [Thu, 26 Jul 2012 20:04:24 +0000 (16:04 -0400)]
Fixed clang build error for libgui

Fixed the order of the statements in ANDROID_SINGLETON_STATIC_INSTANCE
macro so that the templated static member variable initialization
comes before the instantiation of the Singleton class. This
fixes the clang compile error.

Change-Id: Ic47d17e152b657f2dff3191ccc3770753fdf002b
Author: Tareq A. Siraj <tareq.a.siraj@intel.com>
Reviewed-by: Edwin Vane <edwin.vane@intel.com>
11 years agoam a6506488: am d12780ed: Merge "Update for cleanups in hwc interface" into jb-mr1-dev
Jesse Hall [Thu, 23 Aug 2012 16:18:36 +0000 (09:18 -0700)]
am a6506488: am d12780ed: Merge "Update for cleanups in hwc interface" into jb-mr1-dev

* commit 'a6506488dab8edd46324319a6fa29e9ab24176cd':
  Update for cleanups in hwc interface

11 years agoam d12780ed: Merge "Update for cleanups in hwc interface" into jb-mr1-dev
Jesse Hall [Thu, 23 Aug 2012 16:16:49 +0000 (09:16 -0700)]
am d12780ed: Merge "Update for cleanups in hwc interface" into jb-mr1-dev

* commit 'd12780ed123b54687fea534b34f54ef9c678cdcd':
  Update for cleanups in hwc interface

11 years agoMerge "Update for cleanups in hwc interface" into jb-mr1-dev
Jesse Hall [Thu, 23 Aug 2012 16:15:53 +0000 (09:15 -0700)]
Merge "Update for cleanups in hwc interface" into jb-mr1-dev

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Thu, 23 Aug 2012 13:33:50 +0000 (06:33 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoam 0ff05c75: (-s ours) Reconcile with jb-mr1-release - do not merge
The Android Open Source Project [Wed, 22 Aug 2012 22:39:55 +0000 (15:39 -0700)]
am 0ff05c75: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '0ff05c75d786ec8d45e4c10888345f24db49fab3':
  Revert "Added display initialization method"

11 years agoReconcile with jb-mr1-release - do not merge
The Android Open Source Project [Wed, 22 Aug 2012 22:35:30 +0000 (15:35 -0700)]
Reconcile with jb-mr1-release - do not merge

Change-Id: Ida7b9f23f8deb451a9e6e9f2714d7a677fb6ca1c

11 years agoRevert "Added display initialization method"
Ramanan Rajeswaran [Wed, 22 Aug 2012 21:23:50 +0000 (14:23 -0700)]
Revert "Added display initialization method"

This reverts commit 3f3956236aac97b6aa25fa89f0983d5e9d065fdb

Change-Id: Ia2a15d9a5db88add6019edf9d955cef1f73d432d

11 years agoam 519b3e4a: am bc46e0ad: Merge "Revert "Added display initialization method"" into...
Ramanan Rajeswaran [Wed, 22 Aug 2012 21:30:04 +0000 (14:30 -0700)]
am 519b3e4a: am bc46e0ad: Merge "Revert "Added display initialization method"" into jb-mr1-dev

* commit '519b3e4a3b78f63597ab4de4d92d1780fdcad9bd':
  Revert "Added display initialization method"

11 years agoam bc46e0ad: Merge "Revert "Added display initialization method"" into jb-mr1-dev
Ramanan Rajeswaran [Wed, 22 Aug 2012 21:27:52 +0000 (14:27 -0700)]
am bc46e0ad: Merge "Revert "Added display initialization method"" into jb-mr1-dev

* commit 'bc46e0ad869befcfa97f6272615cdeae2135008f':
  Revert "Added display initialization method"

11 years agoMerge "Revert "Added display initialization method"" into jb-mr1-dev
Ramanan Rajeswaran [Wed, 22 Aug 2012 21:25:48 +0000 (14:25 -0700)]
Merge "Revert "Added display initialization method"" into jb-mr1-dev

11 years agoRevert "Added display initialization method"
Ramanan Rajeswaran [Wed, 22 Aug 2012 21:23:50 +0000 (14:23 -0700)]
Revert "Added display initialization method"

This reverts commit 3f3956236aac97b6aa25fa89f0983d5e9d065fdb

Change-Id: Ia2a15d9a5db88add6019edf9d955cef1f73d432d

11 years agoam c4f4e7f9: am 8f971ff6: Pass the correct number of displays based on HWC version
Jesse Hall [Wed, 22 Aug 2012 21:21:31 +0000 (14:21 -0700)]
am c4f4e7f9: am 8f971ff6: Pass the correct number of displays based on HWC version

* commit 'c4f4e7f968c15bae04364e052d649305c1f9941c':
  Pass the correct number of displays based on HWC version

11 years agoam 8f971ff6: Pass the correct number of displays based on HWC version
Jesse Hall [Wed, 22 Aug 2012 21:19:12 +0000 (14:19 -0700)]
am 8f971ff6: Pass the correct number of displays based on HWC version

* commit '8f971ff6661c875e7adb3f14731e1579c3c80c62':
  Pass the correct number of displays based on HWC version

11 years agoUpdate for cleanups in hwc interface
Jesse Hall [Tue, 21 Aug 2012 19:05:09 +0000 (12:05 -0700)]
Update for cleanups in hwc interface

Change-Id: I363fd8b085167a1af6c14b68012bda5c62bfe59f

11 years agoPass the correct number of displays based on HWC version
Jesse Hall [Wed, 22 Aug 2012 18:50:00 +0000 (11:50 -0700)]
Pass the correct number of displays based on HWC version

Change-Id: I27372f5d3102ad56f6d67722d631ae18d37f8330

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Wed, 22 Aug 2012 13:33:48 +0000 (06:33 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoam 97799fbb: am 9f54ac38: ui/Fence: change the TIMEOUT_NEVER value to -1
Jamie Gennis [Wed, 22 Aug 2012 02:14:12 +0000 (19:14 -0700)]
am 97799fbb: am 9f54ac38: ui/Fence: change the TIMEOUT_NEVER value to -1

* commit '97799fbb2d1ac18566d7b25239165ed14de55d98':
  ui/Fence: change the TIMEOUT_NEVER value to -1

11 years agoam 9f54ac38: ui/Fence: change the TIMEOUT_NEVER value to -1
Jamie Gennis [Wed, 22 Aug 2012 02:11:06 +0000 (19:11 -0700)]
am 9f54ac38: ui/Fence: change the TIMEOUT_NEVER value to -1

* commit '9f54ac38860761ef62d9bb8282d54ff51a1a68a3':
  ui/Fence: change the TIMEOUT_NEVER value to -1

11 years agoui/Fence: change the TIMEOUT_NEVER value to -1
Jamie Gennis [Wed, 22 Aug 2012 00:03:18 +0000 (17:03 -0700)]
ui/Fence: change the TIMEOUT_NEVER value to -1

Change-Id: I3ef0a4c06f80990b53a8bf2eda6edbfcbefd0f34

11 years agoam 898b4f88: am 04930445: Merge "Add BufferItemConsumer, a simple BufferQueue consume...
Eino-Ville Talvala [Tue, 21 Aug 2012 23:49:57 +0000 (16:49 -0700)]
am 898b4f88: am 04930445: Merge "Add BufferItemConsumer, a simple BufferQueue consumer." into jb-mr1-dev

* commit '898b4f88a18e9bcc41ce08c011f1b7dc1e57a3c1':
  Add BufferItemConsumer, a simple BufferQueue consumer.

11 years agoam 04930445: Merge "Add BufferItemConsumer, a simple BufferQueue consumer." into...
Eino-Ville Talvala [Tue, 21 Aug 2012 23:48:11 +0000 (16:48 -0700)]
am 04930445: Merge "Add BufferItemConsumer, a simple BufferQueue consumer." into jb-mr1-dev

* commit '04930445031c5f41707806182bb7a152e64ddede':
  Add BufferItemConsumer, a simple BufferQueue consumer.

11 years agoMerge "Add BufferItemConsumer, a simple BufferQueue consumer." into jb-mr1-dev
Eino-Ville Talvala [Tue, 21 Aug 2012 23:46:05 +0000 (16:46 -0700)]
Merge "Add BufferItemConsumer, a simple BufferQueue consumer." into jb-mr1-dev

11 years agoSurfaceTexture: inherit from ConsumerBase (try 2)
Jamie Gennis [Wed, 8 Aug 2012 01:03:04 +0000 (18:03 -0700)]
SurfaceTexture: inherit from ConsumerBase (try 2)

This change makes SurfaceTexture inherit from ConsumerBase.  It removes all of
the functionality from SurfaceTexture that is now provided by the base class.
This includes fixes for two bugs that were found after checking this change in
the first time and then reverting it.

Change-Id: Ie2d9f4f27cfef26fdac341de3152e842b01a58d2

11 years agoam ee8445a4: (-s ours) Reconcile with jb-mr1-release - do not merge
The Android Open Source Project [Tue, 21 Aug 2012 23:09:48 +0000 (16:09 -0700)]
am ee8445a4: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit 'ee8445a4de6a3a1d8eb3e4e9b0aadc582e121a9a':
  fix various issues in SF's EventThread
  Revert "SurfaceTexture: inherit from ConsumerBase"

11 years agoReconcile with jb-mr1-release - do not merge
The Android Open Source Project [Tue, 21 Aug 2012 23:05:59 +0000 (16:05 -0700)]
Reconcile with jb-mr1-release - do not merge

Change-Id: Idb96902f4272f83b3ebc1081ace5d2511d4281b7

11 years agoam 30b84c7d: am 3f395623: Added display initialization method
Andy McFadden [Tue, 21 Aug 2012 23:01:51 +0000 (16:01 -0700)]
am 30b84c7d: am 3f395623: Added display initialization method

* commit '30b84c7d035c51a02238fd6163679876552863e6':
  Added display initialization method

11 years agoam 3f395623: Added display initialization method
Andy McFadden [Tue, 21 Aug 2012 23:00:32 +0000 (16:00 -0700)]
am 3f395623: Added display initialization method

* commit '3f3956236aac97b6aa25fa89f0983d5e9d065fdb':
  Added display initialization method

11 years agoAdd BufferItemConsumer, a simple BufferQueue consumer.
Eino-Ville Talvala [Tue, 21 Aug 2012 20:37:35 +0000 (13:37 -0700)]
Add BufferItemConsumer, a simple BufferQueue consumer.

BufferItemConsumer allows for acquiring BufferQueue's BufferItems,
which contain all the data and metadata the BufferQueue has for a
given graphics buffer.

This consumer is useful when direct access to the native buffer_handles
is needed by the client.

Also includes a minor cleanup of CpuConsumer's use of 'virtual'.

Bug: 6243944
Change-Id: If7dc4192b15ac499555f1eda42a85140f2434795

11 years agoAdded display initialization method
Andy McFadden [Mon, 20 Aug 2012 22:39:23 +0000 (15:39 -0700)]
Added display initialization method

The primary display device was being configured to "blank" by
default, which prevented the boot animation from appearing
(unless you got lucky with the hardware composer state).

Bug 6975688

Change-Id: Idaa0d0b98ebb331a17d1b16774c6b05bfa1e8728

11 years agofix various issues in SF's EventThread
Mathias Agopian [Tue, 21 Aug 2012 03:07:34 +0000 (20:07 -0700)]
fix various issues in SF's EventThread

- one issues caused most timestamps to be reported as 0
- on rare occasions an uninitialized variable could be used
- vsync counts per connection were accessed unthreadsafely

we now have 2 lists of connections in the main loop, one just
keeps a list of strong refs to the connections because once
we have a strong ref we're not allowed to release it while
holding the lock.

the 2nd list holds the connections that have a vsync event to
be reported. all the calculations are made with the lock held.

Change-Id: Iacfad3745b05df79d9ece3719bd4c34ddbfd5b83

11 years agoam a2f58b17: am a4cb35a2: fix various issues in SF\'s EventThread
Mathias Agopian [Tue, 21 Aug 2012 19:10:35 +0000 (12:10 -0700)]
am a2f58b17: am a4cb35a2: fix various issues in SF\'s EventThread

* commit 'a2f58b17057b25eb3564505509a62a1d687c4306':
  fix various issues in SF's EventThread

11 years agoam a4cb35a2: fix various issues in SF\'s EventThread
Mathias Agopian [Tue, 21 Aug 2012 19:09:42 +0000 (12:09 -0700)]
am a4cb35a2: fix various issues in SF\'s EventThread

* commit 'a4cb35a2864d58e9a764a17623e15ab25a9964a0':
  fix various issues in SF's EventThread

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Tue, 21 Aug 2012 13:34:25 +0000 (06:34 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agofix various issues in SF's EventThread
Mathias Agopian [Tue, 21 Aug 2012 03:07:34 +0000 (20:07 -0700)]
fix various issues in SF's EventThread

- one issues caused most timestamps to be reported as 0
- on rare occasions an uninitialized variable could be used
- vsync counts per connection were accessed unthreadsafely

we now have 2 lists of connections in the main loop, one just
keeps a list of strong refs to the connections because once
we have a strong ref we're not allowed to release it while
holding the lock.

the 2nd list holds the connections that have a vsync event to
be reported. all the calculations are made with the lock held.

Change-Id: Iacfad3745b05df79d9ece3719bd4c34ddbfd5b83

11 years agoam 9cf3b93b: am 1648d4c1: put back the unused virtuals in Vector<>
Mathias Agopian [Tue, 21 Aug 2012 04:29:41 +0000 (21:29 -0700)]
am 9cf3b93b: am 1648d4c1: put back the unused virtuals in Vector<>

* commit '9cf3b93bc73d787d21d88b4295fd902dcc7cae23':
  put back the unused virtuals in Vector<>

11 years agoam 1648d4c1: put back the unused virtuals in Vector<>
Mathias Agopian [Tue, 21 Aug 2012 04:27:55 +0000 (21:27 -0700)]
am 1648d4c1: put back the unused virtuals in Vector<>

* commit '1648d4c13ba2eff3ea14cd87ee94028458a39f97':
  put back the unused virtuals in Vector<>

11 years agoput back the unused virtuals in Vector<>
Mathias Agopian [Tue, 21 Aug 2012 00:03:29 +0000 (17:03 -0700)]
put back the unused virtuals in Vector<>

some binaries are using these private APIs and broke
(as they should!) with this change. Temporarily restore the
virtuals to work around this.

Bug: 6977550
Change-Id: I7c37f24b16e4d586b89205c493db5169cf87e024

11 years agoam 186e2bd0: am 317357fd: Merge "get rid of mirrorItemAt() which isn\'t used anywhere...
Mathias Agopian [Mon, 20 Aug 2012 23:51:16 +0000 (16:51 -0700)]
am 186e2bd0: am 317357fd: Merge "get rid of mirrorItemAt() which isn\'t used anywhere" into jb-mr1-dev

* commit '186e2bd064336c75bf2fc6681ec294a85113fd38':
  get rid of mirrorItemAt() which isn't used anywhere

11 years agoam 317357fd: Merge "get rid of mirrorItemAt() which isn\'t used anywhere" into jb...
Mathias Agopian [Mon, 20 Aug 2012 23:49:41 +0000 (16:49 -0700)]
am 317357fd: Merge "get rid of mirrorItemAt() which isn\'t used anywhere" into jb-mr1-dev

* commit '317357fdf7a2b542dfdaa06f42ff7f5f0153f9a3':
  get rid of mirrorItemAt() which isn't used anywhere

11 years agoMerge "get rid of mirrorItemAt() which isn't used anywhere" into jb-mr1-dev
Mathias Agopian [Mon, 20 Aug 2012 23:48:07 +0000 (16:48 -0700)]
Merge "get rid of mirrorItemAt() which isn't used anywhere" into jb-mr1-dev

11 years agoam cd3028dc: am 84a9a3c0: Merge "CpuConsumer: inherit from ConsumerBase" into jb...
Eino-Ville Talvala [Mon, 20 Aug 2012 23:21:28 +0000 (16:21 -0700)]
am cd3028dc: am 84a9a3c0: Merge "CpuConsumer: inherit from ConsumerBase" into jb-mr1-dev

* commit 'cd3028dc0b943584ae16b624e79551c60cf27dd7':
  CpuConsumer: inherit from ConsumerBase

11 years agoam 84a9a3c0: Merge "CpuConsumer: inherit from ConsumerBase" into jb-mr1-dev
Eino-Ville Talvala [Mon, 20 Aug 2012 23:19:53 +0000 (16:19 -0700)]
am 84a9a3c0: Merge "CpuConsumer: inherit from ConsumerBase" into jb-mr1-dev

* commit '84a9a3c0ec35915d3cc40e9e889d4032e189894a':
  CpuConsumer: inherit from ConsumerBase

11 years agoMerge "CpuConsumer: inherit from ConsumerBase" into jb-mr1-dev
Eino-Ville Talvala [Mon, 20 Aug 2012 23:18:10 +0000 (16:18 -0700)]
Merge "CpuConsumer: inherit from ConsumerBase" into jb-mr1-dev

11 years agoCpuConsumer: inherit from ConsumerBase
Eino-Ville Talvala [Mon, 20 Aug 2012 22:44:40 +0000 (15:44 -0700)]
CpuConsumer: inherit from ConsumerBase

Change-Id: I55178b1d673ffa0fbc6e63ef47642c64d4d03228

11 years agoget rid of mirrorItemAt() which isn't used anywhere
Mathias Agopian [Mon, 20 Aug 2012 21:21:29 +0000 (14:21 -0700)]
get rid of mirrorItemAt() which isn't used anywhere

Change-Id: Id6f2dbeed21cabc127d39538c0ff464077ada83f

11 years agoRevert "SurfaceTexture: inherit from ConsumerBase"
Jamie Gennis [Mon, 20 Aug 2012 21:28:53 +0000 (14:28 -0700)]
Revert "SurfaceTexture: inherit from ConsumerBase"

This reverts commit ed059a8d754770c3cf28b78dba30f7a6ba475dbe

Change-Id: I72542c2595771a40c2c88251e0d6eb54e305b99b

11 years agoam 3eb49879: am 729f4808: Merge "Revert "SurfaceTexture: inherit from ConsumerBase...
Jamie Gennis [Mon, 20 Aug 2012 21:37:03 +0000 (14:37 -0700)]
am 3eb49879: am 729f4808: Merge "Revert "SurfaceTexture: inherit from ConsumerBase"" into jb-mr1-dev

* commit '3eb49879918a54f090ec9252d7d3072dd4d31e94':
  Revert "SurfaceTexture: inherit from ConsumerBase"

11 years agoam 9e08ee74: am f7f63450: Merge "Revert "SurfaceTexture: call ConsumerBase::freeBuffe...
Jamie Gennis [Mon, 20 Aug 2012 21:37:02 +0000 (14:37 -0700)]
am 9e08ee74: am f7f63450: Merge "Revert "SurfaceTexture: call ConsumerBase::freeBufferLocked"" into jb-mr1-dev

* commit '9e08ee7493133e94ddd6c616e3ae36ec96a5e855':
  Revert "SurfaceTexture: call ConsumerBase::freeBufferLocked"

11 years agoam 729f4808: Merge "Revert "SurfaceTexture: inherit from ConsumerBase"" into jb-mr1-dev
Jamie Gennis [Mon, 20 Aug 2012 21:35:21 +0000 (14:35 -0700)]
am 729f4808: Merge "Revert "SurfaceTexture: inherit from ConsumerBase"" into jb-mr1-dev

* commit '729f48082e2c7660e94830e52006f7af4efb747a':
  Revert "SurfaceTexture: inherit from ConsumerBase"

11 years agoam f7f63450: Merge "Revert "SurfaceTexture: call ConsumerBase::freeBufferLocked"...
Jamie Gennis [Mon, 20 Aug 2012 21:35:20 +0000 (14:35 -0700)]
am f7f63450: Merge "Revert "SurfaceTexture: call ConsumerBase::freeBufferLocked"" into jb-mr1-dev

* commit 'f7f6345068fe0644bf296b88a687b361eae0cc98':
  Revert "SurfaceTexture: call ConsumerBase::freeBufferLocked"

11 years agoMerge "Revert "SurfaceTexture: inherit from ConsumerBase"" into jb-mr1-dev
Jamie Gennis [Mon, 20 Aug 2012 21:33:23 +0000 (14:33 -0700)]
Merge "Revert "SurfaceTexture: inherit from ConsumerBase"" into jb-mr1-dev

11 years agoMerge "Revert "SurfaceTexture: call ConsumerBase::freeBufferLocked"" into jb-mr1-dev
Jamie Gennis [Mon, 20 Aug 2012 21:33:15 +0000 (14:33 -0700)]
Merge "Revert "SurfaceTexture: call ConsumerBase::freeBufferLocked"" into jb-mr1-dev

11 years agoRevert "SurfaceTexture: inherit from ConsumerBase"
Jamie Gennis [Mon, 20 Aug 2012 21:28:53 +0000 (14:28 -0700)]
Revert "SurfaceTexture: inherit from ConsumerBase"

This reverts commit ed059a8d754770c3cf28b78dba30f7a6ba475dbe

Change-Id: I72542c2595771a40c2c88251e0d6eb54e305b99b

11 years agoRevert "SurfaceTexture: call ConsumerBase::freeBufferLocked"
Jamie Gennis [Mon, 20 Aug 2012 21:28:21 +0000 (14:28 -0700)]
Revert "SurfaceTexture: call ConsumerBase::freeBufferLocked"

This reverts commit f8d33c652b930abbfb0722f3a2928cbc2ea71078

Change-Id: I1ff2e1cc85824a8fac1051f573d2931db81af511

11 years agoam a2613877: am b3d68efa: Merge "Fix deadlock in SF." into jb-mr1-dev
Mathias Agopian [Mon, 20 Aug 2012 21:23:55 +0000 (14:23 -0700)]
am a2613877: am b3d68efa: Merge "Fix deadlock in SF." into jb-mr1-dev

* commit 'a2613877fc9420acd2aadccfed9b4d4b6615fc98':
  Fix deadlock in SF.

11 years agoam b3d68efa: Merge "Fix deadlock in SF." into jb-mr1-dev
Mathias Agopian [Mon, 20 Aug 2012 21:22:28 +0000 (14:22 -0700)]
am b3d68efa: Merge "Fix deadlock in SF." into jb-mr1-dev

* commit 'b3d68efa7e807070ed63cfad3f7576055c58eeba':
  Fix deadlock in SF.

11 years agoMerge "Fix deadlock in SF." into jb-mr1-dev
Mathias Agopian [Mon, 20 Aug 2012 21:20:17 +0000 (14:20 -0700)]
Merge "Fix deadlock in SF." into jb-mr1-dev

11 years agoam 823b33c7: am 220ef10c: Merge "SurfaceTexture: call ConsumerBase::freeBufferLocked...
Jamie Gennis [Mon, 20 Aug 2012 19:43:17 +0000 (12:43 -0700)]
am 823b33c7: am 220ef10c: Merge "SurfaceTexture: call ConsumerBase::freeBufferLocked" into jb-mr1-dev

* commit '823b33c7e10681c3d52383af45fad52dcc99b69d':
  SurfaceTexture: call ConsumerBase::freeBufferLocked

11 years agoam 220ef10c: Merge "SurfaceTexture: call ConsumerBase::freeBufferLocked" into jb...
Jamie Gennis [Mon, 20 Aug 2012 19:40:53 +0000 (12:40 -0700)]
am 220ef10c: Merge "SurfaceTexture: call ConsumerBase::freeBufferLocked" into jb-mr1-dev

* commit '220ef10c5fe44df0ff3898de06028975995a34e4':
  SurfaceTexture: call ConsumerBase::freeBufferLocked

11 years agoMerge "SurfaceTexture: call ConsumerBase::freeBufferLocked" into jb-mr1-dev
Jamie Gennis [Mon, 20 Aug 2012 19:39:37 +0000 (12:39 -0700)]
Merge "SurfaceTexture: call ConsumerBase::freeBufferLocked" into jb-mr1-dev

11 years agoSurfaceTexture: call ConsumerBase::freeBufferLocked
Jamie Gennis [Mon, 20 Aug 2012 18:30:44 +0000 (11:30 -0700)]
SurfaceTexture: call ConsumerBase::freeBufferLocked

This change fixes SurfaceTexture::freeBufferLocked so that it calls the base
class implementation.

Change-Id: I45d76fb2eb02c1fa6e4e917823ead83e2086bd15