History log of /frameworks/rs/rsContext.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ea2e4d37418c6ada5d3c8cd08b8e60348dd46790 11-Jun-2015 Jon Parr <jon.parr@imgtec.com> Allow drivers to alter the default driver name on rsdHalInit

Bug: 20894432

Permit partner drivers via Context::setDriverName to choose their
own mDriverName rather than the default OVERRIDE_RS_DRIVER string.

This can only be done once from within rsdHalInit otherwise it will
be ignored and the default behaviour will apply.

Change-Id: I49b81e60f7983a81f0e71fbef4b46f9bfc834849
(cherry picked from commit b268abd5528936d13a85b03f44458fe3a55cafad)
/frameworks/rs/rsContext.h
93fbc61ad282cbbf4a6a93396fdd8747b1fe3451 08-May-2015 Stephen McGroarty <stephen@codeplay.com> Added in wait for attach context flag.

Added in a small flag which is passed to the context from the Java/C++ API
which causes the context to delay execution until a debugger is a attached.
This gives time to the developer to attach a debugger to the process before
the kernel is executed.

Change-Id: I5bb8e75100436920f9e1a0f414f3b0bcf0d2b439
Signed-off-by: Stephen McGroarty <stephen@codeplay.com>
(cherry picked from commit d5164d537c84867880694327727b5f22b0a3ccbd)
/frameworks/rs/rsContext.h
867ce7f7985175e77f679141b698c474bd52b4c1 19-May-2015 Jason Sams <jsams@google.com> Fix cache path initialization and set.

Add null terminator to strings
Return nullptr if string is not set

bug 20894664

Change-Id: I33f5d84d56f6299558f5d8713694e40afc82dd20
/frameworks/rs/rsContext.h
d97617a0a736b4dadcf978bfc1fa0aef0d4d50d3 08-May-2015 Jason Sams <jsams@google.com> Add a way to link against different driver names.

The existing linker path hard-coded "-lRSDriver" into the command line, but
this won't work for partner drivers that have a different implementation
loaded. In order to still properly handle use of the CPU driver, this needs
to change depending on whether we actually loaded an OVERRIDE_RS_DRIVER or
not.

bug 20894664

Change-Id: I0c4a4f12f5db819b234952bc8f364ac6300f147b
/frameworks/rs/rsContext.h
84bf95dece5bdac4a56b6f40c160e85cc7bb9732 09-Apr-2015 Jason Sams <jsams@google.com> Fix object logging

Change-Id: I1731637412cf9e894f2b73dc32ab3370f6467160
/frameworks/rs/rsContext.h
ea6e0621b4716ed77635f9d81787ee7057752af1 08-Apr-2015 Tim Murray <timmurray@google.com> Add cache dir to context object.

Change-Id: Icc3220329fbaee7d453259fbe1cbf34d145d195c
/frameworks/rs/rsContext.h
4efe3d38ee1d7b76c93a47ce6218b1f708fd4d9a 19-Mar-2015 Jason Sams <jsams@google.com> Add fatal error check

Prevent launching additional commands if the process is dying
This increases the chance the developer will get the error message
before we segfault somewhere.

Change-Id: I575906b22364c0d03859140570ca29bf8f336c01
/frameworks/rs/rsContext.h
0ca7cbaea8d5cf18f25d1148be75fbb6e2d86c62 11-Mar-2015 Jason Sams <jsams@google.com> Refactor hal loading

This CL make the loading of RS drivers more robust by
looking up entry points in place of a structure of entry points.

It also adds framework for a version handshake.

Change-Id: Iae46bf0171785c0ca1048223816b6efc60c337ad
/frameworks/rs/rsContext.h
b8353c5943f4038fd7f08db3d958390ce9418798 15-Feb-2015 Yang Ni <yangni@google.com> Revert "Replaced android::Vector with std::vector."

b/19148482

This reverts commit 93d6bc872b7d9fba63abfa7513d56b38d9c3d371.

I also made some changes to Make it work with HEAD.

Change-Id: I5e516976ec1d85ffe1cf388c01795348a9441982
/frameworks/rs/rsContext.h
f3213d7fd648da98bb3b03204eaf90f03c31926b 14-Jan-2015 Miao Wang <miaowang@google.com> Make rsContext be able to have info about the path of native libs
for 64bit Renderscript compat lib.

- Native lib path stored in Java and queried from JNI.
- Then set to Context during context creation.

Change-Id: I3c997cf849efb7b9a0b0ac35d5b62289d70e7434
/frameworks/rs/rsContext.h
44bef6fba6244292b751387f3d6c31cca96c28ad 12-Aug-2014 Chris Wailes <chriswailes@google.com> Replace NULL macros with nullptr literals.

Change-Id: I918c40879aa547438f77e7d1a95fa2aa33bec398
/frameworks/rs/rsContext.h
93d6bc872b7d9fba63abfa7513d56b38d9c3d371 29-Jul-2014 Chris Wailes <chriswailes@google.com> Replaced android::Vector with std::vector.

Change-Id: I4c6abd964dc4b1412ec2e592fc8e835fecfe53f6
/frameworks/rs/rsContext.h
416f4b6d3ee6f30b747e7cd556b28d84b0226cf3 26-Jun-2014 Jason Sams <jsams@google.com> Pass context creation flags to driver init.

