Home
last modified time | relevance | path

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

/foundation/graphic/graphic_2d/interfaces/inner_api/surface/
H A Dnative_image.h20 * @addtogroup OH_NativeImage
46 struct OH_NativeImage;
47 typedef struct OH_NativeImage OH_NativeImage; typedef
67 * the listener object to <b>OH_NativeImage</b>, the callback will be triggered when there is available frame
79 * @brief Create a <b>OH_NativeImage</b> related to an Opengl ES texture and target. \n
84 * @return Returns the pointer to the <b>OH_NativeImage</b> instance created if the operation is successful, \n
89 OH_NativeImage* OH_NativeImage_Create(uint32_t textureId, uint32_t textureTarget);
92 * @brief Acquire the OHNativeWindow for the OH_NativeImage.
95 * @param image Indicates the pointer to a <b>OH_NativeImage</
[all...]
/foundation/graphic/graphic_2d/frameworks/surfaceimage/src/
H A Dnative_image.cpp24 struct OH_NativeImage { struct
31 OH_NativeImage* OH_NativeImage_Create(uint32_t textureId, uint32_t textureTarget) in OH_NativeImage_Create()
35 OH_NativeImage* nativeImage = new OH_NativeImage(); in OH_NativeImage_Create()
43 OH_NativeImage* OH_ConsumerSurface_Create() in OH_ConsumerSurface_Create()
47 OH_NativeImage* nativeImage = new OH_NativeImage(); in OH_ConsumerSurface_Create()
55 OHNativeWindow* OH_NativeImage_AcquireNativeWindow(OH_NativeImage* image) in OH_NativeImage_AcquireNativeWindow()
73 int32_t OH_NativeImage_AttachContext(OH_NativeImage* image, uint32_t textureId) in OH_NativeImage_AttachContext()
82 int32_t OH_NativeImage_DetachContext(OH_NativeImage* imag
[all...]
/foundation/graphic/graphic_2d/frameworks/surfaceimage/test/systemtest/
H A Dnative_image_opengl_system_test.cpp104 static inline OH_NativeImage* image = nullptr;
235 OH_NativeImage* newImage = OH_NativeImage_Create(textureId, GL_TEXTURE_2D); in HWTEST_F()
258 OH_NativeImage* newImage = OH_NativeImage_Create(textureId, GL_TEXTURE_2D); in HWTEST_F()
289 OH_NativeImage* newImage = OH_NativeImage_Create(0, GL_TEXTURE_2D); in HWTEST_F()
314 OH_NativeImage* newImage = OH_NativeImage_Create(textureId, GL_TEXTURE_2D); in HWTEST_F()
341 OH_NativeImage* newImage = OH_NativeImage_Create(textureId, GL_TEXTURE_2D); in HWTEST_F()
444 OH_NativeImage* newImage = OH_NativeImage_Create(textureId, GL_TEXTURE_2D); in HWTEST_F()
476 OH_NativeImage* newImage = OH_NativeImage_Create(textureId, GL_TEXTURE_2D); in HWTEST_F()
H A Dnative_image_system_test.cpp117 OH_NativeImage* newImage = OH_NativeImage_Create(0, 0); in HWTEST_F()
146 OH_NativeImage* newImage = OH_NativeImage_Create(0, 0); in HWTEST_F()
184 OH_NativeImage* newImage = OH_NativeImage_Create(0, 0); in HWTEST_F()
296 OH_NativeImage* consumerSurface = OH_ConsumerSurface_Create(); in HWTEST_F()
/foundation/graphic/graphic_2d/frameworks/surfaceimage/test/unittest/
H A Dnative_image_test.cpp107 static inline OH_NativeImage* image = nullptr;
424 OH_NativeImage* imageNew = OH_NativeImage_Create(textureId, GL_TEXTURE_2D); in HWTEST_F()
474 OH_NativeImage* imageNew = OH_NativeImage_Create(textureId, GL_TEXTURE_2D); in HWTEST_F()
696 OH_NativeImage* imageNew = OH_NativeImage_Create(textureId, GL_TEXTURE_2D); in HWTEST_F()
803 OH_NativeImage* imageNew = OH_NativeImage_Create(textureId, GL_TEXTURE_2D); in HWTEST_F()
885 OH_NativeImage* imageNew = OH_NativeImage_Create(textureId, GL_TEXTURE_2D); in HWTEST_F()
961 OH_NativeImage* imageNew = OH_NativeImage_Create(textureId, GL_TEXTURE_2D); in HWTEST_F()
999 OH_NativeImage* imageNew = OH_NativeImage_Create(textureId, GL_TEXTURE_2D); in HWTEST_F()
1053 OH_NativeImage* newImage1 = OH_NativeImage_Create(0, 0); in HWTEST_F()
1090 OH_NativeImage* newImag in HWTEST_F()
[all...]
/foundation/graphic/graphic_2d/rosen/samples/hello_native_image/
H A Dhello_native_image.cpp135 int32_t GetData(OH_NativeImage* image, OHNativeWindow* nativeWindow) in GetData()
230 OH_NativeImage* image = OH_NativeImage_Create(textureId, GL_TEXTURE_2D); in main()

Completed in 8 milliseconds