455 Commits

Author SHA1 Message Date
Jason Sams
f3470edc8a Fix safe for mp check in ScriptC.
Change-Id: Id91b3c1e99b2705fd39f9e74a52c61110805e246
2010-09-28 14:41:42 -07:00
Stephen Hines
ab98bb6e8b Fix RS bug with message ID 0.
Clamp RSTest list to nice viewable range.

Change-Id: I0909511e16984ec78150cda17c22e22af1fa0cdb
2010-09-28 10:28:12 -07:00
Alex Sakhartchouk
7215b5115e Error checking for MVP matrix computation.
Fixing more padding bugs.

Change-Id: Ic5d4260027b7dc86a50fdab7221c7296c7d3ea0d
2010-09-27 10:29:47 -07:00
Alex Sakhartchouk
eb1a73c2be Adding timer to display renderscript jit duration.
Change-Id: I8ab1dea60a833cd11771cf145cadbc96ac52b934
2010-09-26 14:53:21 -07:00
Stephen Hines
9ba15e376b Merge "Adding support for dynamically updated test status" 2010-09-24 12:10:31 -07:00
Alex Sakhartchouk
04b5dd4b04 Merge "Adding support for all allowed textures. Cleaning up unused code Adding error messages" 2010-09-24 09:42:47 -07:00
Stephen Hines
bbc529244d Adding support for dynamically updated test status
Change-Id: If67de45f7fbf3ecaf4c6e85ed8dded0099e543fd
2010-09-23 19:02:42 -07:00
Alex Sakhartchouk
b89aaacb2c Adding support for all allowed textures.
Cleaning up unused code
Adding error messages

Change-Id: I3a92476738ff7699d49feeafcd3eee6f70621acb
2010-09-23 16:16:33 -07:00
Stephen Hines
ff4d70872a Add RsList implementation to RSTest.
Run subtests in their own thread / RS context.
Created UnitTest framework using message passing for RS.
Add color status reporting to device output.
Fix some typos in RsList.

Change-Id: I251d632b9550a1c117d677f011741a796b561e59
2010-09-23 15:37:57 -07:00
Jason Sams
f119b91e1a Better debugging for scripts.
Change-Id: I916cea86dcfdb43a9465708ea4a16f19cbe42370
2010-09-22 15:57:41 -07:00
Jason Sams
7a3403b0b8 Merge "Remove excessive logging." 2010-09-22 14:52:01 -07:00
Jason Sams
442ce762d2 Remove excessive logging.
Change-Id: If8e30fcb93d7cbf639c3a6c280c23f4553f11e5b
2010-09-22 14:50:37 -07:00
Jason Sams
353a48e8ed Merge "Fix two minor RS bugs. 1: index set size was populated with bad value in java, 2: bad error check in uploadToBufferObject." 2010-09-22 14:27:50 -07:00
Jason Sams
1bfccb45df Fix two minor RS bugs.
1: index set size was populated with bad value in java,
2: bad error check in uploadToBufferObject.

Change-Id: I5946053cdfba0b2fbbaa34d562a9ec53e26ce9f2
2010-09-22 14:20:08 -07:00
Stephen Hines
72e1687b70 Test use of "f" suffix on float initializers.
Change-Id: I3325576d1ec2d7c1c966afd8ef279745c549125f
2010-09-21 15:32:55 -07:00
Stephen Hines
065149f162 Updated RSTest to test primitive type assignments.
Change-Id: I6c377cfdc647806d9362effc4c1715638dcf5bfb
2010-09-21 11:59:15 -07:00
Stephen Hines
ca54ec302f Add support for Float64 (double) to RenderScript.
Change-Id: Iad1c4adadf657a46aa38a3fad7813927e643e29d
2010-09-20 17:20:30 -07:00
Stephen Hines
580807a20a Merge "Handle RS reflection name changes." 2010-09-17 13:55:39 -07:00
Stephen Hines
2c6f34480c Merge "Minor app updates for RS. force RSTest to portrait." 2010-09-17 13:50:21 -07:00
Jason Sams
4fd8bb4b56 Fix function name match for refcounting funcs.
Change-Id: I3fa8211200023e0df494cd9aab698e215b3c2164
2010-09-17 13:17:17 -07:00
Stephen Hines
93a958f095 Handle RS reflection name changes.
Change-Id: I0f3f9805a0f0bf44ce9e9944a3eaa5a80dd0cdde
2010-09-17 10:03:00 -07:00
Jason Sams
d081fffab5 Cleanup GL setup code and remove legacy 1.1 paths.
Reset pointers to NULL when allocations are unbound.

Change-Id: Ifaba634ecbb154970b7fb47faa8e6475d16d2f66
2010-09-16 18:18:29 -07:00
Stephen Hines
a8c6ceedba Minor app updates for RS. force RSTest to portrait.
Change-Id: Ic2356644e00be8d373da97a9072f008e59a0264a
2010-09-15 17:32:06 -07:00
Jason Sams
cfc0436699 Fix partial NP2 support and restrict mipmaps and clamp
modes on HW that does not support proper NP2
bug 2965170

Change-Id: If9a3ac45264861fc75b9616e98957e12a5464411
2010-09-14 14:59:37 -07:00
Alex Sakhartchouk
c984dd73c6 Shader changes to allow for more flexible constant binding.
Change-Id: Ic66e6e2a371c6e3d5dce1b00f63acab8c09bd110
2010-09-14 09:50:43 -07:00
Ying Wang
db09da1071 Merge "Reflected class name and bc file name changes." 2010-09-07 22:28:20 -07:00
Anatol Pomazau
c24ffe6fdc Fix header path.
Now libbcc is located under framework/compile

Change-Id: I39cd0d27da73ce31e8cb92772bfda3a942ccd27c
2010-09-07 17:33:01 -07:00
Alex Sakhartchouk
db6f11bd30 Fixing a3d files to reflect the new element structure.
Change-Id: I44d95c9411706813dde815c5f052f3615e8b483e
2010-09-07 12:10:18 -07:00
Jason Sams
70d4e50242 Add arrays to elements.
Change-Id: I624b03bfc1fd26136afd9305a96026b91b1fad3c
2010-09-07 12:06:05 -07:00
Ying Wang
8dff092eca Reflected class name and bc file name changes.
Any non-alnum chars in the rs file name will be removed when we derive the bc file name.
The reflected class names are converted to camel case.

Change-Id: I0184fe8ef2987a19dbdbc93c72163e02b5b0de89
2010-09-07 11:23:15 -07:00
Alex Sakhartchouk
caaac0f827 Fixing fragment shader bounding code
Change-Id: I743dae12bb3f226f758a065d9b353eff36e2f964
2010-09-02 18:43:24 -07:00
Alex Sakhartchouk
8e95466b5a Adding ability to dirty the allocation and notify shaders using it.
Change-Id: Id5ac8dbba5185cb1f43bedcf4098fcef9f477c51
2010-09-02 10:45:39 -07:00
Jason Sams
deb0008c63 Remove ACC and other legacy bits from RS.
Change-Id: I12a3b0477f3201ec7ca63564ae2b387ecc89dedf
2010-09-01 14:23:13 -07:00
Jason Sams
49bdaf0293 SubElementData data upload functions.
Change-Id: I5f8c738b5457ae7f6085fc4cd331cf3d13ad75cf
2010-08-31 15:31:11 -07:00
Alex Sakhartchouk
8442e0bffe Fixing uniform binding for fragment shader.
Updating the glsl fragment shader to color the lights.

Change-Id: I6f850d1aa22059a2974e379f652f7e99d6a799fb
2010-08-31 12:02:01 -07:00
Alex Sakhartchouk
a41174ecb0 Fixing renderscript uniform binding bugs.
Working on custom shaders.

Change-Id: I0d51e879e1c2b46ef5ab696b35162898f4196fc8
2010-08-27 16:10:55 -07:00
Jason Sams
1d45c47975 Add matrix component types.
Fix potental overflow in script -> java messages.

Change-Id: Ie6fd9dc376be4043fc938a1517106936937689c8
2010-08-25 14:41:20 -07:00
Alex Sakhartchouk
d36f248eaf More work on the renderscript sample
Change-Id: Ib1812bbaa38180ca63d6d53c9cc3aeeee4134725
2010-08-24 14:00:58 -07:00
Alex Sakhartchouk
32e09b5891 Renderscript samples.
Resolving name conflict in model viewer.
Adding fov projection matrix function.
Adding helper methods for blending.

Change-Id: Ibd3f1510436811398787c285845d050158bd6de8
2010-08-23 10:24:10 -07:00
Alex Sakhartchouk
526e7a3c85 Should fix the build.
Change-Id: Ib4f065341c6a90db70cca1adae2978fbff453b74
2010-08-19 10:53:41 -07:00
Alex Sakhartchouk
7723d8c6a0 Hopefully this fixes the build.
Change-Id: I2002ba7e66039d39f8c6754fe7b7e0ca91e7ec13
2010-08-19 10:47:46 -07:00
Alex Sakhartchouk
3e5ea4a814 Merge "Renderscript samples. Merged two model related projects. Cleanup." 2010-08-19 09:15:48 -07:00
Alex Sakhartchouk
27f50523a4 Renderscript samples. Merged two model related projects. Cleanup.
Change-Id: I6fdc70420eee7dfecf0b051fd687e5797c6580ce
2010-08-18 15:46:43 -07:00
Jason Sams
2f728bf441 Merge "Fix bug looping non-blocking fifos." 2010-08-18 12:39:59 -07:00
Jason Sams
2ea56efb1f Merge "Remove OOB object destruction." 2010-08-18 12:39:38 -07:00
Jason Sams
d0cb106ff2 Fix bug looping non-blocking fifos.
Change-Id: I33dcf575466bfef672af4e113ad692397b5213e9
2010-08-18 12:38:03 -07:00
Jason Sams
fb545906ad Merge "Make java entry points for native fifo synchronized." 2010-08-17 19:29:17 -07:00
Jason Sams
d78be37d81 Remove OOB object destruction.
Change-Id: Icaa06aca4a701ec663c124d3141d9dbb633d7dc1
2010-08-17 19:28:29 -07:00
Jason Sams
2e1872fe07 Make java entry points for native fifo synchronized.
Change-Id: I1baf2beb920016f0202042982075cbce1e67df42
2010-08-17 16:25:41 -07:00
Alex Sakhartchouk
94bbccc363 Propagating some useful font changes.
Change-Id: Ia3b31a0fa0c59c5edbd3edaca164ca85e090e708
2010-08-17 11:09:49 -07:00