| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bug: 25602504
1) Fixed setting 64-bit globals on a 32-bit platform.
The long values were casted to pointer-size integers (uintptr_t) or void*
in the runtime implementation. This caused the upper 32 bits to be lost
on 32-bit platforms. Fixed that by casting to int64_t instead.
2) Fixed setting Allocation values (either as arg or a global) in a script
group.
The size for a value in a script is signed, with -1 indicating that the
value is an Allocation. The sign has to be kept across different layers
of our stack.
3) Added a test for both native and support libraries for passing
floating point values to a script group, and for passing 64-bit values
(long or double) to a script group.
Change-Id: Ifff099a76be7707df7b67c388395f5a00f9cae66
|
| |
|
|
|
|
|
|
|
|
|
| |
b/21040553
ScriptGroupTest.Builder2InvokeToKernelDependency failed.
Needs a copy of the FieldPacker object for invoke parameters, which
was passed in as a copy by JNI and released after the closure is
created.
Change-Id: I092fe029394ed898dc66e5ecdbbd86c416abe46b
|
| |
|
|
|
|
|
|
|
| |
b/19944127
- Adjust ref counting
- Fix value size type in closure creation
Change-Id: I1179d34aa67f845578740e71cc2da4f82419f251
|
| |
|
|
|
|
|
|
|
|
|
| |
Also made two other cleanups:
- Changed KernelID/InvokeID into IDBase in class Closure
Rather than having two fields in class Closure, one of type ScriptKernelID and
the other InovkeID, use a single field of the common base class IDBase. Added a
boolean field to indicate whether it is kernel or invoke, since -fno-rtti is on.
- Removed user pointer from CPU closure
Change-Id: I5553f86b2e58325f85649078d48685a38f12d62f
|
| |
|
|
|
|
|
|
|
| |
b/19148482
Reformmated according to Android C++ style guidelines.
Removed STL references in headers.
Change-Id: I6d82b8fe5ac868067b6d9ebe797125feb97e5641
|
| |
|
|
|
|
| |
This also includes support for InvokeID
Change-Id: I5b59df166ea30b309b8dd9623825ac0e72d03856
|
|
|
Change-Id: I9c612cf8874aabaf0ca7d1640567464c71ed3070
|