OSDN Git Service

android-x86/frameworks-native.git
12 years agoam c7c8334f: am 702634a4: refactoring in preparation for bug:6498869 fix
Mathias Agopian [Wed, 30 May 2012 02:53:50 +0000 (19:53 -0700)]
am c7c8334f: am 702634a4: refactoring in preparation for bug:6498869 fix

* commit 'c7c8334f059e42106c7cfa27cdead277fd5e135d':
  refactoring in preparation for bug:6498869 fix

12 years agoam f67148ec: am 05cec9d1: improve resize transactions
Mathias Agopian [Wed, 30 May 2012 02:53:49 +0000 (19:53 -0700)]
am f67148ec: am 05cec9d1: improve resize transactions

* commit 'f67148eccd54a9529e9e65c0f1bc07f1abd01fb6':
  improve resize transactions

12 years agoam b18d747e: am 419e196e: Improve debug logs and minor clean-up
Mathias Agopian [Wed, 30 May 2012 02:53:47 +0000 (19:53 -0700)]
am b18d747e: am 419e196e: Improve debug logs and minor clean-up

* commit 'b18d747ef6ddf5d140221e32a287a5238f729612':
  Improve debug logs and minor clean-up

12 years agoam 702634a4: refactoring in preparation for bug:6498869 fix
Mathias Agopian [Wed, 30 May 2012 02:50:57 +0000 (19:50 -0700)]
am 702634a4: refactoring in preparation for bug:6498869 fix

* commit '702634a4dad85cfc292618ac91eda6c00f42b7c5':
  refactoring in preparation for bug:6498869 fix

12 years agoam 05cec9d1: improve resize transactions
Mathias Agopian [Wed, 30 May 2012 02:50:55 +0000 (19:50 -0700)]
am 05cec9d1: improve resize transactions

* commit '05cec9d1275fd939c2d1aec235dca2bdb8edef63':
  improve resize transactions

12 years agoam 419e196e: Improve debug logs and minor clean-up
Mathias Agopian [Wed, 30 May 2012 02:50:54 +0000 (19:50 -0700)]
am 419e196e: Improve debug logs and minor clean-up

* commit '419e196e639c8adb875da2765abcef95017b6d4a':
  Improve debug logs and minor clean-up

12 years agoam 65838c52: Reconcile with nakasi-factoryrom-release
The Android Open Source Project [Tue, 29 May 2012 16:44:58 +0000 (09:44 -0700)]
am 65838c52: Reconcile with nakasi-factoryrom-release

* commit '65838c52fa47cd4b7adf2ca0c27ed26376acc6c5':

12 years agoReconcile with nakasi-factoryrom-release
The Android Open Source Project [Tue, 29 May 2012 16:41:02 +0000 (09:41 -0700)]
Reconcile with nakasi-factoryrom-release

Change-Id: Ib47a2f4001bbf5ec4a2b889a16e41a1259eb6e1a

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

12 years agoam 227d45ea: Reconcile with jb-release nakasi-factoryrom-release
The Android Open Source Project [Thu, 24 May 2012 16:04:10 +0000 (09:04 -0700)]
am 227d45ea: Reconcile with jb-release nakasi-factoryrom-release

* commit '227d45ea2b9ccade09fd620d028e992ff1140b99':

12 years agoReconcile with jb-release nakasi-factoryrom-release
The Android Open Source Project [Thu, 24 May 2012 16:01:16 +0000 (09:01 -0700)]
Reconcile with jb-release nakasi-factoryrom-release

Change-Id: I3bc06420f32fe0ce50b6943fe33eca293f375d05

12 years agorefactoring in preparation for bug:6498869 fix
Mathias Agopian [Thu, 24 May 2012 00:50:31 +0000 (17:50 -0700)]
refactoring in preparation for bug:6498869 fix

here we just shuffle a bit the code inside lockPageFlip(),
we move the code that handles the buffer size closer to the call
to updateTexImage(). no functionality change.

Change-Id: Ie3193cd86cd32cf3c89532449fd747d145ca0ab6

12 years agoimprove resize transactions
Mathias Agopian [Wed, 23 May 2012 21:35:49 +0000 (14:35 -0700)]
improve resize transactions

