OSDN Git Service

android-x86/frameworks-native.git
11 years agoam 86ca50d8: am e917bfbd: am 09a22fc2: Merge "Allow disable of dumpstate vibrate"
jp abgrall [Mon, 17 Sep 2012 18:03:29 +0000 (11:03 -0700)]
am 86ca50d8: am e917bfbd: am 09a22fc2: Merge "Allow disable of dumpstate vibrate"

* commit '86ca50d860fa256f5553ac7b313ba5ff0f120ef0':
  Allow disable of dumpstate vibrate

11 years agoam e917bfbd: am 09a22fc2: Merge "Allow disable of dumpstate vibrate"
jp abgrall [Mon, 17 Sep 2012 18:01:37 +0000 (11:01 -0700)]
am e917bfbd: am 09a22fc2: Merge "Allow disable of dumpstate vibrate"

* commit 'e917bfbd19c265ef09c90f93f5dc175fc62259f5':
  Allow disable of dumpstate vibrate

11 years agoam 09a22fc2: Merge "Allow disable of dumpstate vibrate"
jp abgrall [Mon, 17 Sep 2012 17:58:38 +0000 (10:58 -0700)]
am 09a22fc2: Merge "Allow disable of dumpstate vibrate"

* commit '09a22fc29d588b173e5c0dd2002ac2c44d45b7c6':
  Allow disable of dumpstate vibrate

11 years agoMerge "Allow disable of dumpstate vibrate"
jp abgrall [Mon, 17 Sep 2012 17:21:31 +0000 (10:21 -0700)]
Merge "Allow disable of dumpstate vibrate"

11 years agoAllow disable of dumpstate vibrate
John Michelau [Mon, 17 Sep 2012 16:20:19 +0000 (11:20 -0500)]
Allow disable of dumpstate vibrate

Change-Id: I747b757f4b5e2d6a472b7b2a19f8c1ca8a4b7fdd

11 years agoam 07e8134e: Merge "Print warnings when backwards timestamps are detected." into...
Ben Cheng [Sun, 16 Sep 2012 23:25:21 +0000 (16:25 -0700)]
am 07e8134e: Merge "Print warnings when backwards timestamps are detected." into jb-mr1-dev

* commit '07e8134e24e9ef7a3b2ade361ead5ce1b514c72f':
  Print warnings when backwards timestamps are detected.

11 years agoMerge "Print warnings when backwards timestamps are detected." into jb-mr1-dev
Ben Cheng [Sun, 16 Sep 2012 23:24:28 +0000 (16:24 -0700)]
Merge "Print warnings when backwards timestamps are detected." into jb-mr1-dev

11 years agoPrint warnings when backwards timestamps are detected.
Ben Cheng [Fri, 14 Sep 2012 21:45:34 +0000 (14:45 -0700)]
Print warnings when backwards timestamps are detected.

Bug: 7100774

Change-Id: I752fd1680b32ce33d17d6042d6c82e27d7ba9dd2

11 years agoam 71f683ac: New test
Andy McFadden [Sun, 16 Sep 2012 20:28:48 +0000 (13:28 -0700)]
am 71f683ac: New test

* commit '71f683ac8d28e93928a9bb1744f43264b4846e8f':
  New test

11 years agoam 6905205c: Fix transform hints
Andy McFadden [Sun, 16 Sep 2012 19:54:28 +0000 (12:54 -0700)]
am 6905205c: Fix transform hints

* commit '6905205c8d130b6ea3a813c1b9283492ed183367':
  Fix transform hints

11 years agoNew test
Andy McFadden [Sat, 15 Sep 2012 00:21:46 +0000 (17:21 -0700)]
New test

Added a test to confirm that the transform hint is being respected.

Bug: 7162482
Change-Id: I892fe962f8cf2759ff951b4f5065b9ac2732c3d1

11 years agoFix transform hints
Andy McFadden [Fri, 14 Sep 2012 23:10:11 +0000 (16:10 -0700)]
Fix transform hints

The hints were being set a little too late, so the pre-rotation stuff
wasn't quite working.

Bug 7054997

Change-Id: Id8d5c626db7a76f768ba762a145b315878ee08e6

11 years agoam 6e220a6c: Fix display projections when translated.
Jeff Brown [Fri, 14 Sep 2012 02:42:12 +0000 (19:42 -0700)]
am 6e220a6c: Fix display projections when translated.

* commit '6e220a6ce6971555b883f4852c6e5d4c7a617815':
  Fix display projections when translated.

