Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
drm_framebuffer_funcs Struct Reference

#include <drm_crtc.h>

Data Fields

void(* destroy )(struct drm_framebuffer *framebuffer)
 
int(* create_handle )(struct drm_framebuffer *fb, struct drm_file *file_priv, unsigned int *handle)
 
int(* dirty )(struct drm_framebuffer *framebuffer, struct drm_file *file_priv, unsigned flags, unsigned color, struct drm_clip_rect *clips, unsigned num_clips)
 

Detailed Description

Definition at line 221 of file drm_crtc.h.

Field Documentation

int(* create_handle)(struct drm_framebuffer *fb, struct drm_file *file_priv, unsigned int *handle)

Definition at line 224 of file drm_crtc.h.

void(* destroy)(struct drm_framebuffer *framebuffer)

Definition at line 223 of file drm_crtc.h.

int(* dirty)(struct drm_framebuffer *framebuffer, struct drm_file *file_priv, unsigned flags, unsigned color, struct drm_clip_rect *clips, unsigned num_clips)

Optinal callback for the dirty fb ioctl.

Userspace can notify the driver via this callback that a area of the framebuffer has changed and should be flushed to the display hardware.

See documentation in drm_mode.h for the struct drm_mode_fb_dirty_cmd for more information as all the semantics and arguments have a one to one mapping on this function.

Definition at line 239 of file drm_crtc.h.


The documentation for this struct was generated from the following file: