History log of /frameworks/rs/rsElement.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
49a87772b9abe620d28cbe110260424b8950055d 10-Jul-2014 Tim Murray <timmurray@google.com> Add missing delete operators to Type and Element.

bug 15861251

Change-Id: I6cbf64f6cb24d2fb3f8ee048c08a982efd4a683e
/frameworks/rs/rsElement.cpp
a36c50a6ab87f4c9049318d4c6c8ec7b0a1e6e12 17-Jun-2014 Jason Sams <jsams@google.com> Add 64bit large object support

Add HAL hooks for filling in LO fields.

Change-Id: Ib9bdee714a062de519d2a9708c1016404a1b11a4

Conflicts:
driver/rsdBcc.cpp
driver/rsdCore.cpp
rsAllocation.h
rs_hal.h
/frameworks/rs/rsElement.cpp
665eafe0287f0d12c3f049a4f73b95db6e38b3f0 01-Jul-2014 Tim Murray <timmurray@google.com> Move element and type allocations to the HAL allocator.

Change-Id: Ibbd7ac14008ad02da13655d7793eaa9e37254057
/frameworks/rs/rsElement.cpp
e3af53b643677c40d228ffd3624cf259f4dc68ed 10-Jun-2014 Tim Murray <timmurray@google.com> Update structs and defines for 64-bit.

Also adds RS_FIND_OFFSETS, which prints address info for various types that allow us to easily update __pad.

Change-Id: I4d57248e155d113c83ff69f4f8f64160aa24fb9b
/frameworks/rs/rsElement.cpp
f51f8c741dda633f525a3eeb7552bff5819a75f0 23-Jul-2013 Tim Murray <timmurray@google.com> Merge "Move rs.h functions over to extern "C"."
c2ce707a3d1a8eae79bcf1c749afc6d6e7969ad9 18-Jul-2013 Tim Murray <timmurray@google.com> Move rs.h functions over to extern "C".

Change-Id: I0503a64d93dda558455dfebca90a0c820c80d7b1
/frameworks/rs/rsElement.cpp
48ecf6a5e85a9a832f41393ed2802385bb8b5db8 10-Jul-2013 Jason Sams <jsams@google.com> Remove more String8

Change-Id: I2b43c3c104eab7cb3b6573bea4858f6c2d0a76ca
/frameworks/rs/rsElement.cpp
f313dc32d5ea68a7c48fb4ec6e131ec2fb97ce2d 09-Jul-2013 Jason Sams <jsams@google.com> Remove internal element builder and vector code.

Remove additional String8 references from shared includes.

Change-Id: Iede11384b9fc5a303d15d47fd4074c800dc6ad5f
/frameworks/rs/rsElement.cpp
099bc262f862cdeb547cf8a78fe9e0e92560f437 21-Mar-2013 Tim Murray <timmurray@google.com> Start making RS 64-bit clean.

Change-Id: Ie40ad9a1d2b59094c86eb7e40b358e60120ce213
/frameworks/rs/rsElement.cpp
807fdc4b6f3fb893015ee136565d6151bb2332d3 26-Jul-2012 Jason Sams <jsams@google.com> Move memory layout to driver.

This change moves all allocation data copies to the
hal. Also removes stride from the runtime. Follow on
changes will remove the malloc pointer from the runtime.

Change-Id: I30967c739800cd4b97186e9fc8b69f26a3f2787d
/frameworks/rs/rsElement.cpp
e3150cfb3edb028407669e4a65e087eae77e718c 25-Jul-2012 Jason Sams <jsams@google.com> Plumb context through for serialization.

Change-Id: I2a49f57aa7576604deeac898a7cceb36ae68d66f
/frameworks/rs/rsElement.cpp
03f1910431433f3a35f1445aa0bba2b00417f0cc 10-Jan-2012 Steve Block <steveblock@google.com> resolved conflicts for merge of 08289f55 to graphics-dev

Change-Id: I2c95cd461e364cbeae7ffbaea7ad5c87713d7df7
af12ac6a08651464f8d823add667c706f993b587 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/157220

Bug: 5449033
Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
/frameworks/rs/rsElement.cpp
b7c8c521cfa5c8b6801720ad31d026228dc1e784 22-Dec-2011 Alex Sakhartchouk <alexst@google.com> Adding tests for element/mesh getters.
Fixing bugs found by tests.

Change-Id: I6592a3b65f16b21255e7788fe8ee8aaafe268638
/frameworks/rs/rsElement.cpp
50bfc354e61e174a465893fd0dafe913f1954478 20-Dec-2011 Alex Sakhartchouk <alexst@google.com> Adding simple hal struct to type.
Fixing off by 1 error in the element.

