OSDN Git Service

android-x86/frameworks-native.git
12 years agoam ec0f5e5f: Merge "Fix issue #7257947: Need to fix heap limits on Mako" into jb...
Dianne Hackborn [Mon, 1 Oct 2012 18:42:49 +0000 (11:42 -0700)]
am ec0f5e5f: Merge "Fix issue #7257947: Need to fix heap limits on Mako" into jb-mr1-dev

* commit 'ec0f5e5f0c433666698fa55c2e38ccdc9cf0df44':
  Fix issue #7257947: Need to fix heap limits on Mako

12 years agoMerge "Fix issue #7257947: Need to fix heap limits on Mako" into jb-mr1-dev
Dianne Hackborn [Mon, 1 Oct 2012 18:38:19 +0000 (11:38 -0700)]
Merge "Fix issue #7257947: Need to fix heap limits on Mako" into jb-mr1-dev

12 years agoam 135e5899: save/restore viewport properly when taking screenshot
Mathias Agopian [Mon, 1 Oct 2012 17:16:47 +0000 (10:16 -0700)]
am 135e5899: save/restore viewport properly when taking screenshot

* commit '135e5899f70a67e62baaf6dbec7ba2ce611ca16a':
  save/restore viewport properly when taking screenshot

12 years agosave/restore viewport properly when taking screenshot
Mathias Agopian [Sun, 30 Sep 2012 23:43:20 +0000 (16:43 -0700)]
save/restore viewport properly when taking screenshot

Bug: 7241739
Change-Id: Iba8b9ffc75ab47fbc56169e65da26d96850a9297

12 years agoFix issue #7257947: Need to fix heap limits on Mako
Dianne Hackborn [Sun, 30 Sep 2012 23:20:34 +0000 (16:20 -0700)]
Fix issue #7257947: Need to fix heap limits on Mako

Change-Id: Id8014b19195b8740bccf000ab66c1b599ba3a1a0

12 years agoam bae92d0d: reset GL viewport and project when caputring the screen
Mathias Agopian [Fri, 28 Sep 2012 20:38:51 +0000 (13:38 -0700)]
am bae92d0d: reset GL viewport and project when caputring the screen

* commit 'bae92d0d605e99a14731add4f11b72413b2835e5':
  reset GL viewport and project when caputring the screen

12 years agoreset GL viewport and project when caputring the screen
Mathias Agopian [Fri, 28 Sep 2012 08:00:47 +0000 (01:00 -0700)]
reset GL viewport and project when caputring the screen

Bug: 7241739
Change-Id: I3bb5214b070384de9be2026647865c6c236a4331

12 years agoam c01a79d7: Pass display arg to blank/unblank
Andy McFadden [Fri, 28 Sep 2012 20:08:42 +0000 (13:08 -0700)]
am c01a79d7: Pass display arg to blank/unblank

* commit 'c01a79d77b829e7de86ef137694e8ad708470ca1':
  Pass display arg to blank/unblank

12 years agoPass display arg to blank/unblank
Andy McFadden [Thu, 27 Sep 2012 23:02:06 +0000 (16:02 -0700)]
Pass display arg to blank/unblank

This allows us to blank and unblank displays other than the built-in
display (e.g. HDMI).

Bug: 7240511
Change-Id: I89ea13f9e497be74c3e1231d0c62fb558e93e0f8

12 years agoam 4c273277: Merge "Re-enable FAST_TLS in gl2 code" into jb-mr1-dev
Chet Haase [Fri, 28 Sep 2012 19:41:24 +0000 (12:41 -0700)]
am 4c273277: Merge "Re-enable FAST_TLS in gl2 code" into jb-mr1-dev

* commit '4c2732779a11c92222958e7150162d4eaaab7b66':
  Re-enable FAST_TLS in gl2 code

12 years agoMerge "Re-enable FAST_TLS in gl2 code" into jb-mr1-dev
Chet Haase [Fri, 28 Sep 2012 19:38:29 +0000 (12:38 -0700)]
Merge "Re-enable FAST_TLS in gl2 code" into jb-mr1-dev

12 years agoam 589e2e74: Merge "Add a way to configure an OMX encoder to emit SPS/PPS before...
Andreas Huber [Fri, 28 Sep 2012 19:33:29 +0000 (12:33 -0700)]
am 589e2e74: Merge "Add a way to configure an OMX encoder to emit SPS/PPS before IDR frames." into jb-mr1-dev

* commit '589e2e74e429f2116f18463aeda9a0954cfd70ca':
  Add a way to configure an OMX encoder to emit SPS/PPS before IDR frames.

