XenevaOS
Loading...
Searching...
No Matches
Macros | Functions
drm_blend.h File Reference
#include <linux/list.h>
#include <linux/ctype.h>
#include <drm/drm_mode.h>
Include dependency graph for drm_blend.h:

Go to the source code of this file.

Macros

#define DRM_MODE_BLEND_PREMULTI   0
 
#define DRM_MODE_BLEND_COVERAGE   1
 
#define DRM_MODE_BLEND_PIXEL_NONE   2
 
#define DRM_BLEND_ALPHA_OPAQUE   0xffff
 

Functions

int drm_plane_create_alpha_property (struct drm_plane *plane)
 
int drm_plane_create_rotation_property (struct drm_plane *plane, unsigned int rotation, unsigned int supported_rotations)
 
unsigned int drm_rotation_simplify (unsigned int rotation, unsigned int supported_rotations)
 
int drm_plane_create_zpos_property (struct drm_plane *plane, unsigned int zpos, unsigned int min, unsigned int max)
 
int drm_plane_create_zpos_immutable_property (struct drm_plane *plane, unsigned int zpos)
 
int drm_atomic_normalize_zpos (struct drm_device *dev, struct drm_atomic_commit *state)
 
int drm_plane_create_blend_mode_property (struct drm_plane *plane, unsigned int supported_modes)
 
void drm_crtc_attach_background_color_property (struct drm_crtc *crtc)
 

Macro Definition Documentation

◆ DRM_BLEND_ALPHA_OPAQUE

#define DRM_BLEND_ALPHA_OPAQUE   0xffff

◆ DRM_MODE_BLEND_COVERAGE

#define DRM_MODE_BLEND_COVERAGE   1

◆ DRM_MODE_BLEND_PIXEL_NONE

#define DRM_MODE_BLEND_PIXEL_NONE   2

◆ DRM_MODE_BLEND_PREMULTI

#define DRM_MODE_BLEND_PREMULTI   0

Function Documentation

◆ drm_atomic_normalize_zpos()

int drm_atomic_normalize_zpos ( struct drm_device *  dev,
struct drm_atomic_commit *  state 
)

◆ drm_crtc_attach_background_color_property()

void drm_crtc_attach_background_color_property ( struct drm_crtc *  crtc)

◆ drm_plane_create_alpha_property()

int drm_plane_create_alpha_property ( struct drm_plane *  plane)

◆ drm_plane_create_blend_mode_property()

int drm_plane_create_blend_mode_property ( struct drm_plane *  plane,
unsigned int  supported_modes 
)

◆ drm_plane_create_rotation_property()

int drm_plane_create_rotation_property ( struct drm_plane *  plane,
unsigned int  rotation,
unsigned int  supported_rotations 
)

◆ drm_plane_create_zpos_immutable_property()

int drm_plane_create_zpos_immutable_property ( struct drm_plane *  plane,
unsigned int  zpos 
)

◆ drm_plane_create_zpos_property()

int drm_plane_create_zpos_property ( struct drm_plane *  plane,
unsigned int  zpos,
unsigned int  min,
unsigned int  max 
)

◆ drm_rotation_simplify()

unsigned int drm_rotation_simplify ( unsigned int  rotation,
unsigned int  supported_rotations 
)