Change-Id: I08806939c0fdaf87ff234a78f7f309d0d0dc548c
/frameworks/rs/rsContext.h
23037481bccbc09baa8f76b0015534571ccd2a4e 26-Mar-2014 Jean-Luc Brouillet <jeanluc@google.com> Remove the obsolete ScriptCState. Simplify cascading #ifdefs.

Change-Id: I1cb561c6325d80c764d386f7b76e6a416261cd8f

modified: rsContext.h
modified: rsScriptC.cpp
modified: rsScriptC.h
/frameworks/rs/rsContext.h
397b0b17fd26439eb82a76fea903952b88e5cc96 08-Jan-2014 Tim Murray <timmurray@google.com> Make object destruction asynchronous.

Change-Id: Ie4a5e35f11da6f26dca273d79462952b0e3722c1
/frameworks/rs/rsContext.h
f2748276ea84bed83728e38a6661946b5fb3bc5c 27-Nov-2013 Jason Sams <jsams@google.com> implement finish

Change-Id: If1ec99d0dbcf7aebf9d90d7779bf3ff34a8963f2
/frameworks/rs/rsContext.h
84e3dea053bea25c1cec44ffb298f8b5b9b9141a 10-Sep-2013 Tim Murray <timmurray@google.com> Add flags word to context initialization.

bug 10427951

Change-Id: If3b9337712bd16655de4a42ccf829bbcd9e01b6e
/frameworks/rs/rsContext.h
574854bcb2eb25a85b9b52faf2fb3e743fa7aa14 10-Jul-2013 Stephen Hines <srhines@google.com> Fix up master issues with tracing/logging and the compatibility library.

Change-Id: Ia35ca58807a78ea01c4da6c44b4d5e29e65e0cfd
/frameworks/rs/rsContext.h
fa85e9143c6f6a227c67bab5f08ff86194abdf2a 23-May-2013 Tim Murray <timmurray@google.com> Enable very basic tracing support.

Change-Id: I524a857390e0bbc49273989caf56f03b51de65cf
/frameworks/rs/rsContext.h
cca3d6ca444bef3b6d75431ec19bd07bfe40a733 15-Apr-2013 Stephen Hines <srhines@google.com> Add support for DEBUG context type.

Bug: 7343201

This change adds switching for the debug runtime (libclcore_debug.bc) when
running under a DEBUG RS context. It also fixes a small naming issue for
rsSetElementAt_int().

Change-Id: I8b574c9ce915a440375530325ba7de2b46707cfd
/frameworks/rs/rsContext.h
4961cceab2b71bf0ab59e1b66a7559f67ed28781 12-Apr-2013 Jason Sams <jsams@google.com> USAGE_IO notifications for new buffers.

bug 8566866

Change-Id: I49767ee902400f09b9b1c174e0fecac5b41e5611
/frameworks/rs/rsContext.h
93eacc7ce0aad4314b4cb41a281f59ce54bb3286 18-Dec-2012 Jason Sams <jsams@google.com> Cleanup diff with compat.

Change-Id: Ieedcdec03ccb05cac68cbebbd398e07cb885f4d3
/frameworks/rs/rsContext.h
4d252d6e807b89764dad123ac845df298c52ca97 29-Nov-2012 Tim Murray <timmurray@google.com> enable synchronous mode (functional)

Change-Id: I613610013e7e4d1623620ab94d2d25d8a1bd82b3
Bug: 5972398
/frameworks/rs/rsContext.h
0e92fa3775b3537c29a7a0ca603d892548936038 06-Nov-2012 Tim Murray <timmurray@google.com> Add flag for enabling CPU-only execution.

Change-Id: I5f6ba33899716ddd82ed2e6325b0a7a9fd8a9ffe
/frameworks/rs/rsContext.h
0c66f0795ad0b45934502820df6d718b9096edfa 23-Oct-2012 Tim Murray <timmurray@google.com> Move runtime loading into a separate helper function.

Change-Id: Ib7cd60fefff6d1ff553fdd07fa4a2cb2dc7c0af5
TODO: add validation of HAL struct
TODO: add storage of driverSO for dlclose later
/frameworks/rs/rsContext.h
dbe66d6783c1e53cd1572de0ef6ef6fdf6f76f48 17-Sep-2012 Jason Sams <jsams@google.com> Add backed for script groups.

Change-Id: If2fdbde7381fcdaeb54d41a913b855fd83d4f186
/frameworks/rs/rsContext.h
da3b58d804b59595f1c618ff271fecd8a9ce59ed 03-Aug-2012 Shih-wei Liao <sliao@google.com> Fix build. New clang has stricter checking.

Change-Id: I1c8a826f41ed9fa503ce0545d85c198a5151ab6e
/frameworks/rs/rsContext.h
d1f7da6803a1bfc0bf8129a66316cfb8994e7110 16-Mar-2012 Jason Sams <jsams@google.com> Add prop to force cap compute threading.

bug=6124869

Change-Id: Ibf2cc388f3906cea2741382ff5e522e3b416393c
/frameworks/rs/rsContext.h
4edf030cbb7c6ac08dc563335c2af73c20f6e2e5 09-Mar-2012 Alex Sakhartchouk <alexst@google.com> More header untangling.

Change-Id: I090943775cbda8d9515cdb484957f6b05d5b1799
/frameworks/rs/rsContext.h
d3e4b744900ed6666f4dd3182ad5443be26c96dd 08-Feb-2012 Jason Sams <jsams@google.com> Merge commit 'bdeec118' into manualmerge

Conflicts:
libs/rs/rsThreadIO.h

Change-Id: I7f448996a86f41188b47ec3dc353c364692e8bf2
5f27d6fb0b0b9184ba9820c629fc1354a635e515 08-Feb-2012 Jason Sams <rjsams@android.com> Implement RS VSync on new vsync infrastructure.

Change-Id: I662159a086a56e28732dd64a3a3cb30f8d4b72b1

Replace lockless fifo from server to client with sockets.

Change-Id: I99a4ab4f18496c0fbac96ee7b8099797af4712ea
/frameworks/rs/rsContext.h
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/rsContext.h
8310d9647999b30a321d1e66383ad904561cf8fe 17-Nov-2011 Alex Sakhartchouk <alexst@google.com> am 50445568: Merge "Fixing FBO font rendering bug that resulted from using old surface size."

* commit '5044556861af496d6451aef3f69a4df0d1b591c9':
Fixing FBO font rendering bug that resulted from using old surface size.
a74a8f635ce4fae0a9d4b9c79e9fa412787bf6a2 16-Nov-2011 Alex Sakhartchouk <alexst@google.com> Fixing FBO font rendering bug that resulted from using old surface size.

Change-Id: I31d0967bb36ca6ffb6a4c8194597d3c523cfe954
/frameworks/rs/rsContext.h
9e0afb5a2b3e476c42a373e7cd89cef4a34f8195 31-Oct-2011 Jason Sams <rjsams@android.com> Path rendering

Change-Id: I5379a676c9ec6a9b25f21bc1e050053f27e411dd
/frameworks/rs/rsContext.h
2382aba4a55c6ae74789c478eead8fbd96593321 14-Sep-2011 Jason Sams <rjsams@android.com> Add RS watchdog.

Change-Id: I4c912beb84fa8a37ada0088049f7776132e994b6
/frameworks/rs/rsContext.h
cbb0b8aceedb9146ba901cba1fbd6d1e9ca88f51 02-Aug-2011 Stephen Hines <srhines@google.com> Start using bcinfo components within librs.

BUG=4942491

Change-Id: I3a46783511c4954bac9eadbbbefe5abf85498c16
/frameworks/rs/rsContext.h
b81a0eb8180791e4eaab1253b59fa8bd562b046b 03-Jun-2011 Alex Sakhartchouk <alexst@google.com> More work to make libRS buildable on the host.

Change-Id: I239585ef7c1334f7fc19fa6423535dea7b9a753f
/frameworks/rs/rsContext.h
eb4fe18dd88634330f9566cbb9e785d8c7ec5813 27-May-2011 Jason Sams <rjsams@android.com> Start splitting allocation into hal and core.

Change-Id: Ic506abb0469238cb0471eb1401cfcb7b2fbbe4bb
/frameworks/rs/rsContext.h
7257c7ee4b66f00c43d9235f3ac600061ae79968 17-May-2011 Alex Sakhartchouk <alexst@google.com> Preparing libRS for for compilation on host.

Change-Id: I851add79831331c8a8b20dcccdb0817f8ad0c359
/frameworks/rs/rsContext.h
1a4efa363916977ef9aeab756725b3bdc880a15b 18-May-2011 Jason Sams <rjsams@android.com> Core to client fifo on sockets.

Change-Id: I3b84a7d4c3c5fa0d764ad4db22dfd142d5cfa95b
/frameworks/rs/rsContext.h
c19ff0177a7a0dadfc01b1990f822354fdc95991 06-May-2011 Alex Sakhartchouk <alexst@google.com> rsLib cleanup

Change-Id: Ifb66059338e3435ac79435296a650c44699921aa
/frameworks/rs/rsContext.h
a04e30dbb5ab11592b03666bb3d102070759c58e 30-Apr-2011 Alex Sakhartchouk <alexst@google.com> Moving renderscript GL code into the HAL
This change affects
- shaders
- meshes
- fonts
- quad rendering

Change-Id: I2a53acb4cd1fa8f4c6e67668f6ee969f3d7f7aa1
/frameworks/rs/rsContext.h
83c451a4ef4388e002482e383d488ca9b7b7600d 21-Apr-2011 Jason Sams <rjsams@android.com> Move TLS behind hal.

Change-Id: I9e84acb3736bc98fa5fb0720bddb13a030285319
/frameworks/rs/rsContext.h
87fe59a2f4d4c74539bfa0bff5f9a7e320e99415 21-Apr-2011 Jason Sams <rjsams@android.com> Create runtime stubs for compute driver.

Change-Id: I8e0250a642844a2ad3ff6efc38e385445b7da032
/frameworks/rs/rsContext.h
4b3de47071d875faaa7d419d050a464b09538797 07-Apr-2011 Jason Sams <rjsams@android.com> Migrate most GL from context to driver.

Change-Id: I5cba3a6e879d2e9332fc667a1061a5312fcf14ba
/frameworks/rs/rsContext.h
7d9c5ffccb7a5e682860f752403e5a03aed587be 01-Apr-2011 Alex Sakhartchouk <alexst@google.com> First draft of fbo in renderscript.
Updating samples and benchmark

