OSDN Git Service

android-x86/frameworks-native.git
12 years agoam cc2b1560: fix EGL_CLIENT_STRING
Mathias Agopian [Mon, 21 May 2012 21:15:00 +0000 (14:15 -0700)]
am cc2b1560: fix EGL_CLIENT_STRING

* commit 'cc2b1560e87369676a2d13f17bd1ff4021a91819':
  fix EGL_CLIENT_STRING

12 years agofix EGL_CLIENT_STRING
Mathias Agopian [Mon, 21 May 2012 21:01:37 +0000 (14:01 -0700)]
fix EGL_CLIENT_STRING

it should read OpenGL_ES (with an underscore)

Bug: 6529643

Change-Id: I7caf07793bffe5a8dcceaff496a222077486fc87

12 years agoReconcile with jb-release nakasi-factoryrom-release
The Android Open Source Project [Sat, 19 May 2012 01:43:36 +0000 (18:43 -0700)]
Reconcile with jb-release nakasi-factoryrom-release

Change-Id: I42366ee22738eac90627669da9bb03ec8b598724

12 years agoam 7e477bfe: make sure BufferQueue releases newly acquired buffers on failures
Mathias Agopian [Sat, 19 May 2012 00:11:23 +0000 (17:11 -0700)]
am 7e477bfe: make sure BufferQueue releases newly acquired buffers on failures

* commit '7e477bfe11f8bb31622353b64e85721df3cf9702':
  make sure BufferQueue releases newly acquired buffers on failures

12 years agomake sure BufferQueue releases newly acquired buffers on failures
Mathias Agopian [Fri, 18 May 2012 23:50:58 +0000 (16:50 -0700)]
make sure BufferQueue releases newly acquired buffers on failures

this prevents SurfaceTexture producer to hang in dequeueBuffer()
when something goes wrong in the consumer.
only the consumer gets an error and the current frame is kept
instead of the new one. the producer is unaware of the problem.

Bug: 6476587
Change-Id: Ie6db5526632aabc3e60229b93dfe29c19491ade4

12 years agoam f899e411: Remove misleading and wrong ALOGW
Mathias Agopian [Fri, 18 May 2012 22:59:24 +0000 (15:59 -0700)]
am f899e411: Remove misleading and wrong ALOGW

* commit 'f899e4113a5b5545cd91b4625514d0ab0d33751c':
  Remove misleading and wrong ALOGW

12 years agoam ed9807bd: we need to wait for vsync when doing the screen-off animation
Mathias Agopian [Fri, 18 May 2012 22:59:23 +0000 (15:59 -0700)]
am ed9807bd: we need to wait for vsync when doing the screen-off animation

* commit 'ed9807bd7dbd4863841e251138392c54755eb394':
  we need to wait for vsync when doing the screen-off animation

12 years agoRemove misleading and wrong ALOGW
Mathias Agopian [Fri, 18 May 2012 22:32:28 +0000 (15:32 -0700)]
Remove misleading and wrong ALOGW

Bug: 6476587
Change-Id: I4345f1100db02786bb50ad83ca7b559cad301706

12 years agowe need to wait for vsync when doing the screen-off animation
Mathias Agopian [Fri, 18 May 2012 21:18:08 +0000 (14:18 -0700)]
we need to wait for vsync when doing the screen-off animation

Bug: 6511421
Change-Id: I7a85a55e66a3a8d9937df575e98a5efec01a634f

12 years agoam a66faaa6: Merge "Dump packages.xml as root." into jb-dev
Jeff Sharkey [Fri, 18 May 2012 21:21:40 +0000 (14:21 -0700)]
am a66faaa6: Merge "Dump packages.xml as root." into jb-dev

* commit 'a66faaa65a235e24e78f75c79cc3bd209b67e1f8':
  Dump packages.xml as root.

12 years agoMerge "Dump packages.xml as root." into jb-dev
Jeff Sharkey [Fri, 18 May 2012 18:40:49 +0000 (11:40 -0700)]
Merge "Dump packages.xml as root." into jb-dev

12 years agomerge in nakasi-factoryrom-release history after reset to jb-dev
The Android Automerger [Fri, 18 May 2012 17:47:59 +0000 (10:47 -0700)]
merge in nakasi-factoryrom-release history after reset to jb-dev