11 years agoFix display projections when translated.
Jeff Brown [Fri, 14 Sep 2012 02:22:41 +0000 (19:22 -0700)]
Fix display projections when translated.

There are two different translations to apply in the logical
orientation, one before scaling and one after.
So translate, scale, translate then rotate.

Bug: 7139798
Change-Id: I0726991cadb62988390e77503dbbaed54f07bfe3

11 years agoam ae2cfb57: Minor tweaks
Andy McFadden [Thu, 13 Sep 2012 20:25:17 +0000 (13:25 -0700)]
am ae2cfb57: Minor tweaks

* commit 'ae2cfb5746e87f1bf17c446e20274c41ce0a57ce':
  Minor tweaks

11 years agoMinor tweaks
Andy McFadden [Wed, 12 Sep 2012 23:59:59 +0000 (16:59 -0700)]
Minor tweaks

A couple of minor cleanups I stumbled over while looking at other
things.

Change-Id: I385ecfe1afefd577afbc59d7ef1d98d868073651

11 years agoam a4383fd9: Merge "Initialize new HWC 1.2 fields" into jb-mr1-dev
Jesse Hall [Thu, 13 Sep 2012 03:20:02 +0000 (20:20 -0700)]
am a4383fd9: Merge "Initialize new HWC 1.2 fields" into jb-mr1-dev

* commit 'a4383fd9de407d16342cd1069f75d2f0207efc0f':
  Initialize new HWC 1.2 fields

11 years agoMerge "Initialize new HWC 1.2 fields" into jb-mr1-dev
Jesse Hall [Thu, 13 Sep 2012 03:18:53 +0000 (20:18 -0700)]
Merge "Initialize new HWC 1.2 fields" into jb-mr1-dev

11 years agoam fa32888f: Merge "Fix display projection transforms" into jb-mr1-dev
Jesse Hall [Thu, 13 Sep 2012 03:18:31 +0000 (20:18 -0700)]
am fa32888f: Merge "Fix display projection transforms" into jb-mr1-dev

* commit 'fa32888f5822093f69522086d96ea2d493011a67':
  Fix display projection transforms

11 years agoMerge "Fix display projection transforms" into jb-mr1-dev
Jesse Hall [Thu, 13 Sep 2012 03:16:28 +0000 (20:16 -0700)]
Merge "Fix display projection transforms" into jb-mr1-dev

11 years agoam a5be0cd4: Merge "don\'t call hwc with non-empty layer lists for blanked displays...
Mathias Agopian [Thu, 13 Sep 2012 02:11:52 +0000 (19:11 -0700)]
am a5be0cd4: Merge "don\'t call hwc with non-empty layer lists for blanked displays" into jb-mr1-dev

* commit 'a5be0cd4f360a415a65825e5956e80a374c09743':
  don't call hwc with non-empty layer lists for blanked displays

11 years agoMerge "don't call hwc with non-empty layer lists for blanked displays" into jb-mr1-dev
Mathias Agopian [Thu, 13 Sep 2012 02:10:03 +0000 (19:10 -0700)]
Merge "don't call hwc with non-empty layer lists for blanked displays" into jb-mr1-dev

11 years agoam 9ca6491b: Region::validate() cannot be called from addRectUnchecked()
Mathias Agopian [Thu, 13 Sep 2012 01:01:27 +0000 (18:01 -0700)]
am 9ca6491b: Region::validate() cannot be called from addRectUnchecked()

* commit '9ca6491bb701919a3f88fa7c43da284b13822ed6':
  Region::validate() cannot be called from addRectUnchecked()

11 years agoRegion::validate() cannot be called from addRectUnchecked()
Mathias Agopian [Thu, 13 Sep 2012 00:56:29 +0000 (17:56 -0700)]
Region::validate() cannot be called from addRectUnchecked()

addRectUnchecked() is allowed to be in an invalid state
temporarily.

Change-Id: I6f5162b5c49f378978c070a77abba35023fe918c

11 years agoam 8df840aa: Merge "strengthen region validation" into jb-mr1-dev
Mathias Agopian [Thu, 13 Sep 2012 00:51:05 +0000 (17:51 -0700)]
am 8df840aa: Merge "strengthen region validation" into jb-mr1-dev

* commit '8df840aa76bc1cd7bc924d32ed4c69a95b33059e':
  strengthen region validation

11 years agoMerge "strengthen region validation" into jb-mr1-dev
Mathias Agopian [Thu, 13 Sep 2012 00:49:28 +0000 (17:49 -0700)]
Merge "strengthen region validation" into jb-mr1-dev