Change-Id: I469bf8b842fca72b59475c8fa024c12cf0e14954
/frameworks/rs/rsContext.h
cdfdb8f2cdf4668c476cac842212892b2505ff3f 18-Mar-2011 Jason Sams <rjsams@android.com> Migrate thread launch to driver.

Change-Id: If182c524cceb327547640f22f956856d291d1787
/frameworks/rs/rsContext.h
bad807405b2b9764372af1ad24bcfd4fb1f33d8e 17-Mar-2011 Jason Sams <rjsams@android.com> Start seperating out RS compute implementation. Create hal
layer to seperate from runtime.

Change-Id: Idf5c1261be4131690d25c15948e98324e979b4f9
/frameworks/rs/rsContext.h
7b3e9bd825901e33661e3c385e3e7c6f40ca6000 17-Mar-2011 Alex Sakhartchouk <alexst@google.com> Fix for bug 3434228

Change-Id: I57973faf782b487e7913a096f0ab6012dc1c9415
/frameworks/rs/rsContext.h
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/rsContext.h
0f7785c4542855ad5e22e6b720c6bdad1817ac61 14-Jan-2011 Jason Sams <rjsams@android.com> Re-implement img npot support in HC.

Change-Id: Iac56ec54e46c998ec14f71d8e85eccdc5fb3aa91
/frameworks/rs/rsContext.h
ca3f09c0924e9515901dfd47fa5f95385d53cf80 08-Jan-2011 Stephen Hines <srhines@google.com> Split time functions into rs_time.rsh header.

Change-Id: I598b0031d15749c91d11fbd37b075d0564a94dbf
/frameworks/rs/rsContext.h
741aac95b777b2e6cb90f484a05e489a79a6ef05 24-Dec-2010 Jason Sams <rjsams@android.com> Fix teardown bug found in books.

Change-Id: I9ac449b644108148b331e0c552f289bf80a07f7e
/frameworks/rs/rsContext.h
2d791976a2b937017423519d9f9a4928fc31dae2 13-Dec-2010 Alex Sakhartchouk <alexst@google.com> Perf test

Change-Id: I5cfc1b6dd438b13091993d4669e10fb2e49aaa06
/frameworks/rs/rsContext.h
366c9c85196675437a8dd74c1cf6b63ddbde3d6a 09-Dec-2010 Jason Sams <rjsams@android.com> Allocation API update.

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

Change-Id: Id2b9ab7a76bbdf2ed745f5e36e552dc9b101982f
/frameworks/rs/rsContext.h
60709257bbdeb0c50f39b9c8969dc76264d6e142 18-Nov-2010 Jason Sams <rjsams@android.com> Create holder inner class for pushing context state.
Fix bug with rsForEach corrupting parent context state.
Remove workaround from rsBalls.

Change-Id: I43a948536e70d44645d1c2ef7b97e1c5906f6943
/frameworks/rs/rsContext.h
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/rsContext.h
aad4bc5231dd7059fc5148b34a951117d9b5f4ad 09-Nov-2010 Jason Sams <rjsams@android.com> Handle user message ID 0
Pass RS runtime errors back to java.
throw exceptions for runtime errors.

Change-Id: Ifcf16cbbf9b98137971dced5076f8a5563eb016c
/frameworks/rs/rsContext.h
5c1c79a54c63b9de8c391f7ed890c02f280ec17f 03-Nov-2010 Jason Sams <rjsams@android.com> RS Error cleanup.
Thow java exception during init if the
GL driver fails rather than native crash.

Change-Id: Ie96ef5a2ac12e64f9456545d86157c4c95179a8e
/frameworks/rs/rsContext.h
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/rsContext.h
6b8552a4f6a44848255d77222e66aa92dd21b1b5 14-Oct-2010 Jason Sams <rjsams@android.com> Begin hooking up SurfaceConfig.

Change-Id: I328138f29affbed11fcfb5e9ed0872d4ba22d241
/frameworks/rs/rsContext.h
c8fb69e4a3e01501a3d38a6d3ea185e583d3f493 05-Oct-2010 Alex Sakhartchouk <alexst@google.com> Adding average fps counter.
Removing rsLight from libRS

Change-Id: I8622efd10619dc120d37f3a12122e9c7fc34ff2e
/frameworks/rs/rsContext.h
889fe50e7aaebed8cb8284b16a0e51e64e8a3a9c 01-Oct-2010 Alex Sakhartchouk <alexst@google.com> fixing bugs 3053960, 3044804, 3044798
shader cleanup and removing unnecessary state setup.

Change-Id: Ibddf2ad3a26bb983fc43bdeb58b1cec6224920b4
/frameworks/rs/rsContext.h
605048a9f9af925782f6c90bc1cdc5af59e337d8 01-Oct-2010 Jason Sams <rjsams@android.com> Add object validity checking.

Change-Id: I2613e87b09a6e560f0381d4ed620d60a10bc30e4
/frameworks/rs/rsContext.h
886f11ade9dde05485cb11c0d67d87f76a428f6c 29-Sep-2010 Alex Sakhartchouk <alexst@google.com> More robust attribute binding
Adding attribute and uniform debug logging.
Checking to see if aniso filtering is available.

Change-Id: I2ed9d166ed7ff3df971d7af18b7a33f4e3ade928
/frameworks/rs/rsContext.h
8d957fa762eff6c03a93ddea9405d9575665f1ec 28-Sep-2010 Jason Sams <rjsams@android.com> Fix safe for mp check in ScriptC.

