Advertisement
Guest User

jbs

a guest
Jun 16th, 2010
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. --- xserver-xorg-video-psb-0.36.0-ref/src/psb_accel.c 2010-06-07 22:17:46.474759186 +0200
  2. +++ xserver-xorg-video-psb-0.32.0/src/psb_accel.c 2010-06-13 15:10:26.835188230 +0200
  3. @@ -308,6 +308,14 @@
  4. }
  5. #endif
  6.  
  7. +static void*
  8. +psbExaCreatePixmap(ScreenPtr pScreen, int w, int h, int depth, int usage_hint, int bpp, int* new_pitch )
  9. +{
  10. + return NULL;
  11. +}
  12. +static void
  13. +psbExaDestroyPixmap(ScreenPtr pScreen, void* driverPriv ){
  14. +}
  15. static Bool
  16. psbExaPixmapIsOffscreen(PixmapPtr p)
  17. {
  18. @@ -1313,6 +1321,7 @@
  19. pExa->pixmapOffsetAlign = 8;
  20. pExa->pixmapPitchAlign = 32 * 4;
  21. pExa->flags = EXA_OFFSCREEN_PIXMAPS;
  22. + pExa->flags |= EXA_HANDLES_PIXMAPS | EXA_MIXED_PIXMAPS;
  23. pExa->maxX = 2047;
  24. pExa->maxY = 2047;
  25. pExa->WaitMarker = psbExaWaitMarker;
  26. @@ -1328,6 +1337,9 @@
  27. pExa->Composite = psbExaSuperComposite;
  28. pExa->DoneComposite = psbExaDoneComposite;
  29. pExa->PixmapIsOffscreen = psbExaPixmapIsOffscreen;
  30. + pExa->CreatePixmap = NULL;
  31. + pExa->CreatePixmap2 = psbExaCreatePixmap;
  32. + pExa->DestroyPixmap = psbExaDestroyPixmap;
  33. pExa->PrepareAccess = psbExaPrepareAccess;
  34. pExa->FinishAccess = psbExaFinishAccess;
  35. pExa->UploadToScreen = psbExaUploadToScreen;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement