Expand description
EGL procedures +GBM offscreen rendering context.
Re-exports§
pub use khronos_egl;
Structs§
- A shared reference to a GBM EGL GPU context.
- Automatically releases the context by going out of scope.
- The image is created from a fd, but it does not get invalidated when the fd is released
- The image is created from a fd, but it does not get invalidated when the fd is released
- GBM EGL GPU context
- Clears the fd once finished. TODO: clear texture?
- A texture attached to an image
- OpenGL texture identifier, used for binding textures to context.
Enums§
Traits§
- WIP: this is to find out what import_dmabuf actually needs
Functions§
- Attaches texture to image
- Creates a texture with the image attached
- If you intend to import a surface as a rendering target, better use ARGB8888. Otherwise the config won’t match.
- Requires the context to already be current