Andy McFadden
3f8cbfeb07
Resurrect verbose binder logging
...
Updated the command name lists, and masked off the additional bits in
the command word when doing the name lookup.
Made descriptor values easier to grep for and consistent with kernel
output (i.e. decimal rather than hex). Attempt to show transaction
descriptors as such (they're in a union with a pointer).
Also, the writeLines() function in Static was using a no-op
logging call to write an iovec. It looks like all callers are using
N=1, so I just added a log for the first string.
Bug 5155269
Change-Id: I417b8d77da3eb6ee1d2069ba94047210f75738bc
2011-09-07 16:45:03 -07:00
Jamie Gennis
08b997c742
Merge "SurfaceTexture: fix a test deadlock"
2011-09-05 14:51:20 -07:00
Pannag Sanketi
e061795908
Error check in queuebuffer in SurfaceTextureClient
...
In queuebuffer, if the surfacetexture returns an error,
surfacetextureclient should check for that and pass on the error.
Change-Id: Ie6d70e779fac0702f372eb4df5ecb655280875ee
2011-09-02 17:45:50 -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
d9e075b003
fix rs docs
...
Change-Id: Id7253737278d5dc4ef3b6d53cd32dbac1a80103d
2011-09-01 15:46:43 -07:00
Stephen Hines
1716fe47bd
Merge "Call .rs.dtor() when tearing down Scripts."
2011-09-01 13:49:29 -07:00
Jason Sams
73d50d3edc
Merge "Finish the docs for rs_cl."
2011-09-01 12:33:57 -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
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
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
c21843a8b5
Merge "fix Surface positions are not floats"
2011-08-30 19:24:04 -07:00
Jamie Gennis
32704dcff7
SurfaceTexture: fix a test deadlock
...
This change fixes a test issue that resulted in a deadlock.
Change-Id: I4729e8dd47c8f5fea49bfeff3cea58627ead6d04
Bug: 5174876
2011-08-30 19:06:40 -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
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
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
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
Mathias Agopian
c395530de8
Merge "don't return the current buffer from dequeueBuffer"
2011-08-17 16:45:35 -07:00
Mathias Agopian
656f9b6a1c
Merge "fix a small race condition when returning the default width/height of a SurfaceTexture"
2011-08-17 16:45:23 -07:00
Mathias Agopian
8618ebcc5d
don't return the current buffer from dequeueBuffer
...
we were not reseting mCurrentTexture in some situations
which in turn caused dequeueBuffers() return a
"FREE" buffer that was also current.
Very often it was harmless, but it created a race with
updateTexImage() which could cause the following
queueBuffers() to fail.
Bug: 5156325
Change-Id: If15a31dc869117543d220d6e5562c57116cbabdb
2011-08-17 15:49:13 -07:00
Jason Sams
c1b4c1ff9b
Add structure to pack params for forEach.
...
This allows the driver to not pass all the sub-params.
Change-Id: I9728a7bb39893f49193a55155994ede0400cb7a6
2011-08-17 14:13:50 -07:00
Alex Sakhartchouk
4270295ae8
Merge "Fixing asynchronous performance issues."
2011-08-17 13:29:24 -07:00
Mathias Agopian
1a227437be
fix a small race condition when returning the default width/height of a SurfaceTexture
...
Change-Id: I581bf609505dfb5d4ec5957b2ef2c77df6cfb15f
2011-08-17 12:45:40 -07:00
Wu-cheng Li
b9ac75d3df
Add new camera focus mode FOCUS_MODE_CONTINUOUS_PICTURE.
...
The API is still hidden.
bug:5086125
Change-Id: I69268a95ad6aae249771d3a8dfb423ffe2d87081
2011-08-18 00:15:40 +08:00
Romain Guy
2ce81fcd7d
Merge "Add an API to set the transform on a TextureView's surface texture. Bug #5156689 "
2011-08-16 13:56:38 -07:00
Romain Guy
302a9df1d5
Add an API to set the transform on a TextureView's surface texture.
...
Bug #5156689
Change-Id: I635a625885c9b832a60d44ece0de7613ceb84109
2011-08-16 13:55:02 -07:00