615 Commits

Author SHA1 Message Date
Shih-wei Liao
cbcced2d15 c99 bool support
Change-Id: I0990425a9362d3ef6ea0b40bf6f00fcc10eed426
2011-01-19 12:17:54 -08:00
Shih-wei Liao
1ad9612e99 1. fp_mad.rs: Pass C99 check.
2. Include C99 header (Will be fixed later at build.git.)

Change-Id: I2864e081b2635dfc4fc0c85f746f6d0ce0b01af5
2011-01-19 02:18:45 -08:00
Shih-wei Liao
cbb7279e7b Fix the build.
Change-Id: I23c4146cb19540351c33b5823df25d6e2b204402
2011-01-18 22:50:18 -08:00
Stephen Hines
688de88b65 Fix bug in modf library function (plus typos).
Change-Id: I643c905e2e3e2dcf7a61f1d027b749d9a0d6e542
2011-01-18 21:04:59 -08:00
Jason Sams
e70b445d2f Merge "Correctly log debugging info as debug." into honeycomb 2011-01-18 18:22:56 -08:00
Jason Sams
bf2afed1f2 Correctly log debugging info as debug.
Change-Id: I1169e015288d7d91b7ecbdd991e815152740e68d
2011-01-18 18:22:19 -08:00
Jason Sams
e6a97e27bc Merge "Fix race condition between GC thread and the teardown of RS. The RS context was going away while the objects were being deleted within the finializer." into honeycomb 2011-01-18 18:18:06 -08:00
Jason Sams
d1ac981497 Fix race condition between GC thread and
the teardown of RS.  The RS context was going away while
the objects were being deleted within the finializer.

Add more debugging for playCoreCommands.

Change-Id: I391f0b4db948f43f54017b47b062ab47d6a1ef64
2011-01-18 18:12:26 -08:00
Stephen Hines
793786c258 Provide mechanism to switch between extern/static.
Change-Id: I59b1b45cc335278f92b68581594ca68115b9a590
2011-01-18 16:53:19 -08:00
Stephen Hines
5dd60be169 Validate that version pragma is correct.
Change-Id: I42dced79b0df52c101525799081bc8a5426c11e4
2011-01-18 14:10:44 -08:00
Stephen Hines
5ef3dddd0d Remove erroneous log message.
This change also enables pragmas to be checked for scripts that do not have a
root() function.

Change-Id: I4f41300b623581483970050680ac96c54f99d34a
2011-01-17 17:31:58 -08:00
Stephen Hines
a8b78174eb Clean up simple integer operations.
Change-Id: I3bd11c54c49602e4f63310d50bd9b20fae234329
2011-01-17 11:26:29 -08:00
Shih-wei Liao
38f79d01db Merge "Make ImageProcessing work." into honeycomb 2011-01-17 01:18:32 -08:00
Shih-wei Liao
2aad562ab2 Make ImageProcessing work.
Change-Id: Id1ab91657ff4ba70a2391b168958e72b68e8a3e0
2011-01-17 01:17:39 -08:00
Jason Sams
300406abd4 Add some error checking.
Change-Id: I007b1429a64b39ffd5cdef200c295d5a31f95048
2011-01-16 16:11:42 -08:00
Shih-wei Liao
077fd5f6f5 Merge "Fix bug in on-device linking." into honeycomb 2011-01-16 15:41:25 -08:00
Shih-wei Liao
0e7be13973 Fix bug in on-device linking.
Change-Id: Ic027d4cbf240a45da95a024067215a572c3bd7a9
2011-01-16 15:38:13 -08:00
Jason Sams
d73989538e Merge "Implement sub updates for mipmap levels and cubmaps." into honeycomb 2011-01-16 14:47:34 -08:00
Shih-wei Liao
71a2e13d19 On-device linking using bccLinkBC. Note that we switch to getFile interface
on the libbcc side.

