Searched refs:middle_pixel (Results 1 – 1 of 1) sorted by relevance
/cts/tests/vr/jni/ |
D | VrExtensionsJni.cpp | 438 static void testLinearMagnification(JNIEnv* env, uint32_t flags, uint32_t* middle_pixel) { in testLinearMagnification() argument 498 glReadPixels(kFramebufferWidth / 2, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, middle_pixel); in testLinearMagnification() 501 LOGV("Filtered Result: %8.8X Flags =%s", *middle_pixel, flag_string.str().c_str()); in testLinearMagnification() 650 uint32_t middle_pixel; in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestSrgbBuffer() local 652 testLinearMagnification(env, 0, &middle_pixel); in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestSrgbBuffer() 653 ASSERT_NEAR_RGBA(middle_pixel, kExpectedMiddlePixel_NoSrgb, 1); in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestSrgbBuffer() 654 testLinearMagnification(env, SrgbFlag::kHardwareBuffer, &middle_pixel); in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestSrgbBuffer() 655 ASSERT_NEAR_RGBA(middle_pixel, kExpectedMiddlePixel_NoSrgb, 1); in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestSrgbBuffer() 657 testLinearMagnification(env, SrgbFlag::kSrgbFormat, &middle_pixel); in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestSrgbBuffer() 658 ASSERT_NEAR_RGBA(middle_pixel, kExpectedMiddlePixel_LinearizeBeforeFiltering, 1); in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestSrgbBuffer() [all …]
|