Change-Id: I0b142942c760cb861007af7099d35d0363f4e13b
/frameworks/rs/rsElement.cpp
253325d2a19162c1dd18de59c357e36adf4a760b 15-Dec-2011 Alex Sakhartchouk <alexst@google.com> Element HAL sturct, script side getters

Change-Id: If98dd4c22bce58dca2c9739c8aee935a2dd0b493
/frameworks/rs/rsElement.cpp
2d1220c27ae91f0b307f283fe66cb767b63dfe38 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/rs/rsElement.cpp
6598201f1c4f409defac9a5af789fb53a7cc00f8 20-Oct-2011 Steve Block <steveblock@google.com> Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/143865

Bug: 5449033
Change-Id: I0122812ed6ff6f5b59fe4a43ab8bff0577adde0a
/frameworks/rs/rsElement.cpp
31aca7dfb577503e789a0ec4e47e8c51d447bfcf 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/rs/rsElement.cpp
98cc35525b2563bf5c7bf05d856693e16ce71e34 19-Aug-2011 Alex Sakhartchouk <alexst@google.com> Fixing the lockless fifo destory bug.
Removing unused code from element. build.

Change-Id: I4bb324a666486d6d3fa45cc1995d0e96cb99f70a
/frameworks/rs/rsElement.cpp
c700e649ca44d0dcff8b271e42d949ea72fe3c63 16-Aug-2011 Alex Sakhartchouk <alexst@google.com> Fixing asynchronous performance issues.

Change-Id: I10f02cd37a33a6c655814d24e0a4291dc044fba3
/frameworks/rs/rsElement.cpp
49464a9b664dc8f98e9991a455d27a850bd15ff6 12-Jul-2011 Alex Sakhartchouk <alexst@google.com> Fix for the renderscript ref counting bug.

This only manifested itself in the situations where elements containing multiple ref counted objects were copied from Java.

Change-Id: I2c1cc89fe7f792259b3f033674142eb33d17a507
/frameworks/rs/rsElement.cpp
2008747941749ad27fe80663d23036ac320e998f 06-May-2011 Jason Sams <rjsams@android.com> Add code for generating fifo command packing.

Change-Id: I2d2ef095344b200b10457de96ae1d85821edc91e
/frameworks/rs/rsElement.cpp
70b83c111beceaf8fbb700580833e7fec99272cf 06-Apr-2011 Alex Sakhartchouk <alexst@google.com> Modifying libRS internal communication to handle network rendering.

Change-Id: I8c8b3cc3402ecf4ba774e1d668dce25ff0af0e5a
/frameworks/rs/rsElement.cpp
77d9f4bd05b2d2a161f30c12a2248f9c97eaac42 31-Jan-2011 Alex Sakhartchouk <alexst@google.com> Cleaning up the serialization change.
Renaming the define to be more in line with what it does and removing the host stub header file.

Change-Id: Ibd3a0a6a398c7f81cc661f71e4478707fe1679ed
/frameworks/rs/rsElement.cpp
099d7d33e55afeb3399f6e8cf8d665223ca94939 28-Jan-2011 Alex Sakhartchouk <alexst@google.com> Making sure we can build libRS on the host for serialization.

Change-Id: If0a5d77b20c0e1e2d124fa0737643a5dd1d4409a
/frameworks/rs/rsElement.cpp
87319de2b16a185cf360827c96a42cf1fcaae744 23-Nov-2010 Jason Sams <rjsams@android.com> More error checks

Change-Id: Id2b9ab7a76bbdf2ed745f5e36e552dc9b101982f
/frameworks/rs/rsElement.cpp
afb743aca56c18beb7ab924e75cb6e070ef3e55a 10-Nov-2010 Alex Sakhartchouk <alexst@google.com> Code cleanup to make formatting consistent
across all the renderscript files.

Change-Id: Idf5fcc60877e44c8f074f7176e37f70b3b895a3c
/frameworks/rs/rsElement.cpp
54929cce0bf44090424b1f91b676529a2422378f 09-Nov-2010 Alex Sakhartchouk <alexst@google.com> Moving attrib creation to Mesh. Adding arrays as shader inputs.
Removing fixed size arrays.

Change-Id: I0213e403a2f1283dd43f21bea770aeb059561903
/frameworks/rs/rsElement.cpp
dc763f345db3e796efc28dc4b4d8edffda5a803e 27-Oct-2010 Alex Sakhartchouk <alexst@google.com> Adding nvidia extension for limited npot support.
Updating a3d loading to be async.

