- Jun 02, 2016
-
-
David Gross authored
Bug: 27298560 Change-Id: I8a89c9df753d12ee8af06008d424e77bb916cd8f
-
- May 18, 2016
-
-
Miao Wang authored
Bug: 28177406 Change-Id: Icccf35857cf29f827a78704e7751c8791cda0d7b
-
Miao Wang authored
Bug: 23159764 Bug: 26862970 - Add detailed description of AutoPadding - Add comments to all the copy related APIs. - Fix typos in the comments. Change-Id: I2d045e0d90efd94f1407f88d3e35bcd42ea93fb9
-
- Apr 22, 2016
-
-
Yang Ni authored
Bug: 28242626 Bug: 27972184 Bug: 27973681 This is resolving issues in ScriptGroup (V1) again. In ScriptGroup.destroy(), we also need to consider the old API where mClosures is not initialized. Also cleaned up the finalizer for ScriptGroup and Allocation: Since BaseObj.finalize() calls BaseObj.helpDestroy(), instead of BaseObj.destroy(), there is no possibility that the finalizers of child objects may race their parents finalizers. Note that helpDestroy() does not try to recurse on child objects. Change-Id: I9dbb2b60f8478f656f8a418c2b5fc8d6848aeef0
-
- Apr 19, 2016
-
-
Yang Ni authored
Bug: 28177082 Change-Id: I8f3f2d8ce559e93cba29f8eedd5b95d1389deb23
-
- Apr 18, 2016
-
-
Yang Ni authored
Bug: 28242626 ScriptGroup finalizer clears out the list of closures, which is uninitialized for the old API. Need to check null first, before accessing the list. Change-Id: Ibf914e17a0878c8c561f823c5f6f6f6619594de1
-
- Apr 12, 2016
-
- Apr 04, 2016
-
-
Yang Ni authored
Bug: 27983025 Device should be destroyed inside the destructor of the associated Context. Change-Id: I921a89974e1174f837349a89aef9b03efa4882f5
-
- Mar 31, 2016
-
-
Yang Ni authored
Bug: 27719830 To turn on warnings, apps have to add to their Activity.onCreate() method the following code. StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder() .detectLeakedClosableObjects() .penaltyLog() .build()); For Slang generated ScriptC derived classes, we assume their constructors won't throw exceptions after calling the ScriptC constructor. In addition, ScriptIntrinsic derived classes do not seem to throw exceptions in their constructors either. Therefore, we can leave the guard.open() call in the Script constructor. This may be only an approximation, but allows us to add CloseGuard for script objects without making changes to slang. Change-Id: I77ed45239a60b85af5c811dee6c124fb53da9060 (cherry picked from commit eb4dd08e)
-
- Mar 30, 2016
-
-
Miao Wang authored
Bug: 26862970 Change-Id: Iaa88ac0266e5d2cac2837f1d13353aacc6177274
-
- Mar 29, 2016
- Mar 28, 2016
-
-
Pirama Arumuga Nainar authored
Bug: http://b/25982676 Instead of returning null from validateObjectIsPrimitiveArray, fail with an exception. The callers of this function do not check for null. Change-Id: Idd2b50a7b137e8d2db7a334bb9a48c1b19ee2403
-
- Mar 21, 2016
-
-
Yang Ni authored
Bug: 27439261 Script Group needs to know the code cache path before it can call bcc to merge kernels. However, before this change, the code cache path has been initialized by the ScriptC class. In the case where a script group (or even the entire app) does not contain any regular script but only intrinsics, the code cache would remain uninitialized. Fixed this by initializing the code cache path in the RenderScript class the first time when the accessor method is called. Change-Id: I87f9e62e0f3b479f94e43daa3e9695a5b38710db (cherry picked from commit 689f6377)
-
- Mar 02, 2016
-
-
Pirama Arumuga Nainar authored
http://b/27251511 Allow copyTo(short[]), copyFrom(short[]), and their 1D range and 2D range variants to copy data between short[] arrays and Float16 Allocations. Change-Id: I370584685c3b773c165bd718974ca736ed548339
-
- Jan 27, 2016
-
-
Miao Wang authored
Bug: 23535524 - ByteBuffer getByteBuffer() - long getStride() - Allocation[] createAllocations(rs, type, usage, num) - long getTimeStamp() Change-Id: I0cad88c81f9f48c7aca59af159c49f506b234aee
-
- Jan 26, 2016
-
-
Miao Wang authored
Bug: 23535524 Two APIs added for multiframe processing: - createAllocations(...): To create an array of Allocations sharing the same Type and Usage. For USAGE_IO_INPUT Allocations, they also share the same BufferQueue. - getTimeStamp(): API to retrieve the time stamp associated with the most recent buffer. Change-Id: I6b7b35d7dca5e87ee2f3db2ee17cb9cf824bcfe1
-
Miao Wang authored
Bug: 25926361 Bug: 23535524 - Construct the ByteBuffer using the AllocationGetPointer. - Add an API to query the stride of the allocation. - Both ByteBuffer and Stride will be cached for normal Allocations. if using USAGE_IO, since after each ioReceive, the mallocPtr will change, getByteBuffer will always create a new one using the most up-to-date mallocPtr. Change-Id: I5e84b6690e83bb062c383043275524d0e51e46eb
-
- Jan 25, 2016
-
-
David Gross authored
Bug: 23535724 Change-Id: I7a43622954de9f4168f7e4376f39d6ec54191c03
-
- Jan 15, 2016
-
-
David Gross authored
Requires coordinated change in frameworks/rs. Bug: 23535724 Change-Id: I2fee6750cf542948d8fa87a98441002c4d84f36e
-
- Nov 13, 2015
-
-
Yang Ni authored
Bug: 25602504 1) Passing floating point values into a script group was broken, since they were casted to long values. Fixed that in the frameworks implementation by taking the raw bits instead. 2) Passing 64-bit values into a script group was broken on 32-bit platforms, since they were casted to pointer-sized integers (uintptr_t) in the JNI code. Fixed that by casting to int64_t instead. 3) Setting global variables of Allocation type in a script group was broken. The special size value -1 was used to indicate the value is an Allocation. However, size was casted to size_t in the JNI code. Fixed that by using signed integers. Change-Id: Ifff099a76be7707df7b67c388395f5a00f9cae66
-
- Oct 09, 2015
-
-
Pirama Arumuga Nainar authored
Change-Id: I5574ff201b857a29f30ebe8413dbe4128dcff3ae (cherry picked from commit 115b4117)
-
Pirama Arumuga Nainar authored
Bug: 24342101 Interrupt current thread if InterruptedException is received during Thread.join(). Also, log the interruption. Change-Id: I452124915ea3f19610e6d4a3411d741f2f604af2 (cherry picked from commit 83461d73)
-
Pirama Arumuga Nainar authored
Bug: 24342101 If interrupted during mMessageThread.join(), retry the join instead of assuming the thread has joined and continuing. Continuing to destroy the context will cause a segfault when the message thread attempts to use the destroyed context. Change-Id: I3213091a0e996449bceb403dffca3063786d5a65 (cherry picked from commit 2f25ce77)
-
- Oct 08, 2015
-
-
Pirama Arumuga Nainar authored
Change-Id: I5574ff201b857a29f30ebe8413dbe4128dcff3ae
-
- Oct 05, 2015
-
-
Pirama Arumuga Nainar authored
Interrupt current thread if InterruptedException is received during Thread.join(). Also, log the interruption. Change-Id: I452124915ea3f19610e6d4a3411d741f2f604af2 (cherry picked from commit 83461d73)
-
Pirama Arumuga Nainar authored
Interrupt current thread if InterruptedException is received during Thread.join(). Also, log the interruption. Change-Id: I452124915ea3f19610e6d4a3411d741f2f604af2
-
- Oct 02, 2015
-
-
Pirama Arumuga Nainar authored
Bug: 24342101 If interrupted during mMessageThread.join(), retry the join instead of assuming the thread has joined and continuing. Continuing to destroy the context will cause a segfault when the message thread attempts to use the destroyed context. Change-Id: I3213091a0e996449bceb403dffca3063786d5a65 (cherry picked from commit 2f25ce77)
-
Pirama Arumuga Nainar authored
Bug: 24342101 If interrupted during mMessageThread.join(), retry the join instead of assuming the thread has joined and continuing. Continuing to destroy the context will cause a segfault when the message thread attempts to use the destroyed context. Change-Id: I3213091a0e996449bceb403dffca3063786d5a65
-
- Sep 02, 2015
-
-
Stephen McGroarty authored
The flag was previously used to set the optimization level of the bcc compiler to -O0. However, this functionality is now accomplished through deriving the optimization level from the input bitcode. That patch can be found here: https://android-review.googlesource.com/169330 Change-Id: I9c57d941bb35c6f737a31fcd74f31d9de25a16a8 Signed-off-by:
Stephen McGroarty <stephen@codeplay.com>
-
- Jul 21, 2015
-
-
Matt Wala authored
reduce-style kernel. Bug: 22631253 This adds a new (currently hidden) API to the Script class and the corresponding code for the RenderScript JNI layer. Change-Id: I40f19aaeb90411b859bd6b0bffc3f071fa327c21
-
- Jul 20, 2015
-
-
Miao Wang authored
Bug: 22047392 Change-Id: I736a697276020687c20dff515aabb1be1776f8c0
- Jul 17, 2015
-
-
verena beckham authored
Add a flag CREATE_FLAG_OPT_LEVEL_0 to set the optimization level to 0 when calling bcc. This will result in an object file that is easier to debug. Change-Id: I0384dca098fa0d9ae0f2e02e798da9de342c1122 Signed-off-by:
verena beckham <verena@codeplay.com>
-
- Jul 16, 2015
-
- Jul 15, 2015
-
-
Miao Wang authored
bug: 22507076 Change-Id: I5fdffdde597d97b1dde77574d096b81bff4aa382
-
- Jul 01, 2015
-
- Jun 30, 2015
-
-
John Hoford authored
Bug: 21934855 Change-Id: I99394bd8a7a40a220c05118564b532f2533da38a
-
Miao Wang authored
bug: 22184114 Change-Id: I7e7132aa3563f32de32640567b381f8f5bddf491
-