diff options
| author | Petar Jovanovic <petar.jovanovic@imgtec.com> | 2015-07-10 14:24:28 +0200 |
|---|---|---|
| committer | Petar Jovanovic <petar.jovanovic@imgtec.com> | 2015-07-14 12:30:42 +0200 |
| commit | 66d9447a14af787b812b1014ec3eb242994dbc10 (patch) | |
| tree | dae08dc875ab8f255a6e2afc4c82825d8253b7fb /cpp/RenderScript.cpp | |
| parent | f47b05b90b16872c63fc08280d2d03e8040135a7 (diff) | |
[MIPS32] Use version of rsGetAllocation() that returns a pointer
Similar to IA-32, MIPS32 has a different struct return calling convention
that uses a hidden parameter. As that becomes the first argument to the
function, all user arguments are shifted down by one.
Thus, we opt for the version of rsGetAllocation() that emulates it with a
pointer.
This fixes issues with live wallpapers (Bubbles, Black Hole, Phase Beam)
and it fixes cts/GetAllocationTest.java for MIPS32.
Change-Id: I51d40f559a3f4c2d77303870a12142923790101c
Diffstat (limited to 'cpp/RenderScript.cpp')
0 files changed, 0 insertions, 0 deletions
