summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i915tex
Commit message (Collapse)AuthorAgeFilesLines
* Move i915tex driver into place as just i915.Eric Anholt2007-09-2477-27961/+0
|
* Uniquely validate the batchbuffer-referenced buffers.Eric Anholt2007-09-201-1/+46
| | | | | | Otherwise, for multiple references by the batchbuffer, the kernel would see the buffer already on the unfenced list and wait for it to leave the list before continuing, leading to hanging and eventual -EBUSY.
* Merge branch 'master' into i915-unificationEric Anholt2007-09-2024-356/+1359
|\ | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/common/dri_drmpool.c src/mesa/drivers/dri/i915tex/i915_vtbl.c src/mesa/drivers/dri/i915tex/intel_batchbuffer.c src/mesa/drivers/dri/i915tex/intel_context.c
| * Replace i915tex batchbuffer printout with a pretty-printed version.Eric Anholt2007-09-194-15/+865
| |
| * Enable building the debug (env INTEL_DEBUG=list) code by default.Eric Anholt2007-09-191-1/+1
| |
| * Remove unused plane->pipe mapping fields from SAREA private.Jesse Barnes2007-09-121-3/+0
| |
| * Fix-up #includes to remove some -I options.Brian2007-09-111-5/+6
| | | | | | | | eg: #include "shader/program.h" and remove -I$(TOP)/src/mesa/program
| * Update depth test state when binding new framebuffer objectBrian2007-09-111-0/+9
| |
| * fix commentBrian2007-09-111-1/+1
| |
| * intel: disentangle planes & pipesJesse Barnes2007-09-113-36/+39
| | | | | | | | | | | | This is the Mesa portion of the pipe & plane disambiguation. Mesa needs to use the new assumptions about plane vs. pipe mappings and should use the new SAREA field names to avoid confusion.
| * Add register defines for hw binningKeith Packard2007-08-281-0/+25
| |
| * i915tex: Unreference texture buffers on context destruction.Michel Dänzer2007-08-162-0/+20
| | | | | | | | Not doing this could cause the buffers to leak under some circumstances.
| * i915tex: Make sure pitch is aligned properly for render-to-texture.Michel Dänzer2007-08-131-1/+11
| | | | | | | | | | Just always align texture pitch to multiples of 64 bytes for now, pending a more sophisticated scheme to do it only when really necessary.
| * Make it easier to compare against the pipe driver debug code.Keith Whitwell2007-08-112-129/+131
| |
| * Improve debugging further.Keith Whitwell2007-08-113-24/+430
| | | | | | | | Pull apart some key packets into individual fields and print sanely.
| * Better debuggingKeith Whitwell2007-08-116-262/+760
| |
| * i965/i915tex: applying right alignment to compressed texture,Xiang, Haihao2007-08-101-2/+7
| | | | | | | | which make small textures(4x4,2x2,1x1) work well.
| * move code to prevent NULL ptr dereference (bug 11810)Brian2007-08-021-2/+2
| |
| * fix range reduction for sin/cos in i915tex (#11609)Roland Scheidegger2007-07-291-4/+4
| |
| * fix fallback crashes when driver can't handle frag prog for i915 driver too ↵Roland Scheidegger2007-07-291-6/+0
| | | | | | | | (untested)
| * Fix crashes when the frag prog can't be handled in hardware (#11131)Roland Scheidegger2007-07-294-1/+16
| | | | | | | | | | | | | | | | 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.)
| * fix mesa fb bindingRoland Scheidegger2007-07-191-1/+1
| | | | | | | | | | | | | | | | 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).
| * increase MAX_RELOCS so never run out before batch buffer is full (fixes ↵Roland Scheidegger2007-07-191-1/+1
| | | | | | | | xdemos/shape)
| * fix segfault with i915 drivers in swrast drawpixels path when resizing windowsRoland Scheidegger2007-07-161-0/+6
| |
| * i915tex: Better procedure for dropping batchbuffer on virtual resolution change.Michel Dänzer2007-07-101-20/+10
| | | | | | | | The previous procedure would often result in a GPU lockup.
| * i915tex: Only wait for vblank when really necessary.Michel Dänzer2007-07-102-10/+27
| | | | | | | | This avoids superfluous waits for vblank timing out under some circumstances.
| * Add case for GL_QUADS in i915_reduced_primitive_state().Brian2007-07-061-0/+1
| | | | | | | | | | | | 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.
* | Convert TTM code to require the server provide buffers for front/back/depth.Eric Anholt2007-08-165-53/+101
| | | | | | | | | | | | This removes the use of fake buffers from the driver, such that it could probably be removed from the interface. It also should assist in proper synchronization of access.
* | Move i915_disasm to later so we can use the hardware offset.Eric Anholt2007-08-161-3/+7
| |
* | Add decode for XY_COLOR_BLT and XY_SRC_COPY_BLT.Eric Anholt2007-08-161-2/+85
| |
* | Don't initialize extensions we can't support when !ttm.Eric Anholt2007-07-311-2/+9
| |
* | Add notes about bufmgr initialization failures.Eric Anholt2007-07-251-0/+2
| |
* | Fix copy'n'pasteo that broke display lists.Eric Anholt2007-07-051-1/+1
| |
* | Merge branch 'i915-unification' of ↵Eric Anholt2007-07-0513-43/+836
|\ \ | | | | | | | | | git+ssh://people.freedesktop.org/~anholt/mesa into i915-unification
| * | Merge branch 'origin' into i915-unificationEric Anholt2007-06-218-10/+51
| |\|
| | * Another round of fixing attribute interpolation for glDraw/CopyPixels.Brian2007-06-211-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * Effectively disable _TexEnvProgram before calling _swrast_DrawPixels().Brian2007-06-201-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * i915tex: Missing piece of SetTexOffset hook implementation for I830 generation.Michel Dänzer2007-06-151-5/+7
| | |
| | * Replace texobj->Complete with texobj->_Complete since it's a derived field.Brian2007-06-111-1/+1
| | |
| | * Add PCI IDs for the G33, Q33, and Q35 chipsets.Wang Zhenyu2007-06-054-0/+18
| | |
| | * i915tex: Better attempt to release miptree when overriding texture image.Michel Dänzer2007-06-051-3/+3
| | | | | | | | | | | | | | | The previous approach could lead to crashes in FBO code that dereferences the miptree struct pointer unconditionally.
| | * i915tex: Add support for 945GMEWang Zhenyu2007-05-314-0/+6
| | |
| * | Reset saved state for disasm when we've lost the context.Eric Anholt2007-06-213-0/+11
| | |
| * | Add decoding of inline primitives in debug output.Eric Anholt2007-06-211-11/+127
| | |
| * | Add missing i915_disasm.h header and adjust copyright formatting on the .cEric Anholt2007-06-212-3/+31
| | |
| * | Test for TTM presence initially rather than test for lack of classic aperture.Eric Anholt2007-06-181-10/+10
| | |
| * | Replace intel_dump_batchbuffer with a more informational version.Eric Anholt2007-06-153-22/+619
| | |
| * | Correct a mis-count in a LOAD_STATE_IMMEDIATE_1 length argument.Eric Anholt2007-06-151-1/+1
| | |
* | | Add buffer manager destroy function.Eric Anholt2007-05-311-1/+1
| | |
* | | Remove some stale comments.Eric Anholt2007-05-311-2/+0
|/ /