• Home
  • Raw
  • Download

Lines Matching refs:middle_pixel

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()
661 …nearMagnification(env, SrgbFlag::kHardwareBuffer | SrgbFlag::kEglColorspaceDefault, &middle_pixel); in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestSrgbBuffer()
662 ASSERT_NEAR_RGBA(middle_pixel, kExpectedMiddlePixel_NoSrgb, 1); in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestSrgbBuffer()
663 …inearMagnification(env, SrgbFlag::kHardwareBuffer | SrgbFlag::kEglColorspaceLinear, &middle_pixel); in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestSrgbBuffer()
664 ASSERT_NEAR_RGBA(middle_pixel, kExpectedMiddlePixel_NoSrgb, 1); in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestSrgbBuffer()
665 …tLinearMagnification(env, SrgbFlag::kHardwareBuffer | SrgbFlag::kEglColorspaceSrgb, &middle_pixel); in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestSrgbBuffer()
666 ASSERT_NEAR_RGBA(middle_pixel, kExpectedMiddlePixel_LinearizeBeforeFiltering, 1); in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestSrgbBuffer()