wmt_ge_rops.h 583 B

1234567891011121314151617181920212223242526272829
  1. #ifdef CONFIG_FB_WMT_GE_ROPS
  2. extern void wmt_ge_fillrect(struct fb_info *info,
  3. const struct fb_fillrect *rect);
  4. extern void wmt_ge_copyarea(struct fb_info *info,
  5. const struct fb_copyarea *area);
  6. extern int wmt_ge_sync(struct fb_info *info);
  7. #else
  8. static inline int wmt_ge_sync(struct fb_info *p)
  9. {
  10. return 0;
  11. }
  12. static inline void wmt_ge_fillrect(struct fb_info *p,
  13. const struct fb_fillrect *rect)
  14. {
  15. sys_fillrect(p, rect);
  16. }
  17. static inline void wmt_ge_copyarea(struct fb_info *p,
  18. const struct fb_copyarea *area)
  19. {
  20. sys_copyarea(p, area);
  21. }
  22. #endif