Home
last modified time | relevance | path

Searched refs:OnSurfaceCreatedCB (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/docs/zh-cn/application-dev/reference/native-lib/
H A Dvulkan-guidelines.md96 void OnSurfaceCreatedCB(OH_NativeXComponent *component, void *window) {
118 callback.OnSurfaceCreated = OnSurfaceCreatedCB;
132 surfaceCreateInfo.window = nativeWindow; // 这里的nativeWindow就是从上一步骤OnSurfaceCreatedCB回调函数中拿到的
/ohos5.0/docs/en/application-dev/reference/native-lib/
H A Dvulkan-guidelines.md92 void OnSurfaceCreatedCB(OH_NativeXComponent *component, void *window) {
114 callback.OnSurfaceCreated = OnSurfaceCreatedCB;
128 …surfaceCreateInfo.window = nativeWindow; // nativeWindow is obtained from the OnSurfaceCreatedCB c…
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/opengl/test_eglCreateWindowSurface/entry/src/main/cpp/render/
H A Dplugin_render.cpp29 void OnSurfaceCreatedCB(OH_NativeXComponent *component, void *window) in OnSurfaceCreatedCB() function
82 renderCallback->OnSurfaceCreated = OnSurfaceCreatedCB; in PluginRender()
/ohos5.0/docs/zh-cn/application-dev/graphics/
H A Dnative-window-guidelines.md67 void OnSurfaceCreatedCB(OH_NativeXComponent* component, void* window)
98 callback.OnSurfaceCreated = OnSurfaceCreatedCB;
H A Ddrawing-guidelines.md162 void OnSurfaceCreatedCB(OH_NativeXComponent* component, void* window)
169 DRAWING_LOGE("OnSurfaceCreatedCB: Unable to get XComponent id");
224 callback.OnSurfaceCreated = OnSurfaceCreatedCB;
519 1. 通过前面``OnSurfaceCreatedCB``回调保存的Native Window指针,来申请Native Window Buffer。
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/opengl/test_xComponentContext/entry/src/main/cpp/samples/
H A Dsample_bitmap.cpp290 static void OnSurfaceCreatedCB(OH_NativeXComponent *component, in OnSurfaceCreatedCB() function
338 renderCallback_.OnSurfaceCreated = OnSurfaceCreatedCB; in RegisterCallback()
/ohos5.0/docs/en/application-dev/graphics/
H A Dnative-window-guidelines.md68 void OnSurfaceCreatedCB(OH_NativeXComponent* component, void* window)
99 callback.OnSurfaceCreated = OnSurfaceCreatedCB;
H A Ddrawing-guidelines.md162 void OnSurfaceCreatedCB(OH_NativeXComponent* component, void* window)
169 DRAWING_LOGE("OnSurfaceCreatedCB: Unable to get XComponent id");
224 callback.OnSurfaceCreated = OnSurfaceCreatedCB;
533 …tive window buffer by using the native window pointer saved in the **OnSurfaceCreatedCB** callback.
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/
H A Dmy_xcomponent.cpp65 static void OnSurfaceCreatedCB(OH_NativeXComponent *component, void *window) in OnSurfaceCreatedCB() function
851 renderCallback_.OnSurfaceCreated = OnSurfaceCreatedCB; in RegisterCallback()
/ohos5.0/docs/zh-cn/application-dev/media/media/
H A Dusing-ndk-avplayer-for-video-playback.md399 void OnSurfaceCreatedCB(OH_NativeXComponent *component, void *window) {
400 LOG("OnSurfaceCreatedCB...");
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Dnapi-xcomponent-guidelines.md250 // 定义一个函数OnSurfaceCreatedCB(),封装初始化环境与绘制背景
251 void OnSurfaceCreatedCB(OH_NativeXComponent *component, void *window)
259 "OnSurfaceCreatedCB: Unable to get XComponent id");
549 renderCallback_.OnSurfaceCreated = OnSurfaceCreatedCB;
/ohos5.0/docs/en/application-dev/media/media/
H A Dusing-ndk-avplayer-for-video-playback.md399 void OnSurfaceCreatedCB(OH_NativeXComponent *component, void *window) {
400 LOG("OnSurfaceCreatedCB...");
/ohos5.0/docs/en/application-dev/ui/
H A Dnapi-xcomponent-guidelines.md250 …// Define the OnSurfaceCreatedCB() function to encapsulate the initialization environment and draw…
251 void OnSurfaceCreatedCB(OH_NativeXComponent *component, void *window)
259 "OnSurfaceCreatedCB: Unable to get XComponent id");
549 renderCallback_.OnSurfaceCreated = OnSurfaceCreatedCB;
/ohos5.0/docs/zh-cn/third-party-cases/
H A Dhow-to-use-opengl-to-draw-3d-graphics.md106 C[AppNapi OnSurfaceCreatedCB]