• Home
  • Raw
  • Download

Lines Matching refs:desc

119 static void testEglImageArray(JNIEnv* env, AHardwareBuffer_Desc desc,  in testEglImageArray()  argument
121 ASSERT_GT(desc.layers, 1); in testEglImageArray()
124 if (AHardwareBuffer_allocate(&desc, &hwbuffer) != NO_ERROR) return; in testEglImageArray()
146 const GLint num_views = desc.layers; in testEglImageArray()
184 AHardwareBuffer_Desc desc = {}; in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestEglImageArray() local
185 desc.width = 32; in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestEglImageArray()
186 desc.height = 32; in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestEglImageArray()
187 desc.usage = AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE | in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestEglImageArray()
201 desc.layers = nlayers; in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestEglImageArray()
202 desc.format = format; in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestEglImageArray()
203 testEglImageArray(env, desc, nsamples); in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestEglImageArray()
212 AHardwareBuffer_Desc desc = {}; in testExternalBuffer() local
213 desc.width = test_string.size(); in testExternalBuffer()
214 desc.height = 1; in testExternalBuffer()
215 desc.layers = 1; in testExternalBuffer()
216 desc.format = AHARDWAREBUFFER_FORMAT_BLOB; in testExternalBuffer()
217 desc.usage = usage; in testExternalBuffer()
219 int error = AHardwareBuffer_allocate(&desc, &hwbuffer); in testExternalBuffer()
231 const GLsizeiptr bufsize = desc.width * desc.height; in testExternalBuffer()
446 AHardwareBuffer_Desc desc = {}; in testLinearMagnification() local
447 desc.width = kTextureWidth; in testLinearMagnification()
448 desc.height = 1; in testLinearMagnification()
449 desc.layers = 1; in testLinearMagnification()
450 desc.format = AHARDWAREBUFFER_FORMAT_R8G8B8A8_UNORM; in testLinearMagnification()
451 desc.usage = in testLinearMagnification()
454 int error = AHardwareBuffer_allocate(&desc, &hwbuffer); in testLinearMagnification()
534 AHardwareBuffer_Desc desc = {}; in testFramebufferBlending() local
535 desc.width = 1; in testFramebufferBlending()
536 desc.height = 1; in testFramebufferBlending()
537 desc.layers = 1; in testFramebufferBlending()
538 desc.format = AHARDWAREBUFFER_FORMAT_R8G8B8A8_UNORM; in testFramebufferBlending()
539 desc.usage = in testFramebufferBlending()
542 int error = AHardwareBuffer_allocate(&desc, &hwbuffer); in testFramebufferBlending()