12 years agoam 5aed6843: Merge "fix a corruption in Vector<> when adding new items" into jb-dev
Mathias Agopian [Fri, 18 May 2012 00:49:46 +0000 (17:49 -0700)]
am 5aed6843: Merge "fix a corruption in Vector<> when adding new items" into jb-dev

* commit '5aed68434d11d609039a89594ad5faa01060a1d6':
  fix a corruption in Vector<> when adding new items

12 years agoMerge "fix a corruption in Vector<> when adding new items" into jb-dev
Mathias Agopian [Fri, 18 May 2012 00:48:09 +0000 (17:48 -0700)]
Merge "fix a corruption in Vector<> when adding new items" into jb-dev

12 years agofix a corruption in Vector<> when adding new items
Mathias Agopian [Thu, 17 May 2012 23:52:21 +0000 (16:52 -0700)]
fix a corruption in Vector<> when adding new items

would happen when vectors are copied and new items is
added in both vectors. we didn't duplicate the underlying
storage when adding items in vectors.

Bug: 6515797
Change-Id: If544c07d96c05821e088d7f2c9b5736f7e306c31

12 years agoDump packages.xml as root.
Jeff Sharkey [Thu, 17 May 2012 19:40:11 +0000 (12:40 -0700)]
Dump packages.xml as root.

Bug: 6501151
Change-Id: Ied638bdbe9ed6fbf749a44de8ac1f9d4167829c1

12 years agoam 515f19da: Merge "Recreate EGLImage for previously used slots" into jb-dev
Jesse Hall [Thu, 17 May 2012 19:09:50 +0000 (12:09 -0700)]
am 515f19da: Merge "Recreate EGLImage for previously used slots" into jb-dev

* commit '515f19da246a11c417c1771d4293e753f09e79b6':
  Recreate EGLImage for previously used slots

12 years agoMerge "Recreate EGLImage for previously used slots" into jb-dev
Jesse Hall [Thu, 17 May 2012 19:07:39 +0000 (12:07 -0700)]
Merge "Recreate EGLImage for previously used slots" into jb-dev

12 years agoRecreate EGLImage for previously used slots
Jesse Hall [Thu, 17 May 2012 06:44:34 +0000 (23:44 -0700)]
Recreate EGLImage for previously used slots

SurfaceTexture would only create an EGLImage for a buffer slot when
BufferQueue returns a GraphicBuffer, i.e. either the slot was acquired
for the first time ever, or the buffer for the slot was reallocated.
But the EGLImage may also need to be re-created for a
previously-acquired buffer if the slot's EGLImage was destroyed during
detachFromContext(); in this case BufferQueue won't return a
GraphicBuffer since SurfaceTexture already has a reference to the
correct buffer.

Bug: 6461693
Change-Id: Ib95d0d757192efe336c5fda0866f857481a6617d

12 years agoam 81f6da52: Merge "dumpstate: collect xtables based iface stats, update iptables...
JP Abgrall [Thu, 17 May 2012 18:06:01 +0000 (11:06 -0700)]
am 81f6da52: Merge "dumpstate: collect xtables based iface stats, update iptables info." into jb-dev

* commit '81f6da5228aeca22894b0277cd2050fccdb7cccb':
  dumpstate: collect xtables based iface stats, update iptables info.

12 years agoMerge "dumpstate: collect xtables based iface stats, update iptables info." into...
JP Abgrall [Thu, 17 May 2012 18:04:07 +0000 (11:04 -0700)]
Merge "dumpstate: collect xtables based iface stats, update iptables info." into jb-dev

12 years agomerge in jb-release history after reset to jb-dev
The Android Automerger [Thu, 17 May 2012 14:03:31 +0000 (07:03 -0700)]
merge in jb-release history after reset to jb-dev

12 years agodumpstate: collect xtables based iface stats, update iptables info.
JP Abgrall [Thu, 17 May 2012 03:49:29 +0000 (20:49 -0700)]
dumpstate: collect xtables based iface stats, update iptables info.

The newer kernels now have /proc/net/xt_qtaguid/iface_stat_fmt.
Add the extra iptables output and remove ip6tables for nat which doesn't
exist.

Change-Id: I819c707b337a707ca0acd87d9ab38cd68ca0f36c

12 years agoam f17fdcaf: Merge changes I9f3cbbe0,I12a6f9a9 into jb-dev
Mathias Agopian [Thu, 17 May 2012 02:33:13 +0000 (19:33 -0700)]
am f17fdcaf: Merge changes I9f3cbbe0,I12a6f9a9 into jb-dev

* commit 'f17fdcaf0a315b02a3992fb4c52d5d4e38f5d291':
  Fix "Battery/Status/Clock status bar area flickers when dragging down"
  minor refactoring in praparation of crop fix

12 years agoMerge changes I9f3cbbe0,I12a6f9a9 into jb-dev
Mathias Agopian [Thu, 17 May 2012 02:29:29 +0000 (19:29 -0700)]
Merge changes I9f3cbbe0,I12a6f9a9 into jb-dev

* changes:
  Fix "Battery/Status/Clock status bar area flickers when dragging down"
  minor refactoring in praparation of crop fix

12 years agoFix "Battery/Status/Clock status bar area flickers when dragging down"
Mathias Agopian [Thu, 17 May 2012 01:21:32 +0000 (18:21 -0700)]
Fix "Battery/Status/Clock status bar area flickers when dragging down"

The crop is now handled like a resize, it's latched only when we
receive a new buffer in the case we have a resize in the same
transaction.

Bug: 6498869
Change-Id: I9f3cbbe08fb19443899461ec441c714748a4fd1a

12 years agominor refactoring in praparation of crop fix
Mathias Agopian [Thu, 17 May 2012 00:07:49 +0000 (17:07 -0700)]
minor refactoring in praparation of crop fix

Bug: 6498869
Change-Id: I12a6f9a9fdfd2ea1db3fbe5fc8cb443aeaedb328

12 years agoam f34ec7a4: Merge "gltrace: Allow receiving commands of length > 4" into jb-dev
Siva Velusamy [Wed, 16 May 2012 22:37:12 +0000 (15:37 -0700)]
am f34ec7a4: Merge "gltrace: Allow receiving commands of length > 4" into jb-dev

* commit 'f34ec7a476708b29ab8e3404c0db5f6cfd718379':
  gltrace: Allow receiving commands of length > 4

12 years agoMerge "gltrace: Allow receiving commands of length > 4" into jb-dev
Siva Velusamy [Wed, 16 May 2012 22:33:16 +0000 (15:33 -0700)]
Merge "gltrace: Allow receiving commands of length > 4" into jb-dev

12 years agogltrace: Allow receiving commands of length > 4
Siva Velusamy [Wed, 16 May 2012 18:38:03 +0000 (11:38 -0700)]
gltrace: Allow receiving commands of length > 4

Currently, gltrace offers very few trace collection options. As a
result, these options are encoded in a single integer. The trace
control task simply receives integers and interprets them as
commands.

This patch changes the control protocol to first receive the
command length followed by the actual command itself. This allows
for future flexibility to provide enable other commands.

Change-Id: Id5f56c80a025bbbe7613ab4457e092732e7d9dc9

12 years agoReconcile with jb-release nakasi-factoryrom-release
The Android Open Source Project [Wed, 16 May 2012 15:40:47 +0000 (08:40 -0700)]
Reconcile with jb-release nakasi-factoryrom-release

Change-Id: I47aa2582e6f4dc8c82eda09b8c2fbce390ca1222

12 years agomerge in nakasi-factoryrom-release history after reset to jb-dev
The Android Automerger [Wed, 16 May 2012 14:45:20 +0000 (07:45 -0700)]
merge in nakasi-factoryrom-release history after reset to jb-dev

12 years agomerge in jb-release history after reset to jb-dev
The Android Automerger [Wed, 16 May 2012 14:03:25 +0000 (07:03 -0700)]
merge in jb-release history after reset to jb-dev

12 years agoMerge "Move CameraParameters header to join rest of camera library." into jb-dev
Eino-Ville Talvala [Wed, 16 May 2012 00:21:33 +0000 (17:21 -0700)]
Merge "Move CameraParameters header to join rest of camera library." into jb-dev

12 years agoMove CameraParameters header to join rest of camera library.
Eino-Ville Talvala [Tue, 15 May 2012 22:34:42 +0000 (15:34 -0700)]
Move CameraParameters header to join rest of camera library.

CameraParameters was moved over to frameworks/native before
frameworks/av was created, since it is referenced by HAL
implementations. Move it to frameworks/av to keep it together with its
implementation.

Bug: 6500863
Change-Id: Iffd890c861a334930da71a2722553572bad1cb54

