I'm pretty certain that 7.7 and 7.8 worked. <br><br><div class="gmail_quote">On Fri, Jun 1, 2012 at 1:40 PM, Brian Paul <span dir="ltr"><<a href="mailto:brianp@vmware.com" target="_blank">brianp@vmware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 06/01/2012 12:29 PM, Andrew Cunningham wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
I have built Mesa 8.0.3 on Windows(x64) to use as an optional GDI<br>
OpenGL renderer ( for when users connect over Remote Desktop).<br>
I am testing it as a "drop-in" replacement for the default<br>
OpenGL32.DLL, so after building Mesa, I copied the opengl32.dll and<br>
glu32.dll from the Mesa debug build into my application area.<br>
<br>
Unfortunately, the application "ASSERTS" the first time it tries to<br>
render a window, with info->BytesPerBlock==0. A quick look shows the<br>
format is MESA_FORMAT_NONE<br>
<br>
<br>
GLint<br>
_mesa_get_format_bytes(gl_<u></u>format format)<br>
{<br>
const struct gl_format_info *info = _mesa_get_format_info(format);<br>
ASSERT(info->BytesPerBlock);<br>
ASSERT(info->BytesPerBlock <= MAX_PIXEL_BYTES ||<br>
_mesa_is_format_compressed(<u></u>format));<br>
return info->BytesPerBlock;<br>
}<br>
<br>
<br>
opengl32.dll!_wassert(const wchar_t * expr, const wchar_t * filename,<br>
unsigned int lineno) Line 325 C<br>
> opengl32.dll!_mesa_get_format_<u></u>bytes(gl_format format) Line 1556 +<br>
0x26 bytes C<br>
opengl32.dll!_swrast_map_soft_<u></u>renderbuffer(gl_context * ctx,<br>
gl_renderbuffer * rb, unsigned int x, unsigned int y, unsigned int w,<br>
unsigned int h, unsigned int mode, unsigned char * * out_map, int *<br>
out_stride) Line 191 + 0xd bytes C<br>
opengl32.dll!map_attachment(<u></u>gl_context * ctx, gl_framebuffer * fb,<br>
gl_buffer_index buffer) Line 588 C<br>
opengl32.dll!_swrast_map_<u></u>renderbuffers(gl_context * ctx) Line 667 C<br>
opengl32.dll!_swrast_span_<u></u>render_start(gl_context * ctx) Line 851 C<br>
opengl32.dll!_swrast_render_<u></u>start(gl_context * ctx) Line 869 C<br>
opengl32.dll!_swsetup_<u></u>RenderStart(gl_context * ctx) Line 205 C<br>
opengl32.dll!run_render(gl_<u></u>context * ctx, tnl_pipeline_stage * stage)<br>
Line 278 C<br>
opengl32.dll!_tnl_run_<u></u>pipeline(gl_context * ctx) Line 163 + 0x12 bytes C<br>
opengl32.dll!_tnl_draw_prims(<u></u>gl_context * ctx, const gl_client_array *<br>
* arrays, const _mesa_prim * prim, unsigned int nr_prims, const<br>
_mesa_index_buffer * ib, unsigned int min_index, unsigned int<br>
max_index) Line 525 C<br>
opengl32.dll!_tnl_vbo_draw_<u></u>prims(gl_context * ctx, const<br>
gl_client_array * * arrays, const _mesa_prim * prim, unsigned int<br>
nr_prims, const _mesa_index_buffer * ib, unsigned char<br>
index_bounds_valid, unsigned int min_index, unsigned int max_index,<br>
gl_transform_feedback_object * tfb_vertcount) Line 424 C<br>
opengl32.dll!vbo_save_<u></u>playback_vertex_list(gl_<u></u>context * ctx, void *<br>
data) Line 312 C<br>
opengl32.dll!ext_opcode_<u></u>execute(gl_context * ctx, gl_dlist_node *<br>
node) Line 603 C<br>
opengl32.dll!execute_list(gl_<u></u>context * ctx, unsigned int list) Line<br>
7505 + 0x12 bytes C<br>
opengl32.dll!_mesa_CallList(<u></u>unsigned int list) Line 8923 C<br>
opengl32.dll!glCallList(<u></u>unsigned int list) Line 100 C<br>
<br>
<br>
Any help greatly appreciated.<br>
</blockquote>
<br></div></div>
The win32/gdi driver hasn't been maintained in quite a while. I suggest trying the 7.11 release, or possibly older.<span class="HOEnZb"><font color="#888888"><br>
<br>
-Brian</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
______________________________<u></u>_________________<br>
mesa-users mailing list<br>
<a href="mailto:mesa-users@lists.freedesktop.org" target="_blank">mesa-users@lists.freedesktop.<u></u>org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/mesa-users" target="_blank">http://lists.freedesktop.org/<u></u>mailman/listinfo/mesa-users</a><br>
</div></div></blockquote></div><br>