Expand description
Contains dummy definitions for wlc render functions (wlc-render.h)
Enums§
- wlc_
pixel_ format - Allowed pixel formats
- wlc_
renderer - Enabled renderers
- wlc_
surface_ format
Constants§
- BITS_
PER_ PIXEL - Number of bits per pixel (RGBA8888)
Functions§
- calculate_
stride - Calculates the stride for ARGB32 encoded buffers
- read_
pixels - Reads the pixels at the specified geometry
- wlc_
output_ ⚠get_ gamma_ size - wlc_
output_ ⚠get_ renderer - Returns currently active renderer on the given output
- wlc_
output_ ⚠schedule_ render - Read pixel data from output’s framebuffer. If theif output is currently rendering, it will render immediately after.
- wlc_
output_ ⚠set_ gamma - wlc_
pixels_ ⚠read - wlc_
pixels_ ⚠write - Write pixel data with the specific format to output’s framebuffer. If the geometry is out of bounds, it will be automatically clamped.
- wlc_
surface_ ⚠flush_ frame_ callbacks - Adds frame callbacks of the given surface for the next output frame. It applies recursively to all subsurfaces. Useful when the compositor creates custom animations which require disabling internal rendering, but still need to update the surface textures (for ex. video players).
- wlc_
surface_ ⚠get_ textures - Fills out_textures[] with the textures of a surface. Returns false if surface is invalid. Array must have at least 3 elements and should be refreshed at each frame. Note that these are not only OpenGL textures but rather render-specific. For more info what they are check the renderer’s source code */
- wlc_
surface_ ⚠render - Renders surface.
- write_
pixels - Write pixel data with the specific format to output’s framebuffer. If the geometry is out of bounds, it will be automatically clamped.