Searched refs:gralloc_usage (Results 1 – 2 of 2) sorted by relevance
1953 int gralloc_usage = 0; in allocate() local1999 gralloc_usage = GRALLOC_USAGE_HW_CAMERA_WRITE; in allocate()2000 gralloc_usage |= mUsage; in allocate()2001 err = mWindow->set_usage(mWindow, gralloc_usage); in allocate()2009 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()