Age | Commit message (Collapse) | Author |
|
Change-Id: I9ebda4e61be9cf270233ea8c0c51892517395487
|
|
Bug: 18322681
- In rsCpuScript, if property rs.skip.linkloader is set, look for a .so
file in the cache directory and load it. If it is not available, use
bcc to generate relocatable object file and link it to a .so using
ld.mc. Use the embedded symbols in .rs.info and follow steps similar
to the compatibility library to invoke script functions or access
script variables.
- Add rs* symbols like rsGetAllocation to libRSCpuRef (ala
libRSSupport). Do necessary changes to argument types to get mangled
names correct.
- Make 64-bit version of rsSetObject take two pointers instead of a
pointer and a large object. rsIsObject takes a pointer instead of a
large object. Otherwise, we get failures in x86_64 due to calling
convention mismatch. To match the function names in the shared object
path, define these functions as 'extern "C"' with their mangled names.
- Add stubbed Math functions from rsCpuRuntimeMath and
rsCpuRuntimeMathFuncs into libRSCpuRef.so.
- Coalesce separate #ifdef paths in libRSCpuRef. Function parameters
for runtime callbacks and bcc plugin are needed in the
non-compatibilty path, but take default NULL arguments. This patch
introduces these parameters into the compatibility path as well, and
passes default NULL arguments.
Change-Id: I8a853350e39d30b4d852c30e4b5da5a75a2f2820
|
|
Fix ilobg's return type in compat mode - was float instead of an int.
Change-Id: I523248fd1e2a867f3f8dbb0772771ef51f76ff53
|
|
Change-Id: I918c40879aa547438f77e7d1a95fa2aa33bec398
|
|
Adds exp2f.
Change-Id: I97c83af4b3be2cdadea2c2e9243da4772d5b4e69
|
|
Adds rsDebug for doubles. Also adds additional powf lookup.
Change-Id: I0f0a815a2b143102bcbf6d274d1ca4a0d897b651
|
|
Missing functions:
rsFrac(float)
rsMatrixLoadRotate(rs_matrix4x4 *, float, float, float, float)
rsMatrixLoadScale(rs_matrix4x4 *, float, float, float)
rsMatrixLoadTranslate(rs_matrix4x4 *, float, float, float)
rsMatrixRotate(rs_matrix4x4 *, float, float, float, float)
rsMatrixScale(rs_matrix4x4 *, float, float, float)
rsMatrixTranslate(rs_matrix4x4 *, float, float, float)
rsMatrixLoadOrtho(rs_matrix4x4 *, float, float, float, float, float, float)
rsMatrixLoadFrustum(rs_matrix4x4 *, float, float, float, float, float, float)
rsMatrixLoadPerspective(rs_matrix4x4 *, float, float, float, float)
rsMatrixInverse(rs_matrix4x4 *)
rsMatrixInverseTranspose(rs_matrix4x4 *)
rsMatrixTranspose(rs_matrix4x4 *)
rsMatrixTranspose(rs_matrix3x3 *)
rsMatrixTranspose(rs_matrix2x2 *)
rsUptimeNanos()
rsGetDt()
Headers tested in this CL:
rs_element.rsh
rs_math.rsh
rs_matrix.rsh
rs_object.rsh
rs_sampler.rsh
rs_time.rsh
Change-Id: I6cb1972a44f66dc7fed8fe3cf0329720d166af81
|
|
Bug: 10315692
Removed CLOCK_BOOTTIME, added some additional guards around cutils includes,
and explicitly included errno.h when we use ETIMEDOUT.
Change-Id: I0a764beea2f8ff7387a9afe985f00b5f03c68725
|
|
Bug: 10315692
GB devices don't have tgammaf(float) and only have tgamma(double). We
provide a simple wrapper to convert between the two for the compatibility
library.
Change-Id: Id8566450405482e876148d62ffbe46fa62049049
|
|
Change-Id: I0acaa409908f83c690c95b47979f820bc2dac9f5
|
|
Change-Id: I2950e1b4f785bcc1f0b6154ce822fe17832b3f4f
|
|
Change-Id: I674acaf15b67afa48bc736f72942a11e2e38e940
|
|
Change-Id: Ibfa2c7c7da56d158f424ac343e364feacd0a21da
|
|
Change-Id: I690673f98244c490302cb25145cfcc8dd4125637
|
|
Change-Id: I962ea4327c11d10b35e93bb71a1367a7ee41464f
|
|
Change-Id: Ifb484edda665959b81d7b1f890d108bfa20a535d
|