12 years agoMerge "Add a way to configure an OMX encoder to emit SPS/PPS before IDR frames."...
Andreas Huber [Fri, 28 Sep 2012 19:31:32 +0000 (12:31 -0700)]
Merge "Add a way to configure an OMX encoder to emit SPS/PPS before IDR frames." into jb-mr1-dev

12 years agoRe-enable FAST_TLS in gl2 code
Chet Haase [Fri, 28 Sep 2012 18:56:48 +0000 (11:56 -0700)]
Re-enable FAST_TLS in gl2 code

Temporarily changed USE_FAST_TLS_KEY ifdef during debugging. Changing it
back now.

Change-Id: I7c2fcf7265b3d545e31ff7683bd7614100fad3e5

12 years agoAdd a way to configure an OMX encoder to emit SPS/PPS before IDR frames.
Andreas Huber [Fri, 28 Sep 2012 18:32:16 +0000 (11:32 -0700)]
Add a way to configure an OMX encoder to emit SPS/PPS before IDR frames.

Change-Id: I71ce254533c8e99bc54d199d8a9828397fe3d99d
related-to-bug: 7245308

12 years agoam a4310c8b: SurfaceFlinger: don\'t always set HWC_GEOM_CHGD
Jamie Gennis [Fri, 28 Sep 2012 18:14:48 +0000 (11:14 -0700)]
am a4310c8b: SurfaceFlinger: don\'t always set HWC_GEOM_CHGD

* commit 'a4310c8be2dc3406a668ee99020d52187173232f':
  SurfaceFlinger: don't always set HWC_GEOM_CHGD

12 years agoSurfaceFlinger: don't always set HWC_GEOM_CHGD
Jamie Gennis [Wed, 26 Sep 2012 03:26:00 +0000 (20:26 -0700)]
SurfaceFlinger: don't always set HWC_GEOM_CHGD

This change fixes a bug in SurfaceFlinger that caused the HWC_GEOMETRY_CHANGED
flag to be set every flip.

Change-Id: I4f395a2883bcbb53b23b3d14941aff108739c9f0
Bug: 7234237

12 years agoam cb094a78: Merge "New compile-time flags to make debugging easier for us poor souls...
Romain Guy [Thu, 27 Sep 2012 23:05:31 +0000 (16:05 -0700)]
am cb094a78: Merge "New compile-time flags to make debugging easier for us poor souls Bug #7195815" into jb-mr1-dev

* commit 'cb094a783f14daae3378ac8aa7dc509980f037b2':
  New compile-time flags to make debugging easier for us poor souls Bug #7195815

12 years agoMerge "New compile-time flags to make debugging easier for us poor souls Bug #7195815...
Romain Guy [Thu, 27 Sep 2012 23:04:03 +0000 (16:04 -0700)]
Merge "New compile-time flags to make debugging easier for us poor souls Bug #7195815" into jb-mr1-dev

12 years agoam 38b65726: Revert "Compatibility work around for bad graphics driver dependency."
Iliyan Malchev [Thu, 27 Sep 2012 22:54:09 +0000 (15:54 -0700)]
am 38b65726: Revert "Compatibility work around for bad graphics driver dependency."

* commit '38b657265ccc5ae45bd7860a68b0d9373b47a2f3':
  Revert "Compatibility work around for bad graphics driver dependency."

12 years agoRevert "Compatibility work around for bad graphics driver dependency."
Iliyan Malchev [Thu, 27 Sep 2012 22:08:29 +0000 (15:08 -0700)]
Revert "Compatibility work around for bad graphics driver dependency."

This reverts commit a50b51c03aca449920fc8581a738032a7bce7150

Change-Id: Ibdcd776a7f241dbb2475403ea04f939249774c41

12 years agoNew compile-time flags to make debugging easier for us poor souls
Romain Guy [Thu, 27 Sep 2012 22:47:10 +0000 (15:47 -0700)]
New compile-time flags to make debugging easier for us poor souls
Bug #7195815

Change-Id: I23e7ac991891b9586cb8ed20b1305c8b1b3e2b43

12 years agoReconcile with jb-mr1-release - do not merge
The Android Open Source Project [Thu, 27 Sep 2012 16:58:04 +0000 (09:58 -0700)]
Reconcile with jb-mr1-release - do not merge

Change-Id: I4e21c53aec26d5503f1640cf06acbadcf9eedb59

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

12 years agoam 1e83690c: Merge "assert -eng builds when calling a GL function without a context...
Mathias Agopian [Thu, 27 Sep 2012 01:50:13 +0000 (18:50 -0700)]
am 1e83690c: Merge "assert -eng builds when calling a GL function without a context" into jb-mr1-dev

* commit '1e83690c6030b33c7776fa65cb57132d5e2d0b40':
  assert -eng builds when calling a GL function without a context

