Clone of mesa.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

nv04_surface_2d.h 801B

1234567891011121314151617181920212223242526272829
  1. #ifndef __NV04_SURFACE_2D_H__
  2. #define __NV04_SURFACE_2D_H__
  3. struct nv04_surface_2d {
  4. struct nouveau_winsys *nvws;
  5. struct nouveau_notifier *ntfy;
  6. struct nouveau_grobj *surf2d;
  7. struct nouveau_grobj *swzsurf;
  8. struct nouveau_grobj *m2mf;
  9. struct nouveau_grobj *rect;
  10. struct nouveau_grobj *blit;
  11. struct nouveau_grobj *sifm;
  12. struct pipe_buffer *(*buf)(struct pipe_surface *);
  13. void (*copy)(struct nv04_surface_2d *, struct pipe_surface *dst,
  14. int dx, int dy, struct pipe_surface *src, int sx, int sy,
  15. int w, int h);
  16. void (*fill)(struct nv04_surface_2d *, struct pipe_surface *dst,
  17. int dx, int dy, int w, int h, unsigned value);
  18. };
  19. struct nv04_surface_2d *
  20. nv04_surface_2d_init(struct nouveau_winsys *nvws);
  21. void
  22. nv04_surface_2d_takedown(struct nv04_surface_2d **);
  23. #endif