Searched refs:usageFlags (Results 1 – 10 of 10) sorted by relevance
76 !(alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_IO_INPUT) && in rscAllocationDestroy()77 !(alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_IO_OUTPUT)) { in rscAllocationDestroy()83 if ((alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_IO_OUTPUT) && in rscAllocationDestroy()84 (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT)) { in rscAllocationDestroy()100 if (alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT) { in rscAllocationIoSend()
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()[all …]
58 uint32_t usageFlags; member159 return (mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT) != 0; in getIsScript()162 return (mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_TEXTURE) != 0; in getIsTexture()165 return (mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_RENDER_TARGET) != 0; in getIsRenderTarget()168 return (mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_VERTEX) != 0; in getIsBufferObject()
52 if (!(a->getIsTexture() || (a->mHal.state.usageFlags & RS_ALLOCATION_USAGE_IO_OUTPUT))) { in bindColorTarget()
34 mHal.state.usageFlags = usages; in Allocation()47 mHal.state.usageFlags = alloc->mHal.state.usageFlags; in Allocation()363 prefix, mHal.drvState.lod[0].mallocPtr, mHal.state.usageFlags, mHal.state.mipmapControl); in dumpLOGV()633 if (mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT) { in ioReceive()
637 int usageFlags = detectSurfaceUsageFlags(output); in isFlexibleConsumer() local644 boolean flexibleConsumer = ((usageFlags & disallowedFlags) == 0 && in isFlexibleConsumer()645 (usageFlags & allowedFlags) != 0); in isFlexibleConsumer()650 int usageFlags = detectSurfaceUsageFlags(output); in isPreviewConsumer() local655 boolean previewConsumer = ((usageFlags & disallowedFlags) == 0 && in isPreviewConsumer()656 (usageFlags & allowedFlags) != 0); in isPreviewConsumer()668 int usageFlags = detectSurfaceUsageFlags(output); in isVideoEncoderConsumer() local672 boolean videoEncoderConsumer = ((usageFlags & disallowedFlags) == 0 && in isVideoEncoderConsumer()673 (usageFlags & allowedFlags) != 0); in isVideoEncoderConsumer()
98 uint64_t usageFlags = GRALLOC_USAGE_HW_RENDER; in setProtected() local100 usageFlags |= GRALLOC_USAGE_PROTECTED; in setProtected()102 const int status = native_window_set_usage(mNativeWindow.get(), usageFlags); in setProtected()
238 VkImageUsageFlags usageFlags = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | in Create() local241 LOG_ALWAYS_FATAL_IF((caps.supportedUsageFlags & usageFlags) != usageFlags); in Create()278 imageFormatInfo.usage = usageFlags; in Create()
40 uint32_t usageFlags; member
542 if (!(alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_TEXTURE)) { in rsSample()595 if (!(alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_TEXTURE)) { in rsSample()640 if (!(alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_TEXTURE)) { in rsSample()