830 Commits

Author SHA1 Message Date
Jason Sams
79235d2a93 Merge "adding getters to Sampler ProgramRaster, ProgramStore, Element. Element adds ability to get subelement info. Tests for new stuff." 2011-10-20 13:54:37 -07:00
Jason Sams
5b6f23868a Merge "Remove ObjBaseRef from the hal struct" 2011-10-20 13:52:43 -07:00
Alex Sakhartchouk
f13ada94ea Fixes and optimizations of two quaternion functions.
Change-Id: Ie5a3f16d49b716d91b6f68fa389473548cecb80d
2011-10-18 11:54:49 -07: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
Alex Sakhartchouk
5ef2f53a00 Remove ObjBaseRef from the hal struct
Change-Id: Idcac14ecfdd4d06a0f54bf50e3b9657be62e6638
2011-10-18 10:54:29 -07:00
Alex Sakhartchouk
7e6aac1533 Adding getter functions for script side RS objects.
Multiproject change involving on device linker

Change-Id: I321e8caa6ca23b3fe2c96c78cdcfc15e51f88823
2011-10-15 09:33:05 -07:00
Jason Sams
3fda6ed3c7 am 43b57ec4: Fix error printing if no command string is set.
* commit '43b57ec48ec7652addc11bbc9fef652c2394b7f5':
  Fix error printing if no command string is set.
2011-10-13 16:13:07 -07:00
Jason Sams
43b57ec48e Fix error printing if no command string is set.
Change-Id: I588c0d0a4e1b8f80c967ebfb6aff179a0cac4a36
2011-10-13 16:05:27 -07:00
Jason Sams
2802dae197 Fix bug with 1D arrays and threading.
Some elements got launched multiple times.

Change-Id: Icb257019df591a5d9525867c8ef8d18ef7d4cde5
2011-10-12 18:33:01 -07:00
Jason Sams
aac24a219a Improve rsForEach overhead.
Change-Id: Iaabef7bb573233ef7c5756077f840ee933ee0c39

fix spacing, reduce rsForEach overhead about 50%
2011-10-11 18:49:41 -07:00
Jason Sams
66fb1f3f3d Merge "Wrapping new API with #defines to prevent old apps from using them." 2011-10-05 12:01:51 -07:00
Jason Sams
795072ec7b Fix crash running old HC apps.
Change-Id: If7206de334868cb40eb8e5dd04fbe8c70bc1d614
2011-10-04 15:46:57 -07:00
Alex Sakhartchouk
f6576d9631 Wrapping new API with #defines to prevent old apps from using them.
Change-Id: Ib3a2d19544ad72987ebec09d465bec8eeb6423c8
2011-09-28 15:23:18 -07:00
Jason Sams
94aaed3846 Remove unused fields in ProgramRaster
Change-Id: I70c9d47674c956ec850c178c7aaa9a5e3dd9dffb
2011-09-23 14:18:53 -07:00
Jason Sams
8410b14c85 Cleanup RS logs
Reduce the startup/shutdown info and format the logs
in a consistent manner.

Change-Id: I4592cd9fcf7e2920010d84c7137137262cdc73b9
2011-09-20 16:59:22 -07:00
Jason Sams
5316b9eead Add RS watchdog.
Change-Id: I4c912beb84fa8a37ada0088049f7776132e994b6
2011-09-13 15:41:01 -07:00
Stephen Hines
79dd90c7bf Merge "Fix remaining .rs.dtor() issue for RS." 2011-09-01 18:10:37 -07:00
Stephen Hines
466bdc4008 Fix remaining .rs.dtor() issue for RS.
BUG=5186750

Change-Id: I74765b844d28ed780f9c9e291b8e0de94352f74b
2011-09-01 18:07:11 -07:00
Robert Ly
d9e075b003 fix rs docs
Change-Id: Id7253737278d5dc4ef3b6d53cd32dbac1a80103d
2011-09-01 15:46:43 -07:00
Stephen Hines
1716fe47bd Merge "Call .rs.dtor() when tearing down Scripts." 2011-09-01 13:49:29 -07:00
Jason Sams
73d50d3edc Merge "Finish the docs for rs_cl." 2011-09-01 12:33:57 -07:00
Stephen Hines
514f9790fd Call .rs.dtor() when tearing down Scripts.
BUG=5186750

This allows us to properly reference count any globals (static or extern) that
need to potentially be cleaned up.

Change-Id: I03d2c38c1e7a4ca96c40003d2eeecb6f395d5835
2011-08-31 17:41:39 -07:00
Jason Sams
2f87f36e84 Finish the docs for rs_cl.
Change-Id: I2edaac2ad07fe1de77af58bec0d9ac4cde181f11
2011-08-31 16:44:18 -07:00
Jason Sams
7d71556b18 Merge "Document the basic RS math functions." 2011-08-31 15:20:43 -07:00
Jason Sams
e79f7687dc Document the basic RS math functions.
Change-Id: If7a1b82eab4c4c82443cf8e57b444865f1e3f6b8
2011-08-31 14:52:08 -07:00
Stephen Hines
46e5a03610 Updated time/type docs for Renderscript.
Change-Id: Idb51c64271c4f2b4705ea932c715683003eff4cc
2011-08-26 19:03:16 -07:00
Alex Sakhartchouk
0806d51832 Merge "Fixing the lockless fifo destory bug. Removing unused code from element. build." 2011-08-24 14:25:25 -07:00
Stephen Hines
c3ccfb8eec Merge "Issue proper parameters to root() calls for RS." 2011-08-19 14:17:47 -07:00
Stephen Hines
1222393e35 Issue proper parameters to root() calls for RS.
BUG=5076887

Change-Id: Ic0ce9d45ee20a99add4c780233c0804d05a55e96
2011-08-19 12:27:07 -07:00
Alex Sakhartchouk
a8bb921c8b Fixing the lockless fifo destory bug.
Removing unused code from element. build.

Change-Id: I4bb324a666486d6d3fa45cc1995d0e96cb99f70a
2011-08-19 09:43:18 -07:00
Jason Sams
777ec2662e Fix issue with freeing allocation with circular references.
Change-Id: I45871c20a192815eafee77f95e17a025f6dcf9d1
2011-08-18 18:01:33 -07:00
Jason Sams
85deb78165 Fix "return 0" behavior in rs
0 was not properly blocking for the next message.

Change-Id: I0d9f0a8f799ba457197920c6a699f80f496eaa8e
2011-08-17 17:15:23 -07:00
Jason Sams
c1b4c1ff9b Add structure to pack params for forEach.
This allows the driver to not pass all the sub-params.

Change-Id: I9728a7bb39893f49193a55155994ede0400cb7a6
2011-08-17 14:13:50 -07:00
Alex Sakhartchouk
4270295ae8 Merge "Fixing asynchronous performance issues." 2011-08-17 13:29:24 -07:00
Alex Sakhartchouk
117abdbc67 Fixing asynchronous performance issues.
Change-Id: I10f02cd37a33a6c655814d24e0a4291dc044fba3
2011-08-16 13:09:46 -07:00
Alex Sakhartchouk
c929158f0e Merge "Fix to the memory leak problem." 2011-08-12 15:29:46 -07:00
Jason Sams
bfc7891bdd Fix the RS frame timeout.
Previous a slow app would block from receiving new
commands until the timer expired.  This change will
expire the timer immediatly.

Change-Id: I42b949d21f98ee0f1d3156763cd723c3e9cabb67
2011-08-12 15:05:15 -07:00
Alex Sakhartchouk
065fa8deb1 Fix to the memory leak problem.
Change-Id: I18dfa76ecae62ed5165415531adf3a13ad992b54
2011-08-12 11:30:30 -07:00
Christian Robertson
beb2b5cfdb Replacing sans serif system font with Roboto
Change-Id: Ibe0aa11e2259898e65dc422c7794ab4065a0a90e
2011-08-11 15:35:52 -07:00
Alex Sakhartchouk
9ce7c0971d Merge "add renderscript doc comments for exposed headers" 2011-08-09 14:13:09 -07:00
Alex Sakhartchouk
6b2b8bdb28 add renderscript doc comments for exposed headers
Change-Id: Ia7dd82f890775045e543963d64e6dcd3ea4db825
2011-08-09 11:36:19 -07:00
Jason Sams
573fa62074 Start refactoring RS headerfiles for docs.
Change-Id: Ieb7797601f94beec2835e1d936dc2dd0c38cb48c
2011-08-09 11:34:33 -07:00
Stephen Hines
514a0b3612 Merge "Migrate perf-critical functions away from librs." 2011-08-08 16:12:56 -07:00
Jason Sams
d1bfd12704 Add RS docs for rs_core.rsh
Change-Id: Ic961138b2ce7730b38c7673e83c8891407580306
2011-08-08 15:54:14 -07:00
Stephen Hines
e004058419 Migrate perf-critical functions away from librs.
BUG=3497315

Change-Id: Ieaa0d64933767d422aa62740d72b31042dcd4a2f
2011-08-08 15:09:10 -07:00
Jason Sams
00ac96b819 Merge "Add docs to rs_types.rsh" 2011-08-08 14:35:16 -07:00
Jason Sams
a00e6d8bf1 Add docs to rs_types.rsh
Change-Id: Id2352f325c3ef9564cc226c6c5df908df16bb26a
2011-08-08 14:31:25 -07:00
Alex Sakhartchouk
75e0254731 Merge "Fixing rs crash when no texture is bound." 2011-08-08 11:25:03 -07:00
Alex Sakhartchouk
bbc41c034b Fixing rs crash when no texture is bound.
Change-Id: I2c15106f50de995c63691f27e2c4d89dbffc758e
2011-08-05 15:27:25 -07:00
Stephen Hines
8f019d6305 Merge "Start using bcinfo components within librs." 2011-08-05 13:47:00 -07:00