Commit Graph

46671 Commits

Author SHA1 Message Date
Glenn Kasten
f30fd01497 Merge "Workaround for add_tid_to_cgroup failed to write" into jb-dev 2012-05-10 17:38:34 -07:00
Jamie Gennis
b7b76e7506 am 51dcd581: SurfaceFlinger: recompute visible regions more
* commit '51dcd581b1fb1bcea7cac9b969123abda13e34ab':
  SurfaceFlinger: recompute visible regions more
2012-05-10 16:37:18 -07:00
Jamie Gennis
2b4eeac037 am cd1806e2: libgui: improve some logging and dumping
* commit 'cd1806e210f2633423f0fb14d39fa00d03974223':
  libgui: improve some logging and dumping
2012-05-10 16:37:18 -07:00
Glenn Kasten
10cbbd8f1f Workaround for add_tid_to_cgroup failed to write
Bug: 6467109
Change-Id: I6dff8e608d83c7a7c453c25c94ad100f113769b9
2012-05-10 15:52:59 -07:00
Jamie Gennis
51dcd581b1 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
2012-05-10 15:35:56 -07:00
Jamie Gennis
cd1806e210 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
2012-05-10 15:35:22 -07:00
Jean-Michel Trivi
df68951bf4 am 3c32e5da: Merge "OMX IL header additions for FLAC" into jb-dev
* commit '3c32e5da5b3f12bd498ae7016604b20ba61f5756':
  OMX IL header additions for FLAC
2012-05-10 11:57:05 -07:00
Jean-Michel Trivi
3c32e5da5b Merge "OMX IL header additions for FLAC" into jb-dev 2012-05-10 09:53:44 -07:00
Dianne Hackborn
daee0dcb43 am 555f89d8: Add callback hack to find out when to reload system properties.
* commit '555f89d8df316cdc5a25dbedb8614c2ac7a5e0a9':
  Add callback hack to find out when to reload system properties.
2012-05-10 09:31:08 -07:00
The Android Automerger
79dc7587bf merge in jb-release history after reset to jb-dev 2012-05-10 07:03:31 -07:00
Jean-Michel Trivi
224c78405f OMX IL header additions for FLAC
Bug 5525503

Change-Id: I8d305d5351d3780f8ca933b8e602f2bf88e9ac78
2012-05-09 16:35:50 -07:00
Dianne Hackborn
555f89d8df 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
2012-05-09 14:53:26 -07:00
Jamie Gennis
6b86b06df6 am 161534a3: SurfaceFlinger: SCALING_MODE_FREEZE cropping support
* commit '161534a3c5ee77bc91e7a73ffb6274f35324f8b5':
  SurfaceFlinger: SCALING_MODE_FREEZE cropping support
2012-05-09 13:21:18 -07:00
Jamie Gennis
2abfb3efdb am cbb1a958: SurfaceFlinger: tell SurfaceTex about filtering
* commit 'cbb1a95819ec302ae15e4a1162a8b1349ae5c33e':
  SurfaceFlinger: tell SurfaceTex about filtering
2012-05-09 13:21:17 -07:00
Jamie Gennis
5ce4b59f6e am 82c53806: Merge "SurfaceTexture: improve texture matrix computation" into jb-dev
* commit '82c53806ada5c314124431ec0a49fa15a6b5f1d6':
  SurfaceTexture: improve texture matrix computation
2012-05-09 12:58:22 -07:00
Jamie Gennis
1a8bfd09ee am cae7c0b9: Merge "libgui: Add support for post-xform crops." into jb-dev
* commit 'cae7c0b955efba6986d9e1fe5a68e48e7a2f806b':
  libgui: Add support for post-xform crops.
2012-05-09 12:58:21 -07:00
Jamie Gennis
8d1afba6f0 am 59df82f3: Merge "libui: add the Rect::transform method" into jb-dev
* commit '59df82f355ac4bb3c08f678432a38c3ef29b3637':
  libui: add the Rect::transform method
2012-05-09 12:58:15 -07:00
Jamie Gennis
161534a3c5 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
2012-05-09 12:53:13 -07:00
Jamie Gennis
cbb1a95819 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
2012-05-09 12:53:13 -07:00
Jamie Gennis
82c53806ad Merge "SurfaceTexture: improve texture matrix computation" into jb-dev 2012-05-09 12:52:25 -07:00
Jamie Gennis
cae7c0b955 Merge "libgui: Add support for post-xform crops." into jb-dev 2012-05-09 12:51:57 -07:00
Jamie Gennis
59df82f355 Merge "libui: add the Rect::transform method" into jb-dev 2012-05-09 12:51:39 -07:00
The Android Automerger
7c210dcf52 merge in jb-release history after reset to jb-dev 2012-05-09 07:47:09 -07:00
Dianne Hackborn
dad60f2aec am 34c65888: Change name of system property for traces.
* commit '34c65888d1842315e987045594e2999442c78f1d':
  Change name of system property for traces.
