529 Commits

Author SHA1 Message Date
Stephen Hines
b7a4814f71 Merge "Mark a non-exported function as static." 2010-11-18 14:05:54 -08:00
Shih-wei Liao
a914f340ae Add caching support of BCC binaries.
Change-Id: I1e75bb84d88319cb6f1bbe6d907cf6e8ed546142
2010-11-18 00:03:23 -08:00
Stephen Hines
e15c1133e2 Mark a non-exported function as static.
Change-Id: I2f497e8ec4dcfb878ce9491577e46d4c1ea09723
2010-11-17 17:13:46 -08:00
Jason Sams
a17af04e62 Create holder inner class for pushing context state.
Fix bug with rsForEach corrupting parent context state.
Remove workaround from rsBalls.

Change-Id: I43a948536e70d44645d1c2ef7b97e1c5906f6943
2010-11-17 15:29:32 -08:00
Jason Sams
6f4cf0b888 Fix ref counting for globals when set from java code.
Change-Id: I415b6ddeaab277e60233e905a6bae357cd5193eb
2010-11-16 17:37:02 -08:00
Jason Sams
7a21ee6148 Fix crash with extended debugging.
Change-Id: I982a7c7ea7ccae074be5254032c43a862137747a
2010-11-16 12:19:37 -08:00
Stephen Hines
baa19bc59c Remove WARs for zero-init + destructors.
Change-Id: I919db554f3f6fa1fb027402298602a16fba4a235
2010-11-15 17:09:02 -08:00
Kenny Root
b763fa1d7c Merge "Split UTF functions from String8/16" 2010-11-15 11:11:22 -08:00
Bryan Mawhinney
c0aaccc485 Add support for integer mod.
Change-Id: I681b8220c8b39d865ade036a93ba93a965e259c9
2010-11-15 17:43:12 +00:00
Kenny Root
300ba68469 Split UTF functions from String8/16
Split out all the UTF-8/16/32 handling code from String8/16 to its own
file to allow better reuse of code.

Change-Id: If9ce63920edc75472c38da4adce0d13cda9ad2f7
2010-11-12 15:53:40 -08:00
Jason Sams
815aaebb59 Fix line drawing in RS example.
Change-Id: I5a83ac8d943488d19d83af1bd20a15a3c02999da
2010-11-12 14:58:56 -08:00
Alex Sakhartchouk
ed9f210568 Code cleanup to make formatting consistent
across all the renderscript files.

Change-Id: Idf5fcc60877e44c8f074f7176e37f70b3b895a3c
2010-11-10 11:30:51 -08:00
Jason Sams
06d69de788 Continue error check improvements and write some docs.
Change-Id: I345b08490da21d9ee715ff1ddc80c1a816b579f4
2010-11-09 17:11:40 -08:00
Jason Sams
641b0628cd Fix fountain bug with more than 10 touches reported.
Change-Id: Ie4ddefbcbe6407fb7ffae2c6e2440fec0b974cfb
2010-11-09 14:20:34 -08:00
Jason Sams
1c41517124 Handle user message ID 0
Pass RS runtime errors back to java.
throw exceptions for runtime errors.

Change-Id: Ifcf16cbbf9b98137971dced5076f8a5563eb016c
2010-11-08 17:19:31 -08:00
Alex Sakhartchouk
3fe599ce21 Merge "Moving attrib creation to Mesh. Adding arrays as shader inputs. Removing fixed size arrays." 2010-11-08 15:29:45 -08:00
Alex Sakhartchouk
9d71e21800 Moving attrib creation to Mesh. Adding arrays as shader inputs.
Removing fixed size arrays.

Change-Id: I0213e403a2f1283dd43f21bea770aeb059561903
2010-11-08 15:10:52 -08:00
Stephen Hines
5fe11d20e3 Add vector array test to RSTest.
Change-Id: I258d23a44df011aaf64aa545c86c97611d70143f
2010-11-05 19:48:42 -07:00
Jason Sams
3ba02b3d2f Update ScriptC constructor to remove depricated param.
Change-Id: Id36e325834526c6b5416fd78d5cf4259d7df97e9
2010-11-03 23:01:38 -07:00
Jason Sams
5dc336e23a Merge "RS Error cleanup. Thow java exception during init if the GL driver fails rather than native crash." 2010-11-03 14:29:16 -07:00
Jason Sams
d5f0630034 RS Error cleanup.
Thow java exception during init if the
GL driver fails rather than native crash.

Change-Id: Ie96ef5a2ac12e64f9456545d86157c4c95179a8e
2010-11-03 14:27:11 -07:00
Stephen Hines
611f56721f Merge "New RS types test for checking compilation." 2010-11-02 14:14:35 -07:00
Stephen Hines
ce13d94ccb New RS types test for checking compilation.
Change-Id: Ib4d0326462d4d0229430f61c74f16979f7b38dbb
2010-11-02 13:58:12 -07:00
Jason Sams
8f0adba7cb Add code to mark functions rather than whole files as threadable.
Change-Id: Ie635fbbb96b8ade48501ec564fe135edc256537d
2010-11-01 14:26:30 -07:00
Jason Sams
ab3ff25a6f Remove excessive logging.
Change-Id: I22497b1b169ca0f3edbc20649594f6f58f6144d0
2010-10-29 16:49:08 -07:00
Jason Sams
5585e36a41 Balls test app.
Change-Id: I842f43e37145f8112120e2bd49925f81c588c40c
2010-10-29 10:28:13 -07:00
Jim Miller
858b93c0fd Merge "Fix 3140348: Signature was wrong for atan2() in RS." 2010-10-28 13:55:14 -07:00
Jim Miller
420a5fbbd5 Fix 3140348: Signature was wrong for atan2() in RS.
Change-Id: I6c5b79efc12e2dcef06f3f0bcbbdf8871947af26
2010-10-28 13:00:09 -07:00
Alex Sakhartchouk
581cc64028 Adding nvidia extension for limited npot support.
Updating a3d loading to be async.

Change-Id: I4be71d2002b9ad6ab8896d63e625f031e6b7ea6c
2010-10-27 14:10:07 -07:00
Jason Sams
31a7e42f4b Begin adding async allocation creation.
Change-Id: I5d1381699e2b334c1d824f357bd6b310a5f79be8

Implement async bitmap upload and clean up types.

Change-Id: Icbe9894e04c1319351c1cd75b0e0017855198f20
2010-10-26 13:09:17 -07:00
Shih-wei Liao
0175e01f54 Enable optimized bitcode that is also jitted faster.
Change-Id: I08832cfaf4e8465c16b445eeb1b82f72d874d0ef
2010-10-23 22:12:29 -07:00
Jason Sams
b38d534873 Fix refcounting bugs where the sys refcount
could be corrupted during async type creation.

Change-Id: If42828e92990598b0cb5da81c82ea513f94725f2

Fix stack object deletion bug.

Change-Id: I2c723aa5ad15e0c99dc9cd0cfbc7db80bace172a
2010-10-21 21:17:30 -07:00
Alex Sakhartchouk
f7c51552f0 Merge "Some cleanup" 2010-10-19 09:24:55 -07:00
Alex Sakhartchouk
98bfe5d02a Some cleanup
Change-Id: Ie10746d2f77318d63101d919214e76f778159fa0
2010-10-18 17:18:50 -07:00
Shih-wei Liao
b9a8eb3f12 Remove unneeded inclusion of rs_math.rsh.
Change-Id: I7e9beb88c3b0fb88e30bdbabdde2a2529825dbef
2010-10-18 16:31:50 -07:00
Stephen Hines
e2a26e155b Adding new unit test for rsDebug().
Change-Id: I8a354e40640b83aca3148aa0cf13d3335ff37dd4
2010-10-18 12:17:03 -07:00
Stephen Hines
2cd6f4709c Merge "Add support for rsDebug with 64-bit types." 2010-10-18 11:45:16 -07:00
Jason Sams
ec13bf79d9 Fix header file to always inline stub functions.
Change-Id: I9999007c4d467d92d2f8ba5ad2a6f68fbb910959
2010-10-15 17:57:07 -07:00
Stephen Hines
6568896117 Add support for rsDebug with 64-bit types.
Bug: 3099081
Change-Id: Ieb3af7757489876ef951be8527aa73f69e1481fd
2010-10-15 14:17:55 -07:00
Jason Sams
0d2b2d5e13 Fix deadlock on RS teardown.
Change-Id: I34d2702b535e28e9519c7368fd8a942bfe0724bc
2010-10-15 11:21:24 -07:00
Jason Sams
3b9c52ab8c Async type creation.
Change-Id: I4d98446fabbf7e8a98c97f85b573a58c8a0c58c2
2010-10-14 17:48:46 -07:00
Alex Sakhartchouk
838c6a1578 Merge "Changing scenegraph sample to use arrays." 2010-10-14 09:34:56 -07:00
Jason Sams
11c8af9ded Begin hooking up SurfaceConfig.
Change-Id: I328138f29affbed11fcfb5e9ed0872d4ba22d241
2010-10-13 15:31:10 -07:00
Alex Sakhartchouk
9e401bcd88 Changing scenegraph sample to use arrays.
Change-Id: Ifa454d503c1445efcad6e31243b65d75e62e3035
2010-10-13 14:33:44 -07:00
Alex Sakhartchouk
c119493e01 Packing the struct to work around llvm bug.
Change-Id: If94d6659df7e00b70c39619b05732046233cb196
2010-10-13 10:02:28 -07:00
Alex Sakhartchouk
960ae15cf3 Fixing font bug, initialization was done in the wrong order.
Change-Id: Icc7b932f25be1ca6e5423bba6a5cfc965f6c3341
2010-10-12 14:15:17 -07:00
Alex Sakhartchouk
7d4cb2e118 Merge "Fixing refcounting debug statements that've gotten bitrotten." 2010-10-12 09:40:23 -07:00
Alex Sakhartchouk
af55cc711a Fixing refcounting debug statements that've gotten bitrotten.
Change-Id: Ie93bf651b9e469b7b4e9cacd8f79b38d04012892
2010-10-12 09:31:10 -07:00
Stephen Hines
52d836332f Support for unsigned long and unsigned long long.
Change-Id: I2f9cfb7f352e2e7e7fd49eac42a821c03b5fcb9f
2010-10-11 16:10:42 -07:00
Stephen Hines
1e1ebcb2d0 Merge "Test exported "long" type." 2010-10-11 15:14:36 -07:00