Jason Sams
9bf189228f
Revert GC thread changes
...
This is not quite a straight revery, some manual edits were necessary.
The original CL didn't undergo sufficient design review or testing. Revert until the regressions can be sorted out.
Bug 8585185
This reverts commit 6dacf8355a0692b52c49f603f43317772cb36175
This reverts commit f8c033db1edf36a0ab09568c3142054f0be2d1a1
Change-Id: Ie7215bdf881332e822603547e92f810f595077fc
2013-04-14 02:56:03 +00:00
Tim Murray
f8c033db1e
Implement RS GC worker thread.
...
Bug 8579360
Change-Id: I98a5509b68e592bcbb4958f2ca72c236a22910b5
2013-04-09 16:01:23 -07:00
Stephen Hines
9c9ad3f8c2
Revert "Deprecate"
...
This reverts commit a0c2eb27b408660b02fa248943166d6c7e447908.
Conflicts:
api/current.txt
graphics/java/android/renderscript/Element.java
graphics/java/android/renderscript/Script.java
Change-Id: I3c8fa62b12da95b3dbc842b5284dbed65d3cf963
2012-05-07 15:34:29 -07:00
Alex Sakhartchouk
a0c2eb27b4
Deprecate
...
Change-Id: Idad2c5ad4f8a30f8cc60d88318f2e1809866d309
2012-04-19 16:30:58 -07:00
Jason Sams
e07694b24f
Validate context when using RS objects.
...
BUG=6035422
Change-Id: I8586be0085b36767289e1f634111c0ff076cec3c
2012-04-03 15:36:36 -07:00
Alex Sakhartchouk
0400b07c6b
Add getName to renderscript base object
...
Change-Id: Ia28f88d2c9d679692778641548fdac08c1041d02
2011-07-26 14:13:32 -07:00
Stephen Hines
705d2ea63a
Override equals()/hashCode() for RS BaseObj.
...
This will be used by slang reflection to type-check parameters to functions
that are of Allocation types (such as what happens with forEach).
BUG=4203264
Change-Id: I2ba94531bbf53becf7695b253e1faa3dff099894
2011-06-09 11:16:59 -07:00
Stephen Hines
ef353dde08
Make BaseObj a public class.
...
BUG=4156151
Change-Id: Ia5d5ae08ab8e176ad3ca1f38c2c33ef4e9551213
2011-04-01 14:22:35 -07:00
Stephen Hines
84a97cae1e
Check setName() for null string + typo fixes.
...
Change-Id: Ibf5fd3bcf908df8370eac2848e2b329328b9e8d3
2011-03-15 21:06:21 -07:00
Jason Sams
a23d4e792c
unhide renderscript
...
Change-Id: I44dd19aec0a994316da22ea8bea01b9962f54680
api update
Change-Id: I77f5365b8b7a919cd572ceb65a9ab3871b9495d0
2011-01-04 22:19:44 -08:00
Jason Sams
5476b450e5
Allocation API update.
...
Change-Id: I9b4a71f9e94c7d3978f06b7971051ab4f8472503
2010-12-08 16:14:36 -08:00
Jason Sams
bf6ef8d78f
API review cleanup.
...
Change-Id: Ieae7d450308b5637ed4253fe9baed3634c6ed141
2010-12-06 17:46:20 -08:00
Jason Sams
27676fe24b
More documentation.
...
Change-Id: I423ff081edd4dab9173bc13d05850bb39839b6d3
2010-11-10 17:00:59 -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
c1d6210fb5
More RS exceptions cleanup.
...
Remove some dead code.
Change-Id: If97e3fdfe6de7bb28f22e1c5ee748c81cea3db93
2010-11-04 14:32:19 -07:00
Jason Sams
7aa150c096
Detect and throw exception for using
...
objects after explicitly destroying them.
Change-Id: Ic50d6974c80672846140c7f9435ec9468855f0bc
2010-09-21 14:52:29 -07:00
Jason Sams
d78be37d81
Remove OOB object destruction.
...
Change-Id: Icaa06aca4a701ec663c124d3141d9dbb633d7dc1
2010-08-17 19:28:29 -07:00
Alex Sakhartchouk
0de9444aa6
Preparing renderscript java code for use with phanton references.
...
Changing rs_quaternion to be float4
Change-Id: Ibf49f412be8979eaa04cb252b407467eacd9dbf0
2010-08-12 10:16:55 -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
Jason Sams
718cd1f322
Element restructuring. Add support for new basic Element types including the RS objects and vectors(2-4). In theory this paves the way for maintaining type info for RS objects, passing elements for GLSL uiforms/attribs/varyings, and supporting nested structures.
...
This will break some apps, checkings for other projects will follow to unbreak them.
2009-12-23 14:35:29 -08:00
Jason Sams
5235cf3f41
Fix but processing raster state pragma.
...
rename stateFragmentStore to stateStore
2009-09-28 18:12:56 -07:00
Jason Sams
a9e7a05b84
Improve renderscript context teardown. Track object in the system and then force their cleanup by releasing all user references once destroy context is called. Java layer will no longer send destroy notifications for objects garbage collected once a context is destroyed.
2009-09-25 14:51:22 -07:00
Jason Sams
730ee65d4d
Implement OOB destroy method that can be called from the java finalizer removing the need to explicitly destroy objects.
2009-08-18 17:07:09 -07:00
Jason Sams
7ce033d797
Cleanup of object destruction. No need to have a per-class destruction function. This was a legacy of the distant past when the classes did not have a common base.
2009-08-18 14:20:07 -07:00
Jason Sams
1bada8cd6e
Begin implementing SimpleMesh and fix some bugs with refcounting and java object destruction tracking.
2009-08-09 17:05:13 -07:00
Jason Sams
36e612a488
Begin splitting up RenderScript.java into seperate classes. First piece split off Element.
2009-07-31 16:26:13 -07:00