Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | r200: add missing symbols | Dave Airlie | 2009-01-14 | 2 | -3/+1 | |
| | ||||||
* | radeon/r200/r300: make legacy emit non-r300 specific | Dave Airlie | 2009-01-14 | 7 | -33/+61 | |
| | ||||||
* | radeon: move debug symbol add DRI2 | Dave Airlie | 2009-01-14 | 5 | -13/+14 | |
| | ||||||
* | r300: start moving new r300 cmdbuf into common code | Dave Airlie | 2009-01-14 | 18 | -225/+194 | |
| | ||||||
* | radeon/r200/r300: consolidate swap buffers | Dave Airlie | 2009-01-14 | 12 | -192/+80 | |
| | ||||||
* | radeon: remove old lock code | Dave Airlie | 2009-01-14 | 3 | -369/+0 | |
| | ||||||
* | radeon/r200/r300: consolidate the buffer copy/flip code into one place | Dave Airlie | 2009-01-14 | 13 | -944/+404 | |
| | ||||||
* | radeon/r200/r300: attempt to move lock to common code | Dave Airlie | 2009-01-14 | 36 | -741/+738 | |
| | ||||||
* | radeon/r200/r300: initial attempt to convert to common context code | Dave Airlie | 2009-01-14 | 46 | -1226/+1067 | |
| | ||||||
* | radeon/r200: move more stuff closer together in context | Dave Airlie | 2009-01-14 | 12 | -117/+112 | |
| | ||||||
* | radeon/r200: move state atom to common header | Dave Airlie | 2009-01-14 | 9 | -137/+103 | |
| | ||||||
* | radeon/r200: start splitting out commonalities into separate headers | Dave Airlie | 2009-01-13 | 21 | -425/+279 | |
| | ||||||
* | radeon: use bo_wait to wait for all buffers to be rendered to | Dave Airlie | 2009-01-13 | 1 | -1/+10 | |
| | | | | | Not 100% sure this is correct, but its what Intel does and its better than CP_IDLE. | |||||
* | radeon/r300: add code to setup r300 vs r500 using pci device from kernel | Dave Airlie | 2009-01-11 | 1 | -149/+177 | |
| | ||||||
* | r300: disable settexoffset extension on r300 | Dave Airlie | 2008-12-22 | 1 | -1/+1 | |
| | ||||||
* | radeon: fix library name for consistency | Dave Airlie | 2008-12-22 | 1 | -1/+1 | |
| | ||||||
* | radeon: remove start/end offset + cleanup some whitespace | Dave Airlie | 2008-12-22 | 5 | -62/+33 | |
| | ||||||
* | radeon: fixup r500 FP emission for new CS | Dave Airlie | 2008-12-22 | 3 | -42/+95 | |
| | ||||||
* | radeno: hopefully make r200/radeon build | Dave Airlie | 2008-12-21 | 2 | -4/+6 | |
| | ||||||
* | radeon: make DRI1 one work with new CS mechanism | Dave Airlie | 2008-12-01 | 10 | -110/+187 | |
| | ||||||
* | radeon: cs add print cs callback | Jerome Glisse | 2008-11-16 | 1 | -1/+6 | |
| | ||||||
* | radeon: fix pointer dangling | Jerome Glisse | 2008-11-16 | 6 | -12/+16 | |
| | ||||||
* | radeon: update to libdrm-radeon API changes | Jerome Glisse | 2008-11-15 | 6 | -21/+23 | |
| | ||||||
* | radeon: dri2 don't forget to free buffer | Jerome Glisse | 2008-11-14 | 3 | -1/+77 | |
| | ||||||
* | r300: release bo from pixmap | Jerome Glisse | 2008-11-14 | 3 | -4/+26 | |
| | ||||||
* | r300: convert to new relocations format (see libdrm-radeon) | Jerome Glisse | 2008-11-14 | 7 | -49/+105 | |
| | ||||||
* | r300: SetTex extension support | Jerome Glisse | 2008-11-14 | 9 | -19/+113 | |
| | ||||||
* | r300: cs + DRI2 support | Jerome Glisse | 2008-11-14 | 21 | -348/+958 | |
| | | | | | If DRI2 is enabled then switch cmd assembly to directly build hw packet. | |||||
* | r300: bo and cs abstraction. | Jerome Glisse | 2008-11-14 | 36 | -3343/+3360 | |
| | | | | | | | | | | This abstract memory management and command stream building so we can use different backend either legacy one which use old pathway or a new one like with a new memory manager. This works was done by : Nicolai Haehnle Dave Airlie Jerome Glisse | |||||
* | i965: Upload state on primitive switch, don't just prepare it. | Eric Anholt | 2008-11-12 | 1 | -0/+1 | |
| | | | | | This was a regression in 59b2c2adbbece27ccf54e58b598ea29cb3a5aa85 that broke blender, among other apps. | |||||
* | i965: Fix VB refcount leak on aperture overflow. | Eric Anholt | 2008-11-12 | 1 | -0/+1 | |
| | ||||||
* | i965: Fix up VS max_threads for G4X and removing a magic number. | Eric Anholt | 2008-11-12 | 1 | -2/+14 | |
| | | | | | | As far as I can read in the docs, VS threads can be 1:1 with the pairs of VUE handles allocated for them. Also, G4X can run twice as many threads as before (though we won't unless the we bump the preferred URB entries for VS). | |||||
* | i965: Fix up SF max_threads. | Eric Anholt | 2008-11-12 | 1 | -1/+2 | |
| | | | | | | We were dividing the number of URB entries by two to get number of threads, which looks suspiciously like a copy'n'paste-o from brw_vs_state.c. Also, the maximum number of threads is 24, not 12. | |||||
* | i965: Fix up clip min_nr_entries, preferred_nr_entries, and max_threads. | Eric Anholt | 2008-11-12 | 2 | -2/+16 | |
| | | | | | | | | | The clip thread could potentially deadlock when processing tristrips since being moved back to dual-thread mode, as the two threads could each have 4 VUEs referenced and not be able to allocate another one since SF processing wasn't able to continue (needing 5 entries before it freed 2). In constrained URB mode, similar deadlock could even have occurred with polygons (so we cut back max_threads if we can't handle it any primitive type). | |||||
* | i965: Update WM maximum threads for G4X. | Eric Anholt | 2008-11-12 | 1 | -2/+7 | |
| | ||||||
* | i965: Add a big comment explaining my understanding of URB management. | Eric Anholt | 2008-11-12 | 1 | -1/+38 | |
| | | | | | It shouldn't offer anything new over what's in the docs (except for G4X notes), but here it's all in one place. | |||||
* | intel: reset cliprect_mode to IGNORE_CLIPRECTS. | Xiang, Haihao | 2008-11-11 | 1 | -1/+3 | |
| | | | | | | This ensures all batchbuffers have a same cliprect mode after calling _intel_batchbuffer_flush even if there aren't invalid commands in the current batch buffer. (fix bug#18362). | |||||
* | mesa: restore glapi/ prefix on #include | Brian Paul | 2008-11-10 | 1 | -1/+1 | |
| | ||||||
* | GLX: fix out-of-bounds memory issue in indirect glAreTexturesResident() | Brian Paul | 2008-11-10 | 1 | -17/+17 | |
| | | | | | | | | | | | | | | | | See bug 18445. When getting array results, __glXReadReply() always reads a multiple of four bytes. This can cause writing to invalid memory when 'n' is not a multiple of four. Special-case the glAreTexturesResident() functions now. To fix the bug, we use a temporary buffer that's a multiple of four bytes in length. NOTE: this commit also reverts part of commit 919ec22ecf72aa163e1b97d8c7381002131ed32c (glx/x11: Added some #ifdef GLX_DIRECT_RENDERING protection) which directly edited the indirect.c file rather than the python generator! I'm not repairing that issue at this time. | |||||
* | dri: alloc __DRIscreen object with calloc() | Brian Paul | 2008-11-10 | 1 | -1/+1 | |
| | ||||||
* | mesa: rename OPCODE_INT -> OPCODE_TRUNC | Brian Paul | 2008-11-06 | 1 | -4/+4 | |
| | | | | Trunc is a more accurate description; there's no type conversion involved. | |||||
* | i965: Always check vertex program. | Xiang, Haihao | 2008-11-06 | 1 | -1/+4 | |
| | | | | | | Now i965 also uses the vertex program created by Mesa Core, but this vertex program is not only depend on mesa state _NEW_PROGRAM, so always check the current vertex program is updated or not. This fixes broken demo cubemap. | |||||
* | i965: Implement missing OPCODE_NOISE3 instruction in fragment shaders. | Gary Wong | 2008-11-05 | 2 | -10/+335 | |
| | | | | OPCODE_NOISE4 coming later. | |||||
* | i965: Clean up stale NDC comment. | Eric Anholt | 2008-11-02 | 1 | -2/+1 | |
| | ||||||
* | i965: Avoid vs header computation for negative rhw on G4X. | Eric Anholt | 2008-11-02 | 1 | -3/+3 | |
| | | | | This cuts one MOV out when setting a zero header. | |||||
* | i965: Merge GM45 into the G4X chipset define. | Eric Anholt | 2008-11-02 | 9 | -25/+24 | |
| | | | | | The mobile and desktop chipsets are the same, and having them separate is more typing and more chances to screw up. | |||||
* | i965: Fix copy'n'paste issue that made brw->urb.constrained useless. | Eric Anholt | 2008-11-02 | 1 | -3/+7 | |
| | | | | Also, add a comment explaining what brw->urb.constrained tries to do. | |||||
* | Fix for 58dc8b7: dest regions must not use HorzStride 0 in ExecSize 1 | Keith Packard | 2008-11-01 | 1 | -0/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | Quoting section 11.3.10, paragraph 10.2 of the 965PRM: 10.2. If ExecSize is 1, dst.HorzStride must not be 0. Note that this is relaxed from rule 10.1.2. Also note that this rule for destination horizontal stride is different from that for source as stated in rule #7. GM45 gets very angry when rule 10.2 is violated. Patch 58dc8b7 (i965: support destination horiz strides in align1 access mode) added support for additional horizontal strides in the ExecSize 1 case, but failed to notice that mesa occasionally re-purposes a register as a temporary destination, even though it was constructed as a repeating source with HorzStride = 0. While, ideally, we should probably fix the code using these register specifications, this patch simply rewrites them to use HorzStride 1 as the pre-58dc8b7 code did. Signed-off-by: Keith Packard <[email protected]> | |||||
* | intel: pixelzoom doesn't apply to glBitmap, so disable the fallback. | Eric Anholt | 2008-10-31 | 1 | -5/+1 | |
| | ||||||
* | intel: Remove fallback for glDrawPixels(GL_COLOR_INDEX) | Eric Anholt | 2008-10-31 | 1 | -7/+0 | |
| | | | | | GL_COLOR_INDEX mode is just like other normal formats (that is, not depth/stencil) and is uploaded fine by TexImage. |