| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
http://b/27556050
Update API generator specification and generated rs_debug.rsh file.
Change-Id: Icc731e16c142720d5cca5523a904d800f67f6253
|
| |
|
|
|
|
| |
Bug: http://b/27512382
Change-Id: Ic19e1de9cd80e87453e28ad4f709ac7060f532c2
|
| |
|
|
|
|
|
|
|
|
| |
Bug: http://b/27512382
For functions with 'custom' test label, initialize an 'outDouble'
variable which has the 'short' output value 'out' converted to double.
Also, print this converted value in case of error.
Change-Id: Iff4123f2103bb9ccad2028bd170f95ce3ebb8515
|
| |
|
|
|
| |
Bug: http://b/27512382
Change-Id: Ibb8c69d6bed07c1551669144e8cf8d710287d02f
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug: http://b/27512382
Enable tests for native_* functions whose specification allows an
absolute error value.
Change-Id: I06e3598216dd86399997ed9c503bf68e736f7ee3
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | | |
Bug: 27529815
Change-Id: Ib024501bddf35e7897e490338b407c289222c672
|
| |\ \ \
| |_|/
|/| | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Bug: 25227549
- Remove "Dreprecated" and add description to it, since it is still
being used.
Change-Id: Ifaac2756bd1d4858893443d4c11641bc5f5767a1
|
| | | |
| | |
| | |
| | |
| | | |
Bug: http://b/27529996
Change-Id: I894818cdd7ebef1172e087be0deab851abebb983
|
| | |/
|/|
| |
| |
| | |
Bug: http://b/27547875
Change-Id: I439debafaa70edadc62cce3af07368239d3c5799
|
| |\ \
| | |
| | |
| | |
| | |
| | | |
* changes:
Reorder tests for Float16 vector functions
Add native_distance for half.
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug: http://b/27547875
Add native_distance to the .spec files and update the auto-generated
rs_vector_math.rsh.
The definition already exists in driver/runtime/rs_cl.c
Change-Id: Ib8e76b7e784c826d060e462859cb33559d66fe32
|
| | |
| |
| |
| |
| | |
Bug: http://b/27512382
Change-Id: Ia7e9f7e1216d879d2c4afdb1fb0838e12ddb75c5
|
| | |
| |
| |
| |
| | |
Bug: http://b/27512382
Change-Id: I63ba284ec033653ce6445c4615ddf7771e390650
|
| |/
|
|
|
|
| |
http://b/27512382
Change-Id: Ib38a07c5a24816bc5857162c184e6b1e18c7edef
|
| |
|
|
|
| |
Bug: http://b/27512382
Change-Id: I2c45fed9d78183a22f7e277034d41160970e0fe1
|
| |
|
|
|
|
|
|
|
| |
Bug: http://b/27512382
Add missing initialization of the Double field corresponding to Float16
parameter to vector parameters when vector size is one.
Change-Id: Ida81ebc6151019df164dede5f769d79d60c32afa
|
| |
|
|
|
|
|
|
|
|
| |
Bug: http://b/27512382
Use uint64_t instead of 'unsigned long' as the latter's size may not
always be 64-bits. Doing so makes maxDoubleForInteger return the
expected result.
Change-Id: I1db0af0e11ff55a99994b6b81a9cb5d18d525e7c
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug: 22872577
Four Allocation related runtime API functions are not supposed to be
called from inside a kernel. Edit the documentation to clarify this
restriction.
Change-Id: I6766a216627fe485d2429c5455c02d0a151c68f8
|
| |/
|
|
|
|
|
|
|
|
| |
http://b/27512382
Enable select Float16 tests to validate changes to CoreMathVerifier and
Target in cts/. Other tests will be enabled once the current changes
get reviewed and submitted.
Change-Id: I679353ac4bd5fb64b4e1fece03bc7380cd82ced3
|
| |
|
|
|
|
|
|
|
|
|
|
| |
http://b/27512382
Extend the test generator to add a short and double field to the
Arguments class for Float16 parameters. Input short values get
converted to double while initializating the Arguments class and output
short values get converted to double before invoking
Target.Floaty.couldBe().
Change-Id: I9848cb4b2ba7b79c5b77d849a4c48e827d24f64c
|
| |\
| |
| |
| | |
into nyc-dev
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
http://b/27358969
This patch skips both rsForEach and rsForEachWithOptions from the
all-api test.
Change-Id: I270be38a5a4f4e6cd25f42e5000d85b38ea0a4df
|
| |/
|
|
|
| |
Bug: 27358969
Change-Id: I186547f79a0fec9ccfe6b9075ca779b33467c1b5
|
| |
|
|
|
|
|
|
|
|
| |
A recent change made these functions non-inline (so that implementations
could accelerate it differently). This change makes things more
consistent, since we don't want a potential missing set of functions.
(cherry picked from commit b1bc853f19a2db925edbcfdd393b3a7def42604e)
Change-Id: I457145ed408ce46c5d013c1592760a1f9e15efd8
|
| |
|
|
|
|
|
|
|
| |
http://b/23536224
While generating tests, identify and pass FunctionType and ReturnType
parameters to Target's constructor.
Change-Id: I0e1be6279d21028175571d53a7def7fc197778eb
|
| |
|
|
|
|
| |
http://b/23536224
Change-Id: Iae4cb0b333bc2c42cab63f01b2bf4e2c0c01a2f1
|
| |
|
|
|
|
|
|
|
|
|
|
| |
http://b/23536224
https://android-review.googlesource.com/#/c/186326/ included
implementations for length, native_length, normalize and
native_normalize in driver/runtime. I had missed adding them to the
API. This CL adds specs for these functions.
Change-Id: Idaefb7ec2e45adb7b0e4b502404b1098f4c9d8c9
(cherry picked from commit 09311ef98909f1c759239cf0b1e258e93feca6e9)
|
| |
|
|
|
|
|
|
|
|
| |
http://b/24862914
- Add RS_TYPE_FLOAT_16 value to rs_data_type enum.
- Add helper functions to create f16 allocations.
Change-Id: I937a1de6f1d80ee50521edd106962e243886198e
(cherry picked from commit f4fee99a12a915fca447370bcae85a40b23cb8d5)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move the implementation of all quaternion functions from rs_math.rsh
driver/runtime. The old implementation remains in place for older
versions, and the move occurs only for an UNRELEASED API level.
Added a new file driver/runtime/rs_quaternion.c to contain the
implementations.
Signed-off-by: Verena Beckham <verena@codeplay.com>
(cherry picked from commit 336fc4b3fb2df22623d51d9bbb996d11cd69f16c)
Change-Id: Ib37fad0a911d05640f7b2b9e88b25cd0053108c1
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix the generator of the RenderScript header files to allow functions
that take rs_quaternion arguments. Previously they were wrongly mangled
in the RenderScript stubs white list (float* instead of float4*). Factor
out the calculation of vector length from the runtime header generator,
and call it after expanding a typedef to update the vector length. This
way it can calculate the right mangling for a function taking a pointer
to rs_quaternion (which is not itself a vector but the mangling does
need to output a vector length, i.e. Dv4_f). This fix is required by a
following change list, which moves the bodies of the quaternion builtins
to libclcore, so their mangled names are then added to the white list.
(cherry picked from commit 1f08801f894a04d3f9221e7a85a93de1e3215def)
Change-Id: If90d402830631e144afa91d6004f710fead89036
|
| |
|
|
|
|
|
|
| |
http://b/23536224
(cherry picked from commit 03ad5f9d481843c6884e7fabcd085bf19fba64a7)
Change-Id: I11ac519865f8f2dc595ca8d356c5df807d0e1ed5
|
| |\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
am: 9084aebf5c
* commit '9084aebf5c4047f61cb02602de071714da286360':
Enable half tests for copysign, ilogb, nextafter
Implement copysign, ilogb and nextafter for half
Update RS headers with copysign, ilogb and nextafter
Add copysign, ilogb and nextafter for half
|
| | |
| |
| |
| |
| |
| | |
http://b/23536224
Change-Id: Ib760a4120ec3ca3b1ad0459bd0e35398fd83bc4f
|
| | |
| |
| |
| | |
Change-Id: I2ed106fa112ba57baba10ce7208de45876cf713f
|
| | |
| |
| |
| | |
Change-Id: I8aebea2205a23ea70f32d6f1f19a1d5cba705bcf
|
| |\|
| |
| |
| |
| |
| |
| | |
am: 60c8a9c1fa
* commit '60c8a9c1fadc323c4d458738ceae20916f45f6e1':
Avoid casting varargs
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug: 26912071
The auto generating tool for API should not cast arguments of varargs.
Doing so would be incorrect code in the auto-generated test calls for
RS API.
Change-Id: I88637b306cd4224e2018f5a0dbc2683b59b86f1f
|
| |\|
| |
| |
| |
| |
| |
| | |
am: f772e7893c
* commit 'f772e7893ce71f43dc5df2a214213a2e919b610c':
Fixed rsQuaternionAdd() implementation
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug: 26272685
We use float4 to represent a quaternion, in which
a float4 q = (x,y,z,w) represents quaternion
wi + xj + yk + zl.
According to Wikipedia and Wolfram, the addition of two quaternions
q and r should be defined as the following
(q.w+r.w)i + (q.x+r.x)j + (q.y+q.y)k + (q.z+r.z)l,
using the above representation of quaternions.
https://en.wikipedia.org/wiki/Quaternion
http://mathworld.wolfram.com/Quaternion.html
Change-Id: I07837b266f51b664bed2dc50b9ff71ba375f5aaf
|
| |\|
| |
| |
| |
| |
| |
| |
| |
| | |
e961168a5f
am: eabdaf0133
* commit 'eabdaf01332a6194c01cedcf1f53902d50a78eae':
Move implementations of matrix functions into driver/runtime.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Move the implementation of rsExtractFrustumPlanes and
rsIsSphereInFrustum from rs_math.rsh into driver/runtime. The old
implementation remains in place for older versions, and the move
occurs only for API level 24 and up.
Change-Id: I7661e71eb5d344e39fa84e0aa502c621936e68a0
Signed-off-by: Verena Beckham <verena@codeplay.com>
|
| |\|
| |
| |
| |
| |
| |
| | |
am: 6659c1873b
* commit '6659c1873b9a4234c401ee5ac941f288e20c51c0':
Move implementation of fract(float) into driver/runtime.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Move the implementation of the float variant of fract from rs_math.rsh
into driver/runtime. The old implementation remains in place for older
versions, and the move occurs only for API level >= 24.
Signed-off-by: Verena Beckham <verena@codeplay.com>
Change-Id: Id94e7191604d5ccaee41b6634731ee997bf01983
|
| |\|
| |
| |
| |
| |
| |
| | |
am: 8871aaed33
* commit '8871aaed33ff8b1764ecdde06ecc35107f7b462c':
Remove the always_inline attribute on all RS builtins.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Remove the always_inline attribute on all RenderScript builtins
in the specification files. This leads to the removal of that
attribute from the declarations of all those functions in the
RenderScript header files.
Also, updates a comment in the unrelated file rs_for_each.rsh.
I presume someone forgot to update that when they changed the
corresponding spec file.
Signed-off-by: Verena Beckham <verena@codeplay.com>
Change-Id: Ia4cdffdbdc9866a5b961356218dd01732bf2e830
|
| |/
|
|
|
|
|
|
|
|
|
| |
Updated the RenderScript API spec files, and reran the auto-generating
script for the single-source RS API.
Also updated LatencyBenchmark makefile to set its target-api to 23,
since it uses the deprecated rsForEach() function that takes a script
parameter.
Change-Id: I75d36010be49a0cdcbe1d6ec1fc7eed3a6d7b12b
|