12 years agoMerge changes I32fbc2b6,Ifd0ed05b into jb-dev
Jamie Gennis [Tue, 15 May 2012 18:33:42 +0000 (11:33 -0700)]
Merge changes I32fbc2b6,Ifd0ed05b into jb-dev

* changes:
  SurfaceFlinger: recompute visible regions less
  libgui: remove setPostTransformCrop

12 years agomerge in nakasi-factoryrom-release history after reset to jb-dev
The Android Automerger [Tue, 15 May 2012 16:34:53 +0000 (09:34 -0700)]
merge in nakasi-factoryrom-release history after reset to jb-dev

12 years agomerge in jb-release history after reset to jb-dev
The Android Automerger [Tue, 15 May 2012 14:04:24 +0000 (07:04 -0700)]
merge in jb-release history after reset to jb-dev

12 years agoMerge "Fix log spam about CPU frequency on one device" into jb-dev
Glenn Kasten [Tue, 15 May 2012 00:06:48 +0000 (17:06 -0700)]
Merge "Fix log spam about CPU frequency on one device" into jb-dev

12 years agoFix log spam about CPU frequency on one device
Glenn Kasten [Mon, 14 May 2012 17:49:17 +0000 (10:49 -0700)]
Fix log spam about CPU frequency on one device

Previous kernels have allowed opening the CPU frequency file regardless
whether the CPU is up or not.  This fixes some log spam on one device
with dynamic hot plug CPU feature, which does not allow opening the CPU
frequency file if CPU is down.

Also, since the file descriptors are global and have long lives, add
the close-on-exec flag.

Change-Id: Ia14a2b9e20038dfb96a573920176a47a96bd3f5a

12 years agoMerge "minor Rect.h cleanup" into jb-dev
Mathias Agopian [Mon, 14 May 2012 23:09:32 +0000 (16:09 -0700)]
Merge "minor Rect.h cleanup" into jb-dev

12 years agoSurfaceFlinger: recompute visible regions less
Jamie Gennis [Mon, 14 May 2012 22:30:16 +0000 (15:30 -0700)]
SurfaceFlinger: recompute visible regions less

This change removes some visible region recomputation that was needed to handle
the SCALING_MODE_FREEZE cropping.  We've changed things to use a window crop
from the WindowManager instead, so this is no longer needed.

Bug: 6299171
Change-Id: I32fbc2b689c985837126d8ba3d9a91e79613ffbf

12 years agolibgui: remove setPostTransformCrop
Jamie Gennis [Mon, 14 May 2012 02:41:35 +0000 (19:41 -0700)]
libgui: remove setPostTransformCrop

This change removes the setPostTransformCrop function from
SurfaceTextureClient.  It also includes a small logging fix in BufferQueue.

Bug: 6299171
Change-Id: Ifd0ed05b95dad6085e7a8267fda4d69b76ea3bad

12 years agoMerge "Ignore SIGPIPE is some of the tools used via bugreport" into jb-dev
JP Abgrall [Mon, 14 May 2012 17:49:07 +0000 (10:49 -0700)]
Merge "Ignore SIGPIPE is some of the tools used via bugreport" into jb-dev

12 years agomerge in jb-release history after reset to jb-dev
The Android Automerger [Mon, 14 May 2012 14:03:41 +0000 (07:03 -0700)]
merge in jb-release history after reset to jb-dev

12 years agominor Rect.h cleanup
Mathias Agopian [Mon, 14 May 2012 03:02:04 +0000 (20:02 -0700)]
minor Rect.h cleanup

add getBounds(), getWidth(), getHeight(), width() and height()
are kept for backward compatibility.

Change-Id: I83837abf17dc2f8bded1beff73430e8c7d9bbdb3

12 years agolibgui: improve some logging and dumping
Jamie Gennis [Thu, 10 May 2012 09:22:33 +0000 (02:22 -0700)]
libgui: improve some logging and dumping

This change updates some of the SurfaceTextureClient and BufferQueue logging
and dumping to include the crop, transform and scaling mode.  It also removes
the uses of the NO_SCALE_CROP scaling mode enum, which was added by accident in
a previous change.

Change-Id: I62912716a1e48885fb22f12b92678aa13f10fcd9
Bug: 6470541

12 years agokeep history after reset to JRN40G
The Android Automerger [Sat, 12 May 2012 04:26:09 +0000 (21:26 -0700)]
keep history after reset to JRN40G