11 years agodon't call hwc with non-empty layer lists for blanked displays
Mathias Agopian [Wed, 12 Sep 2012 22:34:57 +0000 (15:34 -0700)]
don't call hwc with non-empty layer lists for blanked displays

we now make sure to take the blanked state of a display into
account when we build its list of visible layers, this ensures
that we won't call prepare/set with a non-empty list when the
display is blanked.

Possibly fixes 7075380710355371301877016215

Bug: 7075380
Change-Id: I9fdd2e73d1b7621eaeca3d4ac2ae60d9fb1b3631

11 years agostrengthen region validation
Mathias Agopian [Wed, 12 Sep 2012 01:56:23 +0000 (18:56 -0700)]
strengthen region validation

Change-Id: I75ee7bc4dd7a2f5357ac8994a23bc8b8bfb6eb44

11 years agoam e45b01f5: Merge "EGL: make max cache key size BoardConfig-able" into jb-mr1-dev
Jamie Gennis [Wed, 12 Sep 2012 22:56:39 +0000 (15:56 -0700)]
am e45b01f5: Merge "EGL: make max cache key size BoardConfig-able" into jb-mr1-dev

* commit 'e45b01f575e877b463ca2d2b124633c3a8997e82':
  EGL: make max cache key size BoardConfig-able

11 years agoMerge "EGL: make max cache key size BoardConfig-able" into jb-mr1-dev
Jamie Gennis [Wed, 12 Sep 2012 22:54:39 +0000 (15:54 -0700)]
Merge "EGL: make max cache key size BoardConfig-able" into jb-mr1-dev

11 years agoInitialize new HWC 1.2 fields
Jesse Hall [Fri, 7 Sep 2012 18:20:56 +0000 (11:20 -0700)]
Initialize new HWC 1.2 fields

Also rename resolution* to width/height.

Change-Id: Ia5f0c50d3f0a349160f314a3257c3b985e13ef1d

11 years agoFix display projection transforms
Jesse Hall [Wed, 12 Sep 2012 20:49:10 +0000 (13:49 -0700)]
Fix display projection transforms

Bug: 7139798
Change-Id: I61aafe99180d85563c6880d16bc367fce80e6022

11 years agoam 2c7c8ba5: Merge "Fix emulator" into jb-mr1-dev
Andy McFadden [Wed, 12 Sep 2012 20:29:24 +0000 (13:29 -0700)]
am 2c7c8ba5: Merge "Fix emulator" into jb-mr1-dev

* commit '2c7c8ba56ad9c0c08fde6f86771475f03a03e6fd':
  Fix emulator

11 years agoMerge "Fix emulator" into jb-mr1-dev
Andy McFadden [Wed, 12 Sep 2012 20:27:00 +0000 (13:27 -0700)]
Merge "Fix emulator" into jb-mr1-dev

11 years agoam c2724309: Merge "Watch for SurfaceFlinger death" into jb-mr1-dev
Andy McFadden [Wed, 12 Sep 2012 20:24:04 +0000 (13:24 -0700)]
am c2724309: Merge "Watch for SurfaceFlinger death" into jb-mr1-dev

* commit 'c272430960047de4e9b2f169fb053bd0aedce3b1':
  Watch for SurfaceFlinger death

11 years agoMerge "Watch for SurfaceFlinger death" into jb-mr1-dev
Andy McFadden [Wed, 12 Sep 2012 20:22:35 +0000 (13:22 -0700)]
Merge "Watch for SurfaceFlinger death" into jb-mr1-dev

11 years agoFix emulator
Andy McFadden [Wed, 12 Sep 2012 20:14:51 +0000 (13:14 -0700)]
Fix emulator

Emulator has no HWC.

Change-Id: I7810b27034f6772823142e5bf877681db1c8ee49

11 years agoEGL: make max cache key size BoardConfig-able
Jamie Gennis [Wed, 12 Sep 2012 18:55:16 +0000 (11:55 -0700)]
EGL: make max cache key size BoardConfig-able

This change makes the maximum EGL blob cache key size configurable via a
BoardConfig.

Change-Id: Ic669cd25fc743662bd4f13aab62354fc3d54560c

11 years agoam a0931d65: Merge "SurfaceTexture: eglDestroySync after duping its fd" into jb-mr1-dev
Jamie Gennis [Wed, 12 Sep 2012 18:56:26 +0000 (11:56 -0700)]
am a0931d65: Merge "SurfaceTexture: eglDestroySync after duping its fd" into jb-mr1-dev

