Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-07-29 | fix range reduction for sin/cos in i915tex (#11609) | Roland Scheidegger | |
2007-07-29 | fix fallback crashes when driver can't handle frag prog for i915 driver too ↵ | Roland Scheidegger | |
(untested) | |||
2007-07-29 | Fix crashes when the frag prog can't be handled in hardware (#11131) | Roland Scheidegger | |
Must not change to/from swrast after Render.Start or bad things will happen. (Driver will still somewhat incorrectly report an implementation error, and apps can't really figure out if a prog is natively supported as validation is later - could try doing it earlier to give some hint at least, even though native status may still change later due to fog etc.) | |||
2007-07-19 | fix mesa fb binding | Roland Scheidegger | |
Make sure that we bind the right buffer (draw or read) when rebinding the window framebuffer (the api doesn't allow binding different draw and read buffers at the same time, but the default window framebuffer is basically 2 fb objects, one for read, one for write, which can be different). Pass both of these two down the driver api (no driver uses this right now). | |||
2007-07-19 | increase MAX_RELOCS so never run out before batch buffer is full (fixes ↵ | Roland Scheidegger | |
xdemos/shape) | |||
2007-07-16 | fix segfault with i915 drivers in swrast drawpixels path when resizing windows | Roland Scheidegger | |
2007-07-10 | i915tex: Better procedure for dropping batchbuffer on virtual resolution change. | Michel Dänzer | |
The previous procedure would often result in a GPU lockup. | |||
2007-07-10 | i915tex: Only wait for vblank when really necessary. | Michel Dänzer | |
This avoids superfluous waits for vblank timing out under some circumstances. | |||
2007-07-06 | Add case for GL_QUADS in i915_reduced_primitive_state(). | Brian | |
The t_dd_tritemp.h code can emit GL_QUADS primitives. We need to catch that case to determine if polygon stipple should be enabled. Fixes bug reported by Carlos Diógenes on 4 July 2007. | |||
2007-06-21 | Another round of fixing attribute interpolation for glDraw/CopyPixels. | Brian | |
Need to turn off FRAG_BIT_COL0 in swrast->_ActiveAttribMask when doing glRead/CopyPixels to prevent the user's colors from getting overwritten when a fragment program is active. This was happening in the DRI drivers when MaintainTexEnv program was used (the texenv fragment program was enabled when _swrast_DrawPixels was called). This still isn't an ideal solution, but fixes things for now. | |||
2007-06-20 | Effectively disable _TexEnvProgram before calling _swrast_DrawPixels(). | Brian | |
It's OK to use _TexEnvProgram regardless of the texture state, but if fog is also enabled, the fragment program is lacking the actual fog computation so fogging doesn't appear. Fixing this might involve a new _MaintainFogProgram field and related code. For now, just disable the _TexEnvProgram and let swrast handle everything. | |||
2007-06-15 | i915tex: Missing piece of SetTexOffset hook implementation for I830 generation. | Michel Dänzer | |
2007-06-11 | Replace texobj->Complete with texobj->_Complete since it's a derived field. | Brian | |
2007-06-05 | Add PCI IDs for the G33, Q33, and Q35 chipsets. | Wang Zhenyu | |
2007-06-05 | i915tex: Better attempt to release miptree when overriding texture image. | Michel Dänzer | |
The previous approach could lead to crashes in FBO code that dereferences the miptree struct pointer unconditionally. | |||
2007-05-31 | i915tex: Add support for 945GME | Wang Zhenyu | |
2007-05-22 | Replace initInitState() with _mesa_init_driver_state(). | Brian | |
2007-05-22 | i915tex: Implement SetTexOffset hook. | Michel Dänzer | |
Only build tested for I830 generation. | |||
2007-05-22 | i915/i915tex: minor cleanup (remove unneeded function call | Roland Scheidegger | |
2007-05-22 | unbreak 3d textures (typo when setting tex layout) | Roland Scheidegger | |
2007-05-19 | fix miptree layout (i915) for small compressed mipmaps | Roland Scheidegger | |
This seems to work now. Also fix i945 set_level_info, need to match i915 behaviour for storing mip height, as it's assumed to be the mip width (in texels) elsewhere and the division by 4 is done later (untested). | |||
2007-05-19 | fix miptree comparison with compressed textures | Roland Scheidegger | |
TexelBytes is always 0 with compressed textures, thus would never match mt->cpp. This caused constant blitting around of textures, and it fixes at least the horrible performance of Q3 if compressed textures are enabled. | |||
2007-05-09 | Clean-up in I830AllocVidMem(), s/int/unsigned long/ for ret variable. | Brian | |
2007-05-08 | i915/miniglx: remove unused code | Dave Airlie | |
2007-04-17 | Defer buffer pool creation to the first context creation. | Thomas Hellstrom | |
This way we have a hw context so that we can take the hardware lock. Also, at this point, AIGLX isn't locked with the X server context as it is at screen creation. | |||
2007-04-16 | just clean-ups | Brian | |
2007-04-16 | remove _tnl_arb_vertex_program_stage | Brian | |
2007-04-16 | Make sure we are locked when creating drm buffer objects. | Thomas Hellstrom | |
Don't place buffer objects on unfenced list when newly created. Fix a buffer object wait-for-idle deadlock. | |||
2007-04-11 | use _mesa_reference_renderbuffer(), fix typo | Brian | |
2007-04-09 | i915tex: Fix some mismatches between texels or bytes for pitch/stride. | Michel Dänzer | |
2007-04-09 | i915tex: Make sure texture format fetch hooks are initialized. | Michel Dänzer | |
2007-04-08 | i915tex: Clean up resizing of renderbuffers. | Michel Dänzer | |
2007-04-05 | include points.h to fix warnings | Brian | |
2007-04-04 | i810/i915/i915tex: reinitialize the context point state | Xiang, Haihao | |
2007-03-27 | i915tex compile fix (account for moved _UseTexEnvProgram var) | Roland Scheidegger | |
2007-03-27 | Restore the UseTexEnvProgram logic. | Brian | |
Was removed during glsl-compiler work. Still need to go back and revisit this because of the interaction with fragment shaders... | |||
2007-03-26 | merge of glsl-compiler-1 branch | Brian | |
2007-03-26 | i915tex: Make sure renderbuffers don't get deleted when flipping them. | Michel Dänzer | |
Since the recent renderbuffer refcounting fixes it's no longer sufficient to just remove the old renderbuffer from the framebuffer and then add the new one because the former may decrease the reference count to 0 and delete the old renderbuffer. | |||
2007-03-21 | merge from master | Brian | |
2007-03-19 | i915tex: The intended triple buffering fix. | Michel Dänzer | |
Making modifications while the editor spawned by git-commit was suspended didn't have the intended effect. | |||
2007-03-19 | i915tex: Fix triple buffering after recent Mesa core changes. | Michel Dänzer | |
Remove superfluous _mesa_resize_framebuffer call which is now harmful because it causes the third renderbuffer to have width/height 0, so Mesa refuses to render to it. In the long term, it would be nice to remove the hack in intel_alloc_window_storage in favour of a proper Mesa interface for flipping between more than two colour buffers. | |||
2007-03-18 | fix typo in subrect_disable packet | Keith Whitwell | |
2007-03-15 | Fix off by one error in immediate state packet size. | Keith Whitwell | |
2007-03-12 | i915tex: Don't crash when intel_fb->color_rb[i] is NULL. | Michel Dänzer | |
This can be the case on some systems when running glxinfo. | |||
2007-03-10 | Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa ↵ | Brian | |
into glsl-compiler-1 | |||
2007-03-10 | i915tex: Fix build against libdrm git... | Michel Dänzer | |
2007-03-10 | i915tex: Fix intel_wait_flips being declared implicitly. | Michel Dänzer | |
2007-03-10 | i915tex: Fix build against released version of libdrm. | Michel Dänzer | |
2007-03-10 | Merge branch 'i915tex-pageflip' | Michel Dänzer | |
2007-03-09 | i915tex: Wait for pending scheduled flips before switching vsync pipe. | Michel Dänzer | |
This avoids hangs when the vblank sequence numbers are not in sync between pipes, in particular when they run at different refresh rates. |