# VK_OHOS_surface(3) Manual Page

## Name

VK_OHOS_surface - instance extension

Loading… please wait.

## Registered Extension Number

588

## Revision

1

## Ratification Status

Not ratified

## Extension and Version Dependencies

VK_KHR_surface

## Contact

- Weilan Chen [GitHub]wchen-h

## Other Extension Metadata

Last Modified Date

  2025-05-16

IP Status

  No known IP claims.

Contributors

  - Weilan Chen, Huawei

  - Zehui Lin, Huawei

  - Pan Gao, Huawei

  - Zhao Zhang, Huawei

  - Yang Shi, Huawei

## Description

The `VK_OHOS_surface` extension is an instance extension. It provides a mechanism to create a VkSurfaceKHR object (defined by the `VK_KHR_surface` extension) that refers to an OHNativeWindow, the native surface type of Open Harmony OS. Common consumer endpoints for `OHNativeWindows` are the system window compositor, video encoders, and application-specific compositors.

## New Base Types

- OHNativeWindow

## New Commands

- vkCreateSurfaceOHOS

## New Structures

- VkOHSurfaceCreateInfoOHOS

- VkSurfaceCreateInfoOHOS

## New Bitmasks

- VkSurfaceCreateFlagsOHOS

## New Enum Constants

- `VK_OHOS_SURFACE_EXTENSION_NAME`

- `VK_OHOS_SURFACE_SPEC_VERSION`

- Extending VkStructureType:

  - `VK_STRUCTURE_TYPE_OH_SURFACE_CREATE_INFO_OHOS`

## Version History

- Revision 1, 2025-05-19 (Weilan Chen)

  - Internal revisions

## See Also

No cross-references are available

## Document Notes

For more information, see the Vulkan Specification

This page is a generated document. Fixes and changes should be made to the generator scripts, not directly.

## Copyright

Copyright 2014-2025 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0