* commit 'a0931d657551f5098f805fbdeeed2b060bbe6171':
  SurfaceTexture: eglDestroySync after duping its fd

11 years agoMerge "SurfaceTexture: eglDestroySync after duping its fd" into jb-mr1-dev
Jamie Gennis [Wed, 12 Sep 2012 18:54:52 +0000 (11:54 -0700)]
Merge "SurfaceTexture: eglDestroySync after duping its fd" into jb-mr1-dev

11 years agoReconcile with jb-mr1-release - do not merge
The Android Open Source Project [Wed, 12 Sep 2012 14:40:48 +0000 (07:40 -0700)]
Reconcile with jb-mr1-release - do not merge

Change-Id: Ib76f1e00f07e1ef8ce67ad3ca443edb5dcaa33d8

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Wed, 12 Sep 2012 13:59:50 +0000 (06:59 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoam 92def36f: Merge "fix typo in LayerBase::dump()" into jb-mr1-dev
Mathias Agopian [Wed, 12 Sep 2012 03:54:09 +0000 (20:54 -0700)]
am 92def36f: Merge "fix typo in LayerBase::dump()" into jb-mr1-dev

* commit '92def36f9f79973c6ca18fc66210b32e3901351d':
  fix typo in LayerBase::dump()

11 years agoMerge "fix typo in LayerBase::dump()" into jb-mr1-dev
Mathias Agopian [Wed, 12 Sep 2012 03:53:20 +0000 (20:53 -0700)]
Merge "fix typo in LayerBase::dump()" into jb-mr1-dev

11 years agofix typo in LayerBase::dump()
Mathias Agopian [Wed, 12 Sep 2012 03:52:46 +0000 (20:52 -0700)]
fix typo in LayerBase::dump()

Change-Id: Ie4861a58baed003b7ef643931d41f6be3fbfd00c

11 years agoam 43601a2d: Reduce failure uncertainty
Andy McFadden [Wed, 12 Sep 2012 00:02:51 +0000 (17:02 -0700)]
am 43601a2d: Reduce failure uncertainty

* commit '43601a2dc320a271ff8c3765ff61414a07221635':
  Reduce failure uncertainty

11 years agoReduce failure uncertainty
Andy McFadden [Tue, 11 Sep 2012 22:15:13 +0000 (15:15 -0700)]
Reduce failure uncertainty

This adds a trivial workaround for a one-shot boot time crash, plus
an explicit check and abort for a failure condition that currently
presents as a less obvious failure.

Bug: 71455217147557
Change-Id: I548f6a9caa9f0bd5710aaecea0e1c6c7c8f2f281

11 years agoam b0d1dd36: Reshuffle FramebufferSurface
Andy McFadden [Tue, 11 Sep 2012 17:04:55 +0000 (10:04 -0700)]
am b0d1dd36: Reshuffle FramebufferSurface

* commit 'b0d1dd36f104c0b581674adc7f830cbf44b7db06':
  Reshuffle FramebufferSurface

11 years agoReshuffle FramebufferSurface
Andy McFadden [Mon, 10 Sep 2012 21:08:09 +0000 (14:08 -0700)]
Reshuffle FramebufferSurface

FramebufferSurface no longer speaks directly to the FB HAL.  Now
everything goes through HWComposer (which may or may not be
connected to a hardware composer).

Added display index arg to some query methods.

Change-Id: Id3e157d2d4e3555d33afbb703e518b6e92e2d6d5

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

11 years agoam 1fc4f80f: Add stack dump from drmserver process to bugreports
James Dong [Tue, 11 Sep 2012 00:53:43 +0000 (17:53 -0700)]
am 1fc4f80f: Add stack dump from drmserver process to bugreports

* commit '1fc4f80fc38f782f128102795481924a97a2d3c5':
  Add stack dump from drmserver process to bugreports

11 years agoAdd stack dump from drmserver process to bugreports
James Dong [Mon, 10 Sep 2012 23:08:48 +0000 (16:08 -0700)]
Add stack dump from drmserver process to bugreports

This would be helpful tracking down ANR issues in drmserver

o related-to-bug: 7132419

Change-Id: I7eceaa0c29af26bd0092110be6bddf8f4c063545

11 years agoSurfaceTexture: eglDestroySync after duping its fd
Jamie Gennis [Mon, 10 Sep 2012 21:49:42 +0000 (14:49 -0700)]
SurfaceTexture: eglDestroySync after duping its fd

This change adds a call to eglDestroySync after we've dup'd the fd for the
Android fence that the EGLSyncKHR object wraps.

Change-Id: I4fa6ece863260793630d70bb9a69d6284d05d99e

11 years agoam 61e04b92: SurfaceTexture: use eglWaitSync
Jamie Gennis [Mon, 10 Sep 2012 20:33:19 +0000 (13:33 -0700)]
am 61e04b92: SurfaceTexture: use eglWaitSync

* commit '61e04b92bdeafc6fca89052d14dab1bd0c384a71':
  SurfaceTexture: use eglWaitSync

11 years agoSurfaceTexture: use eglWaitSync
Jamie Gennis [Mon, 10 Sep 2012 00:48:42 +0000 (17:48 -0700)]
SurfaceTexture: use eglWaitSync

This change adds a compile-option to use eglWaitSyncANDROID to ensure that
texturing operations that access the current buffer of a SurfaceTexture do not
occur until the buffer is completely written.  It also moves this
synchronization into a new SurfaceTexture method called doGLFenceWait and
changes SurfaceFlinger's Layer class to use that method rather than performing
its own wait on the fence.

Change-Id: I70afa88086ca7ff49a80e3cd03d423767db7cb88

11 years agoam 010dd4fb: EGL: Add the EGL_ANDROID_wait_sync extension
Jamie Gennis [Mon, 10 Sep 2012 19:13:33 +0000 (12:13 -0700)]
am 010dd4fb: EGL: Add the EGL_ANDROID_wait_sync extension

* commit '010dd4fb892aecf71e4631c22148fe57ef5b3958':
  EGL: Add the EGL_ANDROID_wait_sync extension

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Mon, 10 Sep 2012 13:59:29 +0000 (06:59 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoEGL: Add the EGL_ANDROID_wait_sync extension
Jamie Gennis [Mon, 10 Sep 2012 00:46:17 +0000 (17:46 -0700)]
EGL: Add the EGL_ANDROID_wait_sync extension

Change-Id: Ie9a78e07fcaf27c5c13797141ad3c692217607fb

11 years agoam 605f90dc: Merge "SurfaceTexture: use EGL-created native fences" into jb-mr1-dev
Jamie Gennis [Sun, 9 Sep 2012 20:01:20 +0000 (13:01 -0700)]
am 605f90dc: Merge "SurfaceTexture: use EGL-created native fences" into jb-mr1-dev

* commit '605f90dc867a18f1ea06203ffa70916f70820f92':
  SurfaceTexture: use EGL-created native fences

11 years agoMerge "SurfaceTexture: use EGL-created native fences" into jb-mr1-dev
Jamie Gennis [Sun, 9 Sep 2012 20:00:16 +0000 (13:00 -0700)]
Merge "SurfaceTexture: use EGL-created native fences" into jb-mr1-dev

11 years agoSurfaceTexture: use EGL-created native fences
Jamie Gennis [Thu, 6 Sep 2012 21:54:19 +0000 (14:54 -0700)]
SurfaceTexture: use EGL-created native fences

This change adds support for using Android fences that come from EGLSyncKHR
objects as the release fence for a buffer.

Change-Id: Ice192ce2ec001020f909a2018afdf0f17b24dec9

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Sun, 9 Sep 2012 14:00:22 +0000 (07:00 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoam 4c05dd17: Ensure that viewport and frame are initialized.
Jeff Brown [Sun, 9 Sep 2012 07:17:07 +0000 (00:17 -0700)]
am 4c05dd17: Ensure that viewport and frame are initialized.

* commit '4c05dd175ee3bd5119eecf368742b6510a8cfa6c':
  Ensure that viewport and frame are initialized.

11 years agoEnsure that viewport and frame are initialized.
Jeff Brown [Sun, 9 Sep 2012 07:07:17 +0000 (00:07 -0700)]
Ensure that viewport and frame are initialized.

onInitializeDisplays() was posting a transaction with changes
to the display projection.  Unfortunately, it only set the
display orientation field and left viewport and frame
uninitialized.

The uninitialized values flowed downstream and found themselves
baked into a bogus DisplayDevice mGlobalTransform.  That transform
was then applied to some Rects which were turned into Regions
that were them combined with other Regions.

Under certain situations, the uninitialized data might have
a largish value, resulting in the creation of Regions with
components in excess of the Region max-value limit of 0x7ffffff
(note that this is not INT_MAX).  Later when performing a
binary operation using the Region, the Spanner would loop
indefinitely trying to figure out how to stuff a humongous
region inside of a max-value region.  Not content to try
just once, the Spanner would continue trying again and
again, pegging the CPU and hanging surface flinger during boot.

Insanity soon followed.

Bug: 7130713
Change-Id: I0016f0c9662185be833474c212a1dd408096ae23

11 years agoam 4fb3999c: Fix display projection.
Jeff Brown [Fri, 7 Sep 2012 22:01:48 +0000 (15:01 -0700)]
am 4fb3999c: Fix display projection.

* commit '4fb3999cea652617be5125f8a42c257467bf3c77':
  Fix display projection.

11 years agoFix display projection.
Jeff Brown [Fri, 7 Sep 2012 19:55:10 +0000 (12:55 -0700)]
Fix display projection.

Change-Id: I0f253dc3759b99e05ff8344b0f513d8c289702e7

11 years agoWatch for SurfaceFlinger death
Andy McFadden [Fri, 7 Sep 2012 01:45:56 +0000 (18:45 -0700)]
Watch for SurfaceFlinger death

The ComposerService object wasn't watching for SurfaceFlinger
restarts, which doesn't usually matter because the app framework
restarts when SurfaceFlinger dies.  However, mediaserver continues
to run, which means its ComposerService object was trying to use
a dead handle, and playback of DRM movies was failing.

This adds a DeathRecipient listener and some logic to re-establish
the SurfaceFlinger connection.

Bug 6645813

Change-Id: I07581b881d3835601aa57d5358c8259d93bc4515

11 years agoam b2725415: libgui: move fence handling into ConsumerBase
Jamie Gennis [Fri, 7 Sep 2012 01:02:41 +0000 (18:02 -0700)]
am b2725415: libgui: move fence handling into ConsumerBase

* commit 'b27254154642575dfb4bbfa79fbedde7d7ee23dd':
  libgui: move fence handling into ConsumerBase

11 years agolibgui: move fence handling into ConsumerBase
Jamie Gennis [Thu, 6 Sep 2012 03:09:05 +0000 (20:09 -0700)]
libgui: move fence handling into ConsumerBase

This change moves some common fence handling code into the base class for
BufferQueue consumer classes.  It also makes the ConsumerBase class initialize
a buffer slot's fence with the acquire fence every time a buffer is acquired.

Change-Id: I0bd88bc269e919653b659bfb3ebfb04dd61692a0

11 years agoam 331841b9: EGL: add the native_fence_sync extension
Jamie Gennis [Thu, 6 Sep 2012 23:14:30 +0000 (16:14 -0700)]
am 331841b9: EGL: add the native_fence_sync extension

* commit '331841b96b92646c93c87627c03f77b892f711cd':
  EGL: add the native_fence_sync extension

11 years agoEGL: add the native_fence_sync extension
Jamie Gennis [Thu, 6 Sep 2012 21:52:00 +0000 (14:52 -0700)]
EGL: add the native_fence_sync extension

This change adds support for the EGL_ANDROID_native_fence_sync extension to the
Android EGL layer.  It also fixes a couple minor issues with the extension spec.

Change-Id: Ic8829d21f37b701f33aa9c72c3d25e88e03fa3cd

11 years agoam 8893d5bb: EGL_ANDROID_native_fence_sync: fix the version
Jamie Gennis [Thu, 6 Sep 2012 22:00:28 +0000 (15:00 -0700)]
am 8893d5bb: EGL_ANDROID_native_fence_sync: fix the version

* commit '8893d5bba1191b0dc9db1432868d8dc64de606ad':
  EGL_ANDROID_native_fence_sync: fix the version

11 years agoReconcile with jb-mr1-release - do not merge
The Android Open Source Project [Thu, 6 Sep 2012 14:53:49 +0000 (07:53 -0700)]
Reconcile with jb-mr1-release - do not merge

Change-Id: I459a44bdaaff7aebadd1db41260960bba3e3a402

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Thu, 6 Sep 2012 13:34:08 +0000 (06:34 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoEGL_ANDROID_native_fence_sync: fix the version
Jamie Gennis [Thu, 6 Sep 2012 02:45:44 +0000 (19:45 -0700)]
EGL_ANDROID_native_fence_sync: fix the version

Change-Id: Ib43b8fec8f37bb847d7bcdbf7607fd56f19a0563

11 years agoAlways reset layer acquireFenceFd after commit
Jesse Hall [Wed, 5 Sep 2012 20:03:10 +0000 (13:03 -0700)]
Always reset layer acquireFenceFd after commit

If SurfaceFlinger needs to refresh the screen but the dirty region is
empty, it won't set the layer acquire fences, and stale file
descriptors will be passed to HWC commit(). Now we make sure to clear
the stale file descriptors for each layer right after commit().

Bug: 7078301
Change-Id: I6953ff91fc5488f105b30b07306f9c45a4c3f780

11 years agofix a problem where all hwc layers would have the SKIP flags set
Mathias Agopian [Wed, 5 Sep 2012 23:00:56 +0000 (16:00 -0700)]
fix a problem where  all hwc layers would have the SKIP flags set

the problem was that LayerBase::setPerFrameData() was always setting
this flag. in fact there was no reason to do this at that point since
the layer is initialized to a default state in setGeometry().

Bug: 7111259
Change-Id: Ib37b0dd7391a6163070e9aca025512159c1705f9

11 years agoam 55882dea: fix a problem where all hwc layers would have the SKIP flags set
Mathias Agopian [Wed, 5 Sep 2012 23:51:06 +0000 (16:51 -0700)]
am 55882dea: fix a problem where  all hwc layers would have the SKIP flags set

* commit '55882dea1b1b305f15192b96ff7814f18babb212':
  fix a problem where  all hwc layers would have the SKIP flags set

11 years agofix a problem where all hwc layers would have the SKIP flags set
Mathias Agopian [Wed, 5 Sep 2012 23:00:56 +0000 (16:00 -0700)]
fix a problem where  all hwc layers would have the SKIP flags set

the problem was that LayerBase::setPerFrameData() was always setting
this flag. in fact there was no reason to do this at that point since
the layer is initialized to a default state in setGeometry().

Bug: 7111259
Change-Id: Ib37b0dd7391a6163070e9aca025512159c1705f9

11 years agoam fe4c745c: Merge "Always reset layer acquireFenceFd after commit" into jb-mr1-dev
Jesse Hall [Wed, 5 Sep 2012 20:57:20 +0000 (13:57 -0700)]
am fe4c745c: Merge "Always reset layer acquireFenceFd after commit" into jb-mr1-dev

* commit 'fe4c745c6d62fb416758cc5aaff3e7decb7ec06b':
  Always reset layer acquireFenceFd after commit

11 years agoMerge "Always reset layer acquireFenceFd after commit" into jb-mr1-dev
Jesse Hall [Wed, 5 Sep 2012 20:54:52 +0000 (13:54 -0700)]
Merge "Always reset layer acquireFenceFd after commit" into jb-mr1-dev

11 years agoam f42449e1: Merge "EGL_ANDROID_fence_sync: make it more generic" into jb-mr1-dev
Jamie Gennis [Wed, 5 Sep 2012 20:51:41 +0000 (13:51 -0700)]
am f42449e1: Merge "EGL_ANDROID_fence_sync: make it more generic" into jb-mr1-dev

* commit 'f42449e1259315d726efa75129bf1c4f5c0150d7':
  EGL_ANDROID_fence_sync: make it more generic

11 years agoMerge "EGL_ANDROID_fence_sync: make it more generic" into jb-mr1-dev
Jamie Gennis [Wed, 5 Sep 2012 20:48:50 +0000 (13:48 -0700)]
Merge "EGL_ANDROID_fence_sync: make it more generic" into jb-mr1-dev

11 years agoAlways reset layer acquireFenceFd after commit
Jesse Hall [Wed, 5 Sep 2012 20:03:10 +0000 (13:03 -0700)]
Always reset layer acquireFenceFd after commit

If SurfaceFlinger needs to refresh the screen but the dirty region is
empty, it won't set the layer acquire fences, and stale file
descriptors will be passed to HWC commit(). Now we make sure to clear
the stale file descriptors for each layer right after commit().

Bug: 7078301
Change-Id: I6953ff91fc5488f105b30b07306f9c45a4c3f780

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Wed, 5 Sep 2012 13:34:02 +0000 (06:34 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoam 1501d54d: minor cleanup
Mathias Agopian [Wed, 5 Sep 2012 04:09:34 +0000 (21:09 -0700)]
am 1501d54d: minor cleanup

* commit '1501d54d63c55dc4e8f4c6eeaeac35aca6660ffc':
  minor cleanup

11 years agominor cleanup
Mathias Agopian [Wed, 5 Sep 2012 04:04:09 +0000 (21:04 -0700)]
minor cleanup

Change-Id: Ied80e14878e92a506930f7a5a55adde8f260ec70

11 years agoam 762d0114: Merge "display projection API now has a single function instead of 3...
Mathias Agopian [Wed, 5 Sep 2012 03:30:00 +0000 (20:30 -0700)]
am 762d0114: Merge "display projection API now has a single function instead of 3" into jb-mr1-dev

* commit '762d0114759686b65feca832a5437e2aee343a13':
  display projection API now has a single function instead of 3

11 years agoam 71e83e12: the visibleRegion was never set in hwcomposer
Mathias Agopian [Wed, 5 Sep 2012 03:29:59 +0000 (20:29 -0700)]
am 71e83e12: the visibleRegion was never set in hwcomposer

* commit '71e83e1202dc87afde9c0c31f31c129f3f99263f':
  the visibleRegion was never set in hwcomposer

11 years agoMerge "display projection API now has a single function instead of 3" into jb-mr1-dev
Mathias Agopian [Wed, 5 Sep 2012 03:27:48 +0000 (20:27 -0700)]
Merge "display projection API now has a single function instead of 3" into jb-mr1-dev

11 years agothe visibleRegion was never set in hwcomposer
Mathias Agopian [Wed, 5 Sep 2012 03:25:39 +0000 (20:25 -0700)]
the visibleRegion was never set in hwcomposer

Bug: 7089478
Change-Id: I13b031b23ce908d33f431a04e1cf87831b551260

11 years agoEGL_ANDROID_fence_sync: make it more generic
Jamie Gennis [Wed, 5 Sep 2012 02:49:51 +0000 (19:49 -0700)]
EGL_ANDROID_fence_sync: make it more generic

This change updates the extension spec to refer to generic "native fence sync
objects" rather than "Android fence sync objects."

Change-Id: I15a79f08571586431845b54c58c8420b652f40ef

11 years agodisplay projection API now has a single function instead of 3
Mathias Agopian [Wed, 5 Sep 2012 02:30:46 +0000 (19:30 -0700)]
display projection API now has a single function instead of 3

Change-Id: I9bf46d372b77d547486d4bbe6f1953ec8c65e98f

11 years agoam da8d0a5c: implement display viewport and frame
Mathias Agopian [Wed, 5 Sep 2012 00:04:35 +0000 (17:04 -0700)]
am da8d0a5c: implement display viewport and frame

* commit 'da8d0a5c0cf9d41915d3b106cad4aaec3e767c11':
  implement display viewport and frame

11 years agoimplement display viewport and frame
Mathias Agopian [Tue, 4 Sep 2012 22:05:38 +0000 (15:05 -0700)]
implement display viewport and frame

note: viewport clipping is not implemented yet

Change-Id: I7fde7c4de075d409d95c48bb20ba8ee017f6f00a

11 years agoam 493db479: Merge "BufferQueue: add a setMaxAcquiredBufferCount check" into jb-mr1-dev
Jamie Gennis [Tue, 4 Sep 2012 22:00:40 +0000 (15:00 -0700)]
am 493db479: Merge "BufferQueue: add a setMaxAcquiredBufferCount check" into jb-mr1-dev

* commit '493db47929cdd805339e453062fef265d8985692':
  BufferQueue: add a setMaxAcquiredBufferCount check

11 years agoMerge "BufferQueue: add a setMaxAcquiredBufferCount check" into jb-mr1-dev
Jamie Gennis [Tue, 4 Sep 2012 21:58:50 +0000 (14:58 -0700)]
Merge "BufferQueue: add a setMaxAcquiredBufferCount check" into jb-mr1-dev

11 years agoam e84ec393: Merge "libgui: add BufferQueue test infrastructure" into jb-mr1-dev
Jamie Gennis [Tue, 4 Sep 2012 21:57:52 +0000 (14:57 -0700)]
am e84ec393: Merge "libgui: add BufferQueue test infrastructure" into jb-mr1-dev

* commit 'e84ec393bb48e4817eaa280ee51c099af041b14c':
  libgui: add BufferQueue test infrastructure

11 years agoam 374850cf: Merge "libgui: disable CpuConsumer tests" into jb-mr1-dev
Jamie Gennis [Tue, 4 Sep 2012 21:56:28 +0000 (14:56 -0700)]
am 374850cf: Merge "libgui: disable CpuConsumer tests" into jb-mr1-dev

* commit '374850cf161ecacc292afe8e34cbe3f96c0d8e85':
  libgui: disable CpuConsumer tests

11 years agoam 13e12578: Merge "Add support for "-rtl" in resources" into jb-mr1-dev
Fabrice Di Meglio [Tue, 4 Sep 2012 21:56:27 +0000 (14:56 -0700)]
am 13e12578: Merge "Add support for "-rtl" in resources" into jb-mr1-dev

* commit '13e12578385fdbfa78b19dfa052ffaed4a68234b':
  Add support for "-rtl" in resources