Change-Id: Id91b3c1e99b2705fd39f9e74a52c61110805e246
/frameworks/rs/rsContext.h
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/rsContext.h
900f1616bf33c7ba13cf2a737832a95bcd176388 17-Sep-2010 Jason Sams <rjsams@android.com> Cleanup GL setup code and remove legacy 1.1 paths.
Reset pointers to NULL when allocations are unbound.

Change-Id: Ifaba634ecbb154970b7fb47faa8e6475d16d2f66
/frameworks/rs/rsContext.h
f47eec31a9112daead78cfb8ebbda2c3372f4892 18-Aug-2010 Jason Sams <rjsams@android.com> Remove OOB object destruction.

Change-Id: Icaa06aca4a701ec663c124d3141d9dbb633d7dc1
/frameworks/rs/rsContext.h
0cae59f7d8dd63d1bf0ca4abedecb4cfa3ab1921 03-Aug-2010 Alex Sakhartchouk <alexst@google.com> Adding onscreen frame and script time for debugging.

Change-Id: I5780092d14d49dae556b9969b937c7768e705a64
/frameworks/rs/rsContext.h
181334092f78273d0da2d854ebbe7b24508d3bfc 21-Jul-2010 Jason Sams <rjsams@android.com> Update imageprocessing to remove generated files.
Fix thread launch race condition.

Change-Id: I24d7f87ac87db6f9e3418d6a429471a71d2c9e9d
/frameworks/rs/rsContext.h
7bf29ddc35450d8064541c42c99a1f48be6cf0dd 20-Jul-2010 Jason Sams <rjsams@android.com> Threading RS ForEach.

Change-Id: I5d6fe4db2b6ac0613394bc5a066ff90ec146d60e
/frameworks/rs/rsContext.h
4e9a7a8ded109e16b163789274899447cef02642 02-Jul-2010 Alex Sakhartchouk <alexst@google.com> Start of mesh API cleanup.
Switched all native code to go through Mesh class.
Removed SimpleMesh
Added java Mesh class
Will need to port all existing code to use java Mesh, then remove java SimpleMesh.

Change-Id: Idb9c03d0b06b4ef87db28dffcffa1881d39120e5
/frameworks/rs/rsContext.h
4ab16b53f6636198280a545ee6402bde57f1f84b 01-Jul-2010 Dianne Hackborn <hackbod@google.com> am 177c405a: am c6e1d880: Merge "Introduce official public NativeWindow type." into gingerbread

Merge commit '177c405a242e811b1010bd8382b5807ab8df31a8'

* commit '177c405a242e811b1010bd8382b5807ab8df31a8':
Introduce official public NativeWindow type.
1c769c3d0e5f08e78ecdb4508c6bc69fcb69bfa8 30-Jun-2010 Dianne Hackborn <hackbod@google.com> Introduce official public NativeWindow type.

Not yet hooked up to anything in the NDK, but requires renaming
the existing android_native_window_t type everywhere.

Change-Id: Iffee6ea39c93b8b34e20fb69e4d2c7c837e5ea2e
/frameworks/rs/rsContext.h
d3e0ad43dc758c409fc23d1893dab67b18520c24 25-Jun-2010 Alex Sakhartchouk <alexst@google.com> Adding freetype font rendering to renderscript.

Change-Id: I3a10ffe27092a41df156341c9cb3f7aa19c49f19
/frameworks/rs/rsContext.h
c61346b91434307c5003029017b54ce9c49112be 29-May-2010 Jason Sams <rjsams@android.com> Rough implemetation of ForEach.
Remove launchID from root graphics script.

Change-Id: I9f80c0d4df1264f2ee1624a6d7216b9dfdf8502e
/frameworks/rs/rsContext.h
22fa371bf64b8aae786acfe5d711af21afb13a93 20-May-2010 Jason Sams <rjsams@android.com> Begin naming cleanup for renderscript runtime.
Prefix functions with "rs" or "rsg".

Change-Id: I4435b486831bfab1ea473ccfad435b404e68f1c9
/frameworks/rs/rsContext.h
771565f47fc44608444c00aa8fa3bda769ceaece 15-May-2010 Jason Sams <rjsams@android.com> Change RS to use the passed surface size rather than EGL size.
Its possible that during a resize the EGL information could be stale so
caching this is bad. The surface size should always be correct.

Change-Id: Ifd479e1ea70b1cada1a8690c7c82e91aa391b685

Conflicts:

libs/rs/rsProgramStore.cpp
libs/rs/rsProgramStore.h
/frameworks/rs/rsContext.h
ccc010bb7c0f89e162bf60033968a20be90a903a 14-May-2010 Jason Sams <rjsams@android.com> Rename ProgramFragmentStore to ProgramStore.

Change-Id: Ia8ad9ac856944838ced38a2f1e8f07387050bdfd
/frameworks/rs/rsContext.h
be36bf3a76481737a7fa606a04144ceef80eb4f2 11-May-2010 Jason Sams <rjsams@android.com> Convert renderscript from using ACC to LLVM for its compiler.

This will also require application to be updated to support
the new compiler and data passing models.

