radeon.h 571 B

1234567891011121314151617
  1. /* ATI Radeon (R200 / RV280) hardware cursor. */
  2. #ifndef RADEON_H
  3. #define RADEON_H
  4. /* Called by ati_init() when the active adapter is a Radeon. */
  5. void radeon_init(unsigned int bus, unsigned int dev, unsigned int device_id);
  6. int radeon_available(void);
  7. /* Hardware cursor (64x64 ARGB8888). */
  8. struct cursor_image;
  9. void radeon_cursor_setup(const struct cursor_image *img);
  10. void radeon_cursor_load(const struct cursor_image *img);
  11. /* (x,y) is the image's top-left and may be negative. */
  12. void radeon_cursor_move(int x, int y);
  13. void radeon_cursor_show(int show);
  14. #endif