549 Commits

Author SHA1 Message Date
Alex Sakhartchouk
6b5222dd53 Perf test
Change-Id: I5cfc1b6dd438b13091993d4669e10fb2e49aaa06
2010-12-13 14:48:21 -08:00
Jason Sams
3ccc75fa51 Merge "Add multitouch support to physics test. Fix context state overwrite calling invoke." 2010-12-11 18:52:37 -08:00
Jason Sams
4859f5233c Add multitouch support to physics test.
Fix context state overwrite calling invoke.

Change-Id: I7a71237bcf36abb31f98eb6d872501fdfb007d81
2010-12-11 17:42:30 -08:00
Jason Sams
54ca458787 Merge "Remove CreateFromBitmapRef and add CopyTo(bitmap) replacement." 2010-12-10 16:06:19 -08:00
Jason Sams
4ef6650bd0 Remove CreateFromBitmapRef and add
CopyTo(bitmap) replacement.

Change-Id: Ib73fb9f4bfe5f468eaf0f8f1bf68a93759eef00d
2010-12-10 16:03:15 -08:00
Stephen Hines
cfcea7a1d0 Remove vector array test from RSTest.
This test will soon yield an appropriate compile-time error.

Change-Id: I8f9bef7c4c6f954753268a2c1816337f347eae06
2010-12-10 15:27:35 -08:00
Jason Sams
3eb3106137 Merge "Fix a severe cleanup bug where teardown of the GL driver could occur on the wrong thread." 2010-12-09 12:21:19 -08:00
Jason Sams
546f01b6d5 Fix a severe cleanup bug where teardown of the GL
driver could occur on the wrong thread.

Change-Id: Icd56182ccbd1371124a247695bf3ebd3085df450
2010-12-09 12:19:46 -08:00
Jason Sams
5c1619fff4 Fix build
Change-Id: I189d3b8afd351ab5cf604105579212593a98d5a4
2010-12-09 00:58:47 -08:00
Jason Sams
5476b450e5 Allocation API update.
Change-Id: I9b4a71f9e94c7d3978f06b7971051ab4f8472503
2010-12-08 16:14:36 -08:00
Shih-wei Liao
b7282bd2e7 Make ScriptC's mEnvironment.mIsThreadable survive the bcc caching and
then cache-reloading.

Change-Id: I0f5d54160dd9ee567fae53c69b246f99096993da
2010-12-07 13:47:14 -08:00
Jason Sams
bf6ef8d78f API review cleanup.
Change-Id: Ieae7d450308b5637ed4253fe9baed3634c6ed141
2010-12-06 17:46:20 -08:00
Stephen Hines
d4aa7d22f8 Stop using anonymous structs in RS.
Change-Id: I90344683939f2934f841031fd5339dbe91cc9e05
2010-12-06 11:04:40 -08:00
Bryan Mawhinney
8ea061bcdd Prevent message overrun in LocklessCommandFifo.
The previous logic in makeSpace and makeSpaceNonBlocking
was incorrect (probably a typo).  We shouldn't loop if
looping will overwrite unread messages, or if we would
make the buffer appear empty (mPut == mGet).

Change-Id: Iabc82ca94a585a7041069db97cbed7709f2d388f
2010-12-05 17:21:07 +00:00
Iain Merrick
ac19268a36 Fix 'BCCscript' build break.
frameworks/compile/libbcc/include/bcc/bcc.h was updated
in change I3f3d31fc. What used to be "struct BCCscript"
is now "class bcc::BCCscript" for C++ code.

Looks like the framework/base header rsScriptC.h is just
trying to forward-declare the same type, so we just need
to make the same change there.

Change-Id: I6f6f9dd7608af01d519c2e26fd9b5e6649f71902
2010-11-29 15:36:26 +00:00
Jason Sams
c8abdeda28 Fix physics bug causing balls to stack.
Change-Id: I681905cf7499bb92db47ba2a4cca10d0834cf425
2010-11-24 12:12:26 -08:00
Jason Sams
add9d96332 More error checks
Change-Id: Id2b9ab7a76bbdf2ed745f5e36e552dc9b101982f
2010-11-22 16:20:16 -08:00
Stephen Hines
732779a0c0 Remove unnecessary export_func pragma.
Change-Id: Ibe5c5f186cfc12a31f3fb4f0f7472e3b60836394
2010-11-18 17:04:50 -08:00
Alex Sakhartchouk
2f08ce0332 Fixing the state restore bug.
Change-Id: I30446a2d552b98fc69878bc7b4fc1a0fd358fc99
2010-11-18 16:36:47 -08:00
Alex Sakhartchouk
67f2e442a3 Support for cubemaps.
Change-Id: Iaf6087f614451a8e233b3e5bc49c834ab0ad08ee
2010-11-18 15:27:28 -08:00
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