/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/backend/ |
H A D | rs_surface_ohos_gl.cpp | 73 NativeWindowHandleOpt(mWindow, SET_FORMAT, pixelFormat_); in RequestFrame() 77 NativeWindowHandleOpt(mWindow, GET_FORMAT, &format); in RequestFrame() 84 NativeWindowHandleOpt(mWindow, SET_USAGE, bufferUsage_); in RequestFrame() 85 NativeWindowHandleOpt(mWindow, SET_BUFFER_GEOMETRY, width, height); in RequestFrame() 86 NativeWindowHandleOpt(mWindow, GET_BUFFER_GEOMETRY, &mHeight, &mWidth); in RequestFrame() 87 NativeWindowHandleOpt(mWindow, SET_COLOR_GAMUT, colorSpace_); in RequestFrame() 88 NativeWindowHandleOpt(mWindow, SET_UI_TIMESTAMP, uiTimestamp); in RequestFrame() 108 NativeWindowHandleOpt(mWindow, SET_UI_TIMESTAMP, duration); in SetUiTimeStamp()
|
H A D | rs_surface_ohos_vulkan.cpp | 85 NativeWindowHandleOpt(mNativeWindow, SET_FORMAT, pixelFormat_); in SetNativeWindowInfo() 89 NativeWindowHandleOpt(mNativeWindow, GET_FORMAT, &format); in SetNativeWindowInfo() 102 NativeWindowHandleOpt(mNativeWindow, SET_USAGE, bufferUsage_); in SetNativeWindowInfo() 103 NativeWindowHandleOpt(mNativeWindow, SET_BUFFER_GEOMETRY, width, height); in SetNativeWindowInfo() 104 NativeWindowHandleOpt(mNativeWindow, GET_BUFFER_GEOMETRY, &mHeight, &mWidth); in SetNativeWindowInfo() 105 NativeWindowHandleOpt(mNativeWindow, SET_COLOR_GAMUT, colorSpace_); in SetNativeWindowInfo() 150 NativeWindowHandleOpt(mNativeWindow, SET_UI_TIMESTAMP, duration); in RequestNativeWindowBuffer()
|
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/drawing_engine/drawing_surface/ |
H A D | surface_ohos_vulkan.cpp | 62 NativeWindowHandleOpt(mNativeWindow_, SET_FORMAT, GRAPHIC_PIXEL_FMT_RGBA_8888); in SetNativeWindowInfo() 66 NativeWindowHandleOpt(mNativeWindow_, GET_FORMAT, &format); in SetNativeWindowInfo() 74 NativeWindowHandleOpt(mNativeWindow_, SET_USAGE, bufferUsage); in SetNativeWindowInfo() 75 NativeWindowHandleOpt(mNativeWindow_, SET_BUFFER_GEOMETRY, width, height); in SetNativeWindowInfo() 76 NativeWindowHandleOpt(mNativeWindow_, SET_COLOR_GAMUT, colorSpace_); in SetNativeWindowInfo() 118 NativeWindowHandleOpt(mNativeWindow_, SET_BUFFER_GEOMETRY, width, height); in RequestFrame() 119 NativeWindowHandleOpt(mNativeWindow_, SET_COLOR_GAMUT, frame_->GetColorSpace()); in RequestFrame() 153 NativeWindowHandleOpt(mNativeWindow_, SET_UI_TIMESTAMP, duration); in RequestNativeWindowBuffer()
|
H A D | surface_ohos_gl.cpp | 47 NativeWindowHandleOpt(nativeWindow, SET_BUFFER_GEOMETRY, frame_->GetWidth(), frame_->GetHeight()); in RequestFrame() 48 NativeWindowHandleOpt(nativeWindow, SET_COLOR_GAMUT, frame_->GetColorSpace()); in RequestFrame()
|
/foundation/graphic/graphic_2d/rosen/samples/hello_native_image/ |
H A D | hello_native_image.cpp | 90 int32_t ret = NativeWindowHandleOpt(nativeWindow, code, usage); in AddBuffer() 92 std::cout << "NativeWindowHandleOpt SET_USAGE faile" << std::endl; in AddBuffer() 97 ret = NativeWindowHandleOpt(nativeWindow, code, width, height); in AddBuffer() 99 std::cout << "NativeWindowHandleOpt SET_BUFFER_GEOMETRY failed" << std::endl; in AddBuffer() 103 ret = NativeWindowHandleOpt(nativeWindow, code, stride); in AddBuffer() 105 std::cout << "NativeWindowHandleOpt SET_STRIDE failed" << std::endl; in AddBuffer() 109 ret = NativeWindowHandleOpt(nativeWindow, code, format); in AddBuffer() 111 std::cout << "NativeWindowHandleOpt SET_FORMAT failed" << std::endl; in AddBuffer() 118 std::cout << "NativeWindowHandleOpt SET_FORMAT failed" << std::endl; in AddBuffer() 130 std::cout << "NativeWindowHandleOpt SET_FORMA in AddBuffer() [all...] |
/foundation/graphic/graphic_2d/frameworks/surfaceimage/test/unittest/ |
H A D | native_image_test.cpp | 367 int32_t ret = NativeWindowHandleOpt(nativeWindow, code, usage); in HWTEST_F() 369 std::cout << "NativeWindowHandleOpt SET_USAGE faile" << std::endl; in HWTEST_F() 374 ret = NativeWindowHandleOpt(nativeWindow, code, width, height); in HWTEST_F() 376 std::cout << "NativeWindowHandleOpt SET_BUFFER_GEOMETRY failed" << std::endl; in HWTEST_F() 380 ret = NativeWindowHandleOpt(nativeWindow, code, stride); in HWTEST_F() 382 std::cout << "NativeWindowHandleOpt SET_STRIDE failed" << std::endl; in HWTEST_F() 386 ret = NativeWindowHandleOpt(nativeWindow, code, format); in HWTEST_F() 388 std::cout << "NativeWindowHandleOpt SET_FORMAT failed" << std::endl; in HWTEST_F() 586 ret = NativeWindowHandleOpt(nativeWindow, code, testType[i]); in HWTEST_F() 660 ret = NativeWindowHandleOpt(nativeWindo in HWTEST_F() [all...] |
/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/test/ |
H A D | opengl_wrapper_native_test.cpp | 302 NativeWindowHandleOpt(gWindow, SET_USAGE, BUFFER_USAGE_CPU_READ | BUFFER_USAGE_CPU_WRITE | BUFFER_USAGE_MEM_DMA); in CreateSurface() 303 NativeWindowHandleOpt(gWindow, SET_BUFFER_GEOMETRY, WIDTH, HEIGHT); in CreateSurface() 304 NativeWindowHandleOpt(gWindow, SET_COLOR_GAMUT, ColorGamut::COLOR_GAMUT_SRGB); in CreateSurface()
|
/foundation/arkui/ace_engine/frameworks/core/components/xcomponent/ |
H A D | xcomponent_element.cpp | 310 NativeWindowHandleOpt(nativeWindow_, SET_BUFFER_GEOMETRY, in OnSurfaceChanged() 437 NativeWindowHandleOpt(nativeWindow_, SET_BUFFER_GEOMETRY, in OnXComponentSizeInit() 497 NativeWindowHandleOpt(nativeWindow_, SET_BUFFER_GEOMETRY, in OnXComponentSizeChange()
|
/foundation/graphic/graphic_2d/frameworks/surfaceimage/test/systemtest/ |
H A D | native_image_opengl_system_test.cpp | 204 auto ret = NativeWindowHandleOpt(nativeWindow, code, width, height); in ProducerThreadOpenGL() 410 auto ret = NativeWindowHandleOpt(nativeWindow, code, width, height); in ProducerThreadWithMatrix() 413 ret = NativeWindowHandleOpt(nativeWindow, code, testType[matrixIndex]); in ProducerThreadWithMatrix()
|
H A D | native_image_system_test.cpp | 85 auto ret = NativeWindowHandleOpt(nativeWindow, code, width, height); in ProducerThread()
|
/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/test/systemtest/ |
H A D | opengl_wrapper_api_test.cpp | 234 NativeWindowHandleOpt(gWindow_, SET_USAGE, BUFFER_USAGE_CPU_READ | BUFFER_USAGE_CPU_WRITE | BUFFER_USAGE_MEM_DMA); in HWTEST_F() 235 NativeWindowHandleOpt(gWindow_, SET_BUFFER_GEOMETRY, height, width); in HWTEST_F() 236 NativeWindowHandleOpt(gWindow_, SET_COLOR_GAMUT, GRAPHIC_COLOR_GAMUT_SRGB); in HWTEST_F()
|
/foundation/graphic/graphic_surface/interfaces/inner_api/surface/ |
H A D | window.h | 51 int32_t NativeWindowHandleOpt(OHNativeWindow *window, int code, ...);
|
/foundation/graphic/graphic_2d/frameworks/vulkan_layers/swapchain_layer/ |
H A D | swapchain_layer.cpp | 592 int err = NativeWindowHandleOpt(window, SET_FORMAT, pixelFormat); in SetWindowPixelFormat() 616 int err = NativeWindowHandleOpt(window, SET_BUFFER_GEOMETRY, width, height); in SetWindowBufferGeometry() 634 int err = NativeWindowHandleOpt(window, SET_TRANSFORM, transformType); in SetWindowTransform() 697 int err = NativeWindowHandleOpt(window, SET_USAGE, grallocUsage); in SetWindowBufferUsage() 1073 int err = NativeWindowHandleOpt(window, GET_BUFFER_GEOMETRY, &height, &width); in GetPhysicalDevicePresentRectanglesKHR() 1157 int err = NativeWindowHandleOpt(window, GET_BUFFER_GEOMETRY, &bufferHeight, &bufferWidth); in FlushBuffer() 1298 int err = NativeWindowHandleOpt(pCreateInfo->window, GET_USAGE, &(surface->usage)); in CreateSurfaceOHOS() 1336 int err = NativeWindowHandleOpt(window, GET_BUFFER_GEOMETRY, &height, &width); in GetPhysicalDeviceSurfaceCapabilitiesKHR()
|
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/ |
H A D | drawing_sample_replayer.cpp | 232 NativeWindowHandleOpt(nativeWindow_, SET_BUFFER_GEOMETRY, width_, height_); in PrepareNativeEGLSetup()
|
H A D | render_context_sample.cpp | 239 NativeWindowHandleOpt(nwindow, SET_BUFFER_GEOMETRY, width, height); in ProduceDrawingBuffer()
|
/foundation/graphic/graphic_3d/3d_widget_adapter/src/ohos/ |
H A D | texture_layer.cpp | 195 NativeWindowHandleOpt(reinterpret_cast<OHNativeWindow *>(image_.textureInfo_.nativeWindow_), in ConfigWindow()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | egl_image_test.cpp | 119 NativeWindowHandleOpt(nativeWindow, SET_BUFFER_GEOMETRY, DEFAULT_WIDTH, DEFAULT_HEIGHT); in SetUpTestCase()
|
/foundation/multimedia/av_codec/test/fuzztest/encoderapi11_fuzzer/ |
H A D | videoenc_api11_sample.cpp | 198 cout << "NativeWindowHandleOpt SET_FORMAT fail" << endl; in CreateSurface() 203 cout << "NativeWindowHandleOpt SET_BUFFER_GEOMETRY fail" << endl; in CreateSurface() 356 NativeWindowHandleOpt(nativeWindow, SET_UI_TIMESTAMP, GetSystemTimeUs()); in FlushSurf()
|
/foundation/graphic/graphic_surface/surface/src/ |
H A D | native_window.cpp | 513 int32_t NativeWindowHandleOpt(OHNativeWindow *window, int code, ...)
in NativeWindowHandleOpt() function 991 WEAK_ALIAS(NativeWindowHandleOpt, OH_NativeWindow_NativeWindowHandleOpt);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | rosen_render_surface.cpp | 230 NativeWindowHandleOpt(nativeWindow_, SET_BUFFER_GEOMETRY, width, height); in AdjustNativeWindowSize()
|
/foundation/multimedia/av_codec/test/moduletest/vcodec/encoder/src/ |
H A D | videoenc_ndk_sample.cpp | 305 cout << "NativeWindowHandleOpt SET_FORMAT fail" << endl; in CreateSurface() 310 cout << "NativeWindowHandleOpt SET_BUFFER_GEOMETRY fail" << endl; in CreateSurface() 459 NativeWindowHandleOpt(nativeWindow, SET_UI_TIMESTAMP, GetSystemTimeUs()); in FlushSurf()
|
H A D | videoenc_api11_sample.cpp | 387 cout << "NativeWindowHandleOpt SET_FORMAT fail" << endl; in CreateSurface() 392 cout << "NativeWindowHandleOpt SET_BUFFER_GEOMETRY fail" << endl; in CreateSurface() 578 NativeWindowHandleOpt(nativeWindow, SET_UI_TIMESTAMP, GetSystemTimeUs()); in FlushSurf()
|
/foundation/multimedia/media_foundation/tests/unittest/detail_enhancer_video_ndk/ |
H A D | detail_enhancer_video_ndk_unit_test.cpp | 171 NativeWindowHandleOpt(window, SET_UI_TIMESTAMP, GetSystemTime());
in FlushSurf() 1330 NativeWindowHandleOpt(window, SET_UI_TIMESTAMP, GetSystemTime());
in HWTEST_F()
|
/foundation/multimedia/av_codec/test/moduletest/vcodec/encoder/src/InnerAPI/ |
H A D | videoenc_ndk_inner_sample.cpp | 295 cout << "NativeWindowHandleOpt SET_FORMAT fail" << endl; in CreateInputSurface() 301 cout << "NativeWindowHandleOpt SET_BUFFER_GEOMETRY fail" << endl; in CreateInputSurface() 548 NativeWindowHandleOpt(nativeWindow, SET_UI_TIMESTAMP, GetSystemTimeUs()); in InputProcess()
|
/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/src/EGL/ |
H A D | egl_wrapper_display.cpp | 1146 if (NativeWindowHandleOpt(reinterpret_cast<OHNativeWindow*>(surfPtr->GetNativeWindow()), in PresentationTimeANDROID() 1148 WLOGE("NativeWindowHandleOpt SET_UI_TIMESTAMP failed."); in PresentationTimeANDROID()
|