Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- xserver-xorg-video-psb-0.36.0-ref/src/psb_accel.c 2010-06-07 22:17:46.474759186 +0200
- +++ xserver-xorg-video-psb-0.32.0/src/psb_accel.c 2010-06-13 15:10:26.835188230 +0200
- @@ -308,6 +308,14 @@
- }
- #endif
- +static void*
- +psbExaCreatePixmap(ScreenPtr pScreen, int w, int h, int depth, int usage_hint, int bpp, int* new_pitch )
- +{
- + return NULL;
- +}
- +static void
- +psbExaDestroyPixmap(ScreenPtr pScreen, void* driverPriv ){
- +}
- static Bool
- psbExaPixmapIsOffscreen(PixmapPtr p)
- {
- @@ -1313,6 +1321,7 @@
- pExa->pixmapOffsetAlign = 8;
- pExa->pixmapPitchAlign = 32 * 4;
- pExa->flags = EXA_OFFSCREEN_PIXMAPS;
- + pExa->flags |= EXA_HANDLES_PIXMAPS | EXA_MIXED_PIXMAPS;
- pExa->maxX = 2047;
- pExa->maxY = 2047;
- pExa->WaitMarker = psbExaWaitMarker;
- @@ -1328,6 +1337,9 @@
- pExa->Composite = psbExaSuperComposite;
- pExa->DoneComposite = psbExaDoneComposite;
- pExa->PixmapIsOffscreen = psbExaPixmapIsOffscreen;
- + pExa->CreatePixmap = NULL;
- + pExa->CreatePixmap2 = psbExaCreatePixmap;
- + pExa->DestroyPixmap = psbExaDestroyPixmap;
- pExa->PrepareAccess = psbExaPrepareAccess;
- pExa->FinishAccess = psbExaFinishAccess;
- pExa->UploadToScreen = psbExaUploadToScreen;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement