Lines Matching refs:usageFlags
164 if (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_IO_INPUT) { in UploadToTexture()
188 if (!(alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT)) { in UploadToTexture()
388 if (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_IO_OUTPUT) { in rsdAllocationInitStrided()
390 } else if (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_IO_INPUT) { in rsdAllocationInitStrided()
394 …} else if (alloc->mHal.state.usageFlags == (RS_ALLOCATION_USAGE_INCREMENTAL_SUPPORT | RS_ALLOCATIO… in rsdAllocationInitStrided()
410 … if (!(alloc->mHal.state.usageFlags == (RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_USAGE_SHARED) || in rsdAllocationInitStrided()
411 …alloc->mHal.state.usageFlags == (RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_USAGE_SHARED | RS_ALLO… in rsdAllocationInitStrided()
452 if (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_TEXTURE) { in rsdAllocationInitStrided()
459 if (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_VERTEX) { in rsdAllocationInitStrided()
472 if (alloc->mHal.state.usageFlags & ~RS_ALLOCATION_USAGE_SCRIPT) { in rsdAllocationInitStrided()
559 !(alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_IO_INPUT) && in rsdAllocationDestroy()
560 !(alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_IO_OUTPUT)) { in rsdAllocationDestroy()
573 if ((alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_IO_OUTPUT) && in rsdAllocationDestroy()
574 (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT)) { in rsdAllocationDestroy()
600 if (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_SHARED) { in rsdAllocationResize()
676 if (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_TEXTURE) { in rsdAllocationSyncAll()
679 if ((alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_RENDER_TARGET) && in rsdAllocationSyncAll()
680 !(alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_IO_OUTPUT)) { in rsdAllocationSyncAll()
684 if (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_VERTEX) { in rsdAllocationSyncAll()
688 if (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_SHARED) { in rsdAllocationSyncAll()
768 if (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT) { in rsdAllocationSetSurface()
790 if (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_RENDER_TARGET) { in rsdAllocationIoSend()
797 if (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT) { in rsdAllocationIoSend()