use a flag instead of pre-committing the "requested" state
to prevent propagation or "requested" to "active", which makes
things a lot clearer when reading the code.

also avoid going through the "resized" code-path when requested
size is equal to "active" size.

Bug: 6498869
Change-Id: I24f893ba0ec5ca06aac5b8da9818989ae7ce4005

12 years agoImprove debug logs and minor clean-up
Mathias Agopian [Wed, 23 May 2012 21:34:07 +0000 (14:34 -0700)]
Improve debug logs and minor clean-up

Bug: 6498869
Change-Id: I14d1b4d6960b87b5a7c4d7e20b92538edd9331ff

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

12 years agoam 138a8d75: am e1082496: Enable SurfaceTexture fence sync for the emulator
Jesse Hall [Wed, 23 May 2012 04:29:27 +0000 (21:29 -0700)]
am 138a8d75: am e1082496: Enable SurfaceTexture fence sync for the emulator

* commit '138a8d7510e6ba8a402ffacc38c7cc5bfaa5e571':
  Enable SurfaceTexture fence sync for the emulator

12 years agoam e1082496: Enable SurfaceTexture fence sync for the emulator
Jesse Hall [Wed, 23 May 2012 04:27:13 +0000 (21:27 -0700)]
am e1082496: Enable SurfaceTexture fence sync for the emulator

* commit 'e10824965c64663b8878b808206ee382c7ab6af8':
  Enable SurfaceTexture fence sync for the emulator

12 years agodumpstate: Add kernel wakeup sources info
Todd Poynor [Wed, 23 May 2012 00:54:59 +0000 (17:54 -0700)]
dumpstate: Add kernel wakeup sources info

Change-Id: I0f95afd6815c1403d8400a18ef3cd19d936d4601

12 years agoEnable SurfaceTexture fence sync for the emulator
Jesse Hall [Mon, 21 May 2012 18:23:28 +0000 (11:23 -0700)]
Enable SurfaceTexture fence sync for the emulator

The host-accelerated GL ES driver doesn't do the implicit
synchronization required when fence sync isn't used.

Bug: 6515813
Change-Id: I6a667f2db6b519f3557b5abda78775f767841dae

12 years agoam 1974391b: am 83e7c8c4: Implement the EGL_KHR_fence_sync in libagl
Jesse Hall [Tue, 22 May 2012 23:09:27 +0000 (16:09 -0700)]
am 1974391b: am 83e7c8c4: Implement the EGL_KHR_fence_sync in libagl

* commit '1974391ba8d47a6f9468e2e72bd688dc48d3b827':
  Implement the EGL_KHR_fence_sync in libagl

12 years agoam 83e7c8c4: Implement the EGL_KHR_fence_sync in libagl
Jesse Hall [Tue, 22 May 2012 23:07:25 +0000 (16:07 -0700)]
am 83e7c8c4: Implement the EGL_KHR_fence_sync in libagl

* commit '83e7c8c431ec8b578b6f778811837632e3798768':
  Implement the EGL_KHR_fence_sync in libagl

12 years agoam 7afcf632: Reconcile with jb-release
The Android Open Source Project [Tue, 22 May 2012 21:21:17 +0000 (14:21 -0700)]
am 7afcf632: Reconcile with jb-release

* commit '7afcf63296319d2d4b9ca716e05f329a6e0e3b34':

12 years agomerge in nakasi-factoryrom-release history after reset to jb-dev
The Android Automerger [Tue, 22 May 2012 20:24:05 +0000 (13:24 -0700)]
merge in nakasi-factoryrom-release history after reset to jb-dev

12 years agoReconcile with jb-release
The Android Open Source Project [Tue, 22 May 2012 20:06:34 +0000 (13:06 -0700)]
Reconcile with jb-release

Change-Id: I37477f9871208d227b42937c5aa7d27129bdecb1

12 years agoImplement the EGL_KHR_fence_sync in libagl
Jesse Hall [Tue, 22 May 2012 17:42:56 +0000 (10:42 -0700)]
Implement the EGL_KHR_fence_sync in libagl

Implementing this in libagl allows us to start using it for
SurfaceTexture in emulator builds, which is necessary to avoid
corruption in the Browser when using the host-accelerated GL path.

