summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* VBOs.Aapo Tahkola2005-05-118-26/+114
|
* Don't let FragmentProgram._Active influence choice of vertex vs pixelKeith Whitwell2005-05-111-1/+1
| | | | fog.
* Previously in TXP and TEX instructions, lambda was passed toKeith Whitwell2005-05-111-3/+24
| | | | | | | | | | | | | | | | | | | | | fetch_texel as zero, but I believe this is incorrect. The spec uses a pseudocode function: vec4 TextureSample(float s, float t, float r, float lodBias, int texImageUnit, enum texTarget); to specify the behaviour of TEX, TXB and TXP instructions. For TEX and TXP, lodBias is passed as zero, TXB is passed with texcoord[4]. In our code we have static void fetch_texel( GLcontext *ctx, const GLfloat texcoord[4], GLfloat lambda, GLuint unit, GLfloat color[4] ) and were passing zero and a biased lambda value respectively. The difference is that TextureSample() would add in the lambda term itself, while in our code the caller is expected to do this. Thus in the TEX and TXP cases, it is necessary to pass an unbiased lambda value for things to work out correctly.
* Use _mesa_memset rather than memsetKeith Whitwell2005-05-111-1/+1
|
* Don't let FragmentProgram._Active influence choice of vertex vs pixelKeith Whitwell2005-05-111-1/+1
| | | | fog.
* Test for texcoord[3] == zero before dividing. Not so sure about thisKeith Whitwell2005-05-111-4/+15
| | | | | | test - if texcoord[3] is zero, we'd probably be fine except for an ASSERT in IROUND_POS() which gets triggered by the inf values created.
* Fix glean/conform problems. Don't generate so much output whenKeith Whitwell2005-05-111-26/+36
| | | | disassembling.
* Fix valgrind complaint, conform vertex order test.Keith Whitwell2005-05-111-6/+20
|
* Rename temp_flag to temp_in_use. Use ctx->Const.MaxVertexProgramTempsKeith Whitwell2005-05-111-8/+13
| | | | | rather than MAX_NV_VERTEX_PROGRAM_TEMPS and deal with this possibly being greater than 32.
* Fix logic for allocating texture temporaries (Ben Skeggs).Keith Whitwell2005-05-111-15/+24
| | | | | Rename temp_flag, tex_temp_flag to make this clearer. Respect ctx->Const.MaxFragmentProgramTemps limit.
* int -> size_t to fix compile on LP64.Adam Jackson2005-05-111-1/+1
|
* Ensure programs don't overflow allocated instruction store.Keith Whitwell2005-05-101-1/+8
|
* Fix some valgrind complaintsKeith Whitwell2005-05-101-0/+4
|
* fix some valgrind complaintsKeith Whitwell2005-05-102-3/+3
|
* Improved detection of program changes.Keith Whitwell2005-05-101-20/+32
|
* Double-buffer generated instructions and only notify driver when theKeith Whitwell2005-05-101-1/+0
| | | | generated program differs from the previous one.
* Fix some valgrind complaintsKeith Whitwell2005-05-102-4/+4
|
* Double-buffer generated instructions and only notify driver when theKeith Whitwell2005-05-102-13/+48
| | | | generated program differs from the previous one.
* reduce the use of malloc and strdup for parameter listsKeith Whitwell2005-05-102-25/+33
|
* don't be fooled into emitting padding for wpos when not usedKeith Whitwell2005-05-102-2/+2
|
* Missing from previous commitKeith Whitwell2005-05-102-4/+8
|
* Update for FragmentProgram._ActiveKeith Whitwell2005-05-101-2/+2
|
* Better driver notification on changes.Keith Whitwell2005-05-101-7/+10
|
* get fog working with _TexEnvProgramKeith Whitwell2005-05-103-6/+19
|
* Temporary fix - delete and recreate texenvprogram so that driversKeith Whitwell2005-05-101-5/+10
| | | | notice when it changes.
* Committing in .Jouk Jansen2005-05-103-11/+21
| | | | | | | | | | OpenVMS compile support update for new buffer-code Modified Files: Mesa/src/mesa/drivers/x11/descrip.mms Mesa/src/mesa/main/descrip.mms Mesa/src/mesa/swrast/descrip.mms ----------------------------------------------------------------------
* Fix texenv segfault. Reported by Ben Skeggs.Keith Whitwell2005-05-101-0/+10
|
* Try not to use the same temp reg as a TXP destination more than once,Keith Whitwell2005-05-101-2/+40
| | | | | as this also constitutes a texture indirection. Reported by Ben Skeggs.
* pathetic attempt to accomodate new frambuffer changes (still some work to do)Daniel Borca2005-05-091-3/+10
|
* accomodate new frambuffer changesDaniel Borca2005-05-092-28/+32
|
* fix some typos in FX codeDaniel Borca2005-05-091-5/+6
|
* i915 will use _TexEnvProgram (if active)Keith Whitwell2005-05-096-13/+12
|
* Use driver functions to create TexEnvProgram, TnlProgramKeith Whitwell2005-05-093-5/+19
|
* check for null DrawBuffer valuesKeith Whitwell2005-05-093-9/+20
|
* Fallback (rather than fail) on unknown program targets.Keith Whitwell2005-05-091-3/+3
|
* dri fb works using renderbuffers now in RGBA modeJon Smirl2005-05-082-117/+47
|
* fbdri can draw double buffered now. Next step is to convert itJon Smirl2005-05-071-2/+3
| | | | to use RenderBuffers.
* remove some dead codeBrian Paul2005-05-071-12/+1
|
* Patches for XCB (Jeremy Kolb)Brian Paul2005-05-072-7/+81
|
* assorted warning clean-ups for x86_64, etc (Mikko T.)Brian Paul2005-05-075-59/+57
|
* x86-64 transform optimizations (Mikko T.)Brian Paul2005-05-0714-21/+915
|
* fix cpp / bytesPerPixel problem (bug 1196554)Brian Paul2005-05-061-6/+6
|
* remove bad assertion, added new ones in clear_pixmap()Brian Paul2005-05-061-2/+6
|
* restore call to SetBuffer() in clear_color_buffers(), only temporaryBrian Paul2005-05-061-7/+6
|
* Updated for EXT_framebuffer_object changes. I don't know if this is correct, ↵Ben Skeggs2005-05-067-21/+145
| | | | but it seems to work
* Fix problem generating mode db. Miniglxtest works now.Jon Smirl2005-05-061-3/+3
| | | | Miniglxsample is still broken with double buffering issues.
* Missing setups that cause all kinds of problems with hw tnl.Aapo Tahkola2005-05-062-0/+6
|
* Port Mesa to build on a P64 platform (e.g., Win64). P64 platformsKarl Schultz2005-05-0515-35/+42
| | | | | | | | use 64-bit pointers and 32-bit longs. So, operations like casting pointers to unsigned long and back to pointer won't work. glheader.h now includes files to define uintptr_t, which should instead be used for this sort of operation. It is an integer type that is the same size as a pointer.
* fix for renderbuffer (Andreas Stenglein)Brian Paul2005-05-051-2/+2
|
* remove some test codeBrian Paul2005-05-051-5/+0
|