Change-Id: If078e3a5148af395ba1b936169a407d8c3ad727f
/frameworks/rs/rsContext.h
12b14ae9fa34f4fd0bf21a2a4ac95a4864248fe9 18-Mar-2010 Jason Sams <rjsams@android.com> Seperate out Mutex and Signal code into reusable classes.

Change-Id: I381d09d89b567d433a10a91e0d7e59c24d3444d8
/frameworks/rs/rsContext.h
c1ed589021e280cda59a0521cb96b3e9eb629e1b 11-Mar-2010 Jason Sams <rjsams@android.com> checkpoint animations

Change-Id: I14ef05bf56470565e4b0cb706f9fb358cdcb42ff
/frameworks/rs/rsContext.h
a2cf755a28a1e7ffff2955df656d714f40e4d715 03-Mar-2010 Jason Sams <rjsams@android.com> Improve RS error handling. On errors RS will now store the error and a message that can be read from the app. RS will then not continue rendering frames while an unchecked error is present until new state is received.
/frameworks/rs/rsContext.h
ef21edcc70fc2734a3dc7995d3c3af1f90d16ef8 23-Feb-2010 Jason Sams <rjsams@android.com> beging np2 extension check work.
/frameworks/rs/rsContext.h
9b97c2906aed2b6dea9e0824f91f27c08d3690a7 12-Feb-2010 Mathias Agopian <mathias@google.com> Revert "Revert "RenderScript should not depend on libsurfaceflinger_client.so""

This reverts commit a0659aa36c987e28e29778bd97e75fe52152c60e.
/frameworks/rs/rsContext.h
123d602faaa13dc856f1ace34775d19c7f60724e 12-Feb-2010 Jack Palevich <jackpal@google.com> Revert "RenderScript should not depend on libsurfaceflinger_client.so"

This reverts commit 88b55fb090ace1a835f890758866f42f03795c12.
/frameworks/rs/rsContext.h
11503b20394ffa68691f47d3153145f67eb02f96 11-Feb-2010 Mathias Agopian <mathias@google.com> RenderScript should not depend on libsurfaceflinger_client.so
/frameworks/rs/rsContext.h
d4c25e3c197bc79c8508b76b20611b67ef883138 10-Feb-2010 Mathias Agopian <mathias@google.com> split libsurfaceflinger_client and libcamera_client out of libui
/frameworks/rs/rsContext.h
4820e8bb83b1f78e6232ebe853221f737da2a1ea 10-Feb-2010 Jason Sams <rjsams@android.com> Preview seperating RenderScript into RenderScript and RenderScriptGL
/frameworks/rs/rsContext.h
b4d3568f68b1ae97e2a82061cccf220f8e93cd94 05-Jan-2010 Jason Sams <rjsams@android.com> Add RS support for generic attribs as input to vertex programs.
/frameworks/rs/rsContext.h
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/rsContext.h
cd50653f99c960e1a47c2c30e53b369b8805344a 16-Dec-2009 Jason Sams <rjsams@android.com> Place shader logging behind prop to declutter logs.
/frameworks/rs/rsContext.h
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/rsContext.h
cf4c7c9b2f513be77a5b9853319ca82ac2b128ed 14-Dec-2009 Jason Sams <rjsams@android.com> Implement RS tracked defered texture and buffer object uploads.
/frameworks/rs/rsContext.h
5613b91c4f3b9a931ee9282317ea887007e05b86 11-Dec-2009 Jason Sams <rjsams@android.com> am b62954b6: am 8f31c230: am 57ce0888: Merge change Id22c0137 into eclair

Merge commit 'b62954b66542e3e2654d97a81123c51805bceca7'

* commit 'b62954b66542e3e2654d97a81123c51805bceca7':
Throttle low priority RS threads by sleeping once per frame to avoid starving other apps.
2dca84dd6c07992f78ad050177975f16486dd77e 09-Dec-2009 Jason Sams <rjsams@android.com> Throttle low priority RS threads by sleeping once per frame to avoid starving other apps.
/frameworks/rs/rsContext.h
c460e55d78cbe8bee95c5c947dfe541218142a5b 25-Nov-2009 Jason Sams <rjsams@android.com> Begin gl2 support. Renderscript still uses GL1.1 by default. However, 2.0 can be enabled and will render most tests correctly.
/frameworks/rs/rsContext.h
e6c6078f301a197f310b0ae0c12031188e7c1b6b 24-Nov-2009 Jason Sams <rjsams@android.com> am e4df64bd: am 66358e24: am 9dab667e: Force a crash under conditions where white square bug in all apps is likely to occur.

Merge commit 'e4df64bdaaf86fb7d06715de122a97d723d7fea2'

* commit 'e4df64bdaaf86fb7d06715de122a97d723d7fea2':
Force a crash under conditions where white square bug in all apps is likely to occur.
13e2634a71a30d289ed8d821aef61c7d1687460e 24-Nov-2009 Jason Sams <rjsams@android.com> Force a crash under conditions where white square bug in all apps is likely to occur.
/frameworks/rs/rsContext.h
94743c90e24abaddfdf66446f031e2b0f41a3c7c 17-Nov-2009 Jason Sams <rjsams@android.com> am 234e509a: am 22186a2c: am ec8178eb: Merge change I9c1bad53 into eclair

Merge commit '234e509a67eb32606f3051d21eb3ea25b272d80d'

