Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Check if FRAG_RESULT_COLR is written and update span->interpMask, arrayMask. | Brian | 2007-03-13 | 1 | -1/+8 |
| | | | | Also, fix an assertion. | ||||
* | Shuffle some code around in the emit_tex() and emit_move() instructions. | Brian | 2007-03-13 | 1 | -9/+16 |
| | | | | | | | Note that the inst ptr returned by new_instruction() may become invalid after calling emit_() since the emit functions may allocate new instructions which is done vial realloc(). Also, add some new assertions to try to catch this kind of bug. | ||||
* | properly compute ctx->Texture._EnabledCoordUnits | Brian | 2007-03-13 | 1 | -12/+8 |
| | |||||
* | Implement GL_ARB_texture_rectangle support | Brian | 2007-03-12 | 11 | -44/+141 |
| | | | | | This includes the sampler2DRect and sampler2DRectShadow types and the texture2DRect(), texture2DRectProj(), etc. built-in functions. | ||||
* | Add array bounds checking, fix memleaks, add null ptr checks. | Brian | 2007-03-12 | 1 | -4/+29 |
| | |||||
* | extra stuff for drawbuffers test | Brian | 2007-03-12 | 1 | -0/+8 |
| | |||||
* | added drawbuffers.c | Brian | 2007-03-11 | 1 | -0/+1 |
| | |||||
* | add NULL ptr check | Brian | 2007-03-11 | 1 | -6/+9 |
| | |||||
* | Test the GL_ARB_draw_buffers extension. | Brian | 2007-03-11 | 1 | -0/+298 |
| | | | | Also requires GL_EXT_framebuffer_object and OpenGL 2.0 (for GLSL). | ||||
* | Implement support for GL_ARB_draw_buffers with GL_MAX_DRAW_BUFFERS > 1. | Brian | 2007-03-11 | 7 | -75/+152 |
| | | | | | | GL_MAX_DRAW_BUFFERS is currently 4. Added gl_FragData[] output for fragment programs. In _swrast_write_rgba_span() loop over the color outputs/renderbuffers. | ||||
* | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa ↵ | Brian | 2007-03-10 | 20 | -327/+791 |
|\ | | | | | | | into glsl-compiler-1 | ||||
| * | Fix TEXREL issues. | Brian | 2007-03-10 | 2 | -5/+122 |
| | | | | | | | | | | Patch submitted by Christoph Brill. See http://www.gentoo.org/proj/en/hardened/pic-fix-guide.xml | ||||
| * | check for EXT_blend_equation_separate for 2.0 | Brian | 2007-03-10 | 1 | -1/+2 |
| | | |||||
| * | i915tex: Fix build against libdrm git... | Michel Dänzer | 2007-03-10 | 2 | -2/+3 |
| | | |||||
| * | i915tex: Fix intel_wait_flips being declared implicitly. | Michel Dänzer | 2007-03-10 | 1 | -0/+1 |
| | | |||||
| * | i915tex: Fix build against released version of libdrm. | Michel Dänzer | 2007-03-10 | 1 | -0/+17 |
| | | |||||
| * | nouveau: fix nv04 swtcl. | Stephane Marchesin | 2007-03-10 | 1 | -0/+1 |
| | | |||||
| * | nouveau: fix the nv04 swtcl code. | Stephane Marchesin | 2007-03-10 | 1 | -1/+1 |
| | | |||||
| * | nouveau: oops don't debug by default. | Stephane Marchesin | 2007-03-10 | 1 | -1/+1 |
| | | |||||
| * | nouveau: some fixes to the nv04 state code. | Stephane Marchesin | 2007-03-10 | 1 | -13/+15 |
| | | |||||
| * | nouveau: add a fifo size debug check. | Stephane Marchesin | 2007-03-10 | 2 | -3/+23 |
| | | |||||
| * | Merge branch 'i915tex-pageflip' | Michel Dänzer | 2007-03-10 | 12 | -304/+608 |
| |\ | |||||
| | * | i915tex: Wait for pending scheduled flips before switching vsync pipe. | Michel Dänzer | 2007-03-09 | 1 | -0/+19 |
| | | | | | | | | | | | | | | | This avoids hangs when the vblank sequence numbers are not in sync between pipes, in particular when they run at different refresh rates. | ||||
| | * | i915tex: Set intel_fb->vbl_waited to current instead of what we aimed for. | Michel Dänzer | 2007-03-09 | 1 | -1/+1 |
| | | | |||||
| | * | i915tex: Sync pages between pipes immediately again. | Michel Dänzer | 2007-03-09 | 1 | -2/+12 |
| | | | | | | | | | | | | | | | | | | This should be safe now that we no longer use the MI_WAIT_FOR_EVENT instruction incorrectly and should also work correctly with applications that render to the front buffer. | ||||
| | * | i915tex: Do not wait for pending flips on both pipes at the same time. | Michel Dänzer | 2007-03-09 | 1 | -9/+4 |
| | | | | | | | | | | | | | | | | | | The MI_WAIT_FOR_EVENT instruction does not support waiting for several events at once, so this should fix the lockups with page flipping when both pipes are enabled. | ||||
| | * | i915tex: Set framebuffer size to match window before calling _mesa_make_current. | Michel Dänzer | 2007-03-07 | 1 | -10/+10 |
| | | | | | | | | | | | | Fixes issues with apps that don't call glViewport by default. | ||||
| | * | i915tex: Sync pages differently when crossing pipe borders. | Michel Dänzer | 2007-02-28 | 1 | -12/+18 |
| | | | | | | | | | | | | | | | Don't flip (up to twice) immediately but just arrange things such that the pages will be in sync on both pipes on the next flip. | ||||
| | * | i915tex: Check that intel_rb is valid before trying to add it to an fbo. | Michel Dänzer | 2007-02-28 | 1 | -2/+4 |
| | | | |||||
| | * | i915tex: Also update intel_rb->vbl_pending when scheduled swap is not a flip. | Michel Dänzer | 2007-02-28 | 1 | -3/+3 |
| | | | |||||
| | * | i915tex: Schedule flips when possible. | Michel Dänzer | 2007-02-22 | 6 | -179/+228 |
| | | | | | | | | | | | | | | | Also move vsync related state from context to window, so it's possible to schedule several flips ahead of time with triple buffering. | ||||
| | * | i915tex: Triple buffering support, only effective with page flipping so far. | Michel Dänzer | 2007-02-20 | 7 | -63/+166 |
| | | | | | | | | | | | | | | | | | | Pending flips are tracked per renderbuffer and the colour renderbuffer attachments of window framebuffer objects are rotated on flips to avoid stalling the pipeline for pending flips unnecessarily. | ||||
| | * | intelWindowMoved: Some debugging output was accidentally left always enabled. | Michel Dänzer | 2007-02-20 | 1 | -1/+1 |
| | | | |||||
| | * | intelRotateWindow: Only use back buffer and cliprects in very specific cases. | Michel Dänzer | 2007-02-20 | 1 | -7/+6 |
| | | | |||||
| | * | intelCopyBuffer: Remove incorrect intel_fb->pf_current_page tests. | Michel Dänzer | 2007-02-20 | 1 | -17/+4 |
| | | | | | | | | | | | | | | | | | | | | | intel_get_rb_region already takes the current page into account. This would result in broken rendering when multiple 3D windows are visible and the pages are reversed. | ||||
| | * | i915tex: Support page flipping on both CRTCs independently. | Michel Dänzer | 2007-02-20 | 10 | -117/+203 |
| | | | | | | | | | | | | | | | No longer track page flipping state per context but per window, via struct intel_framebuffer which wraps struct gl_framebuffer for windows. | ||||
| | * | i915tex: Make page flipping work again. | Michel Dänzer | 2007-02-20 | 7 | -46/+94 |
| | | | |||||
* | | | Implement gl_FrontFacing for fragment shaders. | Brian | 2007-03-10 | 4 | -27/+44 |
| | | | | | | | | | | | | | | | | | | For the time being, we put the gl_FrontFacing value in the FOGC.Y input register. Combining FOGC and FrontFacing in one register is a bit of a hack and may need to be changed someday. | ||||
* | | | clean-up formatting | Brian | 2007-03-10 | 1 | -10/+11 |
| | | | |||||
* | | | add NULL ptr check in emit_cond() | Brian | 2007-03-10 | 1 | -2/+6 |
| | | | |||||
* | | | use gl_ModelViewProjectionMatrixTranspose in ftransform() | Brian | 2007-03-09 | 2 | -71/+71 |
| | | | |||||
* | | | add NULL ptr check | Brian | 2007-03-09 | 1 | -0/+2 |
| | | | |||||
* | | | added GL_CURRENT_PROGRAM | Brian | 2007-03-09 | 2 | -1/+20 |
| | | | |||||
* | | | Merge branch 'origin' into glsl-compiler-1 | Brian | 2007-03-09 | 76 | -734/+746 |
|\| | | | | | | | | | | | | | | | | | Conflicts: src/mesa/main/context.c | ||||
| * | | New IMAGE_RED_TO_LUMINANCE flag passed to _mesa_pack_rgba_span_float() to ↵ | Brian | 2007-03-09 | 3 | -6/+16 |
| | | | | | | | | | | | | fix glGetTexImage(GL_LUMINANCE) bug #10232. | ||||
| * | | r300: Also update window state when it's already bound but its stamp changed. | Michel Dänzer | 2007-03-09 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | And set new cliprects before deriving other state from them. This ensures cliprects aren't accessed after having been freed. Thanks to Panagiotis Papadakos for testing various iterations of this. | ||||
| * | | remove a if-statement | Xiang, Haihao | 2007-03-08 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | glMaterial changes the current specular exponent or glLight changes the intensity distribution of the light, but _mesa_update_state doesn't update the corresponding light table. So they must be updated at this time. | ||||
| * | | Updates of the OpenVMS makefiles. | J.Jansen | 2007-03-08 | 1 | -0/+60 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -include missing definitions -add files to compile -remove files from compile list which are removed from the repositry -add support for vbo new file: src/mesa/vbo/descrip.mms modified: src/mesa/descrip.mms modified: src/mesa/drivers/osmesa/descrip.mms modified: src/mesa/drivers/x11/descrip.mms modified: src/mesa/swrast_setup/descrip.mms modified: src/mesa/tnl/descrip.mms | ||||
| * | | i945_miptree_layout: Adapt cubemap fixes from i915_miptree_layout. | Michel Dänzer | 2007-03-07 | 1 | -3/+8 |
| | | | | | | | | | | | | | | | Cubemaps aren't working fully correctly yet, but at least they don't seem to cause crashes anymore. | ||||
| * | | destroy window during cleanup | Brian | 2007-03-06 | 2 | -2/+7 |
| | | |