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
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
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
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
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
Jason Sams
b38d534873
Fix refcounting bugs where the sys refcount
...
could be corrupted during async type creation.
Change-Id: If42828e92990598b0cb5da81c82ea513f94725f2
Fix stack object deletion bug.
Change-Id: I2c723aa5ad15e0c99dc9cd0cfbc7db80bace172a
2010-10-21 21:17:30 -07:00
Alex Sakhartchouk
98bfe5d02a
Some cleanup
...
Change-Id: Ie10746d2f77318d63101d919214e76f778159fa0
2010-10-18 17:18:50 -07:00
Alex Sakhartchouk
960ae15cf3
Fixing font bug, initialization was done in the wrong order.
...
Change-Id: Icc7b932f25be1ca6e5423bba6a5cfc965f6c3341
2010-10-12 14:15:17 -07:00
Alex Sakhartchouk
d2091639be
changing vec4 to vec2 for perf reasons.
...
Change-Id: Ic885a6dc697af4fd82e184158772863673f041bd
2010-10-06 11:15:01 -07:00
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
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
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
Alex Sakhartchouk
c984dd73c6
Shader changes to allow for more flexible constant binding.
...
Change-Id: Ic66e6e2a371c6e3d5dce1b00f63acab8c09bd110
2010-09-14 09:50:43 -07:00
Jason Sams
70d4e50242
Add arrays to elements.
...
Change-Id: I624b03bfc1fd26136afd9305a96026b91b1fad3c
2010-09-07 12:06:05 -07:00
Alex Sakhartchouk
27f50523a4
Renderscript samples. Merged two model related projects. Cleanup.
...
Change-Id: I6fdc70420eee7dfecf0b051fd687e5797c6580ce
2010-08-18 15:46:43 -07:00
Alex Sakhartchouk
94bbccc363
Propagating some useful font changes.
...
Change-Id: Ia3b31a0fa0c59c5edbd3edaca164ca85e090e708
2010-08-17 11:09:49 -07:00
Alex Sakhartchouk
55e8198356
Fixing fonts to use constant color instead of variable.
...
Change-Id: Ia590dfed482f82b7bc748c25b7b1592efea5b68c
2010-08-05 11:24:14 -07:00
Jason Sams
442a647424
Support constant and varying colors in ProgramFragment.
...
Change-Id: I16ce84ff427016f3a1923594efc718eca32dd7f2
2010-08-05 10:00:21 -07:00
Alex Sakhartchouk
fb10c16a05
Added ability to set font color.
...
Propagating the name of meshes and allocations from native a3d to java
Change-Id: If781f55340b5369459610e5e92ea69e240dcd24e
2010-08-04 14:45:48 -07:00
Alex Sakhartchouk
80a4c2cd34
Work on synchronizing a3d created files and java layer.
...
Adding culling to ProgramRaster
Change-Id: I58ccc82d37edc9539289d5eba44ea0e720874af5
2010-07-12 15:50:32 -07:00
Alex Sakhartchouk
b6b34891fa
Fixing freetype init/uninit code.
...
Removing debug output from stream.
Change-Id: I401232e77cc011953e5ccc59069b22ec59958214
2010-06-30 16:53:43 -07:00
Alex Sakhartchouk
071508d9f3
Removing font initialization on startup
...
Change-Id: I6f28204c3d431955fbf0f2f74dde09012bba0a4d
2010-06-30 12:59:01 -07:00
Alex Sakhartchouk
9b949fce39
Adding freetype font rendering to renderscript.
...
Change-Id: I3a10ffe27092a41df156341c9cb3f7aa19c49f19
2010-06-24 17:15:34 -07:00