XenoAtom.Interop.libgbm 1.0.0-alpha.1

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
This is a prerelease version of XenoAtom.Interop.libgbm.
dotnet add package XenoAtom.Interop.libgbm --version 1.0.0-alpha.1
NuGet\Install-Package XenoAtom.Interop.libgbm -Version 1.0.0-alpha.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="XenoAtom.Interop.libgbm" Version="1.0.0-alpha.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add XenoAtom.Interop.libgbm --version 1.0.0-alpha.1
#r "nuget: XenoAtom.Interop.libgbm, 1.0.0-alpha.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install XenoAtom.Interop.libgbm as a Cake Addin
#addin nuget:?package=XenoAtom.Interop.libgbm&version=1.0.0-alpha.1&prerelease

// Install XenoAtom.Interop.libgbm as a Cake Tool
#tool nuget:?package=XenoAtom.Interop.libgbm&version=1.0.0-alpha.1&prerelease

XenoAtom.Interop.libgbm Build Status NuGet

This package provides a low-level and modern .NET P/Invoke wrapper around the libgbm Mesa API.

♻️ XenoAtom.Interop

This package is part of the XenoAtom.Interop project.

libgbm is a userspace library that provides an abstraction for buffer management used by graphics drivers. For more information, see libgbm website.

💻 Usage

After installing the package, you can access the library through the static class XenoAtom.Interop.libgbm.

For more information, see the official documentation at https://gitlab.freedesktop.org/mesa/mesa.

📦 Compatible Native Binaries

This library does not provide C native binaries but only P/Invoke .NET bindings to libgbm 23.3.6-r0.

If the native library is already installed on your system, check the version installed. If you are using this library on Alpine Linux, see the compatible version in the Supported API section below. Other OS might require a different setup.

📚 Supported API

This package is based on the following header version:

  • libgbm C include headers: mesa-dev
  • Version: 23.3.6-r0
  • Distribution: AlpineLinux v3.19

The following API were automatically generated from the C/C++ code:

  • gbm.h: gbm_bo_create, gbm_bo_create_with_modifiers, gbm_bo_create_with_modifiers2, gbm_bo_destroy, gbm_bo_get_bpp, gbm_bo_get_device, gbm_bo_get_fd, gbm_bo_get_fd_for_plane, gbm_bo_get_format, gbm_bo_get_handle, gbm_bo_get_handle_for_plane, gbm_bo_get_height, gbm_bo_get_modifier, gbm_bo_get_offset, gbm_bo_get_plane_count, gbm_bo_get_stride, gbm_bo_get_stride_for_plane, gbm_bo_get_user_data, gbm_bo_get_width, gbm_bo_import, gbm_bo_map, gbm_bo_set_user_data, gbm_bo_unmap, gbm_bo_write, gbm_create_device, gbm_device_destroy, gbm_device_get_backend_name, gbm_device_get_fd, gbm_device_get_format_modifier_plane_count, gbm_device_is_format_supported, gbm_format_get_name, gbm_surface_create, gbm_surface_create_with_modifiers, gbm_surface_create_with_modifiers2, gbm_surface_destroy, gbm_surface_has_free_buffers, gbm_surface_lock_front_buffer, gbm_surface_release_buffer

🪪 License

This software is released under the BSD-2-Clause license.

🤗 Author

Alexandre Mutel aka xoofx.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0-alpha.1 41 6/5/2024