* commit '234e509a67eb32606f3051d21eb3ea25b272d80d':
Add setPriority to allow wallpapers to run at lower cpu priority than default.
158324456b8dbf40f684dd0a4af3493b9549f3f5 15-Nov-2009 Jason Sams <rjsams@android.com> Add setPriority to allow wallpapers to run at lower cpu priority than default.
/frameworks/rs/rsContext.h
f90517f267f625e5196ad1a07842f888a4f3ce00 13-Nov-2009 Jason Sams <rjsams@android.com> am adf38939: am da8bb292: am 59175ac2: Merge change I81b1421a into eclair

Merge commit 'adf38939836ee1d1f5967fc45d02e07117f44009'

* commit 'adf38939836ee1d1f5967fc45d02e07117f44009':
Defer EGL init until the surface changed call comes in. Pass w,h along with surface for verification of driver state.
613cad1702dbb76eb2a6ba0cfcb43b9fe207cebc 13-Nov-2009 Jason Sams <rjsams@android.com> Defer EGL init until the surface changed call comes in. Pass w,h along with surface for verification of driver state.
/frameworks/rs/rsContext.h
c01af251941d39c3d741c5f0a6d69e58c7fc0f5b 04-Nov-2009 Jason Sams <rjsams@android.com> am eb7e27e8: am a1c3681f: am decc139b: Merge change I7a824efc into eclair

Merge commit 'eb7e27e8007d1b27d3e01c376b6747dc885db517'

* commit 'eb7e27e8007d1b27d3e01c376b6747dc885db517':
Support applications changing the surface attached to the RS.
458f2dc26b7d34c2138c7bfbd95914240084e6bd 03-Nov-2009 Jason Sams <rjsams@android.com> Support applications changing the surface attached to the RS.
/frameworks/rs/rsContext.h
0ef2746cd5dfcd95b1b5f04c2e35a44007259d48 29-Oct-2009 Jason Sams <rjsams@android.com> am 3c249da7: am 21e799ed: am e9e50b57: Merge change I7136220b into eclair

Merge commit '3c249da7eaceaffae87657aeb7179ffc4a5e1570'

* commit '3c249da7eaceaffae87657aeb7179ffc4a5e1570':
Fix egl cleanup code on context teardown.
33b6e3b91329080e5cdd0b8fdbcd3e6a906032ae 27-Oct-2009 Jason Sams <rjsams@android.com> Fix egl cleanup code on context teardown.
/frameworks/rs/rsContext.h
5c3e3bc8af6de6be5e6bd68e1d5168496f99e6cf 26-Oct-2009 Jason Sams <rjsams@android.com> Fix dirty state tracking of allocation attached to ProgramVertex objects when being updated while not attached.
/frameworks/rs/rsContext.h
fb03a22ad2adadc1ff50a8b50d43ad7fcc3fa6ed 16-Oct-2009 Jason Sams <rjsams@android.com> Remove hack in RS that called exit to WAR now fixed driver bugs. Make gloabal init safe by locking around the critical code.
/frameworks/rs/rsContext.h
3a27c952c013ad0a8e0c91bea76d895a07f7a56d 08-Oct-2009 Jason Sams <rjsams@android.com> Add script to script call support. Add exception to catch out of bound index data when added to TriangleMeshBuilder.
/frameworks/rs/rsContext.h
8c401effb0837155fc39ca0364f57a882d127d38 06-Oct-2009 Jason Sams <rjsams@android.com> Implement data push from scripts. Fixes the problem where apps would have to poll to monitor a scripts state.
Fix bug in StoreState where state could be overridden by the default unless the script used more than one state.

Change only impacts renderscript and renderscript apps.
/frameworks/rs/rsContext.h
1fddd90849deaae89b546ff492c345d485bbce42 26-Sep-2009 Jason Sams <rjsams@android.com> Reduce debugging spew and add props to selectivly re-enable it.