12 years agoMerge "assert -eng builds when calling a GL function without a context" into jb-mr1-dev
Mathias Agopian [Thu, 27 Sep 2012 01:48:54 +0000 (18:48 -0700)]
Merge "assert -eng builds when calling a GL function without a context" into jb-mr1-dev

12 years agoassert -eng builds when calling a GL function without a context
Mathias Agopian [Thu, 27 Sep 2012 00:19:48 +0000 (17:19 -0700)]
assert -eng builds when calling a GL function without a context

Bug: 7241626

Change-Id: I0f1f9361e75e9186af8cff8d98a7d2224b266765

12 years agoam e206549c: Merge "Recompute visible regions more vigorously" into jb-mr1-dev
Andy McFadden [Thu, 27 Sep 2012 00:28:51 +0000 (17:28 -0700)]
am e206549c: Merge "Recompute visible regions more vigorously" into jb-mr1-dev

* commit 'e206549ccf23ec5ba95062f944674e58569c8065':
  Recompute visible regions more vigorously

12 years agoMerge "Recompute visible regions more vigorously" into jb-mr1-dev
Andy McFadden [Thu, 27 Sep 2012 00:27:42 +0000 (17:27 -0700)]
Merge "Recompute visible regions more vigorously" into jb-mr1-dev

12 years agoRecompute visible regions more vigorously
Andy McFadden [Wed, 26 Sep 2012 23:19:12 +0000 (16:19 -0700)]
Recompute visible regions more vigorously

Some of the code in latchBuffer was calling invalidateHwcGeometry,
but that didn't cause the SurfaceFlinger visible region code to
re-evaluate the layer's visibility.  Set the recomputeVisibleRegions
"out" parameter instead.

Bug 7235797

Change-Id: If6ba33fbd1a594cd64cc5253aebf752d6ceda1c9

12 years agoam a8026d21: Stop using transparent region for computing visible regions
Jesse Hall [Wed, 26 Sep 2012 21:48:22 +0000 (14:48 -0700)]
am a8026d21: Stop using transparent region for computing visible regions

* commit 'a8026d21f3f2f09e3416cbd33c277fbd15d8cf4e':
  Stop using transparent region for computing visible regions

12 years agoStop using transparent region for computing visible regions
Jesse Hall [Tue, 25 Sep 2012 20:25:04 +0000 (13:25 -0700)]
Stop using transparent region for computing visible regions

The transparent region hint is computed only from view layout
locations, ignoring post-layout translation. If a SurfaceView is layed
out with no other views above it, but a view is moved above it
post-layout, that view's layout bounds would be subtracted from the
window's transparent region instead of its drawing bounds. Prior to
this change, the view would not be visible (except where its layout
bounds and drawing bounds overlap).

With this change, composition uses visible regions computed without
regard to the transparent regions. However, if all of a layer's
visible region is transparent, it will be removed from the list of
layers to composite. This doesn't fix the root problem of incorrect
transparent regions, and doesn't prevent bad composition in all cases.
But it does avoid it for some existing apps, whiel still allowing the
transparent region hint to save power in the important
fullscreen-video-in-a-SurfaceView case.

Bug: 7179570
Change-Id: I47cf939e12129b167afa344b8b036e8827103ac8

12 years agoReconcile with jb-mr1-release - do not merge
The Android Open Source Project [Wed, 26 Sep 2012 16:07:02 +0000 (09:07 -0700)]
Reconcile with jb-mr1-release - do not merge

Change-Id: I2b5dfee2bfbe21b2d7f5a313c5c5e89bcb5379c1

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

12 years agoam c4a8daaa: Merge "add support for EGL_FRAMEBUFFER_TARGET_ANDROID" into jb-mr1-dev
Mathias Agopian [Wed, 26 Sep 2012 05:58:43 +0000 (22:58 -0700)]
am c4a8daaa: Merge "add support for EGL_FRAMEBUFFER_TARGET_ANDROID" into jb-mr1-dev

* commit 'c4a8daaa998ea524c9aaa9817021ff7c4467c3dd':
  add support for EGL_FRAMEBUFFER_TARGET_ANDROID

12 years agoMerge "add support for EGL_FRAMEBUFFER_TARGET_ANDROID" into jb-mr1-dev
Mathias Agopian [Wed, 26 Sep 2012 05:56:29 +0000 (22:56 -0700)]
Merge "add support for EGL_FRAMEBUFFER_TARGET_ANDROID" into jb-mr1-dev

12 years agoonly abort when errors happen on the main display
Mathias Agopian [Wed, 26 Sep 2012 02:16:28 +0000 (19:16 -0700)]
only abort when errors happen on the main display

Bug: 7232690
Change-Id: I2c4b35a82f131da26deea738ef294e100e536d15

12 years agoam 32341381: only abort when errors happen on the main display
Mathias Agopian [Wed, 26 Sep 2012 02:22:01 +0000 (19:22 -0700)]
am 32341381: only abort when errors happen on the main display

* commit '32341381c9493d7953e40f7f79653cfc52868863':
  only abort when errors happen on the main display

12 years agoonly abort when errors happen on the main display
Mathias Agopian [Wed, 26 Sep 2012 02:16:28 +0000 (19:16 -0700)]
only abort when errors happen on the main display

Bug: 7232690
Change-Id: I2c4b35a82f131da26deea738ef294e100e536d15

12 years agoadd support for EGL_FRAMEBUFFER_TARGET_ANDROID
Mathias Agopian [Wed, 26 Sep 2012 01:24:31 +0000 (18:24 -0700)]
add support for EGL_FRAMEBUFFER_TARGET_ANDROID

we now try first with EGL_FRAMEBUFFER_TARGET_ANDROID, and
pick the first config we find. Otherwise, we revert to
the old algorithm.

Bug: 7232584

Change-Id: I8d5c5a4ce48420832c2e2828718a8f53325effb0

12 years agoam 7b190511: fix a crasher when running out of memory
Mathias Agopian [Tue, 25 Sep 2012 22:55:24 +0000 (15:55 -0700)]
am 7b190511: fix a crasher when running out of memory

* commit '7b1905113712281c777b230648d3fbb69ae4f42c':
  fix a crasher when running out of memory

12 years agofix a crasher when running out of memory
Mathias Agopian [Tue, 25 Sep 2012 22:28:44 +0000 (15:28 -0700)]
fix a crasher when running out of memory

MemoryHeapBase::getBase() returns MAP_FAILED in case or
OOM, not null which is what SF was checking against.

This addresses one of the issues of bug 7230543.

Bug: 7230543
Change-Id: I763a88f64a2f9ff75eb139cfbaf9a1a9746c5577

12 years agoam bb53b0e4: When "show visible regions" is enabled we were missing a call to HWC
Mathias Agopian [Tue, 25 Sep 2012 21:42:07 +0000 (14:42 -0700)]
am bb53b0e4: When "show visible regions" is enabled we were missing a call to HWC

* commit 'bb53b0e4b97634bc31808965f81b3ab4193d0e84':
  When "show visible regions" is enabled we were missing a call to HWC

12 years agoWhen "show visible regions" is enabled we were missing a call to HWC
Mathias Agopian [Tue, 25 Sep 2012 04:27:29 +0000 (21:27 -0700)]
When "show visible regions" is enabled we were missing a call to HWC

Bug: 7204034
Change-Id: I64dd78362fa75149513a7d9ff92dde175e9b4958

12 years agoam f68c825c: Merge "Show build config in dumpsys SurfaceFlinger" into jb-mr1-dev
Andy McFadden [Tue, 25 Sep 2012 20:49:47 +0000 (13:49 -0700)]
am f68c825c: Merge "Show build config in dumpsys SurfaceFlinger" into jb-mr1-dev

* commit 'f68c825c75198e7b3296532db9352631f18983b7':
  Show build config in dumpsys SurfaceFlinger

12 years agoMerge "Show build config in dumpsys SurfaceFlinger" into jb-mr1-dev
Andy McFadden [Tue, 25 Sep 2012 20:48:15 +0000 (13:48 -0700)]
Merge "Show build config in dumpsys SurfaceFlinger" into jb-mr1-dev

12 years agoam ad901448: Merge "Configure GC free to be 8MB for devices with >512MB RAM." into...
Ian Rogers [Tue, 25 Sep 2012 19:32:04 +0000 (12:32 -0700)]
am ad901448: Merge "Configure GC free to be 8MB for devices with >512MB RAM." into jb-mr1-dev

* commit 'ad901448d7b92cd0a6493ae9d043110e41522291':
  Configure GC free to be 8MB for devices with >512MB RAM.

12 years agoMerge "Configure GC free to be 8MB for devices with >512MB RAM." into jb-mr1-dev
Ian Rogers [Tue, 25 Sep 2012 18:36:22 +0000 (11:36 -0700)]
Merge "Configure GC free to be 8MB for devices with >512MB RAM." into jb-mr1-dev

12 years agoShow build config in dumpsys SurfaceFlinger
Andy McFadden [Tue, 25 Sep 2012 02:07:20 +0000 (19:07 -0700)]
Show build config in dumpsys SurfaceFlinger

This adds a line to the "dumpsys SurfaceFlinger" output that shows
build-time configuration values.

