[Mesa-dev] [Bug 63117] OSMesa Gallium Empty Output
https://bugs.freedesktop.org/show_bug.cgi?id=63117 --- Comment #3 from Kevin Hobbs hob...@ohiou.edu --- The(In reply to comment #2) Created attachment 77643 [details] [review] patch for osmesa.c I tried the patched mesa with VTK's LoadOpenGLExtension test and the test passed. I'm running the rest of VTK's nightly tests now... -- You are receiving this mail because: You are the assignee for the bug. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 63117] OSMesa Gallium Empty Output
https://bugs.freedesktop.org/show_bug.cgi?id=63117 --- Comment #5 from Brian Paul bri...@vmware.com --- OK, great. If you find any significant differences between the old swrast and llvmpipe results, please file another bug. I'll push the patch today. -- You are receiving this mail because: You are the assignee for the bug. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 63117] OSMesa Gallium Empty Output
https://bugs.freedesktop.org/show_bug.cgi?id=63117 Brian Paul bri...@vmware.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #6 from Brian Paul bri...@vmware.com --- Patch pushed: acd4fb8b5aa68d6545cf3c7f63d9d2fa1cf73e73 -- You are receiving this mail because: You are the assignee for the bug. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 63117] OSMesa Gallium Empty Output
https://bugs.freedesktop.org/show_bug.cgi?id=63117 --- Comment #2 from Brian Paul bri...@vmware.com --- Created attachment 77643 -- https://bugs.freedesktop.org/attachment.cgi?id=77643action=edit patch for osmesa.c Kevin, can you try this patch? I think the unique thing that vtk is doing is calling OSMesaMakeCurrent() several times per frame. Each time OSMesaMakeCurrent() was called we're creating new gallium drawing surfaces so any previous rendering to the frame was getting lost. The patch tries to re-use gallium surfaces from one MakeCurrent to the next. -- You are receiving this mail because: You are the assignee for the bug. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 63117] OSMesa Gallium Empty Output
https://bugs.freedesktop.org/show_bug.cgi?id=63117 --- Comment #1 from Kevin Hobbs hob...@ohiou.edu --- Since OSMesa switched to the Gallium driver VTK tests which use OSMesa produce black output images. Before the change VTK's LoadOpenGLExtension test had : GL_VERSION: 2.1 Mesa 9.2-devel (git-6173cc1) GL_RENDERER: Mesa OffScreen in the output, and after the change it had : GL_VERSION: 2.1 Mesa 9.2.0 (git-f7ef83c) GL_RENDERER: Gallium 0.4 on llvmpipe (LLVM 3.0, 128 bits) VTK sets up the OSMesa contest like this : contextId = OSMesaCreateContext(GL_RGBA, NULL); OSMesaMakeCurrent(contextId, window, GL_UNSIGNED_BYTE, xsize, ysize); VTK gets the image data from OSMesa like: MakeCurrent(); while(glGetError() != GL_NO_ERROR) {}; glReadBuffer(front_or_back); -- You are receiving this mail because: You are the assignee for the bug. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev