/ohos5.0/foundation/graphic/graphic_surface/surface/include/ |
H A D | native_window.h | 39 std::unordered_map<uint32_t, NativeWindowBuffer*> bufferCache_; 45 struct NativeWindowBuffer : public NativeWindowMagic { struct 46 NativeWindowBuffer(); 47 ~NativeWindowBuffer();
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_egl_image_manager.cpp | 90 explicit NativeWindowBufferObject(NativeWindowBuffer* nativeBuffer) in NativeWindowBufferObject() 116 operator NativeWindowBuffer* () const 121 NativeWindowBuffer* Get() const in Get() 126 NativeWindowBuffer* Release() in Release() 128 NativeWindowBuffer* out = handle_; in Release() 134 NativeWindowBuffer* handle_ = nullptr; 142 EGLClientBuffer CastToEGLClientBuffer(NativeWindowBuffer* nativeBuffer) in CastToEGLClientBuffer() 147 NativeWindowBuffer* CastFromEGLClientBuffer(EGLClientBuffer eglClientBuffer) in CastFromEGLClientBuffer() 149 return static_cast<NativeWindowBuffer*>(eglClientBuffer); in CastFromEGLClientBuffer()
|
H A D | rs_vk_image_manager.h | 37 NativeVkImageRes(NativeWindowBuffer* nativeWindowBuffer, Drawing::BackendTexture backendTexture, in NativeVkImageRes() 70 NativeWindowBuffer* mNativeWindowBuffer;
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/drawing_engine/drawing_surface/ |
H A D | surface_ohos_vulkan.h | 47 int32_t RequestNativeWindowBuffer(NativeWindowBuffer** nativeWindowBuffer, 60 std::list<NativeWindowBuffer*> surfaceList_; 61 std::unordered_map<NativeWindowBuffer*, NativeBufferUtils::NativeSurfaceInfo> surfaceMap_;
|
H A D | surface_ohos_vulkan.cpp | 152 NativeWindowBuffer** nativeWindowBuffer, int32_t width, int32_t height, int& fenceFd) in RequestNativeWindowBuffer() 184 NativeWindowBuffer* nativeWindowBuffer = nullptr; in NativeRequestFrame()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/backend/ |
H A D | native_buffer_utils.h | 88 NativeWindowBuffer* nativeWindowBuffer = nullptr; 102 bool MakeFromNativeWindowBuffer(std::shared_ptr<Drawing::GPUContext> skContext, NativeWindowBuffer*… 105 Drawing::BackendTexture MakeBackendTextureFromNativeBuffer(NativeWindowBuffer* nativeWindowBuffer,
|
H A D | rs_surface_ohos_vulkan.h | 98 std::list<NativeWindowBuffer*> mSurfaceList; 101 std::unordered_map<NativeWindowBuffer*, NativeBufferUtils::NativeSurfaceInfo> mSurfaceMap; 103 int32_t RequestNativeWindowBuffer(NativeWindowBuffer** nativeWindowBuffer,
|
H A D | rs_surface_ohos_vulkan.cpp | 147 int32_t RSSurfaceOhosVulkan::RequestNativeWindowBuffer(NativeWindowBuffer** nativeWindowBuffer, in RequestNativeWindowBuffer() 178 NativeWindowBuffer* nativeWindowBuffer = nullptr; in RequestFrame()
|
/ohos5.0/foundation/graphic/graphic_surface/surface/test/unittest/ |
H A D | native_window_test.cpp | 622 NativeWindowBuffer *nativeWindowBuffer = nullptr; 763 NativeWindowBuffer *nativeWindowBuffer = nullptr; 807 NativeWindowBuffer *nativeWindowBuffer = nullptr; 961 struct NativeWindowBuffer *buffer = new NativeWindowBuffer(); 1075 NativeWindowBuffer *nativeWindowBuffer = nullptr; 1090 NativeWindowBuffer *lastFlushedBuffer; 1124 NativeWindowBuffer* nativeWindowBuffer = nullptr; 1138 NativeWindowBuffer* lastFlushedBuffer; 1516 struct NativeWindowBuffer *buffer = new NativeWindowBuffer(); 1532 struct NativeWindowBuffer *buffer = new NativeWindowBuffer(); [all …]
|
H A D | native_buffer_test.cpp | 73 …NativeWindowBuffer* nativeWindowBuffer = OH_NativeWindow_CreateNativeWindowBufferFromSurfaceBuffer… 655 …NativeWindowBuffer* nativeWindowBuffer = OH_NativeWindow_CreateNativeWindowBufferFromSurfaceBuffer… 693 NativeWindowBuffer nativeWindowBuffer; 748 NativeWindowBuffer* nativeWindowBuffer; 809 NativeWindowBuffer* nativeWindowBuffer;
|
/ohos5.0/foundation/graphic/graphic_2d/frameworks/surfaceimage/test/unittest/ |
H A D | native_image_test.cpp | 391 NativeWindowBuffer* nativeWindowBuffer = nullptr; 579 NativeWindowBuffer* nativeWindowBuffer = nullptr; 653 NativeWindowBuffer* nativeWindowBuffer = nullptr; 742 NativeWindowBuffer* nativeWindowBuffer = nullptr; 827 NativeWindowBuffer* nativeWindowBuffer = nullptr; 927 NativeWindowBuffer* nativeWindowBuffer = nullptr; 1056 NativeWindowBuffer* nativeWindowBuffer = nullptr; 1070 NativeWindowBuffer nativeWindowBufferNew; 1101 NativeWindowBuffer* nativeWindowBuffer = nullptr; 1162 NativeWindowBuffer* nativeWindowBuffer = nullptr; [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/hello_native_window/ |
H A D | hello_native_window.cpp | 68 void CreateNativeWindowBuffer(OHNativeWindow* nativeWindow, NativeWindowBuffer** nativeWindowBuffer… in CreateNativeWindowBuffer() 70 NativeWindowBuffer* windowBuffer = nullptr; in CreateNativeWindowBuffer() 99 NativeWindowBuffer* nativeWindowBuffer = nullptr; in main()
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-Release/ |
H A D | native-apidiff-v3.1-release.md | 87 … | struct NativeWindowBuffer* OH_NativeWindow_CreateNativeWindowBufferFromSurfaceBuffer(void* pS… 88 …OH_NativeWindow_DestroyNativeWindowBuffer(struct NativeWindowBuffer* buffer) | 新增 | 新增NativeWindow… 89 …t NativeWindow *window, struct NativeWindowBuffer **buffer, int *fenceFd) | 新增 | 新增通过NativeWindow对… 90 …eWindow *window, struct NativeWindowBuffer *buffer, int fenceFd, Region region) | 新增 | 新增通过NativeW… 91 …r(struct NativeWindow *window, struct NativeWindowBuffer *buffer) | 新增 | 新增通过NativeWindow将之前申请出来的N… 93 …H_NativeWindow_GetBufferHandleFromNative(struct NativeWindowBuffer *buffer) | 新增 | 新增通过NativeWindo…
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/platform/ohos/backend/ |
H A D | native_buffer_utils_test.cpp | 72 NativeWindowBuffer nativeWindowBuffer; 90 NativeWindowBuffer nativeWindowBuffer;
|
H A D | rs_surface_ohos_vulkan_test.cpp | 156 NativeWindowBuffer* nativeWindowBuffer = nullptr; 188 NativeWindowBuffer* nativeWindowBuffer = nullptr;
|
/ohos5.0/foundation/graphic/graphic_surface/surface/test/systemtest/ |
H A D | native_window_buffer_test.cpp | 36 int32_t SetData(NativeWindowBuffer *nativeWindowBuffer, NativeWindow *nativeWindow); 50 int32_t NativeWindowBufferTest::SetData(NativeWindowBuffer *nativeWindowBuffer, NativeWindow *nativ… in SetData() 111 struct NativeWindowBuffer *nativeWindowBuffer = nullptr; in InitNativeWindowAndBuffer()
|
H A D | native_window_test.cpp | 34 void SetData(NativeWindowBuffer *nativeWindowBuffer, NativeWindow *nativeWindow); 92 struct NativeWindowBuffer *nativeWindowBuffer = nullptr; in CreateNativeWindowAndRequestBuffer001() 180 void NativeWindowTest::SetData(NativeWindowBuffer *nativeWindowBuffer, NativeWindow *nativeWindow) in SetData() 207 struct NativeWindowBuffer *nativeWindowBuffer = nullptr; in CreateNativeWindowAndRequestBuffer002() 306 struct NativeWindowBuffer *nativeWindowBuffer = nullptr; in CreateNativeWindowAndRequestBuffer003() 422 struct NativeWindowBuffer *nativeWindowBuffer = nullptr; in RequestBuffer001() 451 struct NativeWindowBuffer *nativeWindowBuffer = nullptr; in CreateNativeWindowAndRequestBuffer004() 577 struct NativeWindowBuffer *nativeWindowBuffer = nullptr; in CreateNativeWindowAndRequestBuffer005() 578 struct NativeWindowBuffer *lastNativeWindowBuffer = nullptr; in CreateNativeWindowAndRequestBuffer005() 803 struct NativeWindowBuffer *nativeWindowBuffer = nullptr; in CreateNativeWindowAndRequestBuffer007() [all …]
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkgraphics2d/ |
H A D | _o_h___native_image.md | 36 | typedef struct NativeWindowBuffer [OHNativeWindowBuffer](#ohnativewindowbuffer) | 提供NativeWindowB… 146 typedef struct NativeWindowBuffer OHNativeWindowBuffer 151 提供NativeWindowBuffer结构体声明。
|
H A D | native__image_8h.md | 31 | typedef struct NativeWindowBuffer [OHNativeWindowBuffer](_o_h___native_image.md#ohnativewindowbuf…
|
/ohos5.0/foundation/graphic/graphic_surface/interfaces/inner_api/surface/ |
H A D | external_window.h | 66 struct NativeWindowBuffer; 78 typedef struct NativeWindowBuffer OHNativeWindowBuffer;
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/opengl/test_xComponentContext/entry/src/main/cpp/samples/ |
H A D | sample_bitmap.h | 76 struct NativeWindowBuffer *buffer_ = nullptr;
|
/ohos5.0/base/web/webview/ohos_adapter/ohos_native_buffer_adapter/src/ |
H A D | ohos_native_buffer_adapter_impl.cpp | 105 …*nativeBuffer = OH_NativeBufferFromNativeWindowBuffer(static_cast<NativeWindowBuffer*>(nativeWindo… in NativeBufferFromNativeWindowBuffer()
|
/ohos5.0/foundation/graphic/graphic_2d/interfaces/inner_api/surface/ |
H A D | native_image.h | 53 typedef struct NativeWindowBuffer OHNativeWindowBuffer;
|
/ohos5.0/docs/en/release-notes/api-diff/v3.1-Release/ |
H A D | native-apidiff-v3.1-release.md | 87 …NativeWindowBuffer* OH_NativeWindow_CreateNativeWindowBufferFromSurfaceBuffer(void* pSurfaceBuffer… 88 …eWindowBuffer(struct NativeWindowBuffer* buffer) | Added| Added the API for decreasing the referen… 89 …veWindow *window, struct NativeWindowBuffer **buffer, int *fenceFd) | Added| Added the API for req… 90 …w *window, struct NativeWindowBuffer *buffer, int fenceFd, Region region) | Added| Added the API f… 91 …NativeWindowBuffer *buffer) | Added| Added the API for returning the **NativeWindowBuffer** to the… 93 …Native(struct NativeWindowBuffer *buffer) | Added| Added the API for obtaining the pointer to a **…
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/ |
H A D | my_xcomponent.h | 98 struct NativeWindowBuffer *buffer_ = nullptr;
|