summaryrefslogtreecommitdiff
path: root/rsg_generator.c
AgeCommit message (Collapse)Author
2017-04-20Fix clang-analyzer-security warnings for RenderScriptMichael Butler
Replace unsafe strcpy and strcat with bounded strlcpy and strlcat. Bug: 32511607 Test: mma, cts, vts Change-Id: I92bc8142f82eaf78f4465bf061871cad864c53b8
2016-11-16Fix google-build-using-namespace warnings in rs.Chih-Hung Hsieh
* Most files define classes in renderscript namespace. Define them in the namespace instead of "using namespace ...". Some files define global C++ names, and we replace "using namespace ..." with using declarations of the required names. * Add "NOLINT" comment to rsg_generator.c output code to suppress such warnings. Bug: 32670901 Test: build with WITH_TIDY=1 Change-Id: I9b0edcad3e1fb37c79927b05fd58fb1a301bdf22
2015-07-20Remove dead code related to using a non-local FIFO for message passing.Matt Wala
Bug: 22603341 Some parts of the RS runtime were designed for a situation where the message sender could be on a different process from the RS driver. The code for this functionality, however, is untested and no longer used, so we remove it for now. - Change rsg_generator not to create RF_* and rspr_* functions for remote passing / playback. - Change rsThreadIO so that it runs on a local mode only. - Minor cleanups / documentation to rsg_generator code. Change-Id: I99adff6f93142d47e0a471ffc80f965eaad6567f
2014-07-25am 1f88f088: Merge "Fix rsg_generator.c to properly propagate NULL values."Stephen Hines
* commit '1f88f088359ced06a2b53320b95c09fadc427c16': Fix rsg_generator.c to properly propagate NULL values.
2014-07-16Fix rsg_generator.c to properly propagate NULL values.Chris Wailes
This patch modifies rsg_generator.c to properly propagate NULL values in the presence of inlined data pointers. Change-Id: I5f91518807d4ab05148c9382e143581157409be6
2014-06-25am d20a27b3: am af3f15d3: Merge "Switch to using packed structures for our ↵Stephen Hines
command buffers." * commit 'd20a27b3c0cc4529f4fe78ac821eb05d83275fad': Switch to using packed structures for our command buffers.
2014-06-25Switch to using packed structures for our command buffers.Stephen Hines
These buffers are passed across a socket and don't necessarily have the same alignment/padding on both 32-bit and 64-bit. This can result in subtle errors in unpacking the command buffer. Change-Id: Ic4fb7faa58b10553d55fd2ab3643ecc1a1c4ac4c
2014-05-09Remove unused cases in switch.Jason Sams
Change-Id: Ifa05f60afdc1ac88bc75356259e954d295635ae0
2014-01-07Add handcode mode to rsg_generator.Tim Murray
Change-Id: I25050a3c4c9b77727eb717d4b9c44bf85f505873
2013-07-17Move all rs* generated functions to be extern "C".Tim Murray
Change-Id: Ie99117ce8ec50e56ae29eb748f3b7e0b319da76f
2013-03-20Start making RS 64-bit clean.Tim Murray
Change-Id: Ie40ad9a1d2b59094c86eb7e40b358e60120ce213
2012-12-04enable synchronous mode (functional)Tim Murray
Change-Id: I613610013e7e4d1623620ab94d2d25d8a1bd82b3 Bug: 5972398
2012-08-03Fix build. New clang has stricter checking.Shih-wei Liao
Change-Id: I1c8a826f41ed9fa503ce0545d85c198a5151ab6e
2012-03-09More header untangling.Alex Sakhartchouk
Change-Id: I090943775cbda8d9515cdb484957f6b05d5b1799
2012-02-16Update prototype remote fifo. Tested primary connectionJason Sams
using only fifo data transport. cleanup cl. Change-Id: I9b5f5e5a256b7f66b387bd801c1da0e642761200
2012-02-07Fix bug in generated code for functions with inband dataJason Sams
from pointers. Passing zero length data would desync return command stream. Change-Id: I273a6a44636a203d8305ddff3d6607eae9f9ec8a
2012-02-07Implement RS VSync on new vsync infrastructure.Jason Sams
Change-Id: I662159a086a56e28732dd64a3a3cb30f8d4b72b1 Replace lockless fifo from server to client with sockets. Change-Id: I99a4ab4f18496c0fbac96ee7b8099797af4712ea
2012-01-08Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block
See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
2011-05-17Core to client fifo on sockets.Jason Sams
Change-Id: I3b84a7d4c3c5fa0d764ad4db22dfd142d5cfa95b
2011-05-06Add code for generating fifo command packing.Jason Sams
Change-Id: I2d2ef095344b200b10457de96ae1d85821edc91e
2011-05-02Try fixing auto data inlining again.Jason Sams
Change-Id: I95113db85551cbee774250eacb69553af1cf27bc
2011-05-02Temporarly disable auto-inbanding.Jason Sams
Change-Id: Ia83389c094914f0bb69bff8f6965ae445c89de07
2011-04-29Fix bug 4355588Jason Sams
With auto inbanding the fifo didn't reserve the correct size. Caused failure on fifo wrap. Change-Id: Ie78e7bef5286f68c6239f79ee2f284fd99bdacc3
2011-04-28Pipe rsa function though the RS api table.Jason Sams
Change-Id: Ic8a3bef5d337be1d8fc5ca961eec6be4761701c5
2011-04-27Start implementing control side forEach.Jason Sams
Change-Id: I2d77d908cbb64b26071d9d5a3421f0b195342d2c
2011-04-26Cleanup rs.spec file and code generator.Jason Sams
Change-Id: I369e36b222ff962fc6835bc550435c2940e2b5fd
2011-01-16Add some error checking.Jason Sams
Change-Id: I007b1429a64b39ffd5cdef200c295d5a31f95048
2010-11-10Code cleanup to make formatting consistentAlex Sakhartchouk
across all the renderscript files. Change-Id: Idf5fcc60877e44c8f074f7176e37f70b3b895a3c
2010-02-23Begin implementation of generated java files from RS files.Jason Sams
2009-08-27Implement async data/subData. Implement TriangleMeshBuilder in SimpleMesh ↵Jason Sams
which replaces TriangleMesh. Update Film to use new builder.
2009-08-17Remove global IO context and integrate it into the RS context.Jason Sams
2009-08-10The build system knows how to deal with lex files, but it treats them as ↵Joe Onorato
c++, so make spec.lex conform to that.
2009-05-22Add the Renderscript library. (Not in the build by default yet.)Jason Sams
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