summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* Check for, simplify vec2/3/4(x). Only do call adapting for constructors.Brian2007-03-131-3/+25
|
* improve literal printingBrian2007-03-131-8/+13
|
* disable some debug outputBrian2007-03-131-1/+1
|
* better error msg for undefined function, disable some debug outputBrian2007-03-131-6/+9
|
* get rid of float_multiply, float_add, float_divideBrian2007-03-133-6/+3
|
* alloc an extra byte in _mesa_ShaderSourceARB() to silence a valgrind warningBrian2007-03-131-4/+9
|
* be smarter about which fragment attribs are interpolated before running frag ↵Brian2007-03-131-11/+21
| | | | progs
* comment about SPAN_* vs FRAG_BIT_* valuesBrian2007-03-131-0/+2
|
* Check if FRAG_RESULT_COLR is written and update span->interpMask, arrayMask.Brian2007-03-131-1/+8
| | | | Also, fix an assertion.
* Shuffle some code around in the emit_tex() and emit_move() instructions.Brian2007-03-131-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._EnabledCoordUnitsBrian2007-03-131-12/+8
|
* Implement GL_ARB_texture_rectangle supportBrian2007-03-1211-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.Brian2007-03-121-4/+29
|
* add NULL ptr checkBrian2007-03-111-6/+9
|
* Implement support for GL_ARB_draw_buffers with GL_MAX_DRAW_BUFFERS > 1.Brian2007-03-117-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 ↵Brian2007-03-1020-327/+791
|\ | | | | | | into glsl-compiler-1
| * Fix TEXREL issues.Brian2007-03-102-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.0Brian2007-03-101-1/+2
| |
| * i915tex: Fix build against libdrm git...Michel Dänzer2007-03-102-2/+3
| |
| * i915tex: Fix intel_wait_flips being declared implicitly.Michel Dänzer2007-03-101-0/+1
| |
| * i915tex: Fix build against released version of libdrm.Michel Dänzer2007-03-101-0/+17
| |
| * nouveau: fix nv04 swtcl.Stephane Marchesin2007-03-101-0/+1
| |
| * nouveau: fix the nv04 swtcl code.Stephane Marchesin2007-03-101-1/+1
| |
| * nouveau: oops don't debug by default.Stephane Marchesin2007-03-101-1/+1
| |
| * nouveau: some fixes to the nv04 state code.Stephane Marchesin2007-03-101-13/+15
| |
| * nouveau: add a fifo size debug check.Stephane Marchesin2007-03-102-3/+23
| |
| * Merge branch 'i915tex-pageflip'Michel Dänzer2007-03-1012-304/+608
| |\
| | * i915tex: Wait for pending scheduled flips before switching vsync pipe.Michel Dänzer2007-03-091-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änzer2007-03-091-1/+1
| | |
| | * i915tex: Sync pages between pipes immediately again.Michel Dänzer2007-03-091-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änzer2007-03-091-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änzer2007-03-071-10/+10
| | | | | | | | | | | | Fixes issues with apps that don't call glViewport by default.
| | * i915tex: Sync pages differently when crossing pipe borders.Michel Dänzer2007-02-281-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änzer2007-02-281-2/+4
| | |
| | * i915tex: Also update intel_rb->vbl_pending when scheduled swap is not a flip.Michel Dänzer2007-02-281-3/+3
| | |
| | * i915tex: Schedule flips when possible.Michel Dänzer2007-02-226-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änzer2007-02-207-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änzer2007-02-201-1/+1
| | |
| | * intelRotateWindow: Only use back buffer and cliprects in very specific cases.Michel Dänzer2007-02-201-7/+6
| | |
| | * intelCopyBuffer: Remove incorrect intel_fb->pf_current_page tests.Michel Dänzer2007-02-201-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änzer2007-02-2010-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änzer2007-02-207-46/+94
| | |
* | | Implement gl_FrontFacing for fragment shaders.Brian2007-03-104-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 formattingBrian2007-03-101-10/+11
| | |
* | | add NULL ptr check in emit_cond()Brian2007-03-101-2/+6
| | |
* | | use gl_ModelViewProjectionMatrixTranspose in ftransform()Brian2007-03-092-71/+71
| | |
* | | add NULL ptr checkBrian2007-03-091-0/+2
| | |
* | | added GL_CURRENT_PROGRAMBrian2007-03-092-1/+20
| | |
* | | Merge branch 'origin' into glsl-compiler-1Brian2007-03-0968-672/+684
|\| | | | | | | | | | | | | | | | | Conflicts: src/mesa/main/context.c
| * | New IMAGE_RED_TO_LUMINANCE flag passed to _mesa_pack_rgba_span_float() to ↵Brian2007-03-093-6/+16
| | | | | | | | | | | | fix glGetTexImage(GL_LUMINANCE) bug #10232.