diff --git a/arkui/ace_engine/native/native_interface_xcomponent.h b/arkui/ace_engine/native/native_interface_xcomponent.h index 3fbbf6f1b237f3285fbc41f8b83962ae8a65fefa..d1cd2785b926dbaa7d727ca4a052bfe07e6a01df 100644 --- a/arkui/ace_engine/native/native_interface_xcomponent.h +++ b/arkui/ace_engine/native/native_interface_xcomponent.h @@ -349,21 +349,7 @@ typedef struct OH_NativeXComponent OH_NativeXComponent; * @version 1.0 */ typedef struct OH_NativeXComponent_Callback { - /** - * @brief Called when the surface is created. - * - *

API Note - * - * Performance Note - *

By default, the window buffer in the current operating system is accessed via the CPU. If an application - * does not need to access the window buffer data using the CPU, it can proactively disable CPU access to - * enhance energy efficiency and reduce power consumption. - *

- *

For details about how to optimize power consumption for data read/write operations in data buffers, - * see [How do I proactively disable CPU access to window buffers to reduce power consumption?]{@link https://developer.huawei.com/consumer/en/doc/harmonyos-faqs/faqs-arkgraphics-2d-14}.

- *

- * - */ + /** Called when the surface is created. */ void (*OnSurfaceCreated)(OH_NativeXComponent* component, void* window); /** Called when the surface is changed. */ void (*OnSurfaceChanged)(OH_NativeXComponent* component, void* window);