Change-Id: Iec4e0624f1448161c0a2163f3ce725ce6cdf3267
2011-01-16 03:57:20 -08:00
Shih-wei Liao
076b770c2a bcc interface fixed.
Change-Id: I81349750e58f119a9c2ad596f376c7e39d5f0d4e
2011-01-14 06:21:28 -08:00
Shih-wei Liao
3b5379d84b Retire librslib_rt.
Change-Id: I7f23eb35a8eab1728ef59ea20b429887e76d37fd
2011-01-14 05:00:37 -08:00
Shih-wei Liao
35a17e661e Move linking stuff to libbcc.
Change-Id: I4ad08decfda89c6801c595eb746da8af0625fcce
2011-01-14 04:56:50 -08:00
Shih-wei Liao
307bf62dd5 Avoid converting rslib.bc to things like rslib.h. So we are less error-prone.
Change-Id: If9043d8e8b4cbd21393024032da734e58a22e72d
2011-01-14 04:26:30 -08:00
Jason Sams
ef70a20a30 Implement sub updates for mipmap levels and cubmaps.
Change-Id: I7c41263a0c1e583574d0c1fcb64b1a0440b5b555
2011-01-13 17:38:18 -08:00
Jason Sams
e9d3da1374 Merge "Re-implement img npot support in HC." into honeycomb 2011-01-13 17:21:02 -08:00
Jason Sams
9333e64f79 Re-implement img npot support in HC.
Change-Id: Iac56ec54e46c998ec14f71d8e85eccdc5fb3aa91
2011-01-13 17:02:35 -08:00
Alex Sakhartchouk
f5c876e82d Docs plus removing some junk per API review.
Change-Id: I45f995b656754550be68c78e467071d6e59b348f
2011-01-13 14:53:43 -08:00
Shih-wei Liao
96100195f0 Fix the build.
Change-Id: I36b523d877c5beadf0fce21b9f7534f0ffc23959
2011-01-13 02:20:51 -08:00
Shih-wei Liao
078717be07 Merge "Disable on-device linking" into honeycomb 2011-01-13 02:06:17 -08:00
Shih-wei Liao
0394d2495a Disable on-device linking
Change-Id: I7c416c7c9714fae0722e61c4f0368fbdb7d808b3
2011-01-13 02:05:34 -08:00
Shih-wei Liao
c758f1c6a3 Merge "Fix the build." into honeycomb 2011-01-13 02:04:10 -08:00
Shih-wei Liao
f6dd9c539c Merge "On-device linking." into honeycomb 2011-01-13 02:04:00 -08:00
Shih-wei Liao
3ae5017b1b Merge "convert2uchar3." into honeycomb 2011-01-13 02:03:51 -08:00
Shih-wei Liao
3a3dd2b37c Fix the build.
Change-Id: I20ac8700bcc8ccb7905f82bbfea81d007f67a68e
2011-01-13 02:03:00 -08:00
Shih-wei Liao
067e7b261a On-device linking.
Change-Id: I609f575f1c2b9e9c3de0d8c16eb06b66b744bcb5
2011-01-12 19:14:27 -08:00
Jason Sams
ec30933c1d WAR driver bug where surfaces of size 0 fail.
Change-Id: I72b356c4cfb71f2342479ca21238b763d02e729d
2011-01-12 15:26:25 -08:00
Jason Sams
fb9f82ca4f Implement more of copy2DRange*
Change-Id: Id6be481c4abc968df27e5bba1ed044262ec0f293
2011-01-12 14:53:25 -08:00
Jason Sams
f7086090cf Cleanup bitmap uploads
Implement standalone mipmap generation.

Change-Id: Ie3a9781bbe50e2f58adca6f184d84fea50e40263
2011-01-12 13:28:37 -08:00
Alex Sakhartchouk
27d116085e Merge "Adding ability to load cubemaps from individual faces." into honeycomb 2011-01-12 11:53:42 -08:00
Shih-wei Liao
16095fc4c8 convert2uchar3.
Change-Id: I5d5406f14b0c22a7b085495b3bcc51d5a288dcf8
2011-01-12 04:44:09 -08:00
Stephen Hines
682c4a860b Clean up RS math headers.
Fix types for ilogb and remquo.

Change-Id: I54f8634b1fe8b6cfb136d3bdf6aab5a5961e6827
2011-01-11 17:00:29 -08:00
Alex Sakhartchouk
dcc231955d Adding ability to load cubemaps from individual faces.
Change-Id: Ic8b6693f625c181e031d4393ba8fac40049da88b
2011-01-11 14:47:44 -08:00
Alex Sakhartchouk
fe852e216f Updating cubemap loading code.
Change-Id: I93bb00e5fd1ccc622d17eba70a510664c2093723
2011-01-10 15:57:57 -08:00
Stephen Hines
1ac9da6717 Split time functions into rs_time.rsh header.
Change-Id: I598b0031d15749c91d11fbd37b075d0564a94dbf
2011-01-09 17:04:18 -08:00
Jason Sams
84035ff6f5 Fix cleanup race condition where objects might may not
be cleaned up correctly.

Change-Id: Ia48e06c3d050b6b39b39f8fdc9f0eb89b92fe1bf
2011-01-09 16:09:51 -08:00
Shih-wei Liao
8845fbbc8e For caching, didn't do CompileBC. Rename bccCompileBC as bccPrepareExecutable.
Change-Id: Ie63cd87bf377e2daf0c81d81c0bf86a6195edf46
2011-01-07 19:24:41 -08:00
Shih-wei Liao
9d4024d540 1. LOG 4 fatal error paths (TODO: These 4 places should signal Java exceptions.)
2. Prepare on-device linking.
3. Clean up code.

Change-Id: Iac4148431dbe1c3c4044f7394eb51a1332f513f9
2011-01-07 18:28:02 -08:00
Alex Sakhartchouk
b0253ea696 Additional loading methods for fonts and a3d files.
Cleaned up error messages.

Change-Id: Id33b7149671df23c37cc11375d844a7837dac750

Change-Id: I6663ce54f7b9bbaf285935ca658d93ba417f8179
2011-01-07 11:16:08 -08:00
Jason Sams
49945c0ff6 fix bug 3313505
Shader cache cleanup could occur in wrong thread
during RS teardown.

Change-Id: Iffed41de046147db30885e6815826e3b640020c1
2011-01-05 03:37:48 -08:00
Shih-wei Liao
05d17b0222 Rename bcc::BCCscript -> bcc::Script. Ideally, should do:
include bcc.h instead of forward declaration.

Change-Id: I649f62d240ed4e13eb95a8988a9ee202b19e7436
2011-01-03 22:55:13 +08:00