Lines Matching refs:desc
44 AHardwareBuffer_Desc desc; in GaneshBackendTexture() local
45 AHardwareBuffer_describe(buffer, &desc); in GaneshBackendTexture()
46 const bool createProtectedImage = 0 != (desc.usage & AHARDWAREBUFFER_USAGE_PROTECTED_CONTENT); in GaneshBackendTexture()
52 GrAHardwareBufferUtils::GetGLBackendFormat(grContext.get(), desc.format, false); in GaneshBackendTexture()
54 GrAHardwareBufferUtils::MakeGLBackendTexture(grContext.get(), buffer, desc.width, in GaneshBackendTexture()
55 desc.height, &mDeleteProc, in GaneshBackendTexture()
61 desc.format, false); in GaneshBackendTexture()
64 desc.width, desc.height, in GaneshBackendTexture()
72 if (!mBackendTexture.isValid() || !desc.width || !desc.height) { in GaneshBackendTexture()
75 this, desc.width, desc.height, createProtectedImage, isOutputBuffer, in GaneshBackendTexture()
76 desc.format); in GaneshBackendTexture()