Lines Matching refs:usageFlags

169     if (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_IO_INPUT) {  in UploadToTexture()
193 if (!(alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT)) { in UploadToTexture()
382 if (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_IO_OUTPUT) { in rsdAllocationInit()
384 } else if (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_IO_INPUT) { in rsdAllocationInit()
390 … if (!(alloc->mHal.state.usageFlags == (RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_USAGE_SHARED) || in rsdAllocationInit()
391 …alloc->mHal.state.usageFlags == (RS_ALLOCATION_USAGE_SCRIPT | RS_ALLOCATION_USAGE_SHARED | RS_ALLO… in rsdAllocationInit()
433 if (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_TEXTURE) { in rsdAllocationInit()
440 if (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_VERTEX) { in rsdAllocationInit()
454 if (alloc->mHal.state.usageFlags & ~RS_ALLOCATION_USAGE_SCRIPT) { in rsdAllocationInit()
499 !(alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_IO_INPUT) && in rsdAllocationDestroy()
500 !(alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_IO_OUTPUT)) { in rsdAllocationDestroy()
512 if ((alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_IO_OUTPUT) && in rsdAllocationDestroy()
513 (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT)) { in rsdAllocationDestroy()
539 if (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_SHARED) { in rsdAllocationResize()
615 if (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_TEXTURE) { in rsdAllocationSyncAll()
618 if ((alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_RENDER_TARGET) && in rsdAllocationSyncAll()
619 !(alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_IO_OUTPUT)) { in rsdAllocationSyncAll()
623 if (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_VERTEX) { in rsdAllocationSyncAll()
627 if (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_SHARED) { in rsdAllocationSyncAll()
680 if (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_RENDER_TARGET) { in rsdAllocationSetSurface()
702 if (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT) { in rsdAllocationSetSurface()
705 if (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_RENDER_TARGET) { in rsdAllocationSetSurface()
761 if (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_RENDER_TARGET) { in rsdAllocationIoSend()
767 if (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT) { in rsdAllocationIoSend()
788 if (!(alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT)) { in rsdAllocationIoReceive()