3682 Commits

Author SHA1 Message Date
Stephen Hines
1af27636d8 am 79dd90c7: Merge "Fix remaining .rs.dtor() issue for RS."
* commit '79dd90c7bf2d3d1eb0fb130446d298256b987996':
  Fix remaining .rs.dtor() issue for RS.
2011-09-01 18:13:27 -07:00
Stephen Hines
79dd90c7bf Merge "Fix remaining .rs.dtor() issue for RS." 2011-09-01 18:10:37 -07:00
Stephen Hines
466bdc4008 Fix remaining .rs.dtor() issue for RS.
BUG=5186750

Change-Id: I74765b844d28ed780f9c9e291b8e0de94352f74b
2011-09-01 18:07:11 -07:00
Robert Ly
f304324938 am 2e864a6a: Merge "fix rs docs"
* commit '2e864a6a3864a17a8fead9f05e8d76fdd8fcc1a4':
  fix rs docs
2011-09-01 16:55:18 -07:00
Robert Ly
d9e075b003 fix rs docs
Change-Id: Id7253737278d5dc4ef3b6d53cd32dbac1a80103d
2011-09-01 15:46:43 -07:00
Stephen Hines
601814d15b am 1716fe47: Merge "Call .rs.dtor() when tearing down Scripts."
* commit '1716fe47bdbc4f23f2e4e27eb2d787388792adeb':
  Call .rs.dtor() when tearing down Scripts.
2011-09-01 13:52:03 -07:00
Stephen Hines
1716fe47bd Merge "Call .rs.dtor() when tearing down Scripts." 2011-09-01 13:49:29 -07:00
Jason Sams
5a12f45ce3 am 73d50d3e: Merge "Finish the docs for rs_cl."
* commit '73d50d3edc54ee1836ce48d8e46c3a54ea2de31f':
  Finish the docs for rs_cl.
2011-09-01 13:29:04 -07:00
Jason Sams
73d50d3edc Merge "Finish the docs for rs_cl." 2011-09-01 12:33:57 -07:00
Wu-cheng Li
7437294555 am 98bb251c: Add video snapshot camera parameter.
* commit '98bb251c8b527600e7a4cca6cc33499710bbfbf1':
  Add video snapshot camera parameter.
2011-09-01 04:17:12 -07:00
Wu-cheng Li
98bb251c8b Add video snapshot camera parameter.
The API is still hidden.

bug:5187868

Change-Id: I59e1b5774ca32be049723d1a0887faa90d8884bb
2011-09-01 13:37:14 +08:00
Stephen Hines
514f9790fd Call .rs.dtor() when tearing down Scripts.
BUG=5186750

This allows us to properly reference count any globals (static or extern) that
need to potentially be cleaned up.

Change-Id: I03d2c38c1e7a4ca96c40003d2eeecb6f395d5835
2011-08-31 17:41:39 -07:00
Jason Sams
2f87f36e84 Finish the docs for rs_cl.
Change-Id: I2edaac2ad07fe1de77af58bec0d9ac4cde181f11
2011-08-31 16:44:18 -07:00
Jason Sams
a4a6172985 am 7d71556b: Merge "Document the basic RS math functions."
* commit '7d71556b18f7a4131aeb01f3e78f8fe390c163e4':
  Document the basic RS math functions.
2011-08-31 15:23:17 -07:00
Jason Sams
7d71556b18 Merge "Document the basic RS math functions." 2011-08-31 15:20:43 -07:00
Jason Sams
e79f7687dc Document the basic RS math functions.
Change-Id: If7a1b82eab4c4c82443cf8e57b444865f1e3f6b8
2011-08-31 14:52:08 -07:00
Xia Wang
d7de8b28c7 am e124e94e: Merge "Integreate surfacetexture test into our continuous test framework."
* commit 'e124e94ee9f3cf5a51b4a21f0c536d0d4e00e0d4':
  Integreate surfacetexture test into our continuous test framework.
2011-08-31 09:28:07 -07:00
Xia Wang
e124e94ee9 Merge "Integreate surfacetexture test into our continuous test framework." 2011-08-31 09:26:34 -07:00
Xia Wang
1d4274eb4c Integreate surfacetexture test into our continuous test framework.
Change-Id: Ic481f3a431166851947676d676749543c7afbbf7
2011-08-30 20:07:59 -07:00
Mathias Agopian
4ca738b6f6 am c21843a8: Merge "fix Surface positions are not floats"
* commit 'c21843a8b5c395cbaae6db0f786bdee556075f5d':
  fix Surface positions are not floats
