summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript
AgeCommit message (Collapse)Author
2013-12-17Move RenderScript from graphics/ to new fw/base subdirectory rs.Tim Murray
Change-Id: I30b6633578f063840e1bdbcc9ba513b727912a6d
2013-11-27Merge commit '1ccc6633' into manualmergeJason Sams
Conflicts: graphics/java/android/renderscript/Double2.java graphics/java/android/renderscript/Double3.java graphics/java/android/renderscript/Double4.java graphics/java/android/renderscript/Float2.java graphics/java/android/renderscript/Float3.java graphics/java/android/renderscript/Float4.java graphics/java/android/renderscript/Int2.java graphics/java/android/renderscript/Int3.java graphics/java/android/renderscript/Int4.java graphics/java/android/renderscript/Long2.java graphics/java/android/renderscript/Long3.java graphics/java/android/renderscript/Long4.java graphics/java/android/renderscript/Short2.java graphics/java/android/renderscript/Short3.java graphics/java/android/renderscript/Short4.java Change-Id: Ib9e940bc7d62764020eea7639d7158af707eb33f
2013-11-26Fix sdk build.Ying Wang
Change-Id: I11471213826b212b99c0ddba89a7f4cef110fcc4
2013-11-26Generic object based data copy.Jason Sams
This change consolidates the copy paths to Object based. The runtime now uses reflection to identify the type of array present. This adds support for long/double and reduces the amount of code present. We could also support arrays of vectors or objects in the future with this mechanism. Change-Id: I2297c1c01fbe6a64c375d6368f25d7db781ea788
2013-11-26Merge "Adding operations to reflected Renderscript class"Jason Sams
2013-11-20Merge "Convert Java/JNI to 64-bit, part 2."Tim Murray
2013-11-20Merge "Remove unused imports from frameworks/base."John Spurlock
2013-11-20Convert Java/JNI to 64-bit, part 2.Tim Murray
This changes BaseObj to support 64-bit IDs. There are a few caveats: 1. Since it is deprecated, RSG will not support 64-bit. 2. Currently, methods that pass arrays of IDs to the driver are not supported in 64-bit. This will be fixed in a later CL. bug 11332320 Change-Id: If0dbecc8b285e260f767e441e05088b6a1b749a2
2013-11-20Remove unused imports from frameworks/base.John Spurlock
Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
2013-11-19Convert Java/JNI to 64-bit, part 1.Tim Murray
This converts context and device storage to use long instead of int. bug 11332320 Change-Id: If93a5d78385d3004d5e709762b78bd1d3538088d
2013-11-11Add long/double read support.Jason Sams
Change-Id: I1957f7ac18262a3004a4adcb7c31055212e483c2
2013-11-06Use Object + type in place of specific arrayJason Sams
Changed to avoid the explosion of entry points in the JNI layer. Change-Id: I7d6cc565c8853b06560eb891fdd5e8acf05c9779
2013-10-23Adding operations to reflected Renderscript classMatthieu Delahaye
Renderscript expose its native types back to the Android system through a set of classes defined within the renderscript package. These classes provides no easy mean to manipulate data they represent. It would be convinient to be able to manipulate the data stored within an allocation via these classes directly instead of having to marshall them into native Java objects. This commit adds such operations to the existing exposed vector types. Change-Id: I1845df1368a82f0d39b36416c83938c7160f6a3f
2013-10-09Utility API for creating types.Jason Sams
Change-Id: I3263cb4440ef3a60cd418f0559b8c5638a9b8bf3
2013-10-09Remove old hidden API.Jason Sams
This was never shipped and long since replaced by ioReceive(). Change-Id: Ieba7fd4305c2c561cc36154c57414783e4bf502b
2013-09-24Remove hidden API setSurfaceTexture.Jason Sams
Change-Id: Ib6a3c5b84550932168f314375e74059507fc01ae
2013-09-10Merge "Don't set Allocation mSize when we have no Type." into klp-devStephen Hines
2013-09-09Don't set Allocation mSize when we have no Type.Stephen Hines
Bug: 10667740 A3D creates Allocations before knowing the underlying Type (and thus size). Moving the mSize calculation to be conditional for concrete Allocations eliminates the bug. In the future, we could let A3D dynamically update the Allocation size if it is necessary to improve heap behavior. Change-Id: I520246806b6ead0387a1a41372dade1a6e7c2271
2013-09-04Add YUV element convenience function.Tim Murray
Change-Id: Ie67dfba6a4c4f1913875ad9817c53e45d56809ae
2013-08-29Cleanup API typoJason Sams
bug 10548782 Change-Id: I3654b7d1f8ea10eb51006804248cc2a7d20eabb0
2013-08-29Merge "Unhide USAGE_IO_INPUT functions" into klp-devJason Sams
2013-08-29Unhide USAGE_IO_INPUT functionsJason Sams
Change-Id: I9c1a7e5d65adee133b99b9a94729ab0b3d5a097f
2013-08-23Merge "Add garbage collection hooks" into klp-devTim Murray
2013-08-23Add garbage collection hooksTim Murray
bug 10428172 Change-Id: I6365aa58bbc99aa134e1f261a5819e07a7d70fb0
2013-08-14Renderscript: Allow YUV_420_888 as a YUV type.Eino-Ville Talvala
Change-Id: I1ed731103a49a814f9a049ecd01be98261b6d06b
2013-07-29Relax restriction on Colormatrix and add Add step.Jason Sams
Change-Id: Iccb519bb40f58f02346b5c0a10c1378cb853e3f8
2013-07-24am 8d9a4bd1: am 174dd066: Merge "remove link to renderscript support ↵Scott Main
library" into jb-mr2-ub-dev * commit '8d9a4bd1eb09cc795bf96c4f3a2824f9642c70e4': remove link to renderscript support library
2013-07-23remove link to renderscript support libraryScott Main
Change-Id: If8e693239b92058c0a2928e0811870bec3a150fe
2013-06-27Add 2,3 vectors to allowed intrinsic list.Jason Sams
Change-Id: Iafd90ef4337076ed9d1e335c16272a0517f846b3
2013-06-18Fix docsJason Sams
Change-Id: Ie6563f633481951d97f319aefd282b15c049e281
2013-06-18Update histogram docs.Jason Sams
Change-Id: I6cfedb5cac459befb083f352f43ed33f4418145a
2013-06-18Allow single channel and float convolve.Jason Sams
Change-Id: If448ea2ae38de2f8b95fc884ea0dbf8222964012
2013-06-18Add support for vec2 histogramJason Sams
Change-Id: I30ab758a44485a8ea30043c4cd782c3560074c58
2013-06-18Add histogram intrinsicJason Sams
Change-Id: I67bcaaef033d8770047923e8243e739010238539
2013-06-05am 379641a7: am ea45ab6f: Merge "Improve RS documentation." into jb-mr2-devTim Murray
* commit '379641a7ef09e1d7fab34d3027c5809fb2bc21ad': Improve RS documentation.
2013-06-05Improve RS documentation.Tim Murray
bug 8570568 Change-Id: I465fcc8ec3e2cc892dc3cb0067aacf5224338102
2013-06-01am d19068a7: am 413adc92: Merge "Fix free after use with ↵Jason Sams
createFromBitmapResource" into jb-mr2-dev * commit 'd19068a7d28d129f5a1a1be478e972b40cea04eb': Fix free after use with createFromBitmapResource
2013-05-31Fix free after use with createFromBitmapResourceJason Sams
Bug 9227350 Change-Id: Iee7610a9bf3d9d1baf14b968aed2a7d0876d2af7
2013-05-24Add support to Java for RS tracing.Tim Murray
Change-Id: I95c365345fea3a1e132a7eb2270d541be0745d02
2013-05-10am 9917c1e2: am 17502c4b: Merge "Remove extraneous logging." into jb-mr2-devTim Murray
* commit '9917c1e2e9ba8a0bd4f29ce05844cd539c3a41b9': Remove extraneous logging.
2013-05-09Remove extraneous logging.Tim Murray
bug 8888887 Change-Id: I68d01c2ba649257be1577d53f330ad28d3b57011
2013-04-20am 4a84af89: am b322f994: Merge "Add new error code for Debug Context work." ↵Stephen Hines
into jb-mr2-dev * commit '4a84af896c830d6ef613d1baa607d472cf865073': Add new error code for Debug Context work.
2013-04-20Merge "Add new error code for Debug Context work." into jb-mr2-devStephen Hines
2013-04-19am dd240d9a: am 0935f258: Merge "Updating API based on feedback" into jb-mr2-devJason Sams
* commit 'dd240d9a30578930bbf63b6bd9998e940dd16160': Updating API based on feedback
2013-04-19Updating API based on feedbackJason Sams
bug 8656887 This hides the methods used to support Camera Fixes the oversight in LaunchControl Documents some missing functions Change-Id: I5b19b65dd5ddf9917100192c180bb63d89c80679
2013-04-17Add new error code for Debug Context work.Stephen Hines
Bug: 7343201 This error type is less severe when running under the debug context, allowing developers to use RSErrorHandler to respond to errors like out-of-bounds native accesses. Change-Id: I79c87d1956c94833546f0f638ffa1aafecae49cd
2013-04-15am 4b87c54b: am 097ed01a: Merge "Revert GC thread changes" into jb-mr2-devJason Sams
* commit '4b87c54b06ed6834785ea06e066bb1e988a76973': Revert GC thread changes
2013-04-14am c4294ed2: am 330a9fe3: Merge "Unhide new RS APIs." into jb-mr2-devJason Sams
* commit 'c4294ed2f1de5c89b5e283942e0d5f8cd8822bfb': Unhide new RS APIs.
2013-04-14Revert GC thread changesJason Sams
This is not quite a straight revery, some manual edits were necessary. The original CL didn't undergo sufficient design review or testing. Revert until the regressions can be sorted out. Bug 8585185 This reverts commit 6dacf8355a0692b52c49f603f43317772cb36175 This reverts commit f8c033db1edf36a0ab09568c3142054f0be2d1a1 Change-Id: Ie7215bdf881332e822603547e92f810f595077fc
2013-04-14Unhide new RS APIs.Jason Sams
This exposes the fast path handling of YUV data. bug 8566866 Change-Id: Iaa3700100db61dd51d16d80ea8ae22f2dcc41bb0