Searched refs:surface (Results 1 – 5 of 5) sorted by relevance
/tools/test/graphicsbenchmark/apps/sample_app/src/cpp/ |
D | renderer.cpp | 70 EGLSurface surface; in initDisplay() local 113 surface = eglCreateWindowSurface(display, config, window, NULL); in initDisplay() 117 eglSurfaceAttrib(display, surface, EGL_TIMESTAMPS_ANDROID, EGL_TRUE); in initDisplay() 119 if (eglMakeCurrent(display, surface, surface, context) == EGL_FALSE) { in initDisplay() 124 eglQuerySurface(display, surface, EGL_WIDTH, &w); in initDisplay() 125 eglQuerySurface(display, surface, EGL_HEIGHT, &h); in initDisplay() 129 egl.surface = surface; in initDisplay() 171 if (egl.surface != EGL_NO_SURFACE) { in terminateDisplay() 172 eglDestroySurface(egl.display, egl.surface); in terminateDisplay() 178 egl.surface = EGL_NO_SURFACE; in terminateDisplay() [all …]
|
D | renderer.h | 35 EGLSurface surface; member
|
/tools/test/graphicsbenchmark/functional_tests/java/src/cpp/ |
D | surface_flinger_test_activity.cpp | 46 …qualification_tests_SurfaceFlingerTestActivity_initDisplay(JNIEnv* env, jobject, jobject surface) { in Java_com_android_game_qualification_tests_SurfaceFlingerTestActivity_initDisplay() argument 66 ANativeWindow* window = ANativeWindow_fromSurface(env, surface); in Java_com_android_game_qualification_tests_SurfaceFlingerTestActivity_initDisplay() 77 … EGLBoolean rc = eglGetNextFrameIdANDROID(renderer->egl.display, renderer->egl.surface, &frameId); in Java_com_android_game_qualification_tests_SurfaceFlingerTestActivity_drawFrame() 92 renderer->egl.display, renderer->egl.surface, fid, 2, timestamps, values); in Java_com_android_game_qualification_tests_SurfaceFlingerTestActivity_drawFrame()
|
D | native_choreo_activity.cpp | 143 …oid_game_qualification_tests_ChoreoTestActivity_runTheTest(JNIEnv* env, jobject, jobject surface) { in Java_com_android_game_qualification_tests_ChoreoTestActivity_runTheTest() argument 144 theWindow = ANativeWindow_fromSurface(env, surface); in Java_com_android_game_qualification_tests_ChoreoTestActivity_runTheTest()
|
/tools/test/graphicsbenchmark/functional_tests/java/src/com/android/game/qualification/tests/ |
D | SurfaceFlingerTestActivity.java | 133 public native void initDisplay(Object surface); in initDisplay() argument
|