Searched refs:final_color (Results 1 – 1 of 1) sorted by relevance
/cts/tests/vr/jni/ |
D | VrExtensionsJni.cpp | 507 static void testFramebufferBlending(JNIEnv* env, uint32_t flags, uint32_t* final_color) { in testFramebufferBlending() argument 587 glReadPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, final_color); in testFramebufferBlending() 590 LOGV("Blending Result: %8.8X Flags =%s", *final_color, flag_string.str().c_str()); in testFramebufferBlending() 672 uint32_t final_color; in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestSrgbBuffer() local 674 testFramebufferBlending(env, 0, &final_color); in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestSrgbBuffer() 675 ASSERT_NEAR_RGBA(final_color, kExpectedBlendedPixel_NoSrgb, 1); in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestSrgbBuffer() 676 testFramebufferBlending(env, SrgbFlag::kHardwareBuffer, &final_color); in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestSrgbBuffer() 677 ASSERT_NEAR_RGBA(final_color, kExpectedBlendedPixel_NoSrgb, 1); in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestSrgbBuffer() 679 testFramebufferBlending(env, SrgbFlag::kSrgbFormat, &final_color); in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestSrgbBuffer() 680 ASSERT_NEAR_RGBA(final_color, kExpectedBlendedPixel_Srgb, 1); in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestSrgbBuffer() [all …]
|