History log of /frameworks/base/graphics/java/android/renderscript/Element.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
932e78e9903342e3494983fd3463084caab4ba42 03-Sep-2013 Tim Murray <timmurray@google.com> Add YUV element convenience function.

Change-Id: Ie67dfba6a4c4f1913875ad9817c53e45d56809ae
/frameworks/base/graphics/java/android/renderscript/Element.java
c11e25c4e653124def1fb18e203b894f42106cbe 09-Apr-2013 Tim Murray <timmurray@google.com> Improve RS documentation.

bug 8570568
Change-Id: I465fcc8ec3e2cc892dc3cb0067aacf5224338102
/frameworks/base/graphics/java/android/renderscript/Element.java
dd6c8b34f172ba699954e4d3095dba8c0fd5e930 16-Feb-2013 Jason Sams <jsams@google.com> Support typed YUV allocations.

Change-Id: I56e7a318dc979f0b7454fcfa5773ea6d95bbaeaa
/frameworks/base/graphics/java/android/renderscript/Element.java
e68c1ce1d41ac43b0d59015f3556ca20bf7e4548 06-Feb-2013 Scott Main <smain@google.com> am 11f1c5b8: am b3a57191: am 0a00de11: am 805d2e2d: am 00f49084: Merge "docs: fix renderscript links that currently require redirect" into jb-mr1-dev

# Via Android Git Automerger (4) and others
* commit '11f1c5b89a98cb6794f2b1f158b8c22e38af975f':
docs: fix renderscript links that currently require redirect
b47fa1699a02a96d5da8e175966e9584c6bd5565 05-Feb-2013 Scott Main <smain@google.com> docs: fix renderscript links that currently require redirect

Change-Id: Ie12ff2c4be5ca22ac43dfe3a16868c7bef8e4ae8
/frameworks/base/graphics/java/android/renderscript/Element.java
8140d7b0f62a6e5b54e318c959f2d501f7ee6784 14-Dec-2012 Jason Sams <jsams@google.com> yuv

Change-Id: I3e99740250f1a3cb356bf6906528abc71f8cee2e
/frameworks/base/graphics/java/android/renderscript/Element.java
65c80f824711f084c4ece9204f543a7809534294 09-May-2012 Jason Sams <jsams@google.com> GFX api cleanup 1 of 2

Change-Id: Ib85784c18b1647e51f1d7cf2a4c956d17e1d2e3c
/frameworks/base/graphics/java/android/renderscript/Element.java
9c9ad3f8c218954e46aab81f9af7834cea5675ca 08-May-2012 Stephen Hines <srhines@google.com> 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
/frameworks/base/graphics/java/android/renderscript/Element.java
9da1b5d0301e8d13be8c96cbd12dcda04fcf7118 01-May-2012 Stephen Hines <srhines@google.com> Unhide FONT.

Change-Id: I86258076817bb8f34ce3bb76031df41c08750f8c
/frameworks/base/graphics/java/android/renderscript/Element.java
a0c2eb27b408660b02fa248943166d6c7e447908 20-Apr-2012 Alex Sakhartchouk <alexst@google.com> Deprecate

Change-Id: Idad2c5ad4f8a30f8cc60d88318f2e1809866d309
/frameworks/base/graphics/java/android/renderscript/Element.java
e267f5f2b0f2059fac3b62e5cc09d46b65fdf200 13-Apr-2012 Stephen Hines <srhines@google.com> Merge "Add missing support for Element.FONT()."
3a2914132146f340511425d7f78540098606b512 12-Apr-2012 Stephen Hines <srhines@google.com> Add missing support for Element.FONT().

Change-Id: Id66676958cc41d934b7f01acd65916f6d777d355
/frameworks/base/graphics/java/android/renderscript/Element.java
918e840628a0b40a95fd42618f604ea5a44aebae 11-Apr-2012 Alex Sakhartchouk <alexst@google.com> Unhiding J API's for Renderscript.

Change-Id: I8c2d43ccca94549bc6ca1a914106567ccc125503
/frameworks/base/graphics/java/android/renderscript/Element.java
e07694b24f7d12d72b084b6651356681ebd0efd6 04-Apr-2012 Jason Sams <jsams@google.com> Validate context when using RS objects.

BUG=6035422

Change-Id: I8586be0085b36767289e1f634111c0ff076cec3c
/frameworks/base/graphics/java/android/renderscript/Element.java
3beb60e67a23b8a7381a7ae16338f793a9ee256a 15-Feb-2012 Stephen Hines <srhines@google.com> Vectors of non-primitive types are not allowed.

BUG=6016669

Change-Id: Ibab2dfc5ce3d9ceb5513e6b5ffc53d5df8b7c6e7
/frameworks/base/graphics/java/android/renderscript/Element.java
209481137147e64c72f1d5737085b17736931bda 15-Feb-2012 Stephen Hines <srhines@google.com> Update Element.isCompatible() to work with NONE.

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
/frameworks/base/graphics/java/android/renderscript/Element.java
a041adcb85838ed5dedd811524a1831f964f0fac 27-Dec-2011 Alex Sakhartchouk <alexst@google.com> Merge "Missing getter and additional tests." into graphics-dev
60deb2d9ba186a89d5d74e45f0e928ebaac6a074 27-Dec-2011 Alex Sakhartchouk <alexst@google.com> Merge "Adding tests for element/mesh getters. Fixing bugs found by tests." into graphics-dev
fc8d7a960ac11eaa9dda07b8166ec935513fcceb 23-Dec-2011 Joe Fernandez <joefernandez@google.com> am 2b072677: am 201469f5: am bb7f590a: Merge "docs: Add developer guide cross-references, Project ACRE, round 4" into ics-mr1

* commit '2b072677538de979961b5bf527109fdab1713731':
docs: Add developer guide cross-references, Project ACRE, round 4
2b072677538de979961b5bf527109fdab1713731 23-Dec-2011 Joe Fernandez <joefernandez@google.com> am 201469f5: am bb7f590a: Merge "docs: Add developer guide cross-references, Project ACRE, round 4" into ics-mr1

* commit '201469f54522436be79d4d6665721049bfc74320':
docs: Add developer guide cross-references, Project ACRE, round 4
3aef8e1d1b2f0b87d470bcccf37ba4ebb6560c45 20-Dec-2011 Joe Fernandez <joefernandez@google.com> docs: Add developer guide cross-references, Project ACRE, round 4

Change-Id: I1b43414aaec8ea217b39a0d780c80a25409d0991
/frameworks/base/graphics/java/android/renderscript/Element.java
fd79e02e0fec8620da7affaadcf275cf0518241a 22-Dec-2011 Alex Sakhartchouk <alexst@google.com> Missing getter and additional tests.

Change-Id: I057dd0a29d2cad40d0a0627b4355faeb82bbc229
/frameworks/base/graphics/java/android/renderscript/Element.java
3aac0abe7965ce9e2078c7d5796805d83e39df7c 22-Dec-2011 Alex Sakhartchouk <alexst@google.com> Adding tests for element/mesh getters.
Fixing bugs found by tests.

Change-Id: I6592a3b65f16b21255e7788fe8ee8aaafe268638
/frameworks/base/graphics/java/android/renderscript/Element.java
f5d8ac7cc35747ef7285ccc196f616b96229def9 16-Dec-2011 Alex Sakhartchouk <alexst@google.com> Element getters.

Change-Id: Ibe570464557eeecad108b4d3cb8f02fad13943de
/frameworks/base/graphics/java/android/renderscript/Element.java
e60149d2277da53c4a681b7f3971cf13cd4b012b 16-Nov-2011 Alex Sakhartchouk <alexst@google.com> Expand RS vector3 types to vector4.

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
/frameworks/base/graphics/java/android/renderscript/Element.java
7d5f5e7c8943e043a422ad51c85d4e1684c37e28 18-Oct-2011 Alex Sakhartchouk <alexst@google.com> adding getters to Sampler ProgramRaster, ProgramStore, Element.
Element adds ability to get subelement info. Tests for new stuff.

Change-Id: I4a77b91e4e0e73c95ab28b42c50732a64e71e7b9
/frameworks/base/graphics/java/android/renderscript/Element.java
3c0618be2fdad66f8d2249bd8b83a436b8aadec4 20-Jun-2011 Stephen Hines <srhines@google.com> Merge "Add support for more vector types to RS."
f257e513a11cb89a6cf5200ecf5ae14714cdaf39 14-Jun-2011 Stephen Hines <srhines@google.com> Add isCompatible() to RS Element.

BUG=4203264

Change-Id: Id68aead685f6cbc71c2fbe461cb38382e0563f43
/frameworks/base/graphics/java/android/renderscript/Element.java
836c4a58a7f03485ef433dcdb61837cbc0c39735 01-Jun-2011 Stephen Hines <srhines@google.com> Add support for more vector types to RS.

Change-Id: If1bc34ef6670b6b5de3c1b6b3b3325637b8c7b43
/frameworks/base/graphics/java/android/renderscript/Element.java
8e90f2bc1fa35a2dc7bd2aab8b8241b628800218 01-Apr-2011 Alex Sakhartchouk <alexst@google.com> First draft of fbo in renderscript.
Updating samples and benchmark

Change-Id: I469bf8b842fca72b59475c8fa024c12cf0e14954
/frameworks/base/graphics/java/android/renderscript/Element.java
347697710d033036c533bd6cee409c4b4c19d437 01-Mar-2011 Alex Sakhartchouk <alexst@google.com> Discovered a matrix element bug while writing cts unit tests.

Change-Id: I56709df188a5085611efca804582470340369dc0
/frameworks/base/graphics/java/android/renderscript/Element.java
11518acc8c416023d8c2192b441a1767205676d9 09-Feb-2011 Robert Ly <robertly@google.com> clean up and add javadocs

Change-Id: I7f628106247de887cd91c4a4b4b55d3ebfa700c8
/frameworks/base/graphics/java/android/renderscript/Element.java
252c07802f7039f15f723751162e64a6621e6998 12-Jan-2011 Jason Sams <rjsams@android.com> Add error checks to bitmap uploads.
Fix java side calculation for pixel sizes.

Change-Id: I2636db2ccdc9a330214fe9d8b26617b33e52ec8e
/frameworks/base/graphics/java/android/renderscript/Element.java
a23d4e792cb13090c540edfdd5cee03799bb9d48 05-Jan-2011 Jason Sams <rjsams@android.com> unhide renderscript

Change-Id: I44dd19aec0a994316da22ea8bea01b9962f54680

api update

Change-Id: I77f5365b8b7a919cd572ceb65a9ab3871b9495d0
/frameworks/base/graphics/java/android/renderscript/Element.java
4ef6650bd05a39a09958ea1db92f120ea4949cb1 11-Dec-2010 Jason Sams <rjsams@android.com> Remove CreateFromBitmapRef and add
CopyTo(bitmap) replacement.

Change-Id: Ib73fb9f4bfe5f468eaf0f8f1bf68a93759eef00d
/frameworks/base/graphics/java/android/renderscript/Element.java
bf6ef8d78fffbce6c1849a4a28fb3f4401ad039e 07-Dec-2010 Jason Sams <rjsams@android.com> API review cleanup.

Change-Id: Ieae7d450308b5637ed4253fe9baed3634c6ed141
/frameworks/base/graphics/java/android/renderscript/Element.java
a1b13ed0912a7e08f9848196b4ca64dcb5db9d0b 12-Nov-2010 Jason Sams <rjsams@android.com> Document RS element and type and add validity checking to type creation.

Change-Id: Ic96c0199e27785b3eabde2c6e95ed514915328e9
/frameworks/base/graphics/java/android/renderscript/Element.java
06d69de78845659e6904ae4964e606a7f1a6a4a8 10-Nov-2010 Jason Sams <rjsams@android.com> Continue error check improvements and write some docs.

Change-Id: I345b08490da21d9ee715ff1ddc80c1a816b579f4
/frameworks/base/graphics/java/android/renderscript/Element.java
c1d6210fb5cc558ccea95a59a2b33bb9015fc7de 04-Nov-2010 Jason Sams <rjsams@android.com> More RS exceptions cleanup.
Remove some dead code.

Change-Id: If97e3fdfe6de7bb28f22e1c5ee748c81cea3db93
/frameworks/base/graphics/java/android/renderscript/Element.java
9e401bcd88a0fdeea96f53cb776e5de7b5b084cb 13-Oct-2010 Alex Sakhartchouk <alexst@google.com> Changing scenegraph sample to use arrays.

Change-Id: Ifa454d503c1445efcad6e31243b65d75e62e3035
/frameworks/base/graphics/java/android/renderscript/Element.java
52d836332f6aae74ed97fda1b53681f36710af64 12-Oct-2010 Stephen Hines <srhines@google.com> Support for unsigned long and unsigned long long.

Change-Id: I2f9cfb7f352e2e7e7fd49eac42a821c03b5fcb9f
/frameworks/base/graphics/java/android/renderscript/Element.java
ef1dac28d3bf98bd61cd9874fb3ccab42105e9b6 02-Oct-2010 Stephen Hines <srhines@google.com> Support for 64-bit integer type.

b/3050131 exported renderscript structures don't appear to support int64_t

Change-Id: I9aea676425b694a3a6457e63e38b00e591847e20
/frameworks/base/graphics/java/android/renderscript/Element.java
02f41705199336f808ece50d81585450e7f8f61f 01-Oct-2010 Stephen Hines <srhines@google.com> Finish plumbing for double RS elements.

Change-Id: Ic708dcaeda4966bb2121ecb6834f56cfa68ad58e
/frameworks/base/graphics/java/android/renderscript/Element.java
70d4e5024298f71edb3b04867e05568f5495b4ce 03-Sep-2010 Jason Sams <rjsams@android.com> Add arrays to elements.

Change-Id: I624b03bfc1fd26136afd9305a96026b91b1fad3c
/frameworks/base/graphics/java/android/renderscript/Element.java
1d45c47975ab2a8cef6db5a8976276de31e1e8d0 25-Aug-2010 Jason Sams <rjsams@android.com> Add matrix component types.
Fix potental overflow in script -> java messages.

Change-Id: Ie6fd9dc376be4043fc938a1517106936937689c8
/frameworks/base/graphics/java/android/renderscript/Element.java
0de9444aa6c25d2c586e8204a6168d10e67376e0 11-Aug-2010 Alex Sakhartchouk <alexst@google.com> Preparing renderscript java code for use with phanton references.
Changing rs_quaternion to be float4

Change-Id: Ibf49f412be8979eaa04cb252b407467eacd9dbf0
/frameworks/base/graphics/java/android/renderscript/Element.java
dfac814c18f73dd7289f9927edca3e3b6ec6bc00 15-Jul-2010 Alex Sakhartchouk <alexst@google.com> Populate java objects with native data from a3d file.
Remove legacy constructor from programraster
Make a3d object creation synchronous

Change-Id: Ic7d7547cf6eee6f9a7c6e3ee12cd104e80056a7b
/frameworks/base/graphics/java/android/renderscript/Element.java
f110d4b787b91dabe968a812e76e5c1f8d953487 22-Jun-2010 Jason Sams <rjsams@android.com> Move ImageProcessing and ModelViewer to reflected files.
Implement boolean support.

Change-Id: Iac2dc28067ac430b3e413fc651dfaa0b96214e2e
/frameworks/base/graphics/java/android/renderscript/Element.java
e29f3e74f71ea730519ff8ae1d8dd4c1630bbaf9 09-Jun-2010 Jason Sams <rjsams@android.com> Begin using reflected files.

Change-Id: I5307a0eac9c206b85c0cf7451d3f8300134bf8e3
/frameworks/base/graphics/java/android/renderscript/Element.java
8cb39de03aef6097a90033600d11a60ae000a6e4 02-Jun-2010 Jason Sams <rjsams@android.com> Remove RS_KIND from vertex arrays types.
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
/frameworks/base/graphics/java/android/renderscript/Element.java
b42315d37ab22e64ef88d3aed38ed75fd7071eed 15-May-2010 Jason Sams <rjsams@android.com> Delete old createFromClass methods.
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
/frameworks/base/graphics/java/android/renderscript/Element.java
a70f416c9cf2fc6cc5e132c1d656ce07441d6b82 26-Mar-2010 Jason Sams <rjsams@android.com> Checkin new types for RS.

Change-Id: I3d7a1a91c45cc1c97c60f3615f32e54e98e12f91
/frameworks/base/graphics/java/android/renderscript/Element.java
a09a6e145b778861f7abee86ce17e59507ed221e 06-Jan-2010 Jason Sams <rjsams@android.com> More complete support for named attribs. Adds user typed attribs as available to programVertex. Non user attribs are not treated like user for GL2 for simplicity.
/frameworks/base/graphics/java/android/renderscript/Element.java
7d46f612a25fc9f190358e9bd807b71d424ce7d2 23-Dec-2009 Jason Sams <rjsams@android.com> Disable excessive RS logging.
/frameworks/base/graphics/java/android/renderscript/Element.java
718cd1f322ee5b62b6a49cb36195bcb18a5ab711 23-Dec-2009 Jason Sams <rjsams@android.com> 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.
/frameworks/base/graphics/java/android/renderscript/Element.java
771bebb94054d06f97284379c93a2620613513c3 07-Dec-2009 Jason Sams <rjsams@android.com> Add Java exceptions to catch RS calls with no context or no surface.
/frameworks/base/graphics/java/android/renderscript/Element.java
3c0dfbab807a459622aeade4940daddf482dec66 28-Sep-2009 Jason Sams <rjsams@android.com> Improve logging code to dump more detaild rs object info. Fix bug with predefined elements not being recreated for contexts after one was destroyed. Add stricter type enforcement.
/frameworks/base/graphics/java/android/renderscript/Element.java
768bc02d815a94ad29146f1ed60c847d1af118cc 22-Sep-2009 Jason Sams <rjsams@android.com> Implement more type checks on Allocations.
Add tracking for allocations created using the "sized" helper.
Add more param validation for data upload calls.
/frameworks/base/graphics/java/android/renderscript/Element.java
ea84a7c51790f9ba5f2194a66d6cf4ea8d879776 04-Sep-2009 Jason Sams <rjsams@android.com> Remove "predefined" elements from Java layer. Static elements continue to exist but are no longer treated as a special version of element.
/frameworks/base/graphics/java/android/renderscript/Element.java
2525a815220652b37e2e390fe8c62394a6d0e574 04-Sep-2009 Jason Sams <rjsams@android.com> Improve structure support using symbol lookup of named structures in scripts to allow them to appear as just pointers to structs.
/frameworks/base/graphics/java/android/renderscript/Element.java
07ae40623737a6060b8a925fd2e6bba76780dcd4 28-Aug-2009 Jason Sams <rjsams@android.com> Implement async data/subData. Implement TriangleMeshBuilder in SimpleMesh which replaces TriangleMesh. Update Film to use new builder.
/frameworks/base/graphics/java/android/renderscript/Element.java
25ffcdc9d7e32c9c1eeb2b48cc2f17d1353e9fae 21-Aug-2009 Jason Sams <rjsams@android.com> Point Sprites
/frameworks/base/graphics/java/android/renderscript/Element.java
7ce033d797e5df5e2131e2ed459fba181eaf4658 18-Aug-2009 Jason Sams <rjsams@android.com> 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.
/frameworks/base/graphics/java/android/renderscript/Element.java
4f7136c6595ba862be49a660180f084dad17325b 18-Aug-2009 Romain Guy <romainguy@android.com> Optimized Galaxy
/frameworks/base/graphics/java/android/renderscript/Element.java
334ea0c98f051b5a6b85bc616c93304651854298 17-Aug-2009 Jason Sams <rjsams@android.com> Update fountain and add writable flag to script slots.
/frameworks/base/graphics/java/android/renderscript/Element.java
81e4640d18d451992cb504b356ff4d2dc1b7f297 15-Aug-2009 Romain Guy <romainguy@android.com> Add Galaxy wallpaper
/frameworks/base/graphics/java/android/renderscript/Element.java
43ee06857bb7f99446d1d84f8789016c5d105558 13-Aug-2009 Jason Sams <rjsams@android.com> Implement reflecting Java objects into the ACC enviroment.
/frameworks/base/graphics/java/android/renderscript/Element.java
1bada8cd6e4f340de93cff4a2439835fc3b1456c 10-Aug-2009 Jason Sams <rjsams@android.com> Begin implementing SimpleMesh and fix some bugs with refcounting and java object destruction tracking.
/frameworks/base/graphics/java/android/renderscript/Element.java
22534176fb5c1257130ef4ee589739ca42766a32 05-Aug-2009 Jason Sams <rjsams@android.com> Split ProgramFragment and ProgramStore from RenderScript.java. Update Element and Type to new cached builder for easier app developement.
/frameworks/base/graphics/java/android/renderscript/Element.java
36e612a488511940b61f09803b270aa1c61b68e0 01-Aug-2009 Jason Sams <rjsams@android.com> Begin splitting up RenderScript.java into seperate classes. First piece split off Element.
/frameworks/base/graphics/java/android/renderscript/Element.java