Lines Matching refs:desc

106 static void testEglImageArray(JNIEnv* env, AHardwareBuffer_Desc desc,  in testEglImageArray()  argument
108 ASSERT_GT(desc.layers, 1); in testEglImageArray()
110 int error = AHardwareBuffer_allocate(&desc, &hwbuffer); in testEglImageArray()
133 const GLint num_views = desc.layers; in testEglImageArray()
171 AHardwareBuffer_Desc desc = {}; in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestEglImageArray() local
172 desc.width = 32; in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestEglImageArray()
173 desc.height = 32; in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestEglImageArray()
174 desc.usage = AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE | in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestEglImageArray()
188 desc.layers = nlayers; in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestEglImageArray()
189 desc.format = format; in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestEglImageArray()
190 testEglImageArray(env, desc, nsamples); in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestEglImageArray()
199 AHardwareBuffer_Desc desc = {}; in testExternalBuffer() local
200 desc.width = test_string.size(); in testExternalBuffer()
201 desc.height = 1; in testExternalBuffer()
202 desc.layers = 1; in testExternalBuffer()
203 desc.format = AHARDWAREBUFFER_FORMAT_BLOB; in testExternalBuffer()
204 desc.usage = usage; in testExternalBuffer()
206 int error = AHardwareBuffer_allocate(&desc, &hwbuffer); in testExternalBuffer()
218 const GLsizeiptr bufsize = desc.width * desc.height; in testExternalBuffer()
432 AHardwareBuffer_Desc desc = {}; in testLinearMagnification() local
433 desc.width = kTextureWidth; in testLinearMagnification()
434 desc.height = 1; in testLinearMagnification()
435 desc.layers = 1; in testLinearMagnification()
436 desc.format = AHARDWAREBUFFER_FORMAT_R8G8B8A8_UNORM; in testLinearMagnification()
437 desc.usage = in testLinearMagnification()
440 int error = AHardwareBuffer_allocate(&desc, &hwbuffer); in testLinearMagnification()
521 AHardwareBuffer_Desc desc = {}; in testFramebufferBlending() local
522 desc.width = 1; in testFramebufferBlending()
523 desc.height = 1; in testFramebufferBlending()
524 desc.layers = 1; in testFramebufferBlending()
525 desc.format = AHARDWAREBUFFER_FORMAT_R8G8B8A8_UNORM; in testFramebufferBlending()
526 desc.usage = in testFramebufferBlending()
529 int error = AHardwareBuffer_allocate(&desc, &hwbuffer); in testFramebufferBlending()