mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-31 22:47:51 +00:00
Mesa:
- update to Mesa-7.7.1
This commit is contained in:
parent
cf7ef68efa
commit
0071b9d33c
@ -1,40 +0,0 @@
|
||||
From 8db8adfd01a1ff1e2a160ae3b0199bd3daa4191a Mon Sep 17 00:00:00 2001
|
||||
From: Jakob Bornecrantz <jakob@vmware.com>
|
||||
Date: Thu, 28 Jan 2010 16:59:26 +0000
|
||||
Subject: st/xorg: Update to new libkms interface but be backwards compatible
|
||||
|
||||
---
|
||||
diff --git a/src/gallium/state_trackers/xorg/xorg_crtc.c b/src/gallium/state_trackers/xorg/xorg_crtc.c
|
||||
index 0160b1a..daa9f8b 100644
|
||||
--- a/src/gallium/state_trackers/xorg/xorg_crtc.c
|
||||
+++ b/src/gallium/state_trackers/xorg/xorg_crtc.c
|
||||
@@ -243,7 +243,11 @@ crtc_load_cursor_argb_kms(xf86CrtcPtr crtc, CARD32 * image)
|
||||
unsigned attr[8];
|
||||
|
||||
attr[0] = KMS_BO_TYPE;
|
||||
+#ifdef KMS_BO_TYPE_CURSOR_64X64_A8R8G8B8
|
||||
+ attr[1] = KMS_BO_TYPE_CURSOR_64X64_A8R8G8B8;
|
||||
+#else
|
||||
attr[1] = KMS_BO_TYPE_CURSOR;
|
||||
+#endif
|
||||
attr[2] = KMS_WIDTH;
|
||||
attr[3] = 64;
|
||||
attr[4] = KMS_HEIGHT;
|
||||
diff --git a/src/gallium/state_trackers/xorg/xorg_driver.c b/src/gallium/state_trackers/xorg/xorg_driver.c
|
||||
index e4ad789..f53a879 100644
|
||||
--- a/src/gallium/state_trackers/xorg/xorg_driver.c
|
||||
+++ b/src/gallium/state_trackers/xorg/xorg_driver.c
|
||||
@@ -1008,7 +1008,11 @@ drv_create_front_buffer_kms(ScrnInfoPtr pScrn)
|
||||
int ret;
|
||||
|
||||
attr[0] = KMS_BO_TYPE;
|
||||
+#ifdef KMS_BO_TYPE_SCANOUT_X8R8G8B8
|
||||
+ attr[1] = KMS_BO_TYPE_SCANOUT_X8R8G8B8;
|
||||
+#else
|
||||
attr[1] = KMS_BO_TYPE_SCANOUT;
|
||||
+#endif
|
||||
attr[2] = KMS_WIDTH;
|
||||
attr[3] = pScrn->virtualX;
|
||||
attr[4] = KMS_HEIGHT;
|
||||
--
|
||||
cgit v0.8.3-6-g21f6
|
@ -1,2 +1,2 @@
|
||||
ftp://ftp.freedesktop.org/pub/mesa/7.7/MesaLib-7.7.tar.bz2
|
||||
ftp://ftp.freedesktop.org/pub/mesa/7.7/MesaDemos-7.7.tar.bz2
|
||||
ftp://ftp.freedesktop.org/pub/mesa/7.7.1/MesaLib-7.7.1.tar.bz2
|
||||
ftp://ftp.freedesktop.org/pub/mesa/7.7.1/MesaDemos-7.7.1.tar.bz2
|
Loading…
x
Reference in New Issue
Block a user