Example:
 Build configuration: [sf HAS_CONTEXT_PRIORITY] [libui] \
  [libgui USE_FENCE_SYNC]

Bug 7206633

Change-Id: Ibe1856b459d34a4be6ee83a4ebfd2807e6cc68a0

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

12 years agoam a046dd97: fix Layer croping in SurfaceFlinger
Mathias Agopian [Tue, 25 Sep 2012 05:18:18 +0000 (22:18 -0700)]
am a046dd97: fix Layer croping in SurfaceFlinger

* commit 'a046dd9772cd8da4ead9edc7a89d9992ff0d38cf':
  fix Layer croping in SurfaceFlinger

12 years agofix Layer croping in SurfaceFlinger
Mathias Agopian [Tue, 25 Sep 2012 05:01:01 +0000 (22:01 -0700)]
fix Layer croping in SurfaceFlinger

Bug: 7224628
Change-Id: I9421f0a06b9a27fe00eefaa1dfab8c4309c380c9

12 years agoam e96e9e10: fix a crasher in SurfaceTexture\'s setFilteringEnabled
Mathias Agopian [Tue, 25 Sep 2012 03:56:05 +0000 (20:56 -0700)]
am e96e9e10: fix a crasher in SurfaceTexture\'s setFilteringEnabled

* commit 'e96e9e1093b5700e9f403a6e2479da7dc36d3b71':
  fix a crasher in SurfaceTexture's setFilteringEnabled

12 years agofix a crasher in SurfaceTexture's setFilteringEnabled
Mathias Agopian [Tue, 25 Sep 2012 02:26:11 +0000 (19:26 -0700)]
fix a crasher in SurfaceTexture's setFilteringEnabled

bug: 7211067
Change-Id: Id8658a8df429d76c20ab9112858b38e52343dc9c

12 years agoam 13de3699: Merge changes I47cd25c9,I7638ffe8 into jb-mr1-dev
Mathias Agopian [Tue, 25 Sep 2012 01:33:54 +0000 (18:33 -0700)]
am 13de3699: Merge changes I47cd25c9,I7638ffe8 into jb-mr1-dev

* commit '13de3699807f3260cfbabd196a08191d6a80a99a':
  don't call eglMakeCurrent() before calling HWC commit() on HWC 1.1
  handle EGL errors

12 years agoMerge changes I47cd25c9,I7638ffe8 into jb-mr1-dev
Mathias Agopian [Tue, 25 Sep 2012 01:31:48 +0000 (18:31 -0700)]
Merge changes I47cd25c9,I7638ffe8 into jb-mr1-dev

* changes:
  don't call eglMakeCurrent() before calling HWC commit() on HWC 1.1
  handle EGL errors

12 years agoam 2f45d746: Merge "EGL: add the EGL_ANDROID_framebuffer_target enum" into jb-mr1-dev
Jamie Gennis [Tue, 25 Sep 2012 01:23:05 +0000 (18:23 -0700)]
am 2f45d746: Merge "EGL: add the EGL_ANDROID_framebuffer_target enum" into jb-mr1-dev

* commit '2f45d7464a55d7a91da6fcd6f8cf1b11e395d029':
  EGL: add the EGL_ANDROID_framebuffer_target enum

12 years agoam 363847d4: Merge "EGL: expose the EXT_create_context_robustness ext" into jb-mr1-dev
Jamie Gennis [Tue, 25 Sep 2012 01:23:04 +0000 (18:23 -0700)]
am 363847d4: Merge "EGL: expose the EXT_create_context_robustness ext" into jb-mr1-dev

* commit '363847d498bffe0e2d8e7b8aba693bb402513413':
  EGL: expose the EXT_create_context_robustness ext

12 years agoMerge "EGL: add the EGL_ANDROID_framebuffer_target enum" into jb-mr1-dev
Jamie Gennis [Tue, 25 Sep 2012 01:21:13 +0000 (18:21 -0700)]
Merge "EGL: add the EGL_ANDROID_framebuffer_target enum" into jb-mr1-dev

12 years agoMerge "EGL: expose the EXT_create_context_robustness ext" into jb-mr1-dev
Jamie Gennis [Tue, 25 Sep 2012 01:20:51 +0000 (18:20 -0700)]
Merge "EGL: expose the EXT_create_context_robustness ext" into jb-mr1-dev

12 years agodon't call eglMakeCurrent() before calling HWC commit() on HWC 1.1
Mathias Agopian [Tue, 25 Sep 2012 01:12:35 +0000 (18:12 -0700)]
don't call eglMakeCurrent() before calling HWC commit() on HWC 1.1

this call is not needed and misleading on HWC 1.1; it can also have
a negative performance impact when multiple displays are used.

Bug: 7124069
Change-Id: I47cd25c9d6e69abcc9333b9ecd5044e8fb1919ec

12 years agoam 500407a2: log an error when eglCreateContext() fails in an inconsistant way
Mathias Agopian [Tue, 25 Sep 2012 01:09:21 +0000 (18:09 -0700)]
am 500407a2: log an error when eglCreateContext() fails in an inconsistant way

* commit '500407a2c07ced40c36e7356574a47bcec9c2fd9':
  log an error when eglCreateContext() fails in an inconsistant way

12 years agohandle EGL errors
Mathias Agopian [Tue, 25 Sep 2012 01:07:21 +0000 (18:07 -0700)]
handle EGL errors

for now we just restart the runtime.

bug: 7225248
Change-Id: I7638ffe82075a4db9e7e6f9e35cf48afcb5a387a

12 years agolog an error when eglCreateContext() fails in an inconsistant way
Mathias Agopian [Tue, 25 Sep 2012 00:57:48 +0000 (17:57 -0700)]
log an error when eglCreateContext() fails in an inconsistant way

this will help debugging bug: 7216919

Change-Id: I54ac65f20c5ed55cc93a5cbc5350fadfb0fcb804

12 years agoam 98838aa0: am 77af25b6: Merge "Return back-end result from eglDestroyImageKHR"
Mathias Agopian [Mon, 24 Sep 2012 22:43:54 +0000 (15:43 -0700)]
am 98838aa0: am 77af25b6: Merge "Return back-end result from eglDestroyImageKHR"

* commit '98838aa0836518b7397cbfe763f34305e3387a5f':
  Return back-end result from eglDestroyImageKHR

12 years agoam 77af25b6: Merge "Return back-end result from eglDestroyImageKHR"
Mathias Agopian [Mon, 24 Sep 2012 22:42:06 +0000 (15:42 -0700)]
am 77af25b6: Merge "Return back-end result from eglDestroyImageKHR"

* commit '77af25b6dd41e76052b5b0ec6aaeebca896a4dbe':
  Return back-end result from eglDestroyImageKHR

12 years agoMerge "Return back-end result from eglDestroyImageKHR"
Mathias Agopian [Mon, 24 Sep 2012 21:56:02 +0000 (14:56 -0700)]
Merge "Return back-end result from eglDestroyImageKHR"

12 years agoEGL: add the EGL_ANDROID_framebuffer_target enum
Jamie Gennis [Mon, 24 Sep 2012 20:34:18 +0000 (13:34 -0700)]
EGL: add the EGL_ANDROID_framebuffer_target enum

Change-Id: Id8b1b114e2a7a88956b857c63a0429e9b33fdb5c

12 years agoEGL: expose the EXT_create_context_robustness ext
Jamie Gennis [Thu, 20 Sep 2012 22:47:44 +0000 (15:47 -0700)]
EGL: expose the EXT_create_context_robustness ext

Change-Id: I1db43e96aa5e9e91a6176a4a3e5aa9d1f3ee4a7e

12 years agoam ff5c4aa6: Merge "ConsumerBase: make fence names meaningful" into jb-mr1-dev
Jamie Gennis [Mon, 24 Sep 2012 20:38:46 +0000 (13:38 -0700)]
am ff5c4aa6: Merge "ConsumerBase: make fence names meaningful" into jb-mr1-dev

* commit 'ff5c4aa676d157f4911ef06e328e687725e8b9f9':
  ConsumerBase: make fence names meaningful

12 years agoMerge "ConsumerBase: make fence names meaningful" into jb-mr1-dev
Jamie Gennis [Mon, 24 Sep 2012 20:36:55 +0000 (13:36 -0700)]
Merge "ConsumerBase: make fence names meaningful" into jb-mr1-dev

12 years agoConsumerBase: make fence names meaningful
Jamie Gennis [Mon, 24 Sep 2012 19:25:15 +0000 (12:25 -0700)]
ConsumerBase: make fence names meaningful

Change-Id: I3580120cb63c027c327e80ec70e68650b75395de

12 years agoReconcile with jb-mr1-release - do not merge
The Android Open Source Project [Mon, 24 Sep 2012 17:12:21 +0000 (10:12 -0700)]
Reconcile with jb-mr1-release - do not merge

Change-Id: Id330f9144f47c1a9e314ac85b7b867cbfc7c27e8

12 years agoam 33baee5d: Merge "Add android.hardware.camera.any feature to camera permissions...
Eino-Ville Talvala [Mon, 24 Sep 2012 16:26:03 +0000 (09:26 -0700)]
am 33baee5d: Merge "Add android.hardware.camera.any feature to camera permissions." into jb-mr1-dev

* commit '33baee5d88974a3b668f9d7f0716eed815966773':
  Add android.hardware.camera.any feature to camera permissions.

12 years agoam 9e2463e7: add/remove displays properly on hotplug events
Mathias Agopian [Mon, 24 Sep 2012 16:26:02 +0000 (09:26 -0700)]
am 9e2463e7: add/remove displays properly on hotplug events

* commit '9e2463e71796964cfaa06bf09a880875ac3537bc':
  add/remove displays properly on hotplug events

12 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Mon, 24 Sep 2012 01:59:59 +0000 (18:59 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

12 years agoConfigure GC free to be 8MB for devices with >512MB RAM.
Ian Rogers [Sun, 23 Sep 2012 23:41:57 +0000 (16:41 -0700)]
Configure GC free to be 8MB for devices with >512MB RAM.

b/6606849

Change-Id: Idad46032b4b5d309db0319caeb7a1dfc0550f9f7

12 years agoMerge "Add android.hardware.camera.any feature to camera permissions." into jb-mr1-dev
Eino-Ville Talvala [Sun, 23 Sep 2012 17:20:53 +0000 (10:20 -0700)]
Merge "Add android.hardware.camera.any feature to camera permissions." into jb-mr1-dev

12 years agoAdd android.hardware.camera.any feature to camera permissions.
Eino-Ville Talvala [Sun, 23 Sep 2012 16:42:12 +0000 (09:42 -0700)]
Add android.hardware.camera.any feature to camera permissions.

Bug: 6847310
Change-Id: I9283932a7c211cd08b3b9fe6a93d8f219e6c9767

12 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Sat, 22 Sep 2012 16:41:58 +0000 (09:41 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

12 years agoadd/remove displays properly on hotplug events
Mathias Agopian [Sat, 22 Sep 2012 01:26:16 +0000 (18:26 -0700)]
add/remove displays properly on hotplug events

Bug: 7191563
Change-Id: I8f0fbf3b29658c9479443141798e6f288a1f2d52

12 years agoam ff28e201: Display events now always carry the display id they happened on
Mathias Agopian [Fri, 21 Sep 2012 21:55:43 +0000 (14:55 -0700)]
am ff28e201: Display events now always carry the display id they happened on

* commit 'ff28e201ec0c6d620eaaa29814ab52958487dc31':
  Display events now always carry the display id they happened on

12 years agoam b4d18ed3: fix an issue where hotplug events were not dispatched
Mathias Agopian [Fri, 21 Sep 2012 21:55:42 +0000 (14:55 -0700)]
am b4d18ed3: fix an issue where hotplug events were not dispatched

* commit 'b4d18ed34e3513f3a14ea0876c7e330bee72a529':
  fix an issue where hotplug events were not dispatched

12 years agoam 16cfa2e3: Merge "SurfaceTexture: fix an out of bounds array write" into jb-mr1-dev
Jamie Gennis [Fri, 21 Sep 2012 21:55:41 +0000 (14:55 -0700)]
am 16cfa2e3: Merge "SurfaceTexture: fix an out of bounds array write" into jb-mr1-dev

* commit '16cfa2e38bfbdafdba21af7f9f1c4d1418cbe1d3':
  SurfaceTexture: fix an out of bounds array write

12 years agoDisplay events now always carry the display id they happened on
Mathias Agopian [Fri, 21 Sep 2012 06:24:19 +0000 (23:24 -0700)]
Display events now always carry the display id they happened on

Change-Id: I12de1d883c23927722bc3a71b782f0079de4e831

12 years agofix an issue where hotplug events were not dispatched
Mathias Agopian [Fri, 21 Sep 2012 06:14:05 +0000 (23:14 -0700)]
fix an issue where hotplug events were not dispatched

Change-Id: I527eec77f338cd6f1a9021aa4c9d384dbddd6d2a

12 years agoMerge "SurfaceTexture: fix an out of bounds array write" into jb-mr1-dev
Jamie Gennis [Fri, 21 Sep 2012 20:43:23 +0000 (13:43 -0700)]
Merge "SurfaceTexture: fix an out of bounds array write" into jb-mr1-dev

12 years agoam e0606e29: Merge "Add a spec for EGL_ANDROID_framebuffer_target." into jb-mr1-dev
Jamie Gennis [Fri, 21 Sep 2012 19:17:46 +0000 (12:17 -0700)]
am e0606e29: Merge "Add a spec for EGL_ANDROID_framebuffer_target." into jb-mr1-dev

* commit 'e0606e29875a55dedc1a4f0a738d5eb40fe1eb41':
  Add a spec for EGL_ANDROID_framebuffer_target.

12 years agoMerge "Add a spec for EGL_ANDROID_framebuffer_target." into jb-mr1-dev
Jamie Gennis [Fri, 21 Sep 2012 19:16:37 +0000 (12:16 -0700)]
Merge "Add a spec for EGL_ANDROID_framebuffer_target." into jb-mr1-dev

12 years agoSurfaceTexture: fix an out of bounds array write
Jamie Gennis [Fri, 21 Sep 2012 18:55:35 +0000 (11:55 -0700)]
SurfaceTexture: fix an out of bounds array write

This change fixes an issue causing the mEglContext member of a SurfaceTexture
to get incorrectly zeroed out.  This would happen when a call to
ConsumerBase::releaseBufferLocked resulted in the current buffer being freed.
Freeing the current buffer would set SurfaceTexture::mCurrentTexture to -1,
which would then be used by SurfaceTexture::releaseBufferLocked to reset the
current slot's EGLSyncKHR to EGL_NO_SYNC_KHR (= 0).  This would overwrite the
mEglContext field, resulting in context mismatch errors in
SurfaceTexture::doGLFenceWaitLocked.

The fix is to simply use the buffer slot that's passed in to
SurfaceTexture::releaseBufferLocked rather than mCurrentTexture.

Change-Id: I0e5e2bd88fcbb354c35a3744f317716fff3e0e41

12 years agoAdd a spec for EGL_ANDROID_framebuffer_target.
Jamie Gennis [Thu, 20 Sep 2012 20:55:24 +0000 (13:55 -0700)]
Add a spec for EGL_ANDROID_framebuffer_target.

This change adds a new extension for EGL implementations to indicate the
EGLConfigs that support use as a HWComposer framebuffer target layer.

Change-Id: Ia7c8fbe8da09d57b4ec8bf1d9ddb67ca21aa2885

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

12 years agoam 4c0751a1: return an error, as expected, when querying a disconnected display
Mathias Agopian [Fri, 21 Sep 2012 04:33:56 +0000 (21:33 -0700)]
am 4c0751a1: return an error, as expected, when querying a disconnected display

* commit '4c0751a1f6e4ee941791012b31f9dbc65601e1d6':
  return an error, as expected, when querying a disconnected display

12 years agoreturn an error, as expected, when querying a disconnected display
Mathias Agopian [Fri, 21 Sep 2012 04:28:12 +0000 (21:28 -0700)]
return an error, as expected, when querying a disconnected display

Change-Id: I405a3a7bb42b9bbd2ec7bfe09e60e1b7acf7389d

12 years agoam 38e623bc: fix a typo preventing pre hwc-1.1 devices from booting
Mathias Agopian [Fri, 21 Sep 2012 03:24:15 +0000 (20:24 -0700)]
am 38e623bc: fix a typo preventing pre hwc-1.1 devices from booting

* commit '38e623bc5c2d7224ebd5b82efaea401bc8e5367a':
  fix a typo preventing pre hwc-1.1 devices from booting

12 years agoam f5a33928: we now correctly set-up connected screens during boot
Mathias Agopian [Fri, 21 Sep 2012 03:22:58 +0000 (20:22 -0700)]
am f5a33928: we now correctly set-up connected screens during boot

* commit 'f5a33928349bebc8eebc9f466618997e98c24e68':
  we now correctly set-up connected screens during boot

12 years agoam 148994e5: We now report hotplug events to the framework
Mathias Agopian [Fri, 21 Sep 2012 03:22:57 +0000 (20:22 -0700)]
am 148994e5: We now report hotplug events to the framework

* commit '148994e5f33ce240ff24ceb5bc0500b7f2001959':
  We now report hotplug events to the framework

12 years agoam 1604f777: one more step toward HDMI support
Mathias Agopian [Fri, 21 Sep 2012 03:22:56 +0000 (20:22 -0700)]
am 1604f777: one more step toward HDMI support

* commit '1604f777d11c40daae8ec91d8ea75625996bfbac':
  one more step toward HDMI support

12 years agoam eba8c688: calculate wether we filter on a per-display basis
Mathias Agopian [Fri, 21 Sep 2012 03:22:55 +0000 (20:22 -0700)]
am eba8c688: calculate wether we filter on a per-display basis

* commit 'eba8c688f633f3f3f1b75c2bc64faf799dd2b5f2':
  calculate wether we filter on a per-display basis

12 years agoam f33e4b6f: GraphicBufferAlloc class was declared twice
Mathias Agopian [Fri, 21 Sep 2012 03:22:54 +0000 (20:22 -0700)]
am f33e4b6f: GraphicBufferAlloc class was declared twice

* commit 'f33e4b6f13bc3ee2d2a4e1abd1ada171c70d3492':
  GraphicBufferAlloc class was declared twice