Lines Matching refs:hwbufferDesc
392 AHardwareBuffer_Desc hwbufferDesc; in findOrCreateHwBuffer() local
393 deMemset(&hwbufferDesc, 0, sizeof(hwbufferDesc)); in findOrCreateHwBuffer()
397 hwbufferDesc.width = image->getExtent().width; in findOrCreateHwBuffer()
398 hwbufferDesc.height = image->getExtent().height; in findOrCreateHwBuffer()
399 hwbufferDesc.layers = image->getArrayLayers(); in findOrCreateHwBuffer()
403 hwbufferDesc.format = AHARDWAREBUFFER_FORMAT_R8G8B8A8_UNORM; in findOrCreateHwBuffer()
406 hwbufferDesc.format = AHARDWAREBUFFER_FORMAT_R8G8B8_UNORM; in findOrCreateHwBuffer()
409 hwbufferDesc.format = AHARDWAREBUFFER_FORMAT_R5G6B5_UNORM; in findOrCreateHwBuffer()
412 hwbufferDesc.format = AHARDWAREBUFFER_FORMAT_R16G16B16A16_FLOAT; in findOrCreateHwBuffer()
415 hwbufferDesc.format = AHARDWAREBUFFER_FORMAT_R10G10B10A2_UNORM; in findOrCreateHwBuffer()
422 hwbufferDesc.usage |= AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in findOrCreateHwBuffer()
424 hwbufferDesc.usage |= AHARDWAREBUFFER_USAGE_GPU_COLOR_OUTPUT; in findOrCreateHwBuffer()
431 hwbufferDesc.usage |= AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in findOrCreateHwBuffer()
435 hwbufferDesc.width = static_cast<deUint32>(pAllocInfo->allocationSize); in findOrCreateHwBuffer()
436 hwbufferDesc.height = 1, in findOrCreateHwBuffer()
437 hwbufferDesc.layers = 1, in findOrCreateHwBuffer()
438 hwbufferDesc.format = AHARDWAREBUFFER_FORMAT_BLOB, in findOrCreateHwBuffer()
439 hwbufferDesc.usage = AHARDWAREBUFFER_USAGE_GPU_DATA_BUFFER; in findOrCreateHwBuffer()
442 AHardwareBuffer_allocate(&hwbufferDesc, &hwbuffer); in findOrCreateHwBuffer()