History log of /hardware/interfaces/renderscript/1.0/default/Context.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
41d8a44280e95b593883b28c1c043b4d26e90a40 17-May-2017 Miao Wang <miaowang@google.com> [RenderScript] Use OVERRIDE_RS_DRIVER string in the default
implementation.

Bug: 37035983
Test: mm
Test: manually push to sailfish & angler, verify GPU driver successfully
load, and tests are passing.

Change-Id: Ic55c74228e7eae599702365c513009aa3454656b
Merged-In: Ic55c74228e7eae599702365c513009aa3454656b
/hardware/interfaces/renderscript/1.0/default/Context.cpp
1791d9bfabcb3ec06bfd61f0818f89b726bc1426 27-Mar-2017 Michael Butler <butlermichael@google.com> Fix RS HIDL server, pass data by bytes instead of by elements.

Our current stack:
API->API_TO_HAL_translator->HAL
->HAL_TO_Implementation_translator->Implementation

For most APIs:
- API passes objectCount.
- HAL expects objectCount.
- Implementation expects objectCount.

For APIs like ScriptGroupCreate:
- API passes byteCount. And unfortunately, these APIs are part of
NDK, we could not make them also passing objectCount like others.
- HAL expects objectCount.
- Implementation expects byteCount.

So that both API_TO_HAL_translator and
HAL_TO_Implementation_translator should correctly convert input
objectCount/byteCount to byteCount/objectCount.

This CL only fixes the HAL_TO_Implementation_translator part,
whereas aosp/356395 fixes the API_TO_HAL_translator part. Both
parts were mistakenly using byteCount as objectCount, causing
potential out-of-bound access.

Bug: 36404879
Test: mm on angler
Change-Id: I28541a8926aeafece40e2a3f664bda67e26a34a2
(cherry picked from commit fd14e27b8997da6b453174af2af2e1cf66e01b5d)
/hardware/interfaces/renderscript/1.0/default/Context.cpp
96d2e3e9dfb2cdb7a5754a8d4d5e13962368fdfd 09-Mar-2017 Steven Moreland <smoreland@google.com> renderscript: fix unused variable warning

Test: pass
Change-Id: I1f87c4430a908a41f7fd117de0d669420d508a69
/hardware/interfaces/renderscript/1.0/default/Context.cpp
746f3cd894f24de74a5be8a24768e8b732b88000 17-Feb-2017 Stephen Hines <srhines@google.com> Fix mips-related build breakage.

Bug: http://b/34396220
Test: Builds successfully.

MIPS targets predefine _mips to 1, which will conflict with the _mips
variable name that was being used in the HAL here. Rename it to _amips
instead, so that it won't conflict.

Merged-In: Id13f34b740959852dff600259e3405eb72d0983a
Change-Id: Id13f34b740959852dff600259e3405eb72d0983a
/hardware/interfaces/renderscript/1.0/default/Context.cpp
b78b2f4ee68b1d1f27848f96f5a9383355018f10 20-Jan-2017 Miao Wang <miaowang@google.com> RenderScript HIDL HAL definition and server-side implementation.

Contains the definition and implementation of the HAL.

Bug: 34396220

Test: mm, all cts tests pass on bullhead and sailfish
Merged-In: Ic560efef34f647f441c32ba01ca29d83a3d98b69
Change-Id: Ic560efef34f647f441c32ba01ca29d83a3d98b69
/hardware/interfaces/renderscript/1.0/default/Context.cpp