/frameworks/native/libs/gui/tests/ |
D | SurfaceTextureClient_test.cpp | 56 mANW = mSTC; in SetUp() 95 mANW.clear(); in TearDown() 119 sp<ANativeWindow> mANW; member in android::SurfaceTextureClientTest 134 int err = mANW->query(mANW.get(), NATIVE_WINDOW_QUEUES_TO_WINDOW_COMPOSER, in TEST_F() 142 int err = mANW->query(mANW.get(), NATIVE_WINDOW_CONCRETE_TYPE, &result); in TEST_F() 173 EGLSurface eglSurface = eglCreateWindowSurface(dpy, myConfig, mANW.get(), in TEST_F() 187 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, mEglConfig, mANW.get(), nullptr); in TEST_F() 214 EXPECT_GT(OK, native_window_set_buffers_dimensions(mANW.get(), 0, 8)); in TEST_F() 215 EXPECT_GT(OK, native_window_set_buffers_dimensions(mANW.get(), 8, 0)); in TEST_F() 219 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F() [all …]
|
D | SurfaceTextureGL_test.cpp | 31 ASSERT_EQ(NO_ERROR, native_window_api_connect(mANW.get(), in TEST_F() 33 ASSERT_EQ(NO_ERROR, native_window_set_buffers_dimensions(mANW.get(), in TEST_F() 35 ASSERT_EQ(NO_ERROR, native_window_set_buffers_format(mANW.get(), in TEST_F() 37 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(), in TEST_F() 41 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), in TEST_F() 52 ASSERT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(), buf->getNativeBuffer(), in TEST_F() 81 ASSERT_EQ(NO_ERROR, native_window_api_connect(mANW.get(), in TEST_F() 83 ASSERT_EQ(NO_ERROR, native_window_set_buffers_dimensions(mANW.get(), in TEST_F() 85 ASSERT_EQ(NO_ERROR, native_window_set_buffers_format(mANW.get(), in TEST_F() 87 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(), in TEST_F() [all …]
|
D | SurfaceTextureMultiContextGL_test.cpp | 29 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F() 30 ASSERT_NO_FATAL_FAILURE(produceOneRGBA8Frame(mANW)); in TEST_F() 44 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F() 45 ASSERT_NO_FATAL_FAILURE(produceOneRGBA8Frame(mANW)); in TEST_F() 60 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F() 61 ASSERT_NO_FATAL_FAILURE(produceOneRGBA8Frame(mANW)); in TEST_F() 68 native_window_api_disconnect(mANW.get(), NATIVE_WINDOW_API_CPU); in TEST_F() 76 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F() 77 ASSERT_NO_FATAL_FAILURE(produceOneRGBA8Frame(mANW)); in TEST_F() 89 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU)); in TEST_F() [all …]
|
D | SurfaceTextureFBO_test.cpp | 30 ASSERT_EQ(NO_ERROR, native_window_api_connect(mANW.get(), in TEST_F() 32 ASSERT_EQ(NO_ERROR, native_window_set_buffers_dimensions(mANW.get(), in TEST_F() 34 ASSERT_EQ(NO_ERROR, native_window_set_buffers_format(mANW.get(), in TEST_F() 36 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(), in TEST_F() 40 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), in TEST_F() 52 ASSERT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(), buf->getNativeBuffer(), in TEST_F() 64 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), in TEST_F() 76 ASSERT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(), in TEST_F()
|
D | SurfaceTextureGL.h | 45 mANW = mSTC; in SetUp() 54 mANW.clear(); in TearDown() 67 sp<ANativeWindow> mANW; variable
|
D | MultiTextureConsumer_test.cpp | 43 mANW = mSurface.get(); in SetUp() 65 ANativeWindow* mANW; member in android::MultiTextureConsumerTest 71 ASSERT_EQ(native_window_set_usage(mANW, GRALLOC_USAGE_SW_WRITE_OFTEN), NO_ERROR); in TEST_F() 72 ASSERT_EQ(native_window_set_buffers_format(mANW, HAL_PIXEL_FORMAT_RGBA_8888), NO_ERROR); in TEST_F()
|
D | CpuConsumer_test.cpp | 76 mANW = mSTC; in SetUp() 80 mANW.clear(); in TearDown() 161 sp<ANativeWindow> mANW; member in android::CpuConsumerTest 542 ASSERT_NO_FATAL_FAILURE(configureANW(mANW, params, 1)); in TEST_P() 548 ASSERT_NO_FATAL_FAILURE(produceOneFrame(mANW, params, time, in TEST_P() 577 ASSERT_NO_FATAL_FAILURE(configureANW(mANW, params, numInQueue)); in TEST_P() 586 ASSERT_NO_FATAL_FAILURE(produceOneFrame(mANW, params, time[i], in TEST_P() 619 ASSERT_NO_FATAL_FAILURE(configureANW(mANW, params, params.maxLockedBuffers + 1)); in TEST_P() 628 ASSERT_NO_FATAL_FAILURE(produceOneFrame(mANW, params, time, in TEST_P() 696 ASSERT_NO_FATAL_FAILURE(configureANW(mANW, params, params.maxLockedBuffers + 1)); in TEST_P() [all …]
|
D | SurfaceTextureGLToGL_test.cpp | 279 mANW.clear(); in TEST_F() 317 mANW.clear(); in TEST_F() 349 native_window_set_buffers_user_dimensions(mANW.get(), texWidth, texHeight); in TEST_F() 412 native_window_set_buffers_user_dimensions(mANW.get(), texWidth, texHeight); in TEST_F()
|
D | SurfaceTextureGLToGL.h | 41 mANW.get(), nullptr); in SetUpWindowAndContext()
|
/frameworks/native/opengl/tests/EGLTest/ |
D | EGL_test.cpp | 154 sp<ANativeWindow> mANW = mSTC; in TEST_F() local 157 mANW.get(), NULL); in TEST_F() 274 sp<ANativeWindow> mANW = mSTC; in TEST_F() local 282 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, config, mANW.get(), winAttrs); in TEST_F() 322 sp<ANativeWindow> mANW = mSTC; in TEST_F() local 330 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, config, mANW.get(), winAttrs); in TEST_F() 335 static_cast<android_dataspace>(ANativeWindow_getBuffersDataSpace(mANW.get())); in TEST_F() 414 sp<ANativeWindow> mANW = mSTC; in TEST_F() local 422 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, config, mANW.get(), winAttrs); in TEST_F() 586 sp<ANativeWindow> mANW = mSTC; in TEST_F() local [all …]
|