Bug: 6515813
Change-Id: Icafba8687cb5d010d8d42b3866b298d2be984fc9

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

12 years agoam 4ae4e6f2: am cc2b1560: fix EGL_CLIENT_STRING
Mathias Agopian [Mon, 21 May 2012 21:32:58 +0000 (14:32 -0700)]
am 4ae4e6f2: am cc2b1560: fix EGL_CLIENT_STRING

* commit '4ae4e6f2da480b31b5e545e9179cb6881893d7b9':
  fix EGL_CLIENT_STRING

12 years agoam 3d8added: Reconcile with jb-release nakasi-factoryrom-release
The Android Open Source Project [Mon, 21 May 2012 21:28:46 +0000 (14:28 -0700)]
am 3d8added: Reconcile with jb-release nakasi-factoryrom-release

* commit '3d8addedff14f2b85f89eb1a2ea24edb249a470b':

12 years agoam 83f1d839: am 7e477bfe: make sure BufferQueue releases newly acquired buffers on...
Mathias Agopian [Mon, 21 May 2012 21:27:29 +0000 (14:27 -0700)]
am 83f1d839: am 7e477bfe: make sure BufferQueue releases newly acquired buffers on failures

* commit '83f1d83975345bada9886e9ea0ef2b950d90cd77':
  make sure BufferQueue releases newly acquired buffers on failures

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 agoam ac4a4825: am f899e411: Remove misleading and wrong ALOGW
Mathias Agopian [Mon, 21 May 2012 21:11:46 +0000 (14:11 -0700)]
am ac4a4825: am f899e411: Remove misleading and wrong ALOGW

* commit 'ac4a48251180a79ae19e3a7112537c3d0fa260c6':
  Remove misleading and wrong ALOGW

12 years agoam 1783e6f2: am ed9807bd: we need to wait for vsync when doing the screen-off animation
Mathias Agopian [Mon, 21 May 2012 21:11:41 +0000 (14:11 -0700)]
am 1783e6f2: am ed9807bd: we need to wait for vsync when doing the screen-off animation

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

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 agoam 82e7812a: am a66faaa6: Merge "Dump packages.xml as root." into jb-dev
Jeff Sharkey [Mon, 21 May 2012 19:45:09 +0000 (12:45 -0700)]
am 82e7812a: am a66faaa6: Merge "Dump packages.xml as root." into jb-dev

* commit '82e7812ab1e09170106a836c143365b3662ff823':
  Dump packages.xml as root.

12 years agoam e0607f05: am 5aed6843: Merge "fix a corruption in Vector<> when adding new items...
Mathias Agopian [Mon, 21 May 2012 19:43:25 +0000 (12:43 -0700)]
am e0607f05: am 5aed6843: Merge "fix a corruption in Vector<> when adding new items" into jb-dev

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

12 years agoam bd56aabb: am 515f19da: Merge "Recreate EGLImage for previously used slots" into...
Jesse Hall [Mon, 21 May 2012 19:41:02 +0000 (12:41 -0700)]
am bd56aabb: am 515f19da: Merge "Recreate EGLImage for previously used slots" into jb-dev

* commit 'bd56aabb92097546073c8dd8949bb03161e72c56':
  Recreate EGLImage for previously used slots

12 years agoam e91f0a96: am 81f6da52: Merge "dumpstate: collect xtables based iface stats, update...
JP Abgrall [Mon, 21 May 2012 19:40:35 +0000 (12:40 -0700)]
am e91f0a96: am 81f6da52: Merge "dumpstate: collect xtables based iface stats, update iptables info." into jb-dev

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

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

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 35fb5e36: am f17fdcaf: Merge changes I9f3cbbe0,I12a6f9a9 into jb-dev
Mathias Agopian [Fri, 18 May 2012 03:56:48 +0000 (20:56 -0700)]
am 35fb5e36: am f17fdcaf: Merge changes I9f3cbbe0,I12a6f9a9 into jb-dev

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

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 agoam 1644148b: am f34ec7a4: Merge "gltrace: Allow receiving commands of length > 4...
Siva Velusamy [Thu, 17 May 2012 22:33:27 +0000 (15:33 -0700)]
am 1644148b: am f34ec7a4: Merge "gltrace: Allow receiving commands of length > 4" into jb-dev

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

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 agoam d4272dc6: Reconcile with jb-release nakasi-factoryrom-release
The Android Open Source Project [Wed, 16 May 2012 15:45:41 +0000 (08:45 -0700)]
am d4272dc6: Reconcile with jb-release nakasi-factoryrom-release

* commit 'd4272dc6c3a5c0541715f6d47227dcaed75868dc':
  libgui: improve some logging and dumping
  libgui: improve some logging and dumping
  Workaround for add_tid_to_cgroup failed to write
  make sure to repaint the screen when screen turns on
  Add sdcard_r group to dumpstate.
  Ensure that /data/anr/traces.txt is world-writable
  displayhardware: fix not obeying ro.sf.lcd_density when specified

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 agoam e804aa48: Merge "Move CameraParameters header to join rest of camera library....
Eino-Ville Talvala [Wed, 16 May 2012 00:29:17 +0000 (17:29 -0700)]
am e804aa48: Merge "Move CameraParameters header to join rest of camera library." into jb-dev

* commit 'e804aa4819a764e1f3929f4c578e9a44593a1467':
  Move CameraParameters header to join rest of camera library.

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 agoam dd739965: Merge changes I32fbc2b6,Ifd0ed05b into jb-dev
Jamie Gennis [Tue, 15 May 2012 18:44:04 +0000 (11:44 -0700)]
am dd739965: Merge changes I32fbc2b6,Ifd0ed05b into jb-dev

* commit 'dd73996552938ac5165a35f09d389abedcf421ef':
  SurfaceFlinger: recompute visible regions less
  libgui: remove setPostTransformCrop

12 years agoam bd113224: Merge "Fix log spam about CPU frequency on one device" into jb-dev
Glenn Kasten [Tue, 15 May 2012 18:37:41 +0000 (11:37 -0700)]
am bd113224: Merge "Fix log spam about CPU frequency on one device" into jb-dev

* commit 'bd1132249479e52ddd128171da24327358e2191c':
  Fix log spam about CPU frequency on one device

12 years agoam 9cab4ca1: Merge "minor Rect.h cleanup" into jb-dev
Mathias Agopian [Tue, 15 May 2012 18:37:41 +0000 (11:37 -0700)]
am 9cab4ca1: Merge "minor Rect.h cleanup" into jb-dev

* commit '9cab4ca1ca74068e50192296badd0ae7a61f3927':
  minor Rect.h cleanup

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 agoam 05f257fe: Merge "Ignore SIGPIPE is some of the tools used via bugreport" into...
JP Abgrall [Tue, 15 May 2012 02:41:21 +0000 (19:41 -0700)]
am 05f257fe: Merge "Ignore SIGPIPE is some of the tools used via bugreport" into jb-dev

* commit '05f257febc28a4d891dde6f66a431631c58815d1':
  Ignore SIGPIPE is some of the tools used via bugreport

12 years agoAdd a BufferQueue CPU consumer.
Eino-Ville Talvala [Tue, 17 Apr 2012 00:54:33 +0000 (17:54 -0700)]
Add a BufferQueue CPU consumer.

Aimed for use cases where gralloc buffers need to be consumed by CPU
users, such as camera image data streams.

The CpuConsumer is a synchronous queue, which exposes raw pointers to
the underlying graphics buffers to applications. Multiple buffers may
be acquired at once, up to the limit set at time of construction.

Change-Id: If1d99f12471438e95a69696e40685948778055fd

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 agoam b194ec92: libutils: add a tracing tag for video
Jamie Gennis [Mon, 14 May 2012 15:36:55 +0000 (08:36 -0700)]
am b194ec92: libutils: add a tracing tag for video

* commit 'b194ec926bf3fb3c546244b135f602ceb3a0a6b0':
  libutils: add a tracing tag for video

12 years agoam f15a83f5: SurfaceFlinger: add a crop to the layer state
Jamie Gennis [Mon, 14 May 2012 15:36:53 +0000 (08:36 -0700)]
am f15a83f5: SurfaceFlinger: add a crop to the layer state

* commit 'f15a83f5814219c167f87cb8aaea622fc8493499':
  SurfaceFlinger: add a crop to the layer state

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