Home
last modified time | relevance | path

Searched refs:usageFlags (Results 1 – 7 of 7) sorted by relevance

/frameworks/rs/
DrsAllocation.h58 uint32_t usageFlags; member
142 return (mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT) != 0; in getIsScript()
145 return (mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_TEXTURE) != 0; in getIsTexture()
148 return (mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_RENDER_TARGET) != 0; in getIsRenderTarget()
151 return (mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_VERTEX) != 0; in getIsBufferObject()
DrsFBOCache.cpp53 if (!(a->getIsTexture() || (a->mHal.state.usageFlags & RS_ALLOCATION_USAGE_IO_OUTPUT))) { in bindColorTarget()
DrsAllocation.cpp36 mHal.state.usageFlags = usages; in Allocation()
271 prefix, mHal.drvState.lod[0].mallocPtr, mHal.state.usageFlags, mHal.state.mipmapControl); in dumpLOGV()
529 if (mHal.state.usageFlags & RS_ALLOCATION_USAGE_SCRIPT) { in ioReceive()
/frameworks/rs/driver/
DrsdAllocation.cpp169 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()
[all …]
/frameworks/rs/driver/runtime/
Drs_structs.h37 uint32_t usageFlags; member
Drs_sample.c546 if (!(alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_TEXTURE)) { in rsSample()
599 if (!(alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_TEXTURE)) { in rsSample()
644 if (!(alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_GRAPHICS_TEXTURE)) { in rsSample()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyCameraDevice.java537 int usageFlags = detectSurfaceUsageFlags(output); in isFlexibleConsumer() local
544 boolean flexibleConsumer = ((usageFlags & disallowedFlags) == 0 && in isFlexibleConsumer()
545 (usageFlags & allowedFlags) != 0); in isFlexibleConsumer()