summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/BaseObj.java
AgeCommit message (Collapse)Author
2013-12-17Move RenderScript from graphics/ to new fw/base subdirectory rs.Tim Murray
Change-Id: I30b6633578f063840e1bdbcc9ba513b727912a6d
2013-11-20Merge "Convert Java/JNI to 64-bit, part 2."Tim Murray
2013-11-20Convert Java/JNI to 64-bit, part 2.Tim Murray
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
2013-11-20Remove unused imports from frameworks/base.John Spurlock
Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
2013-06-05Improve RS documentation.Tim Murray
bug 8570568 Change-Id: I465fcc8ec3e2cc892dc3cb0067aacf5224338102
2013-04-14Revert GC thread changesJason Sams
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-09Implement RS GC worker thread.Tim Murray
Bug 8579360 Change-Id: I98a5509b68e592bcbb4958f2ca72c236a22910b5
2012-05-07Revert "Deprecate"Stephen Hines
This reverts commit a0c2eb27b408660b02fa248943166d6c7e447908. Conflicts: api/current.txt graphics/java/android/renderscript/Element.java graphics/java/android/renderscript/Script.java Change-Id: I3c8fa62b12da95b3dbc842b5284dbed65d3cf963
2012-04-19DeprecateAlex Sakhartchouk
Change-Id: Idad2c5ad4f8a30f8cc60d88318f2e1809866d309
2012-04-03Validate context when using RS objects.Jason Sams
BUG=6035422 Change-Id: I8586be0085b36767289e1f634111c0ff076cec3c
2011-07-26Add getName to renderscript base objectAlex Sakhartchouk
Change-Id: Ia28f88d2c9d679692778641548fdac08c1041d02
2011-06-09Override equals()/hashCode() for RS BaseObj.Stephen Hines
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-04-01Make BaseObj a public class.Stephen Hines
BUG=4156151 Change-Id: Ia5d5ae08ab8e176ad3ca1f38c2c33ef4e9551213
2011-03-15Check setName() for null string + typo fixes.Stephen Hines
Change-Id: Ibf5fd3bcf908df8370eac2848e2b329328b9e8d3
2011-01-04unhide renderscriptJason Sams
Change-Id: I44dd19aec0a994316da22ea8bea01b9962f54680 api update Change-Id: I77f5365b8b7a919cd572ceb65a9ab3871b9495d0
2010-12-08Allocation API update.Jason Sams
Change-Id: I9b4a71f9e94c7d3978f06b7971051ab4f8472503
2010-12-06API review cleanup.Jason Sams
Change-Id: Ieae7d450308b5637ed4253fe9baed3634c6ed141
2010-11-10More documentation.Jason Sams
Change-Id: I423ff081edd4dab9173bc13d05850bb39839b6d3
2010-11-09Continue error check improvements and write some docs.Jason Sams
Change-Id: I345b08490da21d9ee715ff1ddc80c1a816b579f4
2010-11-04More RS exceptions cleanup.Jason Sams
Remove some dead code. Change-Id: If97e3fdfe6de7bb28f22e1c5ee748c81cea3db93
2010-09-21Detect and throw exception for usingJason Sams
objects after explicitly destroying them. Change-Id: Ic50d6974c80672846140c7f9435ec9468855f0bc
2010-08-17Remove OOB object destruction.Jason Sams
Change-Id: Icaa06aca4a701ec663c124d3141d9dbb633d7dc1
2010-08-12Preparing renderscript java code for use with phanton references.Alex Sakhartchouk
Changing rs_quaternion to be float4 Change-Id: Ibf49f412be8979eaa04cb252b407467eacd9dbf0
2010-07-12Work on synchronizing a3d created files and java layer.Alex Sakhartchouk
Adding culling to ProgramRaster Change-Id: I58ccc82d37edc9539289d5eba44ea0e720874af5
2009-12-23Element restructuring. Add support for new basic Element types including ↵Jason Sams
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-09-28Fix but processing raster state pragma.Jason Sams
rename stateFragmentStore to stateStore
2009-09-25Improve renderscript context teardown. Track object in the system and then ↵Jason Sams
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-08-18Implement OOB destroy method that can be called from the java finalizer ↵Jason Sams
removing the need to explicitly destroy objects.
2009-08-18Cleanup of object destruction. No need to have a per-class destruction ↵Jason Sams
function. This was a legacy of the distant past when the classes did not have a common base.
2009-08-09Begin implementing SimpleMesh and fix some bugs with refcounting and java ↵Jason Sams
object destruction tracking.
2009-07-31Begin splitting up RenderScript.java into seperate classes. First piece ↵Jason Sams
split off Element.