2011-08-30 19:25:50 -07:00
Mathias Agopian
c21843a8b5 Merge "fix Surface positions are not floats" 2011-08-30 19:24:04 -07:00
Mathias Agopian
34cb9f2a96 fix Surface positions are not floats
Added Surface.setPosition(float, float) which allows to set a surface's
position in float.

Bug: 5239859
Change-Id: I903aef4ad5b5999142202fb8ea30fe216d805711
2011-08-30 18:51:54 -07:00
Romain Guy
4600d79c92 am 853921fa: Merge "Text would disappear when the font size is 75px. Bug #5230196"
* commit '853921fa6ded5267c71f601beceda0f4cb94df9d':
  Text would disappear when the font size is 75px. Bug #5230196
2011-08-30 14:44:27 -07:00
Romain Guy
853921fa6d Merge "Text would disappear when the font size is 75px. Bug #5230196" 2011-08-30 14:43:06 -07:00
Romain Guy
799833a8b4 Text would disappear when the font size is 75px.
Bug #5230196

Yes, 75px. Any other font size would work. Don't ask.

Change-Id: I96c7db9926a97f65128d60c8238c3640ee2444ba
2011-08-30 14:41:48 -07:00
John Grossman
d7f614f831 Make the LocalClock HAL wrapper use a singleton HAL instance.
Change the local clock helper wrapper to hold just a single copy of the local
time HAL instead of having each wrapper hold their own HAL instance.

Change-Id: Ibc365eccc78a98bd2ea6cf1c57a55a84b843bc2a
2011-08-29 16:02:13 -07:00
Glenn Kasten
210b6e996a am b4bf90b4: Merge "Add C++ thread API androidGetThreadSchedulingGroup"
* commit 'b4bf90b40e30096479a4d4cc9cf135e991ef1994':
  Add C++ thread API androidGetThreadSchedulingGroup
2011-08-29 15:39:07 -07:00
Stephen Hines
fd70a447f7 am 660c7f60: Merge "Updated time/type docs for Renderscript."
* commit '660c7f6053d29ecee8f9258a884bf29fb1f30427':
  Updated time/type docs for Renderscript.
2011-08-29 15:18:59 -07:00
Glenn Kasten
b4bf90b40e Merge "Add C++ thread API androidGetThreadSchedulingGroup" 2011-08-29 14:38:52 -07:00
Stephen Hines
46e5a03610 Updated time/type docs for Renderscript.
Change-Id: Idb51c64271c4f2b4705ea932c715683003eff4cc
2011-08-26 19:03:16 -07:00
Mike J. Chen
0ba62142a4 Add lib/aah_timesrv
aah_timesrv is a library that provides access to the local clock
and the common time service.

This is a squashed merge from master-tungsten of the following changes:

commit a59f6fce4ad7bb664270b70484958210780a9bdd
Author: John Grossman <johngro@google.com>
Date:   Fri Aug 12 11:49:03 2011 -0700

    Adapt to a change in the local time HAL.

    Changed the definition of the slew function in the local time HAL to take an
    int16 instead of an int32 and to use the full range of the int instead of
    attempting to imply any particular PPM range.

    Change-Id: Ie8825a4f7ae36aeeb2b23a1613f84b1672f37a26

commit f7e0cdac72592be1e24f08803e922f7be696d14b
Author: John Grossman <johngro@google.com>
Date:   Mon Jun 27 17:29:21 2011 -0700

    Remove "primary" from the local_time HAL.

    Interface instances are a pattern which should only be used by audio.  Remove
    its use from the local_time HAL.

    Change-Id: Ib96faaacc7f5b9f10f4bfd67e491316e99dc3c96

commit a148e2674b1d3cb73289b82b85c333f0a66824a9
Author: John Grossman <johngro@google.com>
Date:   Mon Jun 20 17:02:24 2011 -0700

    Move the A@H time service into frameworks/base

    Change-Id: I5c570cde70e8931e205516cb33517585804ce841

Change-Id: I528cf17d7c9cd962cf792868cd46bbe9fec34bab
Signed-off-by: Mike J. Chen <mjchen@google.com>
Signed-off-by: John Grossman <johngro@google.com>
2011-08-25 18:24:52 -07:00
Mathias Agopian
2370d0a14f make sure to re-initialize SurfaceTexture to its default state on disconnect
this caused problems where the NavigationBar would disapear or be
drawn in the wrong orientation.

Change-Id: I083c41338db83a4afd14f427caec2f31c180d734
2011-08-25 17:03:30 -07:00
Romain Guy
27bf191327 Merge "Optimize display lists" 2011-08-25 14:08:13 -07:00
Romain Guy
04c9d8c2ff Optimize display lists
Remove redundant or useless operations

Change-Id: If989b4eaa9143eef4254c38b39959aeed1f2b9ab
2011-08-25 14:01:48 -07:00
Alex Sakhartchouk
0806d51832 Merge "Fixing the lockless fifo destory bug. Removing unused code from element. build." 2011-08-24 14:25:25 -07:00
Romain Guy
9b9783ad60 Merge "Enable linear filter when scaling bitmaps Bug #5205673" 2011-08-24 11:52:55 -07:00
Romain Guy
631582f7f7 Enable linear filter when scaling bitmaps
Bug #5205673

Change-Id: I8b0f90877df6b6c6757d35dcf6cd14e79e840b96
2011-08-24 11:51:35 -07:00
Mathias Agopian
becc91d6b0 Fix an issue where Surface::lock() would never update the output region
this bug was introduced recently. in some situations Surface::lock()
is not able to preserve the content of the back buffer and needs
to tell the caller to redraw everything.

Bug: 5186460
Change-Id: I14e03939ddfc1b7ad2a8b99ad79435314c60e78e
2011-08-23 21:18:36 -07:00
Romain Guy
6816972eb6 Don't use bilinear filtering on unscaled bitmaps
Bug #5198590

Change-Id: I4333d850501ac849eeeeb247e4178dd469b9de3d
2011-08-22 17:33:33 -07:00
Romain Guy
28d8ff6dbc Move constants to the correct header
Change-Id: Id4bd14f72487bd7156cd2e1930eaf97b47896273
2011-08-22 14:01:34 -07:00
Stephen Hines
c3ccfb8eec Merge "Issue proper parameters to root() calls for RS." 2011-08-19 14:17:47 -07:00
Stephen Hines
1222393e35 Issue proper parameters to root() calls for RS.
BUG=5076887

Change-Id: Ic0ce9d45ee20a99add4c780233c0804d05a55e96
2011-08-19 12:27:07 -07:00
Jason Sams
00c0dcb846 Merge "Fix issue with freeing allocation with circular references." 2011-08-19 11:23:46 -07:00
Alex Sakhartchouk
a8bb921c8b Fixing the lockless fifo destory bug.
Removing unused code from element. build.

Change-Id: I4bb324a666486d6d3fa45cc1995d0e96cb99f70a
2011-08-19 09:43:18 -07:00
Jason Sams
777ec2662e Fix issue with freeing allocation with circular references.
Change-Id: I45871c20a192815eafee77f95e17a025f6dcf9d1
2011-08-18 18:01:33 -07:00
Jamie Gennis
c8f4c6a5d0 Merge "SurfaceTexture: fix queues-to-composer" 2011-08-18 14:31:39 -07:00
Wu-cheng Li
fde00591c6 Merge "Add new camera focus mode FOCUS_MODE_CONTINUOUS_PICTURE." 2011-08-17 22:24:53 -07:00
Jamie Gennis
9b8fc65b03 SurfaceTexture: fix queues-to-composer
This change fixes the NATIVE_WINDOW_QUEUES_TO_WINDOW_COMPOSER query of
Surface and SurfaceTextureClient.  Surface now uses the inherited
SurfaceTextureClient implementation of this query.  SurfaceTextureClient
now queries SurfaceFlinger to determine whether buffers that are queued
to its ISurfaceTexture will be sent to SurfaceFlinger (as opposed to
some other process).

Change-Id: Iff187e72f30d454229f07f896b438198978270a8
2011-08-17 18:19:00 -07:00
Jason Sams
24b3522428 Merge "Fix "return 0" behavior in rs 0 was not properly blocking for the next message." 2011-08-17 17:23:16 -07:00
Jason Sams
85deb78165 Fix "return 0" behavior in rs
0 was not properly blocking for the next message.

Change-Id: I0d9f0a8f799ba457197920c6a699f80f496eaa8e
2011-08-17 17:15:23 -07:00