Alex Sakhartchouk
76322af2a6
Adding average fps counter.
...
Removing rsLight from libRS
Change-Id: I8622efd10619dc120d37f3a12122e9c7fc34ff2e
2010-10-05 13:28:09 -07:00
Alex Sakhartchouk
10825a07ae
Adding text metrics to renderscript.
...
Change-Id: Ica460525243d714a278e4ad5e436af43e1008e0c
2010-10-05 11:33:27 -07:00
Alex Sakhartchouk
3bf3ea0d83
Fix for bug 3053078
...
Font gamma correction to match with lib HWUI.
Change-Id: I329a2f97058f4929b96724c9df39fbfad4243b33
2010-10-01 15:20:41 -07:00
Alex Sakhartchouk
feede2aee6
fixing bugs 3053960, 3044804, 3044798
...
shader cleanup and removing unnecessary state setup.
Change-Id: Ibddf2ad3a26bb983fc43bdeb58b1cec6224920b4
2010-10-01 14:11:52 -07:00
Jason Sams
37ece16cdc
Merge "Add object validity checking."
2010-09-30 18:35:56 -07:00
Jason Sams
f166d9b5a2
Add object validity checking.
...
Change-Id: I2613e87b09a6e560f0381d4ed620d60a10bc30e4
2010-09-30 18:15:52 -07:00
Alex Sakhartchouk
12c08f2c87
Merge "Adding anisotropic filtering and related samples."
2010-09-30 14:04:43 -07:00
Alex Sakhartchouk
f5b3510c70
Adding anisotropic filtering and related samples.
...
Change-Id: Idb173274417feb5e25bfd64c5e9fa2492a23a17e
2010-09-30 11:36:37 -07:00
Stephen Hines
01f0ad7c13
Fix clear() operation for rsScriptC.
...
- This removes a memory leak where some elements were not getting tracked
properly (and then triggering an assert when a context is destroyed).
- Convert ScriptCState to use a tracked object reference for mScript.
- Add a missing clear to FontState.
- Clean up synchronization in RSTest so that our graphics context outlives
any subtest context.
Change-Id: I0d5768c4d2f8810dd1ae2f68b1edd7e150f382fd
2010-09-29 16:58:17 -07:00
Alex Sakhartchouk
4378f11755
More robust attribute binding
...
Adding attribute and uniform debug logging.
Checking to see if aniso filtering is available.
Change-Id: I2ed9d166ed7ff3df971d7af18b7a33f4e3ade928
2010-09-29 09:49:13 -07:00
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