Home
last modified time | relevance | path

Searched refs:NativeWindowHandleOpt (Results 1 - 25 of 26) sorted by relevance

12

/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/backend/
H A Drs_surface_ohos_gl.cpp73 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 Drs_surface_ohos_vulkan.cpp85 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 Dsurface_ohos_vulkan.cpp62 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 Dsurface_ohos_gl.cpp47 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 Dhello_native_image.cpp90 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 Dnative_image_test.cpp367 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 Dopengl_wrapper_native_test.cpp302 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 Dxcomponent_element.cpp310 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 Dnative_image_opengl_system_test.cpp204 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 Dnative_image_system_test.cpp85 auto ret = NativeWindowHandleOpt(nativeWindow, code, width, height); in ProducerThread()
/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/test/systemtest/
H A Dopengl_wrapper_api_test.cpp234 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 Dwindow.h51 int32_t NativeWindowHandleOpt(OHNativeWindow *window, int code, ...);
/foundation/graphic/graphic_2d/frameworks/vulkan_layers/swapchain_layer/
H A Dswapchain_layer.cpp592 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 Ddrawing_sample_replayer.cpp232 NativeWindowHandleOpt(nativeWindow_, SET_BUFFER_GEOMETRY, width_, height_); in PrepareNativeEGLSetup()
H A Drender_context_sample.cpp239 NativeWindowHandleOpt(nwindow, SET_BUFFER_GEOMETRY, width, height); in ProduceDrawingBuffer()
/foundation/graphic/graphic_3d/3d_widget_adapter/src/ohos/
H A Dtexture_layer.cpp195 NativeWindowHandleOpt(reinterpret_cast<OHNativeWindow *>(image_.textureInfo_.nativeWindow_), in ConfigWindow()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
H A Degl_image_test.cpp119 NativeWindowHandleOpt(nativeWindow, SET_BUFFER_GEOMETRY, DEFAULT_WIDTH, DEFAULT_HEIGHT); in SetUpTestCase()
/foundation/multimedia/av_codec/test/fuzztest/encoderapi11_fuzzer/
H A Dvideoenc_api11_sample.cpp198 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 Dnative_window.cpp513 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 Drosen_render_surface.cpp230 NativeWindowHandleOpt(nativeWindow_, SET_BUFFER_GEOMETRY, width, height); in AdjustNativeWindowSize()
/foundation/multimedia/av_codec/test/moduletest/vcodec/encoder/src/
H A Dvideoenc_ndk_sample.cpp305 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 Dvideoenc_api11_sample.cpp387 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 Ddetail_enhancer_video_ndk_unit_test.cpp171 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 Dvideoenc_ndk_inner_sample.cpp295 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 Degl_wrapper_display.cpp1146 if (NativeWindowHandleOpt(reinterpret_cast<OHNativeWindow*>(surfPtr->GetNativeWindow()), in PresentationTimeANDROID()
1148 WLOGE("NativeWindowHandleOpt SET_UI_TIMESTAMP failed."); in PresentationTimeANDROID()

Completed in 30 milliseconds

12