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