Change-Id: I4be71d2002b9ad6ab8896d63e625f031e6b7ea6c
/frameworks/rs/rsElement.cpp
f0c1df480304a72ce41e7d4b088319cbd7f0938a 26-Oct-2010 Jason Sams <rjsams@android.com> Begin adding async allocation creation.

Change-Id: I5d1381699e2b334c1d824f357bd6b310a5f79be8

Implement async bitmap upload and clean up types.

Change-Id: Icbe9894e04c1319351c1cd75b0e0017855198f20
/frameworks/rs/rsElement.cpp
225afd317e101a7be5fe02c0a86361146ea89f05 21-Oct-2010 Jason Sams <rjsams@android.com> Fix refcounting bugs where the sys refcount
could be corrupted during async type creation.

Change-Id: If42828e92990598b0cb5da81c82ea513f94725f2

Fix stack object deletion bug.

Change-Id: I2c723aa5ad15e0c99dc9cd0cfbc7db80bace172a
/frameworks/rs/rsElement.cpp
963bb455b6130fac7a93e2352a4910e446a65a71 13-Oct-2010 Alex Sakhartchouk <alexst@google.com> Changing scenegraph sample to use arrays.

Change-Id: Ifa454d503c1445efcad6e31243b65d75e62e3035
/frameworks/rs/rsElement.cpp
39f2ef6fed00a99c5c389e12c4597884027d4858 11-Oct-2010 Alex Sakhartchouk <alexst@google.com> Update allocation from bitmap.
GL attribute cleanup in type.

Change-Id: I504dcf6744ad13d65e068e784b6608c999ab48c6
/frameworks/rs/rsElement.cpp
383e5b1f68c321a77bfd7466fa1171a9bfab4a6f 24-Sep-2010 Alex Sakhartchouk <alexst@google.com> Adding support for all allowed textures.
Cleaning up unused code
Adding error messages

Change-Id: I3a92476738ff7699d49feeafcd3eee6f70621acb
/frameworks/rs/rsElement.cpp
e7ae69f4a70f1813cf8086ebd9714192c635300a 14-Sep-2010 Alex Sakhartchouk <alexst@google.com> Shader changes to allow for more flexible constant binding.

Change-Id: Ic66e6e2a371c6e3d5dce1b00f63acab8c09bd110
/frameworks/rs/rsElement.cpp
46e45548dc80e801139c9ccc2f2aa927e7f35027 03-Sep-2010 Jason Sams <rjsams@android.com> Add arrays to elements.

Change-Id: I624b03bfc1fd26136afd9305a96026b91b1fad3c
/frameworks/rs/rsElement.cpp
10e5e570bab66a6cd543c857b26c576795eb240f 12-Aug-2010 Jason Sams <rjsams@android.com> Fix field packer bug for U32 data.
Fix initial refcounts in allocations.
Support null references in allocations.

Change-Id: Ifba6406ba750e69737bd77fa7df5d7fb8e27a5b4
/frameworks/rs/rsElement.cpp
e6d9fbc31bef01219cc812e819c505ff01673c6f 11-Aug-2010 Alex Sakhartchouk <alexst@google.com> Adding allocation reference counting to the a3d models.

Change-Id: I225b431d09bfebbebf49df75b7df5e4d5961a564
/frameworks/rs/rsElement.cpp
e3929c9bc6f3897e132304faf1b40c3cf1f47474 10-Aug-2010 Jason Sams <rjsams@android.com> Refcounting in allocations.

Change-Id: Ida2dfb404b2cd832e622d981d73a938d5bc5b821
/frameworks/rs/rsElement.cpp
417e6a486adb02b3b29ada9725286f554cc6d0d3 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/rs/rsElement.cpp
5e9811f075f5a96925785a95afeda22592a840ac 22-Jun-2010 Jason Sams <rjsams@android.com> Move ImageProcessing and ModelViewer to reflected files.
Implement boolean support.

Change-Id: Iac2dc28067ac430b3e413fc651dfaa0b96214e2e
/frameworks/rs/rsElement.cpp
b825f67adb5d1e1751fe108e6dbf9c6f2555c283 04-Jun-2010 Alex Sakhartchouk <alexst@google.com> Creating the jni and java layer to integrate a3d

Change-Id: I438359633bae59bf9188cd2c4664a92ca16c5f37
/frameworks/rs/rsElement.cpp
fb6b614bcea88a587a7ea4530be45ff0ffa0210e 21-May-2010 Alex Sakhartchouk <alexst@google.com> Removed unnecessary change based on comments.
Now using android utils lib.
collada_to_a3d seems to work with android util libs.
Integrating old changelist
Changing assert to rsAssrt in VertexArray
making context compile.
Change-Id: I33890defa777f09253bfab630d97782359ec49d7