12 years agolibgui: improve some logging and dumping
Jamie Gennis [Thu, 10 May 2012 09:22:33 +0000 (02:22 -0700)]
libgui: improve some logging and dumping

This change updates some of the SurfaceTextureClient and BufferQueue logging
and dumping to include the crop, transform and scaling mode.  It also removes
the uses of the NO_SCALE_CROP scaling mode enum, which was added by accident in
a previous change.

Change-Id: I62912716a1e48885fb22f12b92678aa13f10fcd9
Bug: 6470541

12 years agoIgnore SIGPIPE is some of the tools used via bugreport
JP Abgrall [Fri, 11 May 2012 21:14:09 +0000 (14:14 -0700)]
Ignore SIGPIPE is some of the tools used via bugreport

 adb bugreport > b & sleep 5; kill $?
will show that a bunch of tools will SIGPIPE when trying to output data
which is normal.
We don't have a way on linux (bsd yes), to set NOSIGPIPE on the file desc
passed down via fork/exec.

Bug: 6447319
Change-Id: I25b30a823addcff89d252f162d0a07035d4fdd3f

12 years agolibutils: add a tracing tag for video
Jamie Gennis [Fri, 11 May 2012 11:42:59 +0000 (04:42 -0700)]
libutils: add a tracing tag for video

Change-Id: Icbecc7184844e95ee81a558b0a54d5513d5cf59f

12 years agoSurfaceFlinger: add a crop to the layer state
Jamie Gennis [Fri, 11 May 2012 03:43:55 +0000 (20:43 -0700)]
SurfaceFlinger: add a crop to the layer state

This change adds a crop rectangle specified in window coordinates to the layer
state.  The all window pixels outside this crop rectangle are treated as though
they were fully transparent.  This change also adds the plumbing necessary for
WindowManager to set that crop.

Change-Id: I582bc445dc8c97d4c943d4db8d582a6ef5a66081

12 years agoWorkaround for add_tid_to_cgroup failed to write
Glenn Kasten [Thu, 10 May 2012 22:50:19 +0000 (15:50 -0700)]
Workaround for add_tid_to_cgroup failed to write

Bug: 6467109
Change-Id: I6dff8e608d83c7a7c453c25c94ad100f113769b9

12 years agoMerge "Workaround for add_tid_to_cgroup failed to write" into jb-dev
Glenn Kasten [Fri, 11 May 2012 00:38:34 +0000 (17:38 -0700)]
Merge "Workaround for add_tid_to_cgroup failed to write" into jb-dev

12 years agoWorkaround for add_tid_to_cgroup failed to write
Glenn Kasten [Thu, 10 May 2012 22:50:19 +0000 (15:50 -0700)]
Workaround for add_tid_to_cgroup failed to write

Bug: 6467109
Change-Id: I6dff8e608d83c7a7c453c25c94ad100f113769b9

12 years agoSurfaceFlinger: recompute visible regions more
Jamie Gennis [Thu, 10 May 2012 21:37:14 +0000 (14:37 -0700)]
SurfaceFlinger: recompute visible regions more

This change makes a change in the crop, scaling mode, transform, or buffer
dimensions trigger a recomputation of the visible regions of a window.  With
the new cropping behavior for SCALING_MODE_FREEZE all of these can now affect
the visible region.

Bug: 6470541
Change-Id: I1904e47efbd708e28bf189f637d24dbef65cd41e

12 years agolibgui: improve some logging and dumping
Jamie Gennis [Thu, 10 May 2012 09:22:33 +0000 (02:22 -0700)]
libgui: improve some logging and dumping

This change updates some of the SurfaceTextureClient and BufferQueue logging
and dumping to include the crop, transform and scaling mode.  It also removes
the uses of the NO_SCALE_CROP scaling mode enum, which was added by accident in
a previous change.

Change-Id: I62912716a1e48885fb22f12b92678aa13f10fcd9
Bug: 6470541

12 years agoMerge "OMX IL header additions for FLAC" into jb-dev
Jean-Michel Trivi [Thu, 10 May 2012 16:53:44 +0000 (09:53 -0700)]
Merge "OMX IL header additions for FLAC" into jb-dev

12 years agomerge in jb-release history after reset to jb-dev
The Android Automerger [Thu, 10 May 2012 14:03:31 +0000 (07:03 -0700)]
merge in jb-release history after reset to jb-dev

