Searched refs:OnSurfaceCreatedCB (Results 1 – 14 of 14) sorted by relevance
/ohos5.0/docs/zh-cn/application-dev/reference/native-lib/ |
H A D | vulkan-guidelines.md | 96 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 D | vulkan-guidelines.md | 92 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 D | plugin_render.cpp | 29 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 D | native-window-guidelines.md | 67 void OnSurfaceCreatedCB(OH_NativeXComponent* component, void* window) 98 callback.OnSurfaceCreated = OnSurfaceCreatedCB;
|
H A D | drawing-guidelines.md | 162 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 D | sample_bitmap.cpp | 290 static void OnSurfaceCreatedCB(OH_NativeXComponent *component, in OnSurfaceCreatedCB() function 338 renderCallback_.OnSurfaceCreated = OnSurfaceCreatedCB; in RegisterCallback()
|
/ohos5.0/docs/en/application-dev/graphics/ |
H A D | native-window-guidelines.md | 68 void OnSurfaceCreatedCB(OH_NativeXComponent* component, void* window) 99 callback.OnSurfaceCreated = OnSurfaceCreatedCB;
|
H A D | drawing-guidelines.md | 162 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 D | my_xcomponent.cpp | 65 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 D | using-ndk-avplayer-for-video-playback.md | 399 void OnSurfaceCreatedCB(OH_NativeXComponent *component, void *window) { 400 LOG("OnSurfaceCreatedCB...");
|
/ohos5.0/docs/zh-cn/application-dev/ui/ |
H A D | napi-xcomponent-guidelines.md | 250 // 定义一个函数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 D | using-ndk-avplayer-for-video-playback.md | 399 void OnSurfaceCreatedCB(OH_NativeXComponent *component, void *window) { 400 LOG("OnSurfaceCreatedCB...");
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | napi-xcomponent-guidelines.md | 250 …// 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 D | how-to-use-opengl-to-draw-3d-graphics.md | 106 C[AppNapi OnSurfaceCreatedCB]
|