Alex Sakhartchouk
af9dcfe641
am 5a471818: Merge "Expand RS vector3 types to vector4."
...
* commit '5a4718183340a108b55eba7bf755b4432153caa1':
Expand RS vector3 types to vector4.
2011-11-16 10:40:49 -08:00
Alex Sakhartchouk
5a47181833
Merge "Expand RS vector3 types to vector4."
2011-11-16 10:36:02 -08:00
Alex Sakhartchouk
e60149d227
Expand RS vector3 types to vector4.
...
BUG=5609007
The underlying LLVM implementation for vector3 types does this implicitly. If
RS does not adjust its implementation, we will always be misaligned for any
subsequent data after a vector3 type. We previously inserted padding into the
reflected layers from llvm-rs-cc (hence the skip padding part of this change).
We can safely ignore the padding now that the Java/native code is updated to
use the expanded size. The compiler will also need modification to ensure that
we don't mistakenly skip over any end-of-struct padding.
Fixing the 3 component vector padding problem.
Change-Id: If68af42287deb8f4b28addcd19a9fa314656be44
2011-11-15 15:15:21 -08:00
Alex Sakhartchouk
38da5086a6
Followup to a bug fix.
...
Addtion of synchronized to the methods triggers an API change.
Per council advice, pushing synch block into the function body.
Change-Id: Iaa395d9720bce499259ab750fe97149715e9f271
2011-11-15 14:21:58 -08:00
Alex Sakhartchouk
8ee964d10e
am b14d771c: am f579bb92: am cde433c5: Merge "Fixing a race condition in RSSurfaceView. Bug 5601083 When destroy is called shortly after creation, RS tries to set a surface on a partially destroyed context." into ics-mr1
...
* commit 'b14d771cf07479e3186a167a219fb2d42d8d4d30':
Fixing a race condition in RSSurfaceView. Bug 5601083 When destroy is called shortly after creation, RS tries to set a surface on a partially destroyed context.
2011-11-15 04:10:47 -08:00
Alex Sakhartchouk
93c47f1028
Fixing a race condition in RSSurfaceView. Bug 5601083
...
When destroy is called shortly after creation, RS tries to set a surface on a partially destroyed context.
Change-Id: I7a382a701efde3264e5cd9b9a9b428ade5eb4a9a
2011-11-11 11:49:45 -08:00
Jason Sams
f15ed0124e
Path rendering
...
Change-Id: I5379a676c9ec6a9b25f21bc1e050053f27e411dd
2011-11-10 15:19:16 -08:00
Alex Sakhartchouk
7d5f5e7c89
adding getters to Sampler ProgramRaster, ProgramStore, Element.
...
Element adds ability to get subelement info. Tests for new stuff.
Change-Id: I4a77b91e4e0e73c95ab28b42c50732a64e71e7b9
2011-10-18 11:08:31 -07:00
Jason Sams
85397d8dcb
Simplify the way we get the version info.
...
Reduces startup overhead.
Change-Id: Id9556dfe553c23bf3f870a524ca5e687bb9fe777
2011-10-06 17:55:26 -07:00
Jason Sams
94aaed3846
Remove unused fields in ProgramRaster
...
Change-Id: I70c9d47674c956ec850c178c7aaa9a5e3dd9dffb
2011-09-23 14:18:53 -07:00
Christian Robertson
beb2b5cfdb
Replacing sans serif system font with Roboto
...
Change-Id: Ibe0aa11e2259898e65dc422c7794ab4065a0a90e
2011-08-11 15:35:52 -07:00
Grace Kloba
402f055303
Add a return value for SurfaceTextureListener#onSurfaceTextureDestroyed.
...
If returns true, the SurfaceTexture will be released by TextureView.
If returns false, the client needs to release the SurfaceTexture.
Change-Id: I946f71e337ad4170c168854ac27e028b82489c8c
2011-08-09 18:47:17 -07:00
Stephen Hines
4382467a80
Start using bcinfo components within librs.
...
BUG=4942491
Change-Id: I3a46783511c4954bac9eadbbbefe5abf85498c16
2011-08-03 18:46:56 -07:00
Alex Sakhartchouk
804b3d76c3
Merge "Add getName to renderscript base object"
2011-07-27 09:50:35 -07:00
Alex Sakhartchouk
0400b07c6b
Add getName to renderscript base object
...
Change-Id: Ia28f88d2c9d679692778641548fdac08c1041d02
2011-07-26 14:13:32 -07:00
Jason Sams
684b23513c
Unhide new RS apis.
...
Change-Id: I83505156bd8a0ffabf0da3aef937693eaee9d9cd
2011-07-26 14:07:19 -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
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
ad37cb26cd
Fix more type info caching bugs.
...
Change-Id: I917a1190ec12fe954c9bf51ffd446ef564837e68
2011-07-07 16:17:36 -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
ba862d1544
AllocationAdapter cleanup.
...
Change-Id: Ia7eb0925e410779bbd6a925af721e3834dcf83f8
2011-07-07 15:24:42 -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
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
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
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
Alex Sakhartchouk
304b1f5497
Allocation copy functions.
...
Change-Id: Idce6d44a4f4bb2e399284a40c0f90dc1bff912fd
2011-06-14 11:13:19 -07:00
Stephen Hines
d54f3f41c4
Merge "Override equals()/hashCode() for RS BaseObj."
2011-06-09 15:06:36 -07:00
Stephen Hines
705d2ea63a
Override equals()/hashCode() for RS BaseObj.
...
This will be used by slang reflection to type-check parameters to functions
that are of Allocation types (such as what happens with forEach).
BUG=4203264
Change-Id: I2ba94531bbf53becf7695b253e1faa3dff099894
2011-06-09 11:16:59 -07:00
Alex Sakhartchouk
aece2ccccb
Merge "Unhiding render target code for renderscript"
2011-06-06 10:54:26 -07:00
Alex Sakhartchouk
85dae045a2
Unhiding render target code for renderscript
...
Change-Id: I32d80e6c49dbda955402f7ddffdb213c70ddbec9
2011-06-06 09:25:17 -07:00
Shih-wei Liao
6e66725e1c
Fix the false-alarm bug when we skip to the end, which should be OK.
...
Fix the bug b/4540617.
Change-Id: I64a77b8c5d89bcd35f81d196928a671c954e9a28
2011-06-05 00:56:22 -07:00
Stephen Hines
e27832acc0
Improve validation in RS FieldPacker.
...
Change-Id: I9f6a58048129db4978c893c2dc591b0ed825d05f
2011-06-02 19:36:41 -07:00
Glenn Kasten
260c77a4f7
Use android.os.Process.THREAD_PRIORITY_* symbols
...
As part of latency project, searching for and replacing
hard-coded thread priorities by symbols.
Change-Id: I113c07af95f8808b889b665e884b6b41d3440f8d
2011-06-01 18:03:21 -07:00
Stephen Hines
836c4a58a7
Add support for more vector types to RS.
...
Change-Id: If1bc34ef6670b6b5de3c1b6b3b3325637b8c7b43
2011-06-01 15:34:46 -07:00
Jason Sams
edbfabdb98
Core to client fifo on sockets.
...
Change-Id: I3b84a7d4c3c5fa0d764ad4db22dfd142d5cfa95b
2011-05-17 15:01:29 -07:00
Alex Sakhartchouk
25999a08a6
Cleanup mesh creation.
...
Change-Id: Iaf5e060711dcb6341ac0f337dfb274528cb68d3e
2011-05-12 10:49:39 -07:00
Alex Sakhartchouk
a89094aa3b
Code Cleanup and better Sampler creation method
...
Change-Id: I9e35081ee6034cb619f43a47f8f22f38977f5d12
2011-05-04 17:45:36 -07:00
Jason Sams
2698536b3f
Fix error checks on compute context creation.
...
Remove GL init for compute scripts.
Change-Id: I1bce8e4112babf4345fa56a30a9bed753734d8d6
2011-05-03 17:27:26 -07:00
Jason Sams
6e494d3ab6
Add dalvik code for forEach.
...
Change-Id: I26533fc553315b99b8f177ab62d9735a177b26b0
2011-04-27 16:33:11 -07:00
Jason Sams
6cc888e77e
Start ICS header cleanup and finish type matrix.
...
Change-Id: If65f96f08c958d330862c543d85dd9d4a0f90e06
2011-04-25 16:09:48 -07:00
Joe Onorato
43a17654cf
Remove the deprecated things from Config.java. These haven't been working since before 1.0.
...
Change-Id: Ic2e8fa68797ea9d486f4117f3d82c98233cdab1e
2011-04-07 19:23:05 -07:00