change-id: Ib59ed5d7a9d479ccd1af456029735dbc65ae1efe
/frameworks/rs/rsContext.h
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/rsContext.h
86f1b23aaaf9b8822a009d8c3e585e46768abb6a 25-Sep-2009 Jason Sams <rjsams@android.com> Implement pause/resume for the RS thread.
/frameworks/rs/rsContext.h
a2b54c4ccae78fdd9afefd524037dc53ed28e2d8 24-Sep-2009 Jason Sams <rjsams@android.com> Remove depricated triangleMesh.
/frameworks/rs/rsContext.h
76371fff76412fd020e24ddb8bf1ddb5c75f0ed1 24-Sep-2009 Joe Onorato <joeo@android.com> Make the renderscript timing logging available by setting debug.rs.profile=1
/frameworks/rs/rsContext.h
5fd09d847586f9680b4f495413b6ca5fbb69af6e 23-Sep-2009 Jason Sams <rjsams@android.com> Add raster object to control point and line params. Add flag to force SW rendering.
/frameworks/rs/rsContext.h
1d54f10f3c23e0d7ec57e52ec3b0701a2a5ed24e 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/rs/rsContext.h
afcb25c65e8145d15aaf50a0ca38333954a97000 25-Aug-2009 Jason Sams <rjsams@android.com> Add support for selecting the color bit depth and if the application used a depth buffer.
/frameworks/rs/rsContext.h
24371d93cdb6999971c4058f78974da3c3d5fc64 19-Aug-2009 Jason Sams <rjsams@android.com> Improved RS timing code to monitor where we spend CPU time.
/frameworks/rs/rsContext.h
5086938044e0a9b6b1138f915d0d252fe046e102 19-Aug-2009 Jason Sams <rjsams@android.com> Implement OOB destroy method that can be called from the java finalizer removing the need to explicitly destroy objects.
/frameworks/rs/rsContext.h
fcd3192ebff8ab58d841836b7e94361d0998338c 18-Aug-2009 Jason Sams <rjsams@android.com> Remove global IO context and integrate it into the RS context.
/frameworks/rs/rsContext.h
8b2c065dfc16c148e2829a19e83d2269b9bcd4cc 13-Aug-2009 Jason Sams <rjsams@android.com> Implement reflecting Java objects into the ACC enviroment.
/frameworks/rs/rsContext.h
e579df42e85d9e00f53c42ef1b78dbd209dba989 10-Aug-2009 Jason Sams <rjsams@android.com> Implement basic allocation readback. Add Get height, width to ScriptC_Lib.
/frameworks/rs/rsContext.h
57b79ceb1126e3797fa42367b97dd7bcfcda1ed9 10-Aug-2009 Joe Onorato <joeo@android.com> Let java put #defines into renderscript
/frameworks/rs/rsContext.h
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/rsContext.h
cfb1d11ce6826fce7241d316d8b7dcab661f63a6 05-Aug-2009 Jason Sams <rjsams@android.com> Remove useless slot from ProgramVertex. Optimize GL state setup.
/frameworks/rs/rsContext.h
c9d43db4d216b01b13aebfdb31d5615909591b33 28-Jul-2009 Jason Sams <rjsams@android.com> Add "boxed" bitmap uploads which simply place a non-pow2 bitmap into the smallest larger pow texture. The added space is filled black.
/frameworks/rs/rsContext.h
b5909ce06dd10dcb5ac715572a05b2d225b77c98 21-Jul-2009 Jason Sams <rjsams@android.com> Enable light sources and update film test app.
/frameworks/rs/rsContext.h
a5577808737a394bdb156fbeb80018d0a4d8438d 13-Jul-2009 Jason Sams <rjsams@android.com> Fix master build errors post merge with master_gl branch.
/frameworks/rs/rsContext.h
d5af54beb4f3cb78c2a2302594536e47cc37fa37 02-Jul-2009 Mathias Agopian <mathias@google.com> Merge commit 'goog/master' into merge_master
a89371c6f144b9049efe7689105feee2c4a38384 30-Jun-2009 Jason Sams <rjsams@android.com> Begin adding mesh
/frameworks/rs/rsContext.h
6eee87f74a9566fbed31d9713bec07bc002ac206 25-Jun-2009 Mathias Agopian <mathias@google.com> merge master in master_gl
992a0b70d8fd7a14f0c57bc3c7e16c1f269a6609 23-Jun-2009 Jason Sams <rjsams@android.com> Cleanup logging and fix a startup race condition that manifested on Firestone.
/frameworks/rs/rsContext.h
5ae678f2e68e25bd74cdc408df354c3b6fe481bf 23-Jun-2009 Mathias Agopian <mathias@google.com> update renderscript to master_gl APIs
/frameworks/rs/rsContext.h
1aa5a4eb81b8b88aeb5d2b6f4c47356fd0a62923 23-Jun-2009 Jason Sams <rjsams@android.com> Cleanup includes so Log.h can use the tag. rsUtils.h is the file that should be included everywhere and contain rs global defines.
/frameworks/rs/rsContext.h
62bc1db27ba17f7eed0a6dfb639da7326753b268 23-Jun-2009 Jason Sams <rjsams@android.com> All light source objects.
/frameworks/rs/rsContext.h
e57691037aea219562ac686429b4b98202aab7bc 20-Jun-2009 Jason Sams <rjsams@android.com> checkpoint filmstrip, implemented TLS.
/frameworks/rs/rsContext.h
8ce125be69531dbf3a7e856d5e59d1b8e2789db0 18-Jun-2009 Jason Sams <rjsams@android.com> Implement default programs and implement defaults and parents for imports.
/frameworks/rs/rsContext.h
a4a54e42fc710a62b47cbcb9d64c34a190429d9e 11-Jun-2009 Jason Sams <rjsams@android.com> Fix bug with bad conversion of java strings to C strings for object names. Update test app to test object defines.
/frameworks/rs/rsContext.h
a0a1b6fbece2eb8d72d788422ab3e5f58d5a9216 11-Jun-2009 Jason Sams <rjsams@android.com> Add named objects and implement support for ProgramFragmentStore and ProgramFragment to be used by name in scripts.
/frameworks/rs/rsContext.h
1030893d9b99b72468034da13df025bda479bb97 09-Jun-2009 Jason Sams <rjsams@android.com> checkpoint pragma support. Includes more cleanup of script enviroment storage to keep the env settings in the base and only the per language state in ScriptC.
/frameworks/rs/rsContext.h
a44cb29164726cd9d812117819abdd7b60dfdd93 05-Jun-2009 Jason Sams <rjsams@android.com> Add support for scripts to return an animation flag. This allows them to indicate they are generating changing content and the rs thread to sleep if the content is static.
/frameworks/rs/rsContext.h
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/rsContext.h