/test/xts/acts/graphic/nativeimage/entry/src/main/cpp/ |
H A D | nativeimage.cpp | 118 GLuint textureId = SUCCESS;
in getNativeImage() local 119 glGenTextures(ONEVAL, &textureId);
in getNativeImage() 120 OH_NativeImage *image = OH_NativeImage_Create(textureId, GL_TEXTURE_2D);
in getNativeImage() 171 GLuint textureId;
in OHNativeImageAttachContext() local 172 glGenTextures(PARAM_1, &textureId);
in OHNativeImageAttachContext() 173 OH_NativeImage *image = OH_NativeImage_Create(textureId, GL_TEXTURE_2D);
in OHNativeImageAttachContext() 228 GLuint textureId;
in OHNativeImageDetachContext() local 229 glGenTextures(PARAM_1, &textureId);
in OHNativeImageDetachContext() 230 OH_NativeImage *image = OH_NativeImage_Create(textureId, GL_TEXTURE_2D);
in OHNativeImageDetachContext() 282 GLuint textureId;
in OHNativeImageUpdateSurfaceImage() local 324 GLuint textureId; OHNativeImageUpdateSurfaceImageBoundary() local 434 GLuint textureId; OHNativeImageCreateNormal() local 553 GLuint textureId; OHNativeImageAttachContextNullptr() local 582 GLuint textureId; OHNativeImageDetachContextNullptr() local 599 GLuint textureId; OHNativeImageAttachContextNormal() local 629 GLuint textureId; OHNativeImageDetachContextNormal() local [all...] |
/test/xts/acts/graphic/nativewindow/entry/src/main/cpp/ |
H A D | nativewindow1.cpp | 69 GLuint textureId;
in InitNativeWindow() local 70 glGenTextures(1, &textureId);
in InitNativeWindow() 71 auto _image = OH_NativeImage_Create(textureId, GL_TEXTURE_2D);
in InitNativeWindow() 136 GLuint textureId;
in testNativeWindowCreateNativeWindowFromSurfaceIdNullptr() local 137 glGenTextures(1, &textureId);
in testNativeWindowCreateNativeWindowFromSurfaceIdNullptr() 138 auto _image = OH_NativeImage_Create(textureId, GL_TEXTURE_2D);
in testNativeWindowCreateNativeWindowFromSurfaceIdNullptr() 160 GLuint textureId;
in testNativeWindowCreateNativeWindowFromSurfaceIdNormal() local 161 glGenTextures(1, &textureId);
in testNativeWindowCreateNativeWindowFromSurfaceIdNormal() 162 auto _image = OH_NativeImage_Create(textureId, GL_TEXTURE_2D);
in testNativeWindowCreateNativeWindowFromSurfaceIdNormal() 198 GLuint textureId;
in testNativeWindowCreateNativeWindowFromSurfaceIdSurfaceId() local 666 GLuint textureId; testNativeWindowWRParcelNormal() local 702 GLuint textureId; testNativeWindowWriteToParcelAbNormal() local [all...] |
H A D | nativewindow2.cpp | 83 GLuint textureId;
in InitNativeWindow() local 84 glGenTextures(1, &textureId);
in InitNativeWindow() 85 auto _image = OH_NativeImage_Create(textureId, GL_TEXTURE_2D);
in InitNativeWindow()
|
/test/xts/acts/graphic/graphicnapitest/ |
H A D | NativeImageTest.cpp | 99 static inline GLuint textureId = 0; member in OHOS::Rosen::NativeImageTest 117 glGenTextures(1, &textureId); in SetUpTestCase() 202 image = OH_NativeImage_Create(textureId, GL_TEXTURE_2D); in HWTEST_F() 241 int32_t ret = OH_NativeImage_AttachContext(nullptr, textureId); in HWTEST_F() 294 int32_t ret = OH_NativeImage_AttachContext(image, textureId); in HWTEST_F() 476 image = OH_NativeImage_Create(textureId, GL_TEXTURE_2D); in HWTEST_F() 550 image = OH_NativeImage_Create(textureId, GL_TEXTURE_2D); in HWTEST_F() 704 image = OH_NativeImage_Create(textureId, GL_TEXTURE_2D); in HWTEST_F() 723 image = OH_NativeImage_Create(textureId, GL_TEXTURE_2D); in HWTEST_F() 807 image = OH_NativeImage_Create(textureId, GL_TEXTURE_2 in HWTEST_F() [all...] |
/test/xts/acts/multimedia/media/media_ndk_standard/AVPlayerNDK/entry/src/main/cpp/ |
H A D | avplayer_ndk_test.cpp | 135 GLuint textureId = PARAM_0; in GetAVPlayer() local 136 glGenTextures(ONEVAL, &textureId); in GetAVPlayer() 137 OH_NativeImage *image = OH_NativeImage_Create(textureId, GL_TEXTURE_2D); in GetAVPlayer() 554 GLuint textureId = 0; in OhAvPlayerSetVideoSurface() local 555 glGenTextures(1, &textureId); in OhAvPlayerSetVideoSurface() 556 OH_NativeImage *image = OH_NativeImage_Create(textureId, GL_TEXTURE_2D); in OhAvPlayerSetVideoSurface()
|
/test/xts/acts/multimedia/media/media_js_standard/avPlayerNdk/entry/src/main/cpp/ |
H A D | avplayerndk.cpp | 742 GLuint textureId = PARAM_0;
in OhAvPlayerSetVideoSurface() local 743 glGenTextures(ONEVAL, &textureId);
in OhAvPlayerSetVideoSurface() 744 OH_NativeImage *image = OH_NativeImage_Create(textureId, GL_TEXTURE_2D);
in OhAvPlayerSetVideoSurface() 794 GLuint textureId = PARAM_0;
in OhAvPlayerSetVideoSurfaceAbnormalThree() local 795 glGenTextures(ONEVAL, &textureId);
in OhAvPlayerSetVideoSurfaceAbnormalThree() 796 OH_NativeImage *image = OH_NativeImage_Create(textureId, GL_TEXTURE_2D);
in OhAvPlayerSetVideoSurfaceAbnormalThree() 1032 GLuint textureId = PARAM_0;
in CreateSurface() local 1033 glGenTextures(ONEVAL, &textureId);
in CreateSurface() 1034 ndkAVPlayerUser->image = OH_NativeImage_Create(textureId, GL_TEXTURE_2D);
in CreateSurface()
|
/test/xts/acts/graphic/nativebuffer/entry/src/main/cpp/ |
H A D | nativebuffer.cpp | 437 GLuint textureId;
in OHNativeBufferFromNativeWindowBufferNullptr() local 438 glGenTextures(1, &textureId);
in OHNativeBufferFromNativeWindowBufferNullptr() 439 auto _image = OH_NativeImage_Create(textureId, GL_TEXTURE_2D);
in OHNativeBufferFromNativeWindowBufferNullptr() 469 GLuint textureId;
in OHNativeBufferFromNativeWindowBufferNormal() local 470 glGenTextures(1, &textureId);
in OHNativeBufferFromNativeWindowBufferNormal() 471 auto _image = OH_NativeImage_Create(textureId, GL_TEXTURE_2D);
in OHNativeBufferFromNativeWindowBufferNormal()
|
/test/xts/acts/graphic/graphicGLES3/entry/src/main/cpp/ |
H A D | gles3ndk.cpp | 342 GLuint textureId = INT_INIT_VAL; in GLActiveTexture() local 343 glGenTextures(TEXTURES_NUM_ONE, &textureId); in GLActiveTexture() 344 glBindTexture(GL_TEXTURE_2D, textureId); in GLActiveTexture() 347 glDeleteTextures(TEXTURES_NUM_ONE, &textureId); in GLActiveTexture() 491 GLuint textureId = INT_INIT_VAL; in GLBindImageTexture() local 492 glGenTextures(TEXTURES_NUM_ONE, &textureId); in GLBindImageTexture() 493 glBindTexture(GL_TEXTURE_2D, textureId); in GLBindImageTexture() 496 glBindImageTexture(imageBindingIndex, textureId, INT_INIT_VAL, GL_FALSE, INT_INIT_VAL, GL_READ_WRITE, GL_RGBA8); in GLBindImageTexture() 498 glDeleteTextures(TEXTURES_NUM_ONE, &textureId); in GLBindImageTexture() 543 GLuint textureId in GLBindSampler() local 560 GLuint textureId = INT_INIT_VAL; GLBindTexture() local [all...] |