2012-05-09 01:55:27 -07:00
Mathias Agopian
ccb97bd8d1 am ddcb1c2b: Merge "return errors properly in BitTube and SensorEventQueue" into jb-dev
* commit 'ddcb1c2bbd273dff15411c4346bb78d3fa939ab4':
  return errors properly in BitTube and SensorEventQueue
2012-05-09 01:55:27 -07:00
Jamie Gennis
5c1139fea3 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
2012-05-08 17:08:33 -07:00
Jamie Gennis
d72f233ffa 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
2012-05-08 17:08:33 -07:00
Glenn Kasten
64e71adce0 am 5b38a1df: Add audio tag to systrace
* commit '5b38a1dfe8e90734fc878ef47df1bd967480a946':
  Add audio tag to systrace
2012-05-08 15:01:42 -07:00
Dianne Hackborn
34c65888d1 Change name of system property for traces.
This allows the property to be changed from the settings UI.

Change-Id: Ife7424b3549e5bbe51b6ad2fb8e5edde3a9fd608
2012-05-08 14:54:24 -07:00
The Android Automerger
d0f521a08b merge in jb-release history after reset to jb-dev 2012-05-08 08:20:38 -07:00
Mathias Agopian
ddcb1c2bbd Merge "return errors properly in BitTube and SensorEventQueue" into jb-dev 2012-05-07 20:09:20 -07:00
Mathias Agopian
29267fe849 return errors properly in BitTube and SensorEventQueue
Change-Id: Idf31179f9fcc666e287c7b01b2007431cb60127d
2012-05-07 18:22:16 -07:00
Jamie Gennis
5933280430 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
2012-05-07 15:25:52 -07:00
Glenn Kasten
5b38a1dfe8 Add audio tag to systrace
Change-Id: I4a558c43e4ccd81a4ed94684c5fad6b3c486bd14
2012-05-07 11:08:31 -07:00
The Android Automerger
c2c3bacf21 merge in jb-release history after reset to jb-dev 2012-05-06 14:21:39 -07:00
Jesse Hall
184cdc2000 am 3410a85b: Merge "Disable EGL hibernation due to jank" into jb-dev
* commit '3410a85b15a4d2579b5e77144f275a30ad880a65':
  Disable EGL hibernation due to jank
2012-05-04 17:18:11 -07:00
Jesse Hall
3410a85b15 Merge "Disable EGL hibernation due to jank" into jb-dev 2012-05-04 17:14:57 -07:00
Mathias Agopian
44c27a54e8 am 23789ae9: Merge "set a Sensor\'s version properly" into jb-dev
* commit '23789ae95fd24d15c330bc9cae73975566632f97':
  set a Sensor's version properly
2012-05-04 16:40:30 -07:00
Andy Stadler
937fac40c0 am 081c80c2: Add System Tracing capability to Sync Manager
* commit '081c80c2e0f97fb50595b138271d14892aea1b4a':
  Add System Tracing capability to Sync Manager
2012-05-04 16:35:44 -07:00
Mathias Agopian
23789ae95f Merge "set a Sensor's version properly" into jb-dev 2012-05-04 16:30:27 -07:00
Mathias Agopian
2ebc4d6d94 set a Sensor's version properly
Bug: 6447433
Change-Id: Iaa5d074a8137d9543ea78c2c6f63a750774b3057
2012-05-04 15:47:13 -07:00
Jesse Hall
201f3b2da5 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
2012-05-04 15:21:35 -07:00
Andy Stadler
081c80c2e0 Add System Tracing capability to Sync Manager
See also: Change-Id: Ia8bc01adbba345a568405b0ac8ade96e56b40cc1

Change-Id: I2678974cf85464fbc09072b06f647a0787e6e23f
2012-05-03 15:04:37 -07:00
The Android Automerger
4824bca7fa merge in jb-release history after reset to jb-dev 2012-05-03 07:12:51 -07:00
Andrew Hsieh
20771abcb1 Merge "Fixed 64-bit porting issues" 2012-05-02 21:58:52 -07:00
Jamie Gennis
5c8a608497 SurfaceTexture: fix a memory leak
This change fixes a memory leak.

Bug: 6414806
Change-Id: I43536689b4219a042749aec2096a1d5c4e664ae3
2012-05-02 13:10:56 -07:00
Andrew Hsieh
52016c18c3 Fixed 64-bit porting issues
Fixed two issues about casting between int and pointer which
cause compilation error in 64-bit mode (eg. for 64-bit emulator)

Change-Id: I5ca9a933a239db73e56d6f27de05aa42bd06a650
2012-05-02 12:30:00 +08:00
The Android Automerger
a6eb66ef0d merge in jb-release history after reset to jb-dev 2012-04-30 07:03:15 -07:00
Mathias Agopian
06e51a0aaf don't actuate vsync hint when not needed
Change-Id: I61c43dd76041816ab8cbe9aeaa55c11c1479ed03
2012-04-27 13:55:05 -07:00
Mathias Agopian
03e407270c set vsync power hint
Change-Id: I28c2faf9ff584df3e74392712971cbcf75eb9e98
2012-04-26 19:52:22 -07:00