diff options
author | Tom Zanussi <tom.zanussi@intel.com> | 2010-12-27 16:32:21 -0600 |
---|---|---|
committer | Tom Zanussi <tom.zanussi@intel.com> | 2010-12-27 16:32:21 -0600 |
commit | af40e14ce335fa689d1a989feba3c02a8c71b7a7 (patch) | |
tree | 90ce1d53eb63627d90ec7f081b680a66c92e8705 /meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/psb_mixed.patch | |
parent | ba8b8a99fd1598d0ce2cbaa69e9d16358d1ff5db (diff) | |
download | meta-intel-af40e14ce335fa689d1a989feba3c02a8c71b7a7.tar.gz |
meta-emenlow: move to meta-intel repo from poky repo
This is the meta-emenlow layer, moved from the poky repo in order to
keep all the meta-intel BSPs together.
This version builds against laverne (0.90) - detailed build
instruction can be found in the README file.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Diffstat (limited to 'meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/psb_mixed.patch')
-rw-r--r-- | meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/psb_mixed.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/psb_mixed.patch b/meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/psb_mixed.patch new file mode 100644 index 00000000..6065fa5c --- /dev/null +++ b/meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/psb_mixed.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | --- xserver-xorg-video-psb-0.32.1/src/psb_accel.c.orig 2010-07-04 19:27:48.691227698 +0200 | ||
2 | +++ xserver-xorg-video-psb-0.32.1/src/psb_accel.c 2010-07-04 19:27:15.338230809 +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; | ||