OSDN Git Service

android-x86/frameworks-native.git
10 years agoMerge "EGL: Fix error for eglCreateWindowSurface"
Jesse Hall [Wed, 17 Jul 2013 21:06:54 +0000 (21:06 +0000)]
Merge "EGL: Fix error for eglCreateWindowSurface"

10 years agoEGL: Fix error for eglCreateWindowSurface
Jonathan Hamilton [Wed, 17 Jul 2013 16:41:42 +0000 (09:41 -0700)]
EGL: Fix error for eglCreateWindowSurface

The EGL 1.4 spec section 3.5.1 states that EGL_BAD_ALLOC should be set
if the supplied window already has an associated EGLSurface, not
EGL_BAD_NATIVE_WINDOW as is currently set.

Change-Id: If1598617f4e31904f2045560ae1cdf49d8a697dc

10 years agoMerge "Revert "Second try at adding a compatibility symbol for the MemoryBase constru...
Elliott Hughes [Tue, 9 Jul 2013 22:27:16 +0000 (22:27 +0000)]
Merge "Revert "Second try at adding a compatibility symbol for the MemoryBase constructor.""

10 years agoRevert "Second try at adding a compatibility symbol for the MemoryBase constructor."
Elliott Hughes [Tue, 9 Jul 2013 22:15:42 +0000 (22:15 +0000)]
Revert "Second try at adding a compatibility symbol for the MemoryBase constructor."

This reverts commit ddd286301b466b5cd10cfcdc0a5ee5729ef2e385, because the third-party library in question has now been fixed.

Change-Id: Ic195a913f90b36268ed9d6e60be520decb4e198d

10 years agoMerge "Additional parameter validation for EGL functions"
Jean-Baptiste Queru [Tue, 25 Jun 2013 22:31:13 +0000 (22:31 +0000)]
Merge "Additional parameter validation for EGL functions"

11 years agoMerge "fix mem leak on error handling"
Jeff Brown [Thu, 30 May 2013 01:58:45 +0000 (01:58 +0000)]
Merge "fix mem leak on error handling"

11 years agoMerge "Fix AMotionEvent_getHistorical* to take const AInputEvent* motion_event"
Andrew Hsieh [Thu, 30 May 2013 01:30:48 +0000 (01:30 +0000)]
Merge "Fix AMotionEvent_getHistorical* to take const AInputEvent* motion_event"

11 years agofix mem leak on error handling
Hyejin Kim [Sat, 9 Mar 2013 02:28:54 +0000 (11:28 +0900)]
fix mem leak on error handling

Change-Id: I40d8e371c46184aa701fa676246201a9d8f6e27d

11 years agoMerge "Exit dumpstate on SIGPIPE to avoid cascading child crashes"
jp abgrall [Tue, 28 May 2013 21:18:59 +0000 (21:18 +0000)]
Merge "Exit dumpstate on SIGPIPE to avoid cascading child crashes"

11 years agoMerge "utils: Allow non android namespaces to use ALOGD_IF_SLOW"
Jeff Brown [Tue, 28 May 2013 20:20:14 +0000 (20:20 +0000)]
Merge "utils: Allow non android namespaces to use ALOGD_IF_SLOW"

11 years agoExit dumpstate on SIGPIPE to avoid cascading child crashes
John Michelau [Mon, 6 May 2013 21:42:02 +0000 (16:42 -0500)]
Exit dumpstate on SIGPIPE to avoid cascading child crashes

When dumpstate ignores SIGPIPE it can lead to a cascade of tombstones /
coredumps since many of its children don't handle or ignore it.  It's
best to just exit dumpstate once the pipe is broken.

Change-Id: Ic0c57ecf4171f0c0a07837e51c41cb1876e1350c

11 years agoFix AMotionEvent_getHistorical* to take const AInputEvent* motion_event
Andrew Hsieh [Mon, 27 May 2013 04:26:04 +0000 (12:26 +0800)]
Fix AMotionEvent_getHistorical* to take const AInputEvent* motion_event

See b.android.com/55873

Change-Id: I92c549e1a595662d4df8fa0e47675ccb2b8814fd

11 years agoMerge "Abort surface composition if hw surface is invalid"
Jesse Hall [Tue, 14 May 2013 00:24:28 +0000 (00:24 +0000)]
Merge "Abort surface composition if hw surface is invalid"

11 years agoAbort surface composition if hw surface is invalid
Michael Chock [Mon, 4 Mar 2013 23:15:46 +0000 (15:15 -0800)]
Abort surface composition if hw surface is invalid

If an invalid display device is detected during surface composition
(e.g., a simulated secondary display is removed), abort the
composition.

Change-Id: Ia6afb2e287882d8ae0614eb25463d3f85b687adf

11 years agoMerge "gl_code.cpp: Remove a DOS style newline"
Jesse Hall [Mon, 13 May 2013 18:53:10 +0000 (18:53 +0000)]
Merge "gl_code.cpp: Remove a DOS style newline"

11 years agoMerge "dumpstate: Add SELinux restorecon call."
Geremy Condra [Thu, 4 Apr 2013 23:38:13 +0000 (23:38 +0000)]
Merge "dumpstate: Add SELinux restorecon call."

11 years agodumpstate: Add SELinux restorecon call.
Robert Craig [Thu, 4 Apr 2013 10:33:10 +0000 (06:33 -0400)]
dumpstate: Add SELinux restorecon call.

Set the security context on the directory used
to dump Dalvik and native stack traces.

Change-Id: Iba13783f10e850485ce1a8d4aa5792d55085eb22
Signed-off-by: Robert Craig <rpcraig@tycho.ncsc.mil>
11 years agoMerge "[MIPS] Add MIPS architecture support to libagl"
Keun-young Park [Fri, 29 Mar 2013 06:15:58 +0000 (06:15 +0000)]
Merge "[MIPS] Add MIPS architecture support to libagl"

11 years agoMerge "[MIPS] Add MIPS architecture support to opengl framework"
Keun-young Park [Fri, 29 Mar 2013 05:26:27 +0000 (05:26 +0000)]
Merge "[MIPS] Add MIPS architecture support to opengl framework"

11 years agoMerge "frameworks/native/opengl: Fix build with gcc 4.8"
Jesse Hall [Thu, 28 Mar 2013 19:28:36 +0000 (19:28 +0000)]
Merge "frameworks/native/opengl: Fix build with gcc 4.8"

11 years ago[MIPS] Add MIPS architecture support to opengl framework
Duane Sand [Wed, 27 Mar 2013 17:58:06 +0000 (10:58 -0700)]
[MIPS] Add MIPS architecture support to opengl framework

Change-Id: Id7704d35bed14d96a85dc1f29db0566cd03872b5

11 years ago[MIPS] Add MIPS architecture support to libagl
Duane Sand [Wed, 27 Mar 2013 17:53:14 +0000 (10:53 -0700)]
[MIPS] Add MIPS architecture support to libagl

Change-Id: I30eb92857a2a6ea867fe0ee45109f17609043aae

11 years agogl_code.cpp: Remove a DOS style newline
Bernhard Rosenkränzer [Wed, 27 Mar 2013 13:05:29 +0000 (14:05 +0100)]
gl_code.cpp: Remove a DOS style newline

Change-Id: Id3edd6e511371fa8b0afef2e90baed4662ed76c4
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
11 years agoframeworks/native/opengl: Fix build with gcc 4.8
Bernhard Rosenkränzer [Wed, 27 Mar 2013 13:04:34 +0000 (14:04 +0100)]
frameworks/native/opengl: Fix build with gcc 4.8

In gcc 4.8, the warning for unused parameters (such as JNIEnv* pointers
in JNI functions that don't need it) is enabled by default - causing
-Werror to break the build.

Change-Id: Ib91721f2cb9912b79c2ac19b4210b1309b08304f
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
11 years agoMerge "[MIPS] Avoid unaligned load/store for 64-bit doubles."
Keun-young Park [Tue, 26 Mar 2013 17:47:19 +0000 (17:47 +0000)]
Merge "[MIPS] Avoid unaligned load/store for 64-bit doubles."

11 years agoMerge "Second try at adding a compatibility symbol for the MemoryBase constructor."
Elliott Hughes [Thu, 14 Mar 2013 04:35:13 +0000 (04:35 +0000)]
Merge "Second try at adding a compatibility symbol for the MemoryBase constructor."

11 years agoSecond try at adding a compatibility symbol for the MemoryBase constructor.
Elliott Hughes [Thu, 14 Mar 2013 03:54:01 +0000 (20:54 -0700)]
Second try at adding a compatibility symbol for the MemoryBase constructor.

Third-party libraries are currently trying to use the
MemoryBase constructor but failing because we fixed the
definition of ssize_t. This is a stop-gap for users of
this private API until we can get them fixed.

Bug: 8253769
Change-Id: Ie7c86f45fa39cb53539cab0ffe8585a585656714

11 years agoMerge "Revert "Add a compatibility symbol for the MemoryBase constructor.""
Elliott Hughes [Thu, 14 Mar 2013 02:56:48 +0000 (02:56 +0000)]
Merge "Revert "Add a compatibility symbol for the MemoryBase constructor.""

11 years agoRevert "Add a compatibility symbol for the MemoryBase constructor."
Elliott Hughes [Thu, 14 Mar 2013 02:56:34 +0000 (02:56 +0000)]
Revert "Add a compatibility symbol for the MemoryBase constructor."

This reverts commit 7f974ff2f317ffbf9256579109f000ec876c3037

Change-Id: I28ebfc5ac88bd025471b613aa7958d23749e6991

11 years agoMerge "Add a compatibility symbol for the MemoryBase constructor."
Elliott Hughes [Thu, 14 Mar 2013 01:19:44 +0000 (01:19 +0000)]
Merge "Add a compatibility symbol for the MemoryBase constructor."

11 years agoAdd a compatibility symbol for the MemoryBase constructor.
Elliott Hughes [Wed, 13 Mar 2013 21:35:55 +0000 (14:35 -0700)]
Add a compatibility symbol for the MemoryBase constructor.

Third-party libraries are currently trying to use the
MemoryBase constructor but failing because we fixed the
definition of ssize_t. This is a stop-gap for users of
this private API until we can get them fixed.

Bug: 8253769
Change-Id: I8a19770f3252d88ee87023fde625cc6289924b0d

11 years agoMerge "Ensure dumpstate children die"
jp abgrall [Mon, 11 Mar 2013 18:09:35 +0000 (18:09 +0000)]
Merge "Ensure dumpstate children die"

11 years agoEnsure dumpstate children die
John Michelau [Thu, 7 Mar 2013 21:35:35 +0000 (15:35 -0600)]
Ensure dumpstate children die

Use prctl(PR_SET_PDEATHSIG, SIGKILL) in each forked child to ensure
it dies when dumpstate dies.

This is important for two cases:
- dumpstate runs a timer for each child process.  On expiration, it
  sends SIGTERM to kill the process.  Sometimes SIGTERM isn't enough
  to kill a hung process, so the child lives on.
- When dumpstate is killed by the user before completing, outstanding
  children continue to run and generate output.

Change-Id: I96e0dc918c26d56c9fee53611980ba2edd238712

11 years agoMerge "Tweaks for forward compatibility"
Jean-Baptiste Queru [Thu, 7 Mar 2013 19:08:08 +0000 (19:08 +0000)]
Merge "Tweaks for forward compatibility"

11 years agoTweaks for forward compatibility
Jean-Baptiste Queru [Wed, 6 Mar 2013 23:04:42 +0000 (15:04 -0800)]
Tweaks for forward compatibility

Change-Id: I136fcbbc14072ee5f5281d09445f28d083ed3ce1

11 years agoMerge "dumpstate: use correct header file."
Nick Kralevich [Fri, 1 Mar 2013 16:39:57 +0000 (16:39 +0000)]
Merge "dumpstate: use correct header file."

11 years agodumpstate: use correct header file.
Nick Kralevich [Fri, 1 Mar 2013 00:46:22 +0000 (16:46 -0800)]
dumpstate: use correct header file.

Change-Id: I006d7a219ce6309259f271beff6011cc266f1a61

11 years agoutils: Allow non android namespaces to use ALOGD_IF_SLOW
Naseer Ahmed [Wed, 13 Feb 2013 16:53:10 +0000 (11:53 -0500)]
utils: Allow non android namespaces to use ALOGD_IF_SLOW

Change-Id: I9207b64954fae2f56cc5f6aa5796a2e737400623

11 years agoMerge "Simplify OpenGL TLS access on ARM."
Elliott Hughes [Thu, 14 Feb 2013 18:31:20 +0000 (18:31 +0000)]
Merge "Simplify OpenGL TLS access on ARM."

11 years agoSimplify OpenGL TLS access on ARM.
Elliott Hughes [Thu, 14 Feb 2013 01:30:54 +0000 (17:30 -0800)]
Simplify OpenGL TLS access on ARM.

bionic now assumes the TLS register is available, so OpenGL can too.

Change-Id: If2b56a4c08de9f887759b78f70022026a181dc47

11 years agoam 75b83e4d: Merge "Gfx-3d: fix GetProcAddress in egl extention"
Jesse Hall [Fri, 1 Feb 2013 20:37:25 +0000 (12:37 -0800)]
am 75b83e4d: Merge "Gfx-3d: fix GetProcAddress in egl extention"

# By luliuhui
# Via Gerrit Code Review (1) and Shuo Gao (1)
* commit '75b83e4dc7d8055a70e590f868f7307fdaf656a7':
  Gfx-3d: fix GetProcAddress in egl extention

11 years agoMerge "Gfx-3d: fix GetProcAddress in egl extention"
Jesse Hall [Fri, 1 Feb 2013 19:33:16 +0000 (19:33 +0000)]
Merge "Gfx-3d: fix GetProcAddress in egl extention"

11 years agoGfx-3d: fix GetProcAddress in egl extention
luliuhui [Thu, 30 Aug 2012 03:15:36 +0000 (11:15 +0800)]
Gfx-3d: fix GetProcAddress in egl extention

This patch can fix issue when Proc address return NULL.
Glbench10, egl-ext and conformance test need this patch to run pass.

Change-Id: I275c7cb6f77cb334c3ee7fa23cd696bba1c5a458
Author: Liuhui Lu <liuhui.lu@intel.com>
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 52622

11 years ago[MIPS] Avoid unaligned load/store for 64-bit doubles.
Douglas Leung [Fri, 11 Jan 2013 23:00:55 +0000 (15:00 -0800)]
[MIPS] Avoid unaligned load/store for 64-bit doubles.

Change-Id: Iefdcac8742f23fef31f63730b48698fc4205c3ad
Signed-off-by: Douglas Leung <douglas@mips.com>
11 years agoam 845ed8fd: Merge "DisplayDevice: initialize mDisplayToken correctly"
Jesse Hall [Mon, 14 Jan 2013 22:34:15 +0000 (14:34 -0800)]
am 845ed8fd: Merge "DisplayDevice: initialize mDisplayToken correctly"

* commit '845ed8fdaa34d0f684c93bf4dbadb9162f769235':
  DisplayDevice: initialize mDisplayToken correctly

11 years agoMerge "DisplayDevice: initialize mDisplayToken correctly"
Jesse Hall [Mon, 14 Jan 2013 21:53:09 +0000 (13:53 -0800)]
Merge "DisplayDevice: initialize mDisplayToken correctly"

11 years agoam cbe51356: Merge "Remove support for legacy HWC version encoding"
Jesse Hall [Mon, 14 Jan 2013 17:47:49 +0000 (09:47 -0800)]
am cbe51356: Merge "Remove support for legacy HWC version encoding"

* commit 'cbe5135610cd3c919e6334fada72cc52238bb8b0':
  Remove support for legacy HWC version encoding

11 years agoMerge "Remove support for legacy HWC version encoding"
Jesse Hall [Mon, 14 Jan 2013 17:25:21 +0000 (09:25 -0800)]
Merge "Remove support for legacy HWC version encoding"

11 years agoRemove support for legacy HWC version encoding
Jesse Hall [Fri, 11 Jan 2013 00:19:56 +0000 (16:19 -0800)]
Remove support for legacy HWC version encoding

Change-Id: If03ae1ebf10d15777310e1449a57473021390582

11 years agoDisplayDevice: initialize mDisplayToken correctly
Chih-Wei Huang [Mon, 7 Jan 2013 09:33:56 +0000 (17:33 +0800)]
DisplayDevice: initialize mDisplayToken correctly

mDisplayToken should be initialized by displayToken.

Change-Id: I0a5fec1f1732200a32d10b1575239dceffe6dee4

11 years agoam fdd8551f: Merge "Fix build"
Andrew Hsieh [Mon, 17 Dec 2012 00:35:31 +0000 (16:35 -0800)]
am fdd8551f: Merge "Fix build"

* commit 'fdd8551fe83754846cb91e2d7325ef90d2e0fb28':
  Fix build

11 years agoMerge "Fix build"
Andrew Hsieh [Mon, 17 Dec 2012 00:03:03 +0000 (16:03 -0800)]
Merge "Fix build"

11 years agoFix build
Andrew Hsieh [Mon, 17 Dec 2012 00:01:36 +0000 (08:01 +0800)]
Fix build

Change-Id: Ie011cbf74a08f760ccd93ca37fa2b437b7063462

11 years agoam acfcd62a: Merge "Revert "Fix typo""
Andrew Hsieh [Sun, 16 Dec 2012 05:23:12 +0000 (21:23 -0800)]
am acfcd62a: Merge "Revert "Fix typo""

* commit 'acfcd62aa9300087d3e8cca79e59b0abdcaaee35':
  Revert "Fix typo"

11 years agoam 670c570e: Merge "Fix typo"
Andrew Hsieh [Sun, 16 Dec 2012 05:23:12 +0000 (21:23 -0800)]
am 670c570e: Merge "Fix typo"

* commit '670c570e75e399432e96c9fd1dfa3fb92869f10c':
  Fix typo

11 years agoMerge "Revert "Fix typo""
Andrew Hsieh [Sun, 16 Dec 2012 04:32:26 +0000 (20:32 -0800)]
Merge "Revert "Fix typo""

11 years agoRevert "Fix typo"
Andrew Hsieh [Sun, 16 Dec 2012 04:31:56 +0000 (20:31 -0800)]
Revert "Fix typo"

This reverts commit c118edfc1ab9a608537ebc2f2ec936216f15a36c

Need to go together with https://android-review.googlesource.com/#/c/48117/

Change-Id: Ib413be1035cfb1d18cc9cf4099694a308dadf8f5

11 years agoMerge "Fix typo"
Andrew Hsieh [Sun, 16 Dec 2012 04:30:30 +0000 (20:30 -0800)]
Merge "Fix typo"

11 years agoFix typo
Andrew Hsieh [Wed, 12 Dec 2012 03:27:12 +0000 (11:27 +0800)]
Fix typo

Changed ANDROID_BITMAP_RESUT_SUCCESS -> ANDROID_BITMAP_RESULT_SUCCESS

Change-Id: I4e15e946107ea6f3d0955f72e97894512743c6ca

11 years agoReconcile with jb-mr1.1-release - do not merge
The Android Open Source Project [Tue, 11 Dec 2012 19:54:26 +0000 (11:54 -0800)]
Reconcile with jb-mr1.1-release - do not merge

Change-Id: I946e9036a50464f974bc2d12df9d8b119f86fa00

11 years agomerge in jb-mr1.1-release history after reset to jb-mr1.1-dev
The Android Automerger [Tue, 11 Dec 2012 03:33:41 +0000 (19:33 -0800)]
merge in jb-mr1.1-release history after reset to jb-mr1.1-dev

11 years agoam 6426bd62: am f53f9c6d: [DO NOT MERGE] GraphicBufferAllocator: stall alloc for...
Jamie Gennis [Tue, 11 Dec 2012 01:58:33 +0000 (17:58 -0800)]
am 6426bd62: am f53f9c6d: [DO NOT MERGE] GraphicBufferAllocator: stall alloc for async frees

* commit '6426bd62676c743b0b5bdc397bcab5c669c6e51f':
  [DO NOT MERGE] GraphicBufferAllocator: stall alloc for async frees

11 years agoam f53f9c6d: [DO NOT MERGE] GraphicBufferAllocator: stall alloc for async frees
Jamie Gennis [Tue, 11 Dec 2012 01:57:40 +0000 (17:57 -0800)]
am f53f9c6d: [DO NOT MERGE] GraphicBufferAllocator: stall alloc for async frees

* commit 'f53f9c6d3668490f6c68f5c094c28f645c1b3da3':
  [DO NOT MERGE] GraphicBufferAllocator: stall alloc for async frees

11 years ago[DO NOT MERGE] GraphicBufferAllocator: stall alloc for async frees
Jamie Gennis [Tue, 11 Dec 2012 01:06:44 +0000 (17:06 -0800)]
[DO NOT MERGE] GraphicBufferAllocator: stall alloc for async frees

This change makes GraphicBufferAllocator::alloc wait for pending async frees to
complete before attempting to allocate a gralloc buffer if there are more than
8 pending async frees.

Bug: 7696861
Change-Id: I1fae86e13edefcaa153b8ce9fd057f335716059e

11 years agoReconcile with jb-mr1.1-release - do not merge
The Android Open Source Project [Mon, 10 Dec 2012 23:19:43 +0000 (15:19 -0800)]
Reconcile with jb-mr1.1-release - do not merge

Change-Id: I97991f966ea0d3a6f3bad87c82d9926d55e6d63c

11 years agomerge in jb-mr1.1-release history after reset to jb-mr1.1-dev
The Android Automerger [Fri, 7 Dec 2012 21:26:18 +0000 (13:26 -0800)]
merge in jb-mr1.1-release history after reset to jb-mr1.1-dev

11 years agoam d4e70620: am 72c3f7d8: Revert "ConsumerBase: free buffers outside the lock"
Jamie Gennis [Fri, 7 Dec 2012 19:07:03 +0000 (11:07 -0800)]
am d4e70620: am 72c3f7d8: Revert "ConsumerBase: free buffers outside the lock"

* commit 'd4e706208c99ff1716fb0009ec867ff29ff04a7c':
  Revert "ConsumerBase: free buffers outside the lock"

11 years agoam 72c3f7d8: Revert "ConsumerBase: free buffers outside the lock"
Jamie Gennis [Fri, 7 Dec 2012 19:04:51 +0000 (11:04 -0800)]
am 72c3f7d8: Revert "ConsumerBase: free buffers outside the lock"

* commit '72c3f7d88160b7c279f90f0efe3c1cb12cd140ae':
  Revert "ConsumerBase: free buffers outside the lock"

11 years agoam 2d659286: am 2e59d2c3: DO NOT MERGE GraphicBufferAllocator: make frees async
Jamie Gennis [Fri, 7 Dec 2012 18:59:29 +0000 (10:59 -0800)]
am 2d659286: am 2e59d2c3: DO NOT MERGE GraphicBufferAllocator: make frees async

* commit '2d659286b59dc7ff7378fe967f1c425e92155995':
  DO NOT MERGE GraphicBufferAllocator: make frees async

11 years agoam 2e59d2c3: DO NOT MERGE GraphicBufferAllocator: make frees async
Jamie Gennis [Fri, 7 Dec 2012 18:58:22 +0000 (10:58 -0800)]
am 2e59d2c3: DO NOT MERGE GraphicBufferAllocator: make frees async

* commit '2e59d2c3fdc0bcfedbe9c5d04d7acadc3eff8887':
  DO NOT MERGE GraphicBufferAllocator: make frees async

11 years agoRevert "ConsumerBase: free buffers outside the lock"
Jamie Gennis [Fri, 7 Dec 2012 08:41:56 +0000 (00:41 -0800)]
Revert "ConsumerBase: free buffers outside the lock"

This reverts commit b21a4e3b5f7f07ed160ca6e1809313e2a8e2a6a4.

11 years agoDO NOT MERGE GraphicBufferAllocator: make frees async
Jamie Gennis [Fri, 7 Dec 2012 08:38:36 +0000 (00:38 -0800)]
DO NOT MERGE GraphicBufferAllocator: make frees async

This change makes GraphicBufferAllocator::free queue a job to another thread to
perform the actual free operation.  This prevents potentially slow free
operations from blocking rendering.

Bug: 7675940
Change-Id: Id61099d66bb4c3949d04184e0d7f192ac18076b4

11 years agoReconcile with jb-mr1.1-release - do not merge
The Android Open Source Project [Fri, 7 Dec 2012 15:53:15 +0000 (07:53 -0800)]
Reconcile with jb-mr1.1-release - do not merge

Change-Id: Id716af997b29350c4600ae941107e96d27f1b0af

11 years agomerge in jb-mr1.1-release history after reset to jb-mr1.1-dev
The Android Automerger [Fri, 7 Dec 2012 03:36:11 +0000 (19:36 -0800)]
merge in jb-mr1.1-release history after reset to jb-mr1.1-dev

11 years agoam 3ed2736c: am b21a4e3b: ConsumerBase: free buffers outside the lock
Jamie Gennis [Fri, 7 Dec 2012 03:00:57 +0000 (19:00 -0800)]
am 3ed2736c: am b21a4e3b: ConsumerBase: free buffers outside the lock

* commit '3ed2736c10efb2f18062591e308036837d9725a4':
  ConsumerBase: free buffers outside the lock

11 years agoam b21a4e3b: ConsumerBase: free buffers outside the lock
Jamie Gennis [Fri, 7 Dec 2012 02:37:24 +0000 (18:37 -0800)]
am b21a4e3b: ConsumerBase: free buffers outside the lock

* commit 'b21a4e3b5f7f07ed160ca6e1809313e2a8e2a6a4':
  ConsumerBase: free buffers outside the lock

11 years agoConsumerBase: free buffers outside the lock
Jamie Gennis [Fri, 7 Dec 2012 01:51:53 +0000 (17:51 -0800)]
ConsumerBase: free buffers outside the lock

This change makes ConsumerBase::onBuffersReleased hold a reference to all its
gralloc buffers until after the mutex is unlocked.  This prevents slow
gralloc::free calls from causing lock contention with rendering threads.

Bug: 7675940
Change-Id: I0ec805d1b612afeeecfffec03f982371d27d93be

11 years agoReconcile with jb-mr1.1-release - do not merge
The Android Open Source Project [Thu, 29 Nov 2012 17:13:38 +0000 (09:13 -0800)]
Reconcile with jb-mr1.1-release - do not merge

Change-Id: I83096147b7adbf5396fdb88114abce568b4ec0cc

11 years agomerge in jb-mr1.1-release history after reset to jb-mr1.1-dev
The Android Automerger [Thu, 29 Nov 2012 15:09:35 +0000 (07:09 -0800)]
merge in jb-mr1.1-release history after reset to jb-mr1.1-dev

11 years agoReconcile with jb-mr1.1-release - do not merge
The Android Open Source Project [Wed, 28 Nov 2012 17:47:35 +0000 (09:47 -0800)]
Reconcile with jb-mr1.1-release - do not merge

Change-Id: I7d22820ba101417d4dd982b642b45d80beb011f4

11 years agoam 98cbec81: am efd614b8: Merge "make transform hint multi-display aware" into jb...
Mathias Agopian [Wed, 28 Nov 2012 00:10:29 +0000 (16:10 -0800)]
am 98cbec81: am efd614b8: Merge "make transform hint multi-display aware" into jb-mr1.1-dev

* commit '98cbec81be1d39223e33abde9ac35e43b62918bf':
  make transform hint multi-display aware

11 years agoam efd614b8: Merge "make transform hint multi-display aware" into jb-mr1.1-dev
Mathias Agopian [Wed, 28 Nov 2012 00:08:43 +0000 (16:08 -0800)]
am efd614b8: Merge "make transform hint multi-display aware" into jb-mr1.1-dev

* commit 'efd614b869e952792b009db4ab54f3bb4375d198':
  make transform hint multi-display aware

11 years agoMerge "make transform hint multi-display aware" into jb-mr1.1-dev
Mathias Agopian [Wed, 28 Nov 2012 00:07:04 +0000 (16:07 -0800)]
Merge "make transform hint multi-display aware" into jb-mr1.1-dev

11 years agomerge in jb-mr1.1-release history after reset to jb-mr1.1-dev
The Android Automerger [Tue, 27 Nov 2012 23:34:35 +0000 (15:34 -0800)]
merge in jb-mr1.1-release history after reset to jb-mr1.1-dev

11 years agoam 2004307b: Merge "Create builtin display tokens on demand"
Jesse Hall [Tue, 27 Nov 2012 20:59:56 +0000 (12:59 -0800)]
am 2004307b: Merge "Create builtin display tokens on demand"

* commit '2004307b65c0cb34c854331e5be21d3426a3ef06':
  Create builtin display tokens on demand

11 years agoMerge "Create builtin display tokens on demand"
Jesse Hall [Tue, 27 Nov 2012 20:43:10 +0000 (12:43 -0800)]
Merge "Create builtin display tokens on demand"

11 years agoCreate builtin display tokens on demand
Jesse Hall [Thu, 8 Nov 2012 23:41:56 +0000 (15:41 -0800)]
Create builtin display tokens on demand

For hotpluggable builtin displays (currently just HDMI), create the
display device IBinder token when the display is connected and destroy
it when the display is disconnected. Previously we created the tokens
at startup and never changed them. This made it so that when comparing
current and drawing state, we couldn't tell whether a display had been
disconnected and reconnected.

Bug: 7491120
Change-Id: I2ac82b864e10cb1cd0a308782d7e0ab9745c5d81

11 years agoam a90173d8: am 762a6d86: Merge "DO NOT MERGE - native_fence_sync: fix an enum name...
Andy McFadden [Tue, 27 Nov 2012 19:39:20 +0000 (11:39 -0800)]
am a90173d8: am 762a6d86: Merge "DO NOT MERGE - native_fence_sync: fix an enum name" into jb-mr1.1-dev

* commit 'a90173d86dd209aee55d833c73c424d854a98c70':
  DO NOT MERGE - native_fence_sync: fix an enum name

11 years agoam 762a6d86: Merge "DO NOT MERGE - native_fence_sync: fix an enum name" into jb-mr1...
Andy McFadden [Tue, 27 Nov 2012 19:31:44 +0000 (11:31 -0800)]
am 762a6d86: Merge "DO NOT MERGE - native_fence_sync: fix an enum name" into jb-mr1.1-dev

* commit '762a6d86de63ad319884ab6e666be6ad0d75996e':
  DO NOT MERGE - native_fence_sync: fix an enum name

11 years agoMerge "DO NOT MERGE - native_fence_sync: fix an enum name" into jb-mr1.1-dev
Andy McFadden [Tue, 27 Nov 2012 15:36:50 +0000 (07:36 -0800)]
Merge "DO NOT MERGE - native_fence_sync: fix an enum name" into jb-mr1.1-dev

11 years agoDO NOT MERGE - native_fence_sync: fix an enum name
Jamie Gennis [Mon, 26 Nov 2012 21:54:56 +0000 (13:54 -0800)]
DO NOT MERGE - native_fence_sync: fix an enum name

This change replaces all references to the "EGL_NO_NATIVE_FENCE_ANDROID" enum
with "EGL_NO_NATIVE_FENCE_FD_ANDROID".

Bug: http://code.google.com/p/android/issues/detail?id=40295

(cherry-pick from master)

Change-Id: Ie25d4ab9721d8b69b8d4afcf18e902ef8e3ad911

11 years agomerge in jb-mr1.1-release history after reset to jb-mr1.1-dev
The Android Automerger [Mon, 26 Nov 2012 19:29:02 +0000 (11:29 -0800)]
merge in jb-mr1.1-release history after reset to jb-mr1.1-dev

11 years agomake transform hint multi-display aware
Mathias Agopian [Thu, 22 Nov 2012 00:02:13 +0000 (16:02 -0800)]
make transform hint multi-display aware

if a layer is not mirrored, we now use its display
as the source for the transfrom hint calculation
instead of always using the default (main) display.

this change does two thing:
1) we make updateTransformHint take a DisplayDevice
   as a parameter instead of hard-coding the
   main display.

2) each time we do a transaction that could change
   the hint, we go through all layers and
   figure out which display should be used for their
   transform hint.

Bug: 7599344
Change-Id: I9b04a95e6c372dd770bacf81d8ef6f8e31b87b83

11 years agoam c859084c: am a9a4cd48: gltrace: Make sure device is debuggable.
Siva Velusamy [Wed, 21 Nov 2012 04:01:30 +0000 (20:01 -0800)]
am c859084c: am a9a4cd48: gltrace: Make sure device is debuggable.

* commit 'c859084ca303ca1ab69bdc78f864d39c9c81ab0b':
  gltrace: Make sure device is debuggable.

11 years agoam a9a4cd48: gltrace: Make sure device is debuggable.
Siva Velusamy [Wed, 21 Nov 2012 03:59:23 +0000 (19:59 -0800)]
am a9a4cd48: gltrace: Make sure device is debuggable.

* commit 'a9a4cd4806ea5b2cf525c8ab4c6604d78c6e3f8f':
  gltrace: Make sure device is debuggable.

11 years agogltrace: Make sure device is debuggable.
Siva Velusamy [Tue, 20 Nov 2012 21:39:57 +0000 (13:39 -0800)]
gltrace: Make sure device is debuggable.

(cherry picked from commit 6482fa4db0a7ac99cd3503d6bf170f80b26fb695)

Change-Id: I205aabcab1932025c12e7ba3d1b3cf94684f6758

11 years agoam 594a8773: am 764c197c: fix typo that broke all the builds
Mathias Agopian [Tue, 20 Nov 2012 15:13:12 +0000 (07:13 -0800)]
am 594a8773: am 764c197c: fix typo that broke all the builds

* commit '594a8773c1ef5632a8eb2ef61a86c319460d4248':
  fix typo that broke all the builds

11 years agoam 764c197c: fix typo that broke all the builds
Mathias Agopian [Tue, 20 Nov 2012 01:04:44 +0000 (17:04 -0800)]
am 764c197c: fix typo that broke all the builds

* commit '764c197c6fc2bf10b038c33b320a4e95594d52d8':
  fix typo that broke all the builds

11 years agomerge in jb-mr1.1-release history after reset to jb-mr1.1-dev
The Android Automerger [Tue, 20 Nov 2012 00:50:37 +0000 (16:50 -0800)]
merge in jb-mr1.1-release history after reset to jb-mr1.1-dev

11 years agofix typo that broke all the builds
Mathias Agopian [Tue, 20 Nov 2012 00:50:24 +0000 (16:50 -0800)]
fix typo that broke all the builds

Bug: 7584338
Change-Id: Ieb8c27a544ac583af9aa1e0376e33a673d2d9673