Home
last modified time | relevance | path

Searched refs:nativeWindowNew (Results 1 - 1 of 1) sorted by relevance

/foundation/graphic/graphic_surface/surface/test/systemtest/
H A Dnative_window_test.cpp918 NativeWindow *nativeWindowNew = OH_NativeWindow_CreateNativeWindow(&pSurface); in CreateNativeWindowAndAttachBuffer001() local
919 if (nativeWindowNew == nullptr) { in CreateNativeWindowAndAttachBuffer001()
925 OH_NativeWindow_NativeWindowHandleOpt(nativeWindowNew, code, height, width); in CreateNativeWindowAndAttachBuffer001()
936 ret = OH_NativeWindow_NativeWindowRequestBuffer(nativeWindowNew, &nativeWindowBuffer, &fenceFd); in CreateNativeWindowAndAttachBuffer001()
942 SetData(nativeWindowBuffer, nativeWindowNew); in CreateNativeWindowAndAttachBuffer001()
943 ret = OH_NativeWindow_NativeWindowDetachBuffer(nativeWindowNew, nativeWindowBuffer); in CreateNativeWindowAndAttachBuffer001()
965 OH_NativeWindow_DestroyNativeWindow(nativeWindowNew); in CreateNativeWindowAndAttachBuffer001()

Completed in 2 milliseconds