Home
last modified time | relevance | path

Searched refs:bufferDesc (Results 1 – 5 of 5) sorted by relevance

/external/skia/src/gpu/
DGrAHardwareBufferImageGenerator.cpp52 AHardwareBuffer_Desc bufferDesc; in Make() local
53 AHardwareBuffer_describe(graphicBuffer, &bufferDesc); in Make()
56 GrAHardwareBufferUtils::GetSkColorTypeFromBufferFormat(bufferDesc.format); in Make()
57 SkImageInfo info = SkImageInfo::Make(bufferDesc.width, bufferDesc.height, colorType, in Make()
60 bool createProtectedImage = 0 != (bufferDesc.usage & AHARDWAREBUFFER_USAGE_PROTECTED_CONTENT); in Make()
63 bufferDesc.format, surfaceOrigin)); in Make()
/external/skia/src/image/
DSkSurface_Gpu.cpp595 AHardwareBuffer_Desc bufferDesc; in MakeFromAHardwareBuffer() local
596 AHardwareBuffer_describe(hardwareBuffer, &bufferDesc); in MakeFromAHardwareBuffer()
598 if (!SkToBool(bufferDesc.usage & AHARDWAREBUFFER_USAGE_GPU_COLOR_OUTPUT)) { in MakeFromAHardwareBuffer()
602 bool isTextureable = SkToBool(bufferDesc.usage & AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE); in MakeFromAHardwareBuffer()
603 bool isProtectedContent = SkToBool(bufferDesc.usage & AHARDWAREBUFFER_USAGE_PROTECTED_CONTENT); in MakeFromAHardwareBuffer()
612 bufferDesc.format, in MakeFromAHardwareBuffer()
624 bufferDesc.width, bufferDesc.height, in MakeFromAHardwareBuffer()
633 GrAHardwareBufferUtils::GetSkColorTypeFromBufferFormat(bufferDesc.format); in MakeFromAHardwareBuffer()
DSkImage_Gpu.cpp599 AHardwareBuffer_Desc bufferDesc; in MakeFromAHardwareBufferWithData() local
600 AHardwareBuffer_describe(hardwareBuffer, &bufferDesc); in MakeFromAHardwareBufferWithData()
602 if (!SkToBool(bufferDesc.usage & AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE)) { in MakeFromAHardwareBufferWithData()
608 bufferDesc.format, in MakeFromAHardwareBufferWithData()
620 bufferDesc.width, bufferDesc.height, in MakeFromAHardwareBufferWithData()
629 GrAHardwareBufferUtils::GetSkColorTypeFromBufferFormat(bufferDesc.format); in MakeFromAHardwareBufferWithData()
668 SkImageInfo srcInfo = SkImageInfo::Make(bufferDesc.width, bufferDesc.height, colorType, at, in MakeFromAHardwareBufferWithData()
/external/skqp/src/gpu/
DGrAHardwareBufferImageGenerator.cpp72 AHardwareBuffer_Desc bufferDesc; in Make() local
73 AHardwareBuffer_describe(graphicBuffer, &bufferDesc); in Make()
75 switch (bufferDesc.format) { in Make()
100 SkImageInfo info = SkImageInfo::Make(bufferDesc.width, bufferDesc.height, colorType, in Make()
102 bool createProtectedImage = 0 != (bufferDesc.usage & AHARDWAREBUFFER_USAGE_PROTECTED_CONTENT); in Make()
105 bufferDesc.format, surfaceOrigin)); in Make()
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_10_0.inc1005 …CUdeviceptr *devPtr, CUexternalMemory extMem, const CUDA_EXTERNAL_MEMORY_BUFFER_DESC *bufferDesc) {
1009 return func_ptr(devPtr, extMem, bufferDesc);