summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-01-26intel: #include clean-upsBrian Paul
2009-01-26intel: remove old #includesBrian Paul
2009-01-26intel: make intelUpdateScreenFromSAREA() staticBrian Paul
2009-01-26intel: remove unused varBrian Paul
2009-01-26intel: move intelInitExtensions() and related code into new intel_extensions.cBrian Paul
2009-01-26intel: move glClear-related code into new intel_clear.c fileBrian Paul
2009-01-26intel: Move swap-related functions from intel_buffers.c to new ↵Brian Paul
intel_swapbuffers.c
2009-01-26i965: scissor rect was inverted when rendering to textureBrian Paul
2009-01-26nv20: rewrite vertex layoutPekka Paalanen
NV20 seems to be very different to NV10. In vertex array, pos is first, not last. There are maximum 16 attributes and only few are currently known. This makes trivial/tri work on NV20. Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-01-26nv20: adjust initial hw contextPekka Paalanen
VIEWPORT_SCALE0 seems to do with translation and the sane value for x and y is zero. VIEWPORT_SCALE1 is still a mystery. Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-01-26gallium: updated comments in st_extensions.cBrian Paul
2009-01-26mesa: add missing texture_put_row_rgb() function in texrender.cRobert Ellison
The wrap_texture() function doesn't set the renderbuffer PutRowRGB() method, which is used to implement DrawPixels(). This fix adds an implementation of this method.
2009-01-24g3dvl: Remove dead links to files that are now in libnouveaudrm.Younes Manton
2009-01-24nouveau: fix st_get_framebuffer_surface() breakagePekka Paalanen
Someone changed the st_get_framebuffer_surface() signature, and did not update the users in Nouveau winsys. Surface is returned via a pointer now instead of returning it from the function. No semantic changes. Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-01-24mesa: declare pipe_texture in st_public.hPekka Paalanen
Fixes: In file included from nouveau_context_dri.c:6: ../../../../../../src/mesa/state_tracker/st_public.h:87: warning: 'struct pipe_texture' declared inside parameter list ../../../../../../src/mesa/state_tracker/st_public.h:87: warning: its scope is only this definition or declaration, which is probably not what you want ../../../../../../src/mesa/state_tracker/st_public.h:104: warning: 'struct pipe_texture' declared inside parameter list Signed-off-by: Pekka Paalanen <pq@iki.fi>
2009-01-24glew: Build it as a static lib.José Fonseca
2009-01-24progs: Fix isosurf.José Fonseca
2009-01-24progs: Port most of the demos to glew.José Fonseca
A couple of test weren't ported due to glew breakage -- it undefines GLAPIENTRY.
2009-01-24scons: Build the progs into seperate dirs as well.José Fonseca
2009-01-24glut: Automatic library linkage only on MSVC.José Fonseca
2009-01-24scons: Use --enable-stdcall-fixup only when building DLLs.José Fonseca
2009-01-24glut: Use a new define GLUT_STATIC to distinguish static builds.José Fonseca
_DLL is defined by MSVC when building against a DLL version of the CRT library. It bears no relation to whether we are building a DLL or not. That is, we can build a DLL against a static CRT, or a static lib against a dynamicaly linked CRT. See more detail at http://msdn.microsoft.com/en-us/library/2kzt1wy3.aspx This gets DLL version of glut linking correctly both with MinGW and MSVC. PS: GL/gl.h (and others) must be fixed too.
2009-01-24glut: Ensure windows.h is included on windows.José Fonseca
Trying to override windows headers is a recipe for disaster. Especially when using with glew. Also the windows headers in recent MinGW are complete enough that they don't need patching up.
2009-01-24scons: Don't build the DRI drivers in a seperate dir.José Fonseca
DRI drivers can be build side by side with other non-DRI drivers, therefore there is no need to build gallium twice.
2009-01-23docs: added GL_NV_texture_env_combine4Brian Paul
2009-01-23Merge branch 'tex_combine4'Brian Paul
2009-01-23i965: init array->Format fields (see bug 19708)Brian Paul
2009-01-23intel: enable GL_NV_texture_env_combine4 extensionBrian Paul
2009-01-23mesa: enable GL_NV_texture_env_combine4 for sw driversBrian Paul
2009-01-23mesa: updated fragment shader codegen for GL_NV_texture_env_combine4Brian Paul
Expand struct fields, increase loops and handle new 4-term ADD modes. Plus, some new assertions to catch switch/default cases that may be incorrect.
2009-01-23swrast: updates for GL_NV_texture_env_combine4Brian Paul
2009-01-23mesa: update state setup/validation for GL_NV_texture_env_combine4Brian Paul
2009-01-23mesa: update glTexEnv(), glGetTexEnv() for GL_NV_texture_env_combine4Brian Paul
2009-01-23mesa: initial changes for GL_NV_texture_env_combine4Brian Paul
2009-01-23mesa: set the new array->Format field in VBO codeBrian Paul
Should help to solve failed assertion in i965 driver (see bug 19708)
2009-01-23intel: fix the mismerge of the vblank pipe enable sanity checkJesse Barnes
Fix the last merge fix, had the blocks ordered incorrectly.
2009-01-23mesa: consolidate glGetTexEnvi/f() code with new get_texenvi() helperBrian Paul
2009-01-23intel: move pipe enable sanity check to where it belongsJesse Barnes
Bah, applied the patches in the wrong order, not Owain's fault...
2009-01-23scons: Use a cache for built files.José Fonseca
Like ccache, but works on all OSes.
2009-01-23wgl: Adapt for st_get_framebuffer_surface call change.José Fonseca
2009-01-23intel: fix vblank crtc selection with DRI1 when only one pipe is enabled.Owain Ainsworth
On Mobile chipsets, we often enable PipeB instead of PipeA, but the test in here was insufficient, falling back to pipe A if the area intersection returned zero. Therefore, in the case where a window went off to the top of the left of the screen, it would freeze, waiting on the wrong vblank. Fix this mess by checking the sarea for a crtc being zero sized, and in that case always default to the other one.
2009-01-23intel: Prevent an "irq is not working" printf when only pipe B is enabled.Owain G. Ainsworth
intelMakeCurrent is called before intelWindowMoved (in fact, it calls it), so calculation of the correct vblank crtc has not happened yet. Fix this by making a function that fixes up a set of vblank flags and call if from both functions.
2009-01-23mesa: refactor _mesa_TexEnvfv() code with helper functionsBrian Paul
2009-01-23docs: document improved stencil support and GL_EXT_vertex_array_bgraBrian Paul
2009-01-23Merge branch 'vertex_array_bgra'Brian Paul
2009-01-23i965: enable GL_EXT_vertex_array_bgraBrian Paul
Simply a matter of choosing the right surface/vertex format for GLubyte/GL_BGRA arrays.
2009-01-23mesa: enable GL_EXT_vertex_array_bgra for sw driversBrian Paul
2009-01-23mesa: update tnl module for GL_EXT_vertex_array_bgraBrian Paul
Add special case for GLubyte/GL_BGRA color arrays in _tnl_import_array()
2009-01-23mesa: improve array initialization code, and set the new array->Format field.Brian Paul
2009-01-23mesa: update glColorPointer, etc for GL_EXT_vertex_array_bgraBrian Paul
Add new error checking, set array state appropriately.