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