diff options
author | Edward O'Callaghan <funfunctor@folklore1984.net> | 2017-03-07 00:34:30 +1100 |
---|---|---|
committer | Edward O'Callaghan <funfunctor@folklore1984.net> | 2017-03-07 00:34:30 +1100 |
commit | d1ae1a2dec5aeee284b201e0469fff5a53fd6c2d (patch) | |
tree | c3c1bb8ab6537c2e0553aacfd7cc5e61edf31105 | |
parent | 3e6766934a80e658d78c9dd031abde952b71141c (diff) |
src/drm.h,c: trivial cleanup
Signed-off-by: Edward O'Callaghan <funfunctor@folklore1984.net>
-rw-r--r-- | src/drm.c | 8 | ||||
-rw-r--r-- | src/drm.h | 4 |
2 files changed, 6 insertions, 6 deletions
@@ -13,7 +13,7 @@ static void drm_fb_destroy_callback(struct gbm_bo *bo, void *data) { - struct drm_fb_xxx *fb = data; + struct drm_fb *fb = data; int drm_fd = gbm_device_get_fd(gbm_bo_get_device(bo)); if (fb->fb_id) @@ -22,9 +22,9 @@ static void drm_fb_destroy_callback(struct gbm_bo *bo, void *data) free(fb); } -struct drm_fb_xxx * drm_fb_get_from_bo(struct gbm_bo *bo) +struct drm_fb * drm_fb_get_from_bo(struct gbm_bo *bo) { - struct drm_fb_xxx *fb = gbm_bo_get_user_data(bo); + struct drm_fb *fb = gbm_bo_get_user_data(bo); int ret; if (fb) @@ -207,7 +207,7 @@ static void page_flip_handler(int fd, unsigned int frame, static int drm_run_flip_thingy(const struct gbm *gbm, const struct egl *egl) { struct gbm_bo * bo; - struct drm_fb_xxx * fb; + struct drm_fb * fb; int ret; drmEventContext evctx = { @@ -10,7 +10,7 @@ /** * .. */ -struct drm_fb_xxx { +struct drm_fb { uint32_t fb_id; struct gbm_bo * bo; }; @@ -21,7 +21,7 @@ struct drm_fb_xxx { * returned framebuffer object attached to the gbm bo * is handled by gbm for us. */ -struct drm_fb_xxx * drm_fb_get_from_bo(struct gbm_bo *bo); +struct drm_fb * drm_fb_get_from_bo(struct gbm_bo *bo); struct drm { |