summaryrefslogtreecommitdiff
path: root/renderscript/1.0/default/Context.cpp
AgeCommit message (Collapse)Author
2018-10-29Add missing copyright info to RS default implementation.Miao Wang
Bug: 118068536 Test: none Change-Id: I896f8f4734d5bf76a889198255d5851bcd696714
2018-01-24Log dlerror on dlopen related failuresBrian Carlstrom
Bug: 72300913 Bug: 72342986 Bug: 72462122 Test: manually confirmed logging on failure Change-Id: I401587311e5c3e3d1ef69516645ebb2dd4479c51
2017-06-02[RenderScript] Use OVERRIDE_RS_DRIVER string in the defaultMiao Wang
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
2017-03-29Fix RS HIDL server, pass data by bytes instead of by elements.Michael Butler
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)
2017-03-08renderscript: fix unused variable warningSteven Moreland
Test: pass Change-Id: I1f87c4430a908a41f7fd117de0d669420d508a69
2017-02-21Fix mips-related build breakage.Stephen Hines
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
2017-02-21RenderScript HIDL HAL definition and server-side implementation.Miao Wang
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