summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-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-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-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.
2009-01-23mesa: initial bits for GL_EXT_vertex_array_bgraBrian Paul
2009-01-23r300: Enable GL_ATI_separate_stencil in R300Ian Romanick
At this point, GL_EXT_stencil_two_side should probably be disabled. It may be worth leaving it enabled because it has GLX protocol while GL_ATI_separate_stencil does not. I'll leave it to one of the r300 maintainers to make the call.
2009-01-23965: Enable GL_EXT_stencil_two_sideIan Romanick
2009-01-23swrast: Enable GL_EXT_stencil_two_sideIan Romanick
2009-01-23Track two sets of back-face stencil stateIan Romanick
Track separate back-face stencil state for OpenGL 2.0 / GL_ATI_separate_stencil and GL_EXT_stencil_two_side. This allows all three to be enabled in a driver. One set of state is set via the 2.0 or ATI functions and is used when STENCIL_TEST_TWO_SIDE_EXT is disabled. The other is set by StencilFunc and StencilOp when the active stencil face is set to BACK. The GL_EXT_stencil_two_side spec has more details. http://opengl.org/registry/specs/EXT/stencil_two_side.txt
2009-01-23gallium: change the st_get_framebuffer_surface/texture functionsAlan Hourihane
to return TRUE/FALSE if the st_framebuffer is valid, and if it is return the surface/texture in the passed pointer.
2009-01-23glew: Initial import.José Fonseca
From glew 1.5.1 release.
2009-01-22i965: whitespace changes and reformattingBrian Paul
2009-01-22i965: enable GL_ARB_framebuffer_objectBrian Paul
2009-01-22intel: add GL_EXT_framebuffer blit extensionBrian Paul
This functionality is required by GL_ARB_framebuffer_object. For now, implement it in terms of glCopyPixels(). This will need to be revisted though.
2009-01-22intel: remove/disable the "paired depth/stencil" codeBrian Paul
We only allow combined depth+stencil renderbuffers so the complicated code for splitting and combining separate depth and stencil buffers is no longer needed.
2009-01-22intel: asst clean-ups, simplifications in intel_draw_buffer()Brian Paul
2009-01-22intel: remove unneeded call to ctx->Driver.DepthRange()Brian Paul
The preceeding call to intel_draw_buffer() does that.
2009-01-22i965: disallow separate depth/stencil renderbuffersBrian Paul
Take advantage of the GL_FRAMEBUFFER_UNSUPPORTED feature to disallow separate depth and stencil renderbuffers; only allow combined depth/stencil buffers. Next up: remove/simplify a bunch of the depth/stencil renderbuffer code. Also: restore the previously disabled GL_DEPTH_COMPONENT16 case
2009-01-22i965: minor reformattingBrian Paul