Mercurial > sdl-ios-xcode
annotate docs/html/guide.html @ 4106:12bb6311fd5d SDL-1.2
Hans de Goede fixed bug #495
When running boswars: http://www.boswars.org/ on a machine with intel
integrathed graphics it crashes when it tries to play the initial theora
splashscreen video:
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 140 (XVideo)
Minor opcode of failed request: 19 ()
Serial number of failed request: 25
Current serial number in output stream: 26
boswars: xcb_xlib.c:41: xcb_xlib_lock: Assertion `!c->xlib.lock' failed.
Aborted
I recognized this problem from a few years back, when I encountered it while
working on the Xv blitter for xmame. The problem is that for some reason
creation the Xvport and XvImage succeeds, and failure (lack of resources / hw
capability?) is only indicated during the first XvPut[Shm]Image. I've written a
patch for SDL using the work around for this I developed for xmame (and which
is still used successfully in xmame after many years of usage).
I'll admit it isn't very pretty, but after investigating several possibilities
this was the best option, any other fixes would need changes to the SDL api and
abi.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 29 Dec 2007 02:23:48 +0000 |
parents | 355632dca928 |
children |
rev | line source |
---|---|
0 | 1 <HTML |
2 ><HEAD | |
3 ><TITLE | |
4 >SDL Guide</TITLE | |
5 ><META | |
6 NAME="GENERATOR" | |
803
355632dca928
Updated SDL HTML documentation
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
7 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+ |
0 | 8 "><LINK |
9 REL="HOME" | |
10 TITLE="SDL Library Documentation" | |
11 HREF="index.html"><LINK | |
12 REL="PREVIOUS" | |
13 TITLE="SDL Library Documentation" | |
14 HREF="index.html"><LINK | |
15 REL="NEXT" | |
16 TITLE="Preface" | |
17 HREF="guidepreface.html"></HEAD | |
18 ><BODY | |
19 CLASS="PART" | |
20 BGCOLOR="#FFF8DC" | |
21 TEXT="#000000" | |
22 LINK="#0000ee" | |
23 VLINK="#551a8b" | |
24 ALINK="#ff0000" | |
25 ><DIV | |
26 CLASS="NAVHEADER" | |
27 ><TABLE | |
803
355632dca928
Updated SDL HTML documentation
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
28 SUMMARY="Header navigation table" |
0 | 29 WIDTH="100%" |
30 BORDER="0" | |
31 CELLPADDING="0" | |
32 CELLSPACING="0" | |
33 ><TR | |
34 ><TH | |
35 COLSPAN="3" | |
36 ALIGN="center" | |
37 >SDL Library Documentation</TH | |
38 ></TR | |
39 ><TR | |
40 ><TD | |
41 WIDTH="10%" | |
42 ALIGN="left" | |
43 VALIGN="bottom" | |
44 ><A | |
45 HREF="index.html" | |
803
355632dca928
Updated SDL HTML documentation
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
46 ACCESSKEY="P" |
0 | 47 >Prev</A |
48 ></TD | |
49 ><TD | |
50 WIDTH="80%" | |
51 ALIGN="center" | |
52 VALIGN="bottom" | |
53 ></TD | |
54 ><TD | |
55 WIDTH="10%" | |
56 ALIGN="right" | |
57 VALIGN="bottom" | |
58 ><A | |
59 HREF="guidepreface.html" | |
803
355632dca928
Updated SDL HTML documentation
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
60 ACCESSKEY="N" |
0 | 61 >Next</A |
62 ></TD | |
63 ></TR | |
64 ></TABLE | |
65 ><HR | |
66 ALIGN="LEFT" | |
67 WIDTH="100%"></DIV | |
68 ><DIV | |
69 CLASS="PART" | |
70 ><A | |
71 NAME="GUIDE" | |
72 ></A | |
73 ><DIV | |
74 CLASS="TITLEPAGE" | |
75 ><H1 | |
76 CLASS="TITLE" | |
77 >I. SDL Guide</H1 | |
78 ><DIV | |
79 CLASS="TOC" | |
80 ><DL | |
81 ><DT | |
82 ><B | |
83 >Table of Contents</B | |
84 ></DT | |
85 ><DT | |
86 ><A | |
87 HREF="guidepreface.html" | |
88 >Preface</A | |
89 ></DT | |
90 ><DT | |
91 >1. <A | |
92 HREF="guidethebasics.html" | |
93 >The Basics</A | |
94 ></DT | |
95 ><DT | |
96 >2. <A | |
97 HREF="guidevideo.html" | |
98 >Graphics and Video</A | |
99 ></DT | |
100 ><DT | |
101 >3. <A | |
102 HREF="guideinput.html" | |
103 >Input handling</A | |
104 ></DT | |
105 ><DT | |
106 >4. <A | |
107 HREF="guideexamples.html" | |
108 >Examples</A | |
109 ></DT | |
110 ></DL | |
111 ></DIV | |
112 ></DIV | |
113 ></DIV | |
114 ><DIV | |
115 CLASS="NAVFOOTER" | |
116 ><HR | |
117 ALIGN="LEFT" | |
118 WIDTH="100%"><TABLE | |
803
355632dca928
Updated SDL HTML documentation
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
119 SUMMARY="Footer navigation table" |
0 | 120 WIDTH="100%" |
121 BORDER="0" | |
122 CELLPADDING="0" | |
123 CELLSPACING="0" | |
124 ><TR | |
125 ><TD | |
126 WIDTH="33%" | |
127 ALIGN="left" | |
128 VALIGN="top" | |
129 ><A | |
130 HREF="index.html" | |
803
355632dca928
Updated SDL HTML documentation
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
131 ACCESSKEY="P" |
0 | 132 >Prev</A |
133 ></TD | |
134 ><TD | |
135 WIDTH="34%" | |
136 ALIGN="center" | |
137 VALIGN="top" | |
138 ><A | |
139 HREF="index.html" | |
803
355632dca928
Updated SDL HTML documentation
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
140 ACCESSKEY="H" |
0 | 141 >Home</A |
142 ></TD | |
143 ><TD | |
144 WIDTH="33%" | |
145 ALIGN="right" | |
146 VALIGN="top" | |
147 ><A | |
148 HREF="guidepreface.html" | |
803
355632dca928
Updated SDL HTML documentation
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
149 ACCESSKEY="N" |
0 | 150 >Next</A |
151 ></TD | |
152 ></TR | |
153 ><TR | |
154 ><TD | |
155 WIDTH="33%" | |
156 ALIGN="left" | |
157 VALIGN="top" | |
158 >SDL Library Documentation</TD | |
159 ><TD | |
160 WIDTH="34%" | |
161 ALIGN="center" | |
162 VALIGN="top" | |
163 > </TD | |
164 ><TD | |
165 WIDTH="33%" | |
166 ALIGN="right" | |
167 VALIGN="top" | |
168 >Preface</TD | |
169 ></TR | |
170 ></TABLE | |
171 ></DIV | |
172 ></BODY | |
173 ></HTML | |
174 > |