Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | progs/trivial: add dlist-flat-tri.c | Keith Whitwell | 2009-06-30 | 2 | -0/+172 |
| | | | | | | | | | State-change functions which precede the first call to glEnd() in a compiled list are vulnerable to not being executed when that list is called. In particular this can happen if a list is invoked from within a begin/end pair, as in this example. | ||||
* | progs/trivial: add dlist-recursive-call | Keith Whitwell | 2009-06-30 | 2 | -0/+191 |
| | | | | | | | | | | When one display list calls another display list, it is possible that the calling display list makes state-changes or other actions which invalidate any attempt at caching or state-change elimination in the calling list. This test exercises one such case, where the called list consists of just a single glShadeModel() call. | ||||
* | dlist-tri-flat-tri: make tri render differently if flatshade not enabled | Keith Whitwell | 2009-06-30 | 1 | -1/+3 |
| | | | | | When testing flat-shading, it helps to specify per-vertex colors so that you can distinguish between flat & smooth shading. | ||||
* | Merge branch 'mesa_7_5_branch' into dlist-statechange-shortcircuit | Keith Whitwell | 2009-06-30 | 3 | -5/+170 |
|\ | | | | | | | Need this to pick up fixes for per-vertex materials. | ||||
| * | progs/trivial: add test case for lighting plus per-vertex materials | Keith Whitwell | 2009-06-30 | 2 | -0/+150 |
| | | | | | | | | Exercise material-within-begin/end case. | ||||
| * | progs/isosurf: add materials mode for glVertex + TRISTRIP | Keith Whitwell | 2009-06-30 | 1 | -5/+20 |
| | | |||||
| * | progs/util: make sure function pointers are initialized | Keith Whitwell | 2009-06-30 | 1 | -1/+6 |
| | | | | | | | | | | Call Init() from CompileShaderFile, was previously only called for the Text version of this function. | ||||
| * | progs/glsl: link with GLEW library | Brian Paul | 2009-06-29 | 1 | -1/+1 |
| | | |||||
* | | progs/trivial: test case for dlist statechange elimination | Keith Whitwell | 2009-06-30 | 2 | -0/+170 |
| | | | | | | | | | | | | Creates a display list with redundant call to glShadeModel. View dlist contents with MESA_VERBOSE=list | ||||
* | | progs/glsl: link with GLEW library | Brian Paul | 2009-06-30 | 1 | -1/+1 |
| | | | | | | | | (cherry picked from commit b1f2f92d9b2d190d39fb1b5c919c59c9539a025a) | ||||
* | | progs/util: make sure function pointers are initialized | Keith Whitwell | 2009-06-29 | 1 | -1/+6 |
|/ | | | | | Call Init() from CompileShaderFile, was previously only called for the Text version of this function. | ||||
* | progs/glsl: compile with scons and glew | Keith Whitwell | 2009-06-29 | 27 | -1/+106 |
| | | | | Get most of these working with scons. | ||||
* | demos: improve argv parsing in fslight.c | Brian Paul | 2009-06-26 | 1 | -2/+6 |
| | |||||
* | demos: fix issues in glxcontexts.c | Brian Paul | 2009-06-23 | 1 | -114/+46 |
| | | | | | | | | The reshape() function was called when there was no GLX context so the viewport/modelview/projection setup wasn't doing anything. Move the call to reshape() into draw(). Also, remove -stereo, -fullscreen options and do some general clean-up. | ||||
* | progs/wgl: Fix shreadtex_mt too. | José Fonseca | 2009-06-17 | 1 | -6/+24 |
| | |||||
* | progs/wgl: Tweak the initialization wait in wglthreads. | José Fonseca | 2009-06-17 | 1 | -2/+2 |
| | | | | There was still a non-zero probability for wglShareLists of failing. | ||||
* | progs/wgl: Get wglShareLists working in wglthreads. | José Fonseca | 2009-06-17 | 1 | -6/+23 |
| | | | | | | | wglShareLists is a little picky -- it seems to check if it has exclusive access to a lock, and fails if it doesn't. This allows the texture to be shared with all windows. | ||||
* | progs/wgl: Allow resizing wglthreads' windows. | José Fonseca | 2009-06-17 | 1 | -1/+1 |
| | |||||
* | progs/wgl: Quit after displaying usage for -h option. | José Fonseca | 2009-06-16 | 1 | -0/+1 |
| | |||||
* | progs/wgl: Use appropriate types to silence msvc warnings. | José Fonseca | 2009-06-16 | 1 | -7/+7 |
| | |||||
* | progs/wgl: Fix assertion failure in wglthreads' texture creation. | José Fonseca | 2009-06-16 | 1 | -8/+10 |
| | |||||
* | progs/tests: Use opaque colors. | José Fonseca | 2009-06-15 | 1 | -2/+2 |
| | | | | | Transparency is not relevant for this example, and leads to distraction due to different results in alpha visuals, when capturing images to disk. | ||||
* | demos: update fbotexture.c to use EXT or ARB functions exclusively | Brian Paul | 2009-06-12 | 2 | -38/+77 |
| | | | | | | | | | When the -arb option is specified we use GL_ARB_framebuffer_object intead of GL_EXT_framebuffer_object. For some vendors' OpenGL it's important to call the ARB entrypoints instead of the EXT entrypoints to get correct behaviour. Use some function pointer tricks to do this (instead of GLEW). | ||||
* | util: additional function pointers | Brian Paul | 2009-06-12 | 1 | -0/+101 |
| | |||||
* | progs: Port fp programs to GLEW. | José Fonseca | 2009-06-11 | 10 | -26/+50 |
| | |||||
* | progs/tests: Add some scissor tests | Jakob Bornecrantz | 2009-06-08 | 5 | -0/+312 |
| | |||||
* | progs/vpglsl: add similar support for point rendering as progs/vp | Keith Whitwell | 2009-06-01 | 3 | -6/+64 |
| | |||||
* | trivial/tri-z: add controls for depthrange min/max | Keith Whitwell | 2009-06-01 | 1 | -10/+40 |
| | | | | | Also add key to set up quake-1 style ztrick rendering with clear depth 1.0, deptrange(1.0, 0.0) and depthfunc GL_GREATER. | ||||
* | progs/wgl: Small cleanup to wglinfo. | José Fonseca | 2009-06-01 | 1 | -5/+4 |
| | |||||
* | progs/wgl: Use an invisible window in wglinfo. | José Fonseca | 2009-06-01 | 1 | -1/+1 |
| | |||||
* | demos: add missing dependencies for util files | Brian Paul | 2009-06-01 | 1 | -10/+11 |
| | |||||
* | demos: fix multitex.c VertCoord attribute mapping | Brian Paul | 2009-05-22 | 1 | -1/+16 |
| | | | | | | | | | | | | If the multitex.vert shader uses the VertCoord generic vertex attribute instead of the pre-defined gl_Vertex attribute, we need to make sure that VertCoord gets bound to generic vertex attribute zero. That's because we need to call glVertexAttrib2fv(0, xy) after all the other vertex attributes have been set since setting generic attribute 0 triggers vertex submission. Before, we wound up issuing the vertex attributes in the order 0, 1, 2 which caused the first vertex to be submitted before all the attributes were set. Now, the attributes are set in 1, 2, 0 order. | ||||
* | trivial: destroy window upon exit | Brian Paul | 2009-05-11 | 1 | -0/+1 |
| | |||||
* | progs/trivial: add test for vertex program invarient transform | Keith Whitwell | 2009-05-08 | 3 | -0/+149 |
| | |||||
* | progs/trivial: add vbo-noninterleaved test | Keith Whitwell | 2009-05-08 | 3 | -0/+141 |
| | |||||
* | trivial: add line-flat.c | Keith Whitwell | 2009-05-08 | 3 | -0/+149 |
| | |||||
* | demos: silence warning | Brian Paul | 2009-04-30 | 1 | -1/+1 |
| | |||||
* | progs/tests: Update ignores | Jakob Bornecrantz | 2009-04-29 | 1 | -8/+6 |
| | |||||
* | progs/tests: Add mipmap_comp for mipmap testing with compressed textures | Jakob Bornecrantz | 2009-04-29 | 4 | -0/+298 |
| | |||||
* | progs: add fflushes for cygwin | Keith Whitwell | 2009-04-28 | 2 | -0/+5 |
| | |||||
* | demos: asst. updates, clean-ups | Brian Paul | 2009-04-28 | 1 | -23/+20 |
| | |||||
* | demos: Clean up allocated Textures and Display Lists when demo quit | Shuang He | 2009-04-27 | 4 | -0/+47 |
| | |||||
* | demos: ensure display lists are destroyed for next generation | Alan Hourihane | 2009-04-24 | 1 | -0/+4 |
| | |||||
* | shadowtex: fflush stdout for cygwin | Keith Whitwell | 2009-04-24 | 1 | -0/+2 |
| | |||||
* | demos/readpix: add option to draw triangle instead of drawpix | Keith Whitwell | 2009-04-24 | 1 | -5/+62 |
| | |||||
* | tests/mipmap_view: add a bunch of keystrokes for testing render-to-texture | Keith Whitwell | 2009-04-24 | 1 | -48/+219 |
| | | | | | Move between mipmaps, render a triangle, reload textures with either the original arch (and GenMipmaps) or via straightforward glTexImage. | ||||
* | demos: check that GL version is 2.0 or higher | Brian Paul | 2009-04-21 | 1 | -0/+8 |
| | |||||
* | trivial/tri-viewport: add keys for frustrum/ortho and z coordinate | Keith Whitwell | 2009-04-21 | 1 | -43/+77 |
| | |||||
* | trivial/tri-viewport: add more out-of-bounds background quads | Keith Whitwell | 2009-04-21 | 1 | -1/+27 |
| | |||||
* | trivial/tri_viewport: add space==reset key | Keith Whitwell | 2009-04-21 | 1 | -1/+3 |
| |