Added serialization code to rsLib
Integrated old changelist
Change-Id: Ie4746113f6d1817fbb3264f97fdddde25b779311

Added serialization code to rsLib

Change-Id: Ie4746113f6d1817fbb3264f97fdddde25b779311
/frameworks/rs/rsElement.cpp
8154954868694e1f233d87d4933a474518b1cb81 18-Feb-2010 Jason Sams <rjsams@android.com> Implement type collapsing for Elements and Types. Now if a user creates two or more identical objects we simply reuse the existing object rather than create a new one.
/frameworks/rs/rsElement.cpp
b4d3568f68b1ae97e2a82061cccf220f8e93cd94 05-Jan-2010 Jason Sams <rjsams@android.com> Add RS support for generic attribs as input to vertex programs.
/frameworks/rs/rsElement.cpp
0c0ccb01874f41e2028de017ec0d90fb66dbb079 23-Dec-2009 Jason Sams <rjsams@android.com> Disable excessive RS logging.
/frameworks/rs/rsElement.cpp
d01d970cf5973aa5186cc02c80fb2c143a69b0b1 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/rs/rsElement.cpp
4815c0d121310cfcd6a8aba4eab77a9910af53ac 15-Dec-2009 Jason Sams <rjsams@android.com> Continue development of es2.0 user shader support for renderscript. This change cleans up ProgramVertex creation and adds support for passing input, output, and constant type info.
/frameworks/rs/rsElement.cpp
e12c1c591b4219e80f29c6c0e0c62c9578b75450 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/rs/rsElement.cpp
f2649a961db2995e9e24a6c98f8a419f1496c1b7 26-Sep-2009 Jason Sams <rjsams@android.com> Improved object lifecycle tracking and fix leaks.
/frameworks/rs/rsElement.cpp
e514b45de8561fbc6ef6770845102ca10b0a69d7 25-Sep-2009 Jason Sams <rjsams@android.com> 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.
/frameworks/rs/rsElement.cpp
8287c0c89bb346a9f251505ac5d5ceb8f449bbaf 24-Sep-2009 Jason Sams <rjsams@android.com> Removed last bits of predefined element types from native code. Predefined types are now constructed at the java layer from standard building blocks.
/frameworks/rs/rsElement.cpp
9397e30ce5fe3f6af9212a93b490836b04fdfffa 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/rs/rsElement.cpp
707aaf341a4b068e6ccadf923af85acdd85fd775 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/rs/rsElement.cpp
8b2c065dfc16c148e2829a19e83d2269b9bcd4cc 13-Aug-2009 Jason Sams <rjsams@android.com> Implement reflecting Java objects into the ACC enviroment.
/frameworks/rs/rsElement.cpp
e5ffb879ae535a899a486285a23bea05e912480f 10-Aug-2009 Jason Sams <rjsams@android.com> Begin implementing SimpleMesh and fix some bugs with refcounting and java object destruction tracking.
/frameworks/rs/rsElement.cpp
992a0b70d8fd7a14f0c57bc3c7e16c1f269a6609 23-Jun-2009 Jason Sams <rjsams@android.com> Cleanup logging and fix a startup race condition that manifested on Firestone.
/frameworks/rs/rsElement.cpp
565ac36ee479f9d7b83e2030ac9646a09cb886a1 04-Jun-2009 Jason Sams <rjsams@android.com> Generalize bitmap support and add remaining GL formats.
Fix bug in command fifo looping case.
/frameworks/rs/rsElement.cpp
6678e9b2568ad041429a2477177133fe4932159f 27-May-2009 Jason Sams <rjsams@android.com> Implement first pass bitmap to allocation support. The Java bindings can create a 2D allocation by passing in a Bitmap object.
/frameworks/rs/rsElement.cpp
326e0ddf89e8df2837752fbfd7a014814b32082c 22-May-2009 Jason Sams <jsams@google.com> Add the Renderscript library. (Not in the build by default yet.)

This library can be used to create animated 3D User Interfaces.

This library is currently under heavy development, so it's not part of
the build by default.

In order to build this library, you must define

BUILD_RENDERSCRIPT=true

in your build environment.

You will also have to manually edit

build/core/prelink-linux-arm.map

And add libRS and libRS_jni at the end like this (exact address may change.)

libRS.so 0x9A100000
libRS_jni.so 0x9A000000
/frameworks/rs/rsElement.cpp