12 years agoOMX IL header additions for FLAC
Jean-Michel Trivi [Mon, 30 Apr 2012 17:27:25 +0000 (10:27 -0700)]
OMX IL header additions for FLAC

Bug 5525503

Change-Id: I8d305d5351d3780f8ca933b8e602f2bf88e9ac78

12 years agoAdd callback hack to find out when to reload system properties.
Dianne Hackborn [Wed, 9 May 2012 01:54:22 +0000 (18:54 -0700)]
Add callback hack to find out when to reload system properties.

Every IBinder object can accept a new transaction to tell it that
it might want to reload system properties, and in the process
anyone can register a callback to be executed when this happens.

Use this to reload the trace property.

This is very much ONLY for debugging.

Change-Id: I55c67c46f8f3fa9073bef0dfaab4577ed1d47eb4

12 years agoSurfaceFlinger: SCALING_MODE_FREEZE cropping support
Jamie Gennis [Mon, 7 May 2012 20:51:53 +0000 (13:51 -0700)]
SurfaceFlinger: SCALING_MODE_FREEZE cropping support

This change adss support for applying a buffer crop to layers with the
SCALING_MODE_FREEZE scaling mode.  These layers do not scale the image, but
rather treat all pixels outside the crop rectangle as fully transparent.

Change-Id: I762518e56a37aef7747f9b581df2f2589b232c49
Bug: 6299171

12 years agoSurfaceFlinger: tell SurfaceTex about filtering
Jamie Gennis [Wed, 9 May 2012 00:05:52 +0000 (17:05 -0700)]
SurfaceFlinger: tell SurfaceTex about filtering

This change makes SurfaceFlinger set the filtering-enable on each layer's
SurfaceTexture before querying the texture matrix to use for GLES composition.

Change-Id: I40c3defd73ebf96e3cabb3bfdb1fc97f2036753a

12 years agoMerge "SurfaceTexture: improve texture matrix computation" into jb-dev
Jamie Gennis [Wed, 9 May 2012 19:52:25 +0000 (12:52 -0700)]
Merge "SurfaceTexture: improve texture matrix computation" into jb-dev

12 years agoMerge "libgui: Add support for post-xform crops." into jb-dev
Jamie Gennis [Wed, 9 May 2012 19:51:57 +0000 (12:51 -0700)]
Merge "libgui: Add support for post-xform crops." into jb-dev

12 years agoMerge "libui: add the Rect::transform method" into jb-dev
Jamie Gennis [Wed, 9 May 2012 19:51:39 +0000 (12:51 -0700)]
Merge "libui: add the Rect::transform method" into jb-dev

12 years agomerge in jb-release history after reset to jb-dev
The Android Automerger [Wed, 9 May 2012 14:47:09 +0000 (07:47 -0700)]
merge in jb-release history after reset to jb-dev

12 years agoSurfaceTexture: improve texture matrix computation
Jamie Gennis [Tue, 8 May 2012 23:56:34 +0000 (16:56 -0700)]
SurfaceTexture: improve texture matrix computation

This change reduces the shrinking of the crop rectangle in some cases.  It adds
a way to inform the SurfaceTexture that its texture will be used without
bilinear interpolation, and uses knowledge of the pixel format to avoid
shrinking unecessarily.

Change-Id: I72365f39f74ecb7fcc51b4cf42f2d0fa97727212

12 years agolibgui: Add support for post-xform crops.
Jamie Gennis [Mon, 7 May 2012 20:50:11 +0000 (13:50 -0700)]
libgui: Add support for post-xform crops.

This change adds support for specifying a crop rectangle to a
SurfaceTextureClient that is in post-transformed coordinate space.

Change-Id: I247901de343e71b32850f7ae3bac62dfa612ad3d
Bug: 6299171

12 years agoChange name of system property for traces.
Dianne Hackborn [Tue, 8 May 2012 21:54:24 +0000 (14:54 -0700)]
Change name of system property for traces.

This allows the property to be changed from the settings UI.

Change-Id: Ife7424b3549e5bbe51b6ad2fb8e5edde3a9fd608

12 years agomerge in jb-release history after reset to jb-dev
The Android Automerger [Tue, 8 May 2012 15:20:38 +0000 (08:20 -0700)]
merge in jb-release history after reset to jb-dev

