Displaying 3 results from an estimated 3 matches for "pict_x2b10g10r10".
Did you mean:
pict_a2b10g10r10
2010 Jan 03
3
Latest xf86-video-nouveau does not compile
....c: In function 'NV50EXACheckRenderTarget':
nv50_exa.c:451: error: 'PICT_a2b10g10r10' undeclared (first use in this function)
nv50_exa.c:451: error: (Each undeclared identifier is reported only once
nv50_exa.c:451: error: for each function it appears in.)
nv50_exa.c:452: error: 'PICT_x2b10g10r10' undeclared (first use in this function)
nv50_exa.c:453: error: 'PICT_a2r10g10b10' undeclared (first use in this function)
nv50_exa.c:454: error: 'PICT_x2r10g10b10' undeclared (first use in this function)
nv50_exa.c: In function 'NV50EXARenderTarget':
nv50_exa.c:485: err...
2010 Jan 03
0
[PATCH] exa: Some compat defines for new pixman formats.
...100644
--- a/src/nv50_exa.c
+++ b/src/nv50_exa.c
@@ -431,6 +431,26 @@ NV50EXAUploadSIFC(const char *src, int src_pitch,
return TRUE;
}
+/* Compat defines for pre 1.7 xservers. */
+#ifndef PICT_a2b10g10r10
+#define PICT_a2b10g10r10 PICT_FORMAT(32, PICT_TYPE_ABGR, 2, 10, 10, 10)
+#endif
+#ifndef PICT_x2b10g10r10
+#define PICT_x2b10g10r10 PICT_FORMAT(32, PICT_TYPE_ABGR, 0, 10, 10, 10)
+#endif
+#ifndef PICT_a2r10g10b10
+#define PICT_a2r10g10b10 PICT_FORMAT(32, PICT_TYPE_ARGB, 2, 10, 10, 10)
+#endif
+#ifndef PICT_x2r10g10b10
+#define PICT_x2r10g10b10 PICT_FORMAT(32, PICT_TYPE_ARGB, 0, 10, 10, 10)
+#endif
+...
2010 Jan 03
0
[PATCH] exa: Some compat defines for depth 30 formats.
....c558896 100644
--- a/src/nv50_exa.c
+++ b/src/nv50_exa.c
@@ -431,6 +431,14 @@ NV50EXAUploadSIFC(const char *src, int src_pitch,
return TRUE;
}
+/* Compat defines for pre 1.7 xservers. */
+#ifndef PICT_a2b10g10r10
+#define PICT_a2b10g10r10 PICT_FORMAT(32, PICT_TYPE_ABGR, 2, 10, 10, 10)
+#define PICT_x2b10g10r10 PICT_FORMAT(32, PICT_TYPE_ABGR, 0, 10, 10, 10)
+#define PICT_a2r10g10b10 PICT_FORMAT(32, PICT_TYPE_ARGB, 2, 10, 10, 10)
+#define PICT_x2r10g10b10 PICT_FORMAT(32, PICT_TYPE_ARGB, 0, 10, 10, 10)
+#endif
+
static Bool
NV50EXACheckRenderTarget(PicturePtr ppict)
{
--
1.6.6.rc4
On Sun, Jan 3, 201...