summaryrefslogtreecommitdiffstats
path: root/graphics/java/android/renderscript/BaseObj.java
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Convert Java/JNI to 64-bit, part 2."Tim Murray2013-11-201-5/+5
|\
| * Convert Java/JNI to 64-bit, part 2.Tim Murray2013-11-201-5/+5
| | | | | | | | | | | | | | | | | | | | | | This changes BaseObj to support 64-bit IDs. There are a few caveats: 1. Since it is deprecated, RSG will not support 64-bit. 2. Currently, methods that pass arrays of IDs to the driver are not supported in 64-bit. This will be fixed in a later CL. bug 11332320 Change-Id: If0dbecc8b285e260f767e441e05088b6a1b749a2
* | Remove unused imports from frameworks/base.John Spurlock2013-11-201-2/+0
|/ | | | Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
* Improve RS documentation.Tim Murray2013-06-051-9/+7
| | | | | bug 8570568 Change-Id: I465fcc8ec3e2cc892dc3cb0067aacf5224338102
* Revert GC thread changesJason Sams2013-04-141-6/+0
| | | | | | | | | | | | | | | 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
* Implement RS GC worker thread.Tim Murray2013-04-091-0/+6
| | | | | | Bug 8579360 Change-Id: I98a5509b68e592bcbb4958f2ca72c236a22910b5
* Revert "Deprecate"Stephen Hines2012-05-071-8/+8
| | | | | | | | | | | | This reverts commit a0c2eb27b408660b02fa248943166d6c7e447908. Conflicts: api/current.txt graphics/java/android/renderscript/Element.java graphics/java/android/renderscript/Script.java Change-Id: I3c8fa62b12da95b3dbc842b5284dbed65d3cf963
* DeprecateAlex Sakhartchouk2012-04-191-8/+8
| | | | Change-Id: Idad2c5ad4f8a30f8cc60d88318f2e1809866d309
* Validate context when using RS objects.Jason Sams2012-04-031-2/+8
| | | | | | BUG=6035422 Change-Id: I8586be0085b36767289e1f634111c0ff076cec3c
* Add getName to renderscript base objectAlex Sakhartchouk2011-07-261-0/+7
| | | | Change-Id: Ia28f88d2c9d679692778641548fdac08c1041d02
* Override equals()/hashCode() for RS BaseObj.Stephen Hines2011-06-091-0/+30
| | | | | | | | | 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
* Make BaseObj a public class.Stephen Hines2011-04-011-1/+1
| | | | | | BUG=4156151 Change-Id: Ia5d5ae08ab8e176ad3ca1f38c2c33ef4e9551213
* Check setName() for null string + typo fixes.Stephen Hines2011-03-151-4/+10
| | | | Change-Id: Ibf5fd3bcf908df8370eac2848e2b329328b9e8d3
* unhide renderscriptJason Sams2011-01-041-2/+0
| | | | | | | | Change-Id: I44dd19aec0a994316da22ea8bea01b9962f54680 api update Change-Id: I77f5365b8b7a919cd572ceb65a9ab3871b9495d0
* Allocation API update.Jason Sams2010-12-081-0/+3
| | | | Change-Id: I9b4a71f9e94c7d3978f06b7971051ab4f8472503
* API review cleanup.Jason Sams2010-12-061-1/+7
| | | | Change-Id: Ieae7d450308b5637ed4253fe9baed3634c6ed141
* More documentation.Jason Sams2010-11-101-6/+28
| | | | Change-Id: I423ff081edd4dab9173bc13d05850bb39839b6d3
* Continue error check improvements and write some docs.Jason Sams2010-11-091-5/+17
| | | | Change-Id: I345b08490da21d9ee715ff1ddc80c1a816b579f4
* More RS exceptions cleanup.Jason Sams2010-11-041-8/+6
| | | | | | Remove some dead code. Change-Id: If97e3fdfe6de7bb28f22e1c5ee748c81cea3db93
* Detect and throw exception for usingJason Sams2010-09-211-0/+3
| | | | | | objects after explicitly destroying them. Change-Id: Ic50d6974c80672846140c7f9435ec9468855f0bc
* Remove OOB object destruction.Jason Sams2010-08-171-1/+1
| | | | Change-Id: Icaa06aca4a701ec663c124d3141d9dbb633d7dc1
* Preparing renderscript java code for use with phanton references.Alex Sakhartchouk2010-08-121-2/+2
| | | | | | Changing rs_quaternion to be float4 Change-Id: Ibf49f412be8979eaa04cb252b407467eacd9dbf0
* Work on synchronizing a3d created files and java layer.Alex Sakhartchouk2010-07-121-0/+5
| | | | | | Adding culling to ProgramRaster Change-Id: I58ccc82d37edc9539289d5eba44ea0e720874af5
* Element restructuring. Add support for new basic Element types including ↵Jason Sams2009-12-231-0/+1
| | | | | | 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.
* Fix but processing raster state pragma.Jason Sams2009-09-281-2/+2
| | | | rename stateFragmentStore to stateStore
* Improve renderscript context teardown. Track object in the system and then ↵Jason Sams2009-09-251-1/+2
| | | | 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.
* Implement OOB destroy method that can be called from the java finalizer ↵Jason Sams2009-08-181-1/+6
| | | | removing the need to explicitly destroy objects.
* Cleanup of object destruction. No need to have a per-class destruction ↵Jason Sams2009-08-181-1/+10
| | | | function. This was a legacy of the distant past when the classes did not have a common base.
* Begin implementing SimpleMesh and fix some bugs with refcounting and java ↵Jason Sams2009-08-091-1/+3
| | | | object destruction tracking.
* Begin splitting up RenderScript.java into seperate classes. First piece ↵Jason Sams2009-07-311-0/+67
split off Element.