Sign in
android
/
platform
/
frameworks
/
rs
/
e3ad0f513aed278b4d82adaefe3c51cb73b8bc59
/
.
/
tests
/
java_api
/
RSTest_CompatLibLegacy
/
src
/
com
/
android
/
rs
/
test
/
refcount.rscript
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
);
}