Searched refs:gralloc_usage (Results 1 – 2 of 2) sorted by relevance
2224 int gralloc_usage = 0; in allocate() local2262 gralloc_usage = GRALLOC_USAGE_HW_CAMERA_WRITE; in allocate()2264 gralloc_usage |= ( GRALLOC_USAGE_HW_CAMERA_MASK | GRALLOC_USAGE_PROTECTED); in allocate()2267 gralloc_usage |= mUsage; in allocate()2268 err = mWindow->set_usage(mWindow, gralloc_usage); in allocate()2276 gralloc_usage, mWindow, mWidth, mHeight, mStride, in allocate()
761 int gralloc_usage = 0; in initDisplayBuffers() local839 gralloc_usage = CAMERA_GRALLOC_HEAP_ID | CAMERA_GRALLOC_FALLBACK_HEAP_ID | in initDisplayBuffers()843 rc = mPreviewWindow->set_usage(mPreviewWindow, gralloc_usage); in initDisplayBuffers()