Jason Sams
684b23513c
Unhide new RS apis.
...
Change-Id: I83505156bd8a0ffabf0da3aef937693eaee9d9cd
2011-07-26 14:07:19 -07:00
Alex Sakhartchouk
835b8544cc
Fixing bitmap invalidation bug.
...
Change-Id: I47776f2c1a567342f0826850237c15a5d6315f71
2011-07-20 14:45:54 -07:00
Fabrice Di Meglio
46c7250798
Merge "Clean test APIs for Harfbuzz support"
2011-07-18 14:26:34 -07:00
Fabrice Di Meglio
796cc96243
Clean test APIs for Harfbuzz support
...
- also update unit tests
Change-Id: I557f61e84c4c4b6165163b783d9c679a6b3b4106
2011-07-15 17:49:22 -07:00
Romain Guy
dafbf247ee
Remove unused code
...
Change-Id: I7f7fc6bac03c92087037fc56b78fc43a1e93dae5
2011-07-15 16:44:39 -07:00
Jeff Brown
8c55a9a57e
Merge "Remove the simulator target from all makefiles. Bug: 5010576"
2011-07-12 12:15:07 -07:00
Jeff Brown
bd882b1c87
Remove the simulator target from all makefiles.
...
Bug: 5010576
Change-Id: I04d722f258951a3078fe07899f5bbe8aac02a8e8
2011-07-11 22:12:16 -07:00
Jason Sams
ac7f69bac3
Merge "Add error checks for AllocationAdapters being used in unsupported ways."
2011-07-11 15:47:36 -07:00
Logan Chien
ef72ff220c
Use resource entry name instead of mangled name.
...
Change-Id: I833fa1b529fe505ce20ede12b7f4b5952a6ac1f0
2011-07-11 15:32:24 +08:00
Romain Guy
fcc8fae91e
Merge "Correctly render nested rectangles with different winding rules."
2011-07-08 16:27:47 -07:00
Romain Guy
d4b5795e5e
Correctly render nested rectangles with different winding rules.
...
Change-Id: I331d9dc1c17aee62a2fa213692c62a5ba1bb079a
2011-07-08 16:27:02 -07:00
Jason Sams
48fe534838
Add error checks for AllocationAdapters being used in unsupported ways.
...
Change-Id: If6506e04d65a7b3d79203ac7a20a7961368ef04f
2011-07-08 13:52:30 -07:00
Jason Sams
d015327223
Merge "Fix more type info caching bugs."
2011-07-07 16:24:51 -07:00
Jason Sams
ad37cb26cd
Fix more type info caching bugs.
...
Change-Id: I917a1190ec12fe954c9bf51ffd446ef564837e68
2011-07-07 16:17:36 -07:00
Jason Sams
3055353fd4
Merge "Fix defered type creation when loading from A3D."
2011-07-07 16:10:38 -07:00
Jason Sams
452a7661e8
Fix defered type creation when loading from A3D.
...
Change-Id: I09387c0859dcc9fe77014bc7486109d81742f298
2011-07-07 16:05:18 -07:00
Jason Sams
e4827389e7
Merge "AllocationAdapter cleanup."
2011-07-07 15:50:41 -07:00
Jason Sams
ba862d1544
AllocationAdapter cleanup.
...
Change-Id: Ia7eb0925e410779bbd6a925af721e3834dcf83f8
2011-07-07 15:24:42 -07:00
Romain Guy
f61970fc79
Add an API to query maximum bitmap/texture size on Canvas.
...
Change-Id: I2c576c9a4ecad9f33cc6636bcbc29786acdf052d
2011-07-07 14:10:06 -07:00
Glenn Kasten
03f9435273
Merge "Bug 4571308 Provide correct video frame timestamps"
2011-07-01 15:02:33 -07:00
Jamie Gennis
3cf7cf5751
Merge changes I9fb59763,I8b2c6e00
...
* changes:
SurfaceTexture: consume buffers after err checks
SurfaceTexture: change onFrameAvailable behavior
2011-06-28 12:55:03 -07:00
Jamie Gennis
bd5404d031
SurfaceTexture: change onFrameAvailable behavior
...
This change alters the conditions under which the onFrameAvailable
callback gets called by the C++ SurfaceTexture class. The new behavior
is to call the callback whenever a frame gets queued that will be
visible to the buffer consumer. This means that buffers queued in
synchronous mode always trigger the callback, as those buffers will
remain pending until they are consumed. Buffers queued in asynchronous
mode will only trigger the callback if there was not previously an
unconsumed buffer pending.
The new behavior means that a consumer should perform a draw operation
exactly once for every onFrameAvailable call that it recieves. This
change also modifies SurfaceFlinger and the SurfaceTexture JNI to
support of the new behavior.
Change-Id: I8b2c6e00961d3d58b11c6af50b555b6e4c5f5b40
2011-06-27 15:45:39 -07:00
Jean-Baptiste Queru
a2c8a7b573
am ec5039b3: am 99c070d8: am 4fea5373: Merge "Add WEBP to the list of Image formats that support Compression."
...
* commit 'ec5039b3720ee9b92fb2a2c6dd9f468d2dcd7172':
Add WEBP to the list of Image formats that support Compression.
2011-06-27 14:15:01 -07:00
Glenn Kasten
5c2faf3dc3
Bug 4571308 Provide correct video frame timestamps
...
Change-Id: I0f726817fc02d3e2a4cf82ed801ef977994e6bcc
2011-06-27 11:09:33 -07:00
Jeff Sharkey
f670be372b
Merge "Finish any enter animation when jumping to state."
2011-06-24 23:12:38 -07:00
Jeff Sharkey
a0ac98bd5c
Finish any enter animation when jumping to state.
...
When jumpDrawablesToCurrentState(), finish any alpha animation in
progress. Fixes bug where drawable with enter fade would remain
transparent until next state change.
Change-Id: Ia087f935566a8d78e0efdcb0a1a2f791db05c70e
2011-06-24 17:08:12 -07:00
Jean-Baptiste Queru
ec5039b372
am 99c070d8: am 4fea5373: Merge "Add WEBP to the list of Image formats that support Compression."
...
* commit '99c070d8eb9f1ff9ea5c38991f15f091040226c2':
Add WEBP to the list of Image formats that support Compression.
2011-06-24 12:20:24 -07:00
Grace Kloba
0904d0af81
Add allowSynchronousMode to SurfaceTexture constructor.
...
Change-Id: I54f30a3c16bbe6b813f3bcd1d389da5627531304
2011-06-23 21:21:47 -07:00
Stephen Hines
7c1747c13c
Merge "Remove verbose logging, update test app and docs."
2011-06-23 17:07:10 -07:00
Stephen Hines
3d782666d7
Remove verbose logging, update test app and docs.
...
Change-Id: I6659c5e51a747011239128dc2682a5d78aecfa26
2011-06-23 16:18:28 -07:00
tedbo
0694cfe49a
Merge "Add method to create a ParcelSurfaceTexture from android.view.Surface."
2011-06-23 14:45:30 -07:00
Jamie Gennis
b950b8e23e
Merge "Fix the issue where onFrameAvailable is not triggered if SurfaceTexture is in sync mode."
2011-06-23 13:02:40 -07:00
Vikas Arora
2305ac9e4a
Add WEBP to the list of Image formats that support Compression.
...
Note: The integrator of this change to Android internal code-repo will
have to run one extra step 'make update-api' to update 'api/current.txt'
file corresponding to approved API. The AOSP branch didn't have this
file, hence I could not add the same to this change. The updated file
'api/current.txt' has to be submitted along with this change.
Change-Id: I29909e907a2e82d801e16654322190a808c5bda9
2011-06-23 13:11:13 +05:30
Grace Kloba
cf559377b7
Add onSurfaceTextureUpdated to the TextureView listener.
...
The app needs a way to throttle the producer side. Expose this to enable it.
Change-Id: I04b6a3fc444117a9fc2449fb87c3c834247c8ef1
2011-06-22 23:05:40 -07:00
tedbo
4e8a5c922c
Add method to create a ParcelSurfaceTexture from android.view.Surface.
...
Change-Id: I05e343ab7e327478f60322af9373574b70c148f5
2011-06-22 16:18:09 -07:00
Chet Haase
ad4f70306b
Fix flashing artifacts caused by invalidation bugs
...
Therea re 2 fixes here:
- We sometimes cleared a flag in ViewAncestor too soon that controlled
how invalidated areas were redrawn (related to whether the invalidates
happened on opaque views or not).
- TransitionDrawable was always setting/restoring alpha values on its
drawables every time it was drawn. setAlpha on BitmapDrawable causes
an invalidation, so essentially this was an infinite invalidation/redrawing
loop. The fix was to notice when the animation was done and to simply
draw the appropriate drawable[s].
Change-Id: I1849a5a909b0039a0e9bce0aa3cfc33c50f8f854
2011-06-22 15:53:53 -07:00
Grace Kloba
925bcaabde
Fix the issue where onFrameAvailable is not triggered if SurfaceTexture is in sync mode.
...
If there is more frame after updateTexImage, trigger the listener again.
Change-Id: I1415ae9a914cc8bb139cb369464b1f6a2aa24058
2011-06-22 00:56:54 -07:00
Jason Sams
dbe03ae5d0
Merge "Fix bugs in AllocationAdapter."
2011-06-21 17:14:09 -07:00
Jason Sams
ee2d809ab0
Fix bugs in AllocationAdapter.
...
Change-Id: Ib530fc719de3587f44eed88bd1d16e22dd5af64a
2011-06-21 17:07:23 -07:00
Stephen Hines
419091185f
Merge "Support missing RS vector types."
2011-06-21 16:35:39 -07:00
Stephen Hines
79ad3f25bc
Support missing RS vector types.
...
Change-Id: I87eae3cc79c3963d5a8edf16cc26eee6d93d81d7
2011-06-21 12:00:55 -07:00
Jason Sams
faa32b33b5
First cut at RSTextureView.
...
Change-Id: I920950f33079b6bb7e48bb8970201ab9737bb021
2011-06-20 16:58:04 -07:00
Stephen Hines
3c0618be2f
Merge "Add support for more vector types to RS."
2011-06-20 12:00:50 -07:00
Stephen Hines
dc12262230
Merge "POSITVE -> POSITIVE typo fix"
2011-06-17 13:53:20 -07:00
Stephen Hines
2b1382de8c
Merge "Add isCompatible() to RS Element."
2011-06-17 13:52:44 -07:00
Stephen Hines
f257e513a1
Add isCompatible() to RS Element.
...
BUG=4203264
Change-Id: Id68aead685f6cbc71c2fbe461cb38382e0563f43
2011-06-17 12:12:23 -07:00
Stephen Hines
20fbd01335
POSITVE -> POSITIVE typo fix
...
Change-Id: Ib26eb35fad0c93543f69f6c200820f04c435c2af
2011-06-16 19:31:55 -07:00
Romain Guy
e5e0c50f7d
Properly refcount SurfaceTexture in the JNI layer.
...
Change-Id: I4b4c8020c13b8d6ce0d302fe42410033bf5785a6
2011-06-15 16:14:26 -07:00
Fabrice Di Meglio
e460e6d718
Merge "Add View.getResolvedLayoutDirection()"
2011-06-14 16:23:06 -07:00
Fabrice Di Meglio
c0053223be
Add View.getResolvedLayoutDirection()
...
- update Callback2 interface
- update Gravity.getAbsoluteGravity() and Gravity.apply() to be more generic
by changing "boolean isRtl" parameter to "int layoutDirection"
- fix BiDiTests for RTL FrameLayout
Change-Id: I97bb456c22d5fd3ecb34f08564ce4dbed37e7459
2011-06-14 16:16:39 -07:00