12 years agoMerge "return errors properly in BitTube and SensorEventQueue" into jb-dev
Mathias Agopian [Tue, 8 May 2012 03:09:20 +0000 (20:09 -0700)]
Merge "return errors properly in BitTube and SensorEventQueue" into jb-dev

12 years agoreturn errors properly in BitTube and SensorEventQueue
Mathias Agopian [Mon, 7 May 2012 22:20:15 +0000 (15:20 -0700)]
return errors properly in BitTube and SensorEventQueue

Change-Id: Idf31179f9fcc666e287c7b01b2007431cb60127d

12 years agolibui: add the Rect::transform method
Jamie Gennis [Mon, 7 May 2012 20:49:17 +0000 (13:49 -0700)]
libui: add the Rect::transform method

This change adds a method to Rect to transform a rectangle by a graphics HAL
transform.

Change-Id: Ic0d0988e731bdb5662faee41a5927b1242891658
Bug: 6299171

12 years agoAdd audio tag to systrace
Glenn Kasten [Mon, 7 May 2012 18:08:31 +0000 (11:08 -0700)]
Add audio tag to systrace

Change-Id: I4a558c43e4ccd81a4ed94684c5fad6b3c486bd14

12 years agomerge in jb-release history after reset to jb-dev
The Android Automerger [Sun, 6 May 2012 21:21:39 +0000 (14:21 -0700)]
merge in jb-release history after reset to jb-dev

12 years agoMerge "Disable EGL hibernation due to jank" into jb-dev
Jesse Hall [Sat, 5 May 2012 00:14:57 +0000 (17:14 -0700)]
Merge "Disable EGL hibernation due to jank" into jb-dev

12 years agoMerge "set a Sensor's version properly" into jb-dev
Mathias Agopian [Fri, 4 May 2012 23:30:27 +0000 (16:30 -0700)]
Merge "set a Sensor's version properly" into jb-dev

12 years agoset a Sensor's version properly
Mathias Agopian [Fri, 4 May 2012 22:47:13 +0000 (15:47 -0700)]
set a Sensor's version properly

Bug: 6447433
Change-Id: Iaa5d074a8137d9543ea78c2c6f63a750774b3057

12 years agoDisable EGL hibernation due to jank
Jesse Hall [Fri, 4 May 2012 21:52:40 +0000 (14:52 -0700)]
Disable EGL hibernation due to jank

Hibernating EGL takes a long time (>100 ms) and blocks all other
rendering. During window animations, the outgoing activity begins
hibernation before the animation stops, causing visible stutter.
Hibernation is still available by setting 'BOARD_ALLOW_EGL_HIBERNATION
:= true' in the devices BoardConfig.mk

Change-Id: Iab4e00723a1adcd97481e81b2efdc821b3e9712f

12 years agoAdd System Tracing capability to Sync Manager
Andy Stadler [Thu, 3 May 2012 22:04:37 +0000 (15:04 -0700)]
Add System Tracing capability to Sync Manager

See also: Change-Id: Ia8bc01adbba345a568405b0ac8ade96e56b40cc1

Change-Id: I2678974cf85464fbc09072b06f647a0787e6e23f

12 years agomerge in jb-release history after reset to jb-dev
The Android Automerger [Thu, 3 May 2012 14:12:51 +0000 (07:12 -0700)]
merge in jb-release history after reset to jb-dev

12 years agoSurfaceTexture: fix a memory leak
Jamie Gennis [Wed, 2 May 2012 20:10:56 +0000 (13:10 -0700)]
SurfaceTexture: fix a memory leak

This change fixes a memory leak.

Bug: 6414806
Change-Id: I43536689b4219a042749aec2096a1d5c4e664ae3

12 years agomerge in jb-release history after reset to jb-dev
The Android Automerger [Mon, 30 Apr 2012 14:03:15 +0000 (07:03 -0700)]
merge in jb-release history after reset to jb-dev

12 years agodon't actuate vsync hint when not needed
Mathias Agopian [Fri, 27 Apr 2012 20:55:05 +0000 (13:55 -0700)]
don't actuate vsync hint when not needed

Change-Id: I61c43dd76041816ab8cbe9aeaa55c11c1479ed03

12 years agoset vsync power hint
Mathias Agopian [Thu, 26 Apr 2012 23:11:59 +0000 (16:11 -0700)]
set vsync power hint

Change-Id: I28c2faf9ff584df3e74392712971cbcf75eb9e98

