Home
last modified time | relevance | path

Searched refs:openCountPtr (Results 1 – 1 of 1) sorted by relevance

/device/generic/goldfish-opengl/system/gralloc/
Dgralloc_old.cpp962 int32_t* openCountPtr = &openCount; in gralloc_free() local
965 openCountPtr = getOpenCountPtr(cb); in gralloc_free()
968 if (*openCountPtr > 0) { in gralloc_free()
975 *openCountPtr = -1; in gralloc_free()
1077 int32_t* openCountPtr = getOpenCountPtr(cb); in gralloc_register_buffer() local
1078 if (!*openCountPtr) *openCountPtr = 1; in gralloc_register_buffer()
1119 int32_t* openCountPtr = getOpenCountPtr(cb); in gralloc_unregister_buffer() local
1120 if (*openCountPtr == -1) { in gralloc_unregister_buffer()
1123 *openCountPtr = -2; in gralloc_unregister_buffer()