summaryrefslogtreecommitdiffstats
path: root/graphics/java/android/renderscript/Element.java
Commit message (Collapse)AuthorAgeFilesLines
* docs: fix renderscript links that currently require redirectScott Main2013-02-051-1/+1
| | | | Change-Id: Ie12ff2c4be5ca22ac43dfe3a16868c7bef8e4ae8
* GFX api cleanup 1 of 2Jason Sams2012-05-081-0/+3
| | | | Change-Id: Ib85784c18b1647e51f1d7cf2a4c956d17e1d2e3c
* Revert "Deprecate"Stephen Hines2012-05-071-145/+26
| | | | | | | | | | | | This reverts commit a0c2eb27b408660b02fa248943166d6c7e447908. Conflicts: api/current.txt graphics/java/android/renderscript/Element.java graphics/java/android/renderscript/Script.java Change-Id: I3c8fa62b12da95b3dbc842b5284dbed65d3cf963
* Unhide FONT.Stephen Hines2012-05-011-4/+2
| | | | Change-Id: I86258076817bb8f34ce3bb76031df41c08750f8c
* DeprecateAlex Sakhartchouk2012-04-191-26/+147
| | | | Change-Id: Idad2c5ad4f8a30f8cc60d88318f2e1809866d309
* Merge "Add missing support for Element.FONT()."Stephen Hines2012-04-121-1/+9
|\
| * Add missing support for Element.FONT().Stephen Hines2012-04-111-1/+9
| | | | | | | | Change-Id: Id66676958cc41d934b7f01acd65916f6d777d355
* | Unhiding J API's for Renderscript.Alex Sakhartchouk2012-04-111-14/+16
|/ | | | Change-Id: I8c2d43ccca94549bc6ca1a914106567ccc125503
* Validate context when using RS objects.Jason Sams2012-04-031-3/+3
| | | | | | BUG=6035422 Change-Id: I8586be0085b36767289e1f634111c0ff076cec3c
* Vectors of non-primitive types are not allowed.Stephen Hines2012-02-151-7/+30
| | | | | | BUG=6016669 Change-Id: Ibab2dfc5ce3d9ceb5513e6b5ffc53d5df8b7c6e7
* Update Element.isCompatible() to work with NONE.Stephen Hines2012-02-141-3/+3
| | | | | | | | In the past, we used a null reference to signify a user-created Element. The use of DataType.NONE for user-created Elements thus required an update to our Element compatibility check. Change-Id: I3293a645eff85c9040487c22f3a3240862f74350
* Merge "Missing getter and additional tests." into graphics-devAlex Sakhartchouk2011-12-271-0/+7
|\
| * Missing getter and additional tests.Alex Sakhartchouk2011-12-221-0/+7
| | | | | | | | Change-Id: I057dd0a29d2cad40d0a0627b4355faeb82bbc229
* | Merge "Adding tests for element/mesh getters. Fixing bugs found by tests." ↵Alex Sakhartchouk2011-12-271-15/+48
|\ \ | |/ | | | | into graphics-dev
| * Adding tests for element/mesh getters.Alex Sakhartchouk2011-12-221-15/+48
| | | | | | | | | | | | Fixing bugs found by tests. Change-Id: I6592a3b65f16b21255e7788fe8ee8aaafe268638
* | am 2b072677: am 201469f5: am bb7f590a: Merge "docs: Add developer guide ↵Joe Fernandez2011-12-221-0/+6
|\ \ | |/ |/| | | | | | | | | cross-references, Project ACRE, round 4" into ics-mr1 * commit '2b072677538de979961b5bf527109fdab1713731': docs: Add developer guide cross-references, Project ACRE, round 4
| * am 201469f5: am bb7f590a: Merge "docs: Add developer guide cross-references, ↵Joe Fernandez2011-12-221-0/+6
| |\ | | | | | | | | | | | | | | | | | | Project ACRE, round 4" into ics-mr1 * commit '201469f54522436be79d4d6665721049bfc74320': docs: Add developer guide cross-references, Project ACRE, round 4
| | * docs: Add developer guide cross-references, Project ACRE, round 4Joe Fernandez2011-12-221-0/+6
| | | | | | | | | | | | Change-Id: I1b43414aaec8ea217b39a0d780c80a25409d0991
* | | Element getters.Alex Sakhartchouk2011-12-161-6/+24
|/ / | | | | | | Change-Id: Ibe570464557eeecad108b4d3cb8f02fad13943de
* | Expand RS vector3 types to vector4.Alex Sakhartchouk2011-11-151-1/+21
|/ | | | | | | | | | | | | | | | BUG=5609007 The underlying LLVM implementation for vector3 types does this implicitly. If RS does not adjust its implementation, we will always be misaligned for any subsequent data after a vector3 type. We previously inserted padding into the reflected layers from llvm-rs-cc (hence the skip padding part of this change). We can safely ignore the padding now that the Java/native code is updated to use the expanded size. The compiler will also need modification to ensure that we don't mistakenly skip over any end-of-struct padding. Fixing the 3 component vector padding problem. Change-Id: If68af42287deb8f4b28addcd19a9fa314656be44
* adding getters to Sampler ProgramRaster, ProgramStore, Element.Alex Sakhartchouk2011-10-181-3/+84
| | | | | | Element adds ability to get subelement info. Tests for new stuff. Change-Id: I4a77b91e4e0e73c95ab28b42c50732a64e71e7b9
* Merge "Add support for more vector types to RS."Stephen Hines2011-06-201-0/+182
|\
| * Add support for more vector types to RS.Stephen Hines2011-06-011-0/+182
| | | | | | | | Change-Id: If1bc34ef6670b6b5de3c1b6b3b3325637b8c7b43
* | Add isCompatible() to RS Element.Stephen Hines2011-06-171-2/+29
|/ | | | | | BUG=4203264 Change-Id: Id68aead685f6cbc71c2fbe461cb38382e0563f43
* First draft of fbo in renderscript.Alex Sakhartchouk2011-04-011-7/+19
| | | | | | Updating samples and benchmark Change-Id: I469bf8b842fca72b59475c8fa024c12cf0e14954
* Discovered a matrix element bug while writing cts unit tests.Alex Sakhartchouk2011-02-281-3/+3
| | | | Change-Id: I56709df188a5085611efca804582470340369dc0
* clean up and add javadocsRobert Ly2011-02-091-16/+17
| | | | Change-Id: I7f628106247de887cd91c4a4b4b55d3ebfa700c8
* Add error checks to bitmap uploads.Jason Sams2011-01-111-1/+7
| | | | | | Fix java side calculation for pixel sizes. Change-Id: I2636db2ccdc9a330214fe9d8b26617b33e52ec8e
* unhide renderscriptJason Sams2011-01-041-2/+0
| | | | | | | | Change-Id: I44dd19aec0a994316da22ea8bea01b9962f54680 api update Change-Id: I77f5365b8b7a919cd572ceb65a9ab3871b9495d0
* Remove CreateFromBitmapRef and addJason Sams2010-12-101-12/+0
| | | | | | CopyTo(bitmap) replacement. Change-Id: Ib73fb9f4bfe5f468eaf0f8f1bf68a93759eef00d
* API review cleanup.Jason Sams2010-12-061-9/+6
| | | | Change-Id: Ieae7d450308b5637ed4253fe9baed3634c6ed141
* Document RS element and type and add validity checking to type creation.Jason Sams2010-11-121-1/+128
| | | | Change-Id: Ic96c0199e27785b3eabde2c6e95ed514915328e9
* Continue error check improvements and write some docs.Jason Sams2010-11-091-3/+4
| | | | Change-Id: I345b08490da21d9ee715ff1ddc80c1a816b579f4
* More RS exceptions cleanup.Jason Sams2010-11-041-8/+20
| | | | | | Remove some dead code. Change-Id: If97e3fdfe6de7bb28f22e1c5ee748c81cea3db93
* Changing scenegraph sample to use arrays.Alex Sakhartchouk2010-10-131-1/+1
| | | | Change-Id: Ifa454d503c1445efcad6e31243b65d75e62e3035
* Support for unsigned long and unsigned long long.Stephen Hines2010-10-111-1/+8
| | | | Change-Id: I2f9cfb7f352e2e7e7fd49eac42a821c03b5fcb9f
* Support for 64-bit integer type.Stephen Hines2010-10-011-1/+8
| | | | | | b/3050131 exported renderscript structures don't appear to support int64_t Change-Id: I9aea676425b694a3a6457e63e38b00e591847e20
* Finish plumbing for double RS elements.Stephen Hines2010-09-301-1/+8
| | | | Change-Id: Ic708dcaeda4966bb2121ecb6834f56cfa68ad58e
* Add arrays to elements.Jason Sams2010-09-071-4/+21
| | | | Change-Id: I624b03bfc1fd26136afd9305a96026b91b1fad3c
* Add matrix component types.Jason Sams2010-08-251-10/+37
| | | | | | Fix potental overflow in script -> java messages. Change-Id: Ie6fd9dc376be4043fc938a1517106936937689c8
* Preparing renderscript java code for use with phanton references.Alex Sakhartchouk2010-08-121-18/+32
| | | | | | Changing rs_quaternion to be float4 Change-Id: Ibf49f412be8979eaa04cb252b407467eacd9dbf0
* Populate java objects with native data from a3d file.Alex Sakhartchouk2010-07-151-0/+40
| | | | | | | Remove legacy constructor from programraster Make a3d object creation synchronous Change-Id: Ic7d7547cf6eee6f9a7c6e3ee12cd104e80056a7b
* Move ImageProcessing and ModelViewer to reflected files.Jason Sams2010-06-211-14/+23
| | | | | | Implement boolean support. Change-Id: Iac2dc28067ac430b3e413fc651dfaa0b96214e2e
* Begin using reflected files.Jason Sams2010-06-081-17/+14
| | | | Change-Id: I5307a0eac9c206b85c0cf7451d3f8300134bf8e3
* Remove RS_KIND from vertex arrays types.Jason Sams2010-06-011-138/+76
| | | | | | | | Legacy vertex programs now bind by name just like the user programs. This removes the need for two different ways of declairing the same information. Change-Id: I0178c0962842a1bbffb6726984ae1b8f5bb7529c
* Delete old createFromClass methods.Jason Sams2010-05-141-23/+0
| | | | | | | It no longer makes sense to create type info from Java since this cannot be exported to scripts. The new flow is in the opposite direction. Change-Id: I9b46e3f57abf84c01326bd9b9b834f3ff0f7c504
* Checkin new types for RS.Jason Sams2010-03-261-0/+71
| | | | Change-Id: I3d7a1a91c45cc1c97c60f3615f32e54e98e12f91
* More complete support for named attribs. Adds user typed attribs as ↵Jason Sams2010-01-061-1/+2
| | | | available to programVertex. Non user attribs are not treated like user for GL2 for simplicity.
* Disable excessive RS logging.Jason Sams2009-12-231-5/+0
|
* Element restructuring. Add support for new basic Element types including ↵Jason Sams2009-12-231-314/+243
| | | | | | 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.