12 years agoMerge "Add traces for window manager and activity manager." into jb-dev
Dianne Hackborn [Thu, 26 Apr 2012 22:24:00 +0000 (15:24 -0700)]
Merge "Add traces for window manager and activity manager." into jb-dev

12 years agoAdd traces for window manager and activity manager.
Dianne Hackborn [Thu, 26 Apr 2012 21:15:10 +0000 (14:15 -0700)]
Add traces for window manager and activity manager.

Change-Id: I6677ca64164f234efc7856ddd173ad6989b4f59e

12 years agoMerge "gldebugger: Allow connections from root user" into jb-dev
Siva Velusamy [Thu, 26 Apr 2012 20:37:43 +0000 (13:37 -0700)]
Merge "gldebugger: Allow connections from root user" into jb-dev

12 years agogldebugger: Allow connections from root user
Siva Velusamy [Thu, 26 Apr 2012 16:05:35 +0000 (09:05 -0700)]
gldebugger: Allow connections from root user

Change-Id: I26ce670ae93c43bd36843576e824a9d7acea644d

12 years agomerge in jb-release history after reset to jb-dev
The Android Automerger [Thu, 26 Apr 2012 14:03:28 +0000 (07:03 -0700)]
merge in jb-release history after reset to jb-dev

12 years agoDefine OMX_AUDIO_AACObjectELD
Dave Burke [Tue, 24 Apr 2012 23:06:50 +0000 (16:06 -0700)]
Define OMX_AUDIO_AACObjectELD

Change-Id: Icfbcbddb46fc0bf185e00b193462bc9e035c222b

12 years agomerge in jb-release history after reset to jb-dev
The Android Automerger [Wed, 25 Apr 2012 14:48:23 +0000 (07:48 -0700)]
merge in jb-release history after reset to jb-dev

12 years agoPixelFormat.UNKNOWN should return an error when queried
Mathias Agopian [Wed, 25 Apr 2012 06:27:31 +0000 (23:27 -0700)]
PixelFormat.UNKNOWN should return an error when queried

Bug: 6294260
Change-Id: Iad6f7bcbdda0a684abca6d9584da611a8b28f7ab

12 years agolibgui: Add plumbing for active rectangle
Jamie Gennis [Wed, 18 Apr 2012 02:36:18 +0000 (19:36 -0700)]
libgui: Add plumbing for active rectangle

This change adds the plumbing to SurfaceTextureClient, BufferQueue, and
SurfaceTexture to get the active rectangle passed to the ANativeWindow to
the buffer consumer.

Change-Id: I35da0889b266327ebb079b6a7136fa3e2e8b00e6

12 years agoSurfaceTexture: detachFromContext fixed
Daniel Lam [Thu, 19 Apr 2012 04:29:19 +0000 (21:29 -0700)]
SurfaceTexture: detachFromContext fixed

Fixed AttachToContextSucceeds test SurfaceTexture test by
not deleting the current texture when cleaning up memory.

Bug: 6363186
Change-Id: Ib886bfe6bb86e25ea4825d18b5008afba6b33eae

12 years agomerge in jb-release history after reset to master
The Android Automerger [Tue, 24 Apr 2012 14:03:22 +0000 (07:03 -0700)]
merge in jb-release history after reset to master

12 years agoadd a way to query whether an ANativeWindow consumer is running ahead of the producer
Mathias Agopian [Sat, 21 Apr 2012 00:19:28 +0000 (17:19 -0700)]
add a way to query whether an ANativeWindow consumer is running ahead of the producer

Change-Id: Ibccfa1feb56db2ab11f0c0934ce2d570a2b65ae2

12 years agoupdate the binder protocol for connect to match that of queueBuffer
Mathias Agopian [Mon, 23 Apr 2012 21:28:58 +0000 (14:28 -0700)]
update the binder protocol for connect to match that of queueBuffer

indeed, connect and queueBuffer return the same data, so it's
easier to have them use the same protocol.

Change-Id: I4f9fa3be0a80c9ab0a7a4039b282ae843aab02e1

12 years agoremove SurfaceTexture::connect()
Mathias Agopian [Mon, 23 Apr 2012 20:59:36 +0000 (13:59 -0700)]
remove SurfaceTexture::connect()

use BufferQueue::connect() instead

Change-Id: I04aab7cf11304bf962cde38470747f3b19ddba42