Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
frameworks
/
base
/
690d3435a4564f6ea7b37e1c6446b5301aeca6b6
/
.
/
tests
/
RenderScriptTests
/
tests_v14
/
src
/
com
/
android
/
rs
/
test
/
refcount.rs
blob: 4ea70e2ed94d97d80d624c720e3b7f23e7e172fd [
file
] [
log
] [
blame
]
#
include
"shared.rsh"
// Testing reference counting of RS object types
rs_allocation globalA
;
static
rs_allocation staticGlobalA
;
void refcount_test
()
{
staticGlobalA
=
globalA
;
rsClearObject
(&
globalA
);
rsSendToClientBlocking
(
RS_MSG_TEST_PASSED
);
}