Sign in
ara-mdk
/
platform
/
frameworks
/
rs
/
6939f7bf32ab2765dcedb8a8d6fd352e7d08540f
/
.
/
java
/
tests
/
RsTest_14
/
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
);
}