aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* GLSL fixes:Michal Krol2006-03-2134-1388/+1770
| | | | | | | | | | | | | | | | | | - generate error on NULL pointers in glShaderSourceARB; - reinstall program object, if current, in glLinkProgramARB; - vertex and fragment shaders are optional in program object; - floor asm was wrongly computed for x86 back-end; - allow for (void) idiom in function prototypes; - all fixed-state uniforms are updated; - local variable initializers are working; - implement texture* and shadow* functions for vertex processor; - generate error if too many arguments in general constructor; - trim unused data in general constructor; - struct r-value field select was badly relocated; Changes: - add derived state gl_fog_attrib::_Scale; - add derived state gl_light::_CosCutoffNeg;
* Lots of changes/fixes for rendering to framebuffer objects.Brian Paul2006-03-207-94/+211
| | | | | | | - When deleting texture objects, unbind from FBOs if necessary. - Changed driver hooks for starting/ending render to texture. - Now properly handle case where gl[Copy]TexImage() is called after glFramebufferTexture[123]D(). That didn't work before.
* additional assertions and debug code for testing FBO completenessBrian Paul2006-03-201-1/+31
|
* additional error checking to be sure source renderbuffer exists for ↵Brian Paul2006-03-201-2/+36
| | | | glCopyTex[Sub]Image()
* use new _mesa_sourc/dest_buffer_exists() functionsBrian Paul2006-03-201-48/+26
|
* added _mesa_source/dest_buffer_exists() function to easily test if ↵Brian Paul2006-03-202-2/+130
| | | | particular renderbuffers are present
* fix some buffer binding tests in _mesa_make_current()Brian Paul2006-03-201-3/+9
|
* slightly improved error messageBrian Paul2006-03-201-2/+2
|
* Fix texrect upload conflicts.Aapo Tahkola2006-03-201-0/+7
|
* Disable tnl programs when doing software vertex programs. compiz with its ↵Aapo Tahkola2006-03-191-0/+4
| | | | texrect and lighting needs was broken because of this.
* minor clean-upsBrian Paul2006-03-191-4/+4
|
* -fix texrect fallback when using vtxfmt_a (glitz, xgl, etc.)Aapo Tahkola2006-03-195-480/+102
| | | | | -struct vertex_buffer to struct radeon_vertex_buffer conversion -vertex attrib arrays did not supersede conventinal arrays when enabled
* Queries of GL_READ_BUFFER and GL_DRAW_BUFFER were still returning theBrian Paul2006-03-192-24/+24
| | | | | pre-GL_EXT_framebuffer_object state. Now return the read/draw state stored in the framebuffer objects.
* Don't call Driver->Bitmap() if no image to renderBrian Paul2006-03-181-5/+7
|
* Committing in .Jouk Jansen2006-03-172-27/+30
| | | | | | | | | | Mesa/src/mesa/main/imports.h : removed <CR> Mesa/src/mesa/shader/slang/descrip.mms : added new sources Modified Files: Mesa/src/mesa/main/imports.h Mesa/src/mesa/shader/slang/descrip.mms ----------------------------------------------------------------------
* Init FogCoordFuncs[0..5] too, remove some unneeded #includesBrian Paul2006-03-171-3/+7
|
* remove another test for IN_DRI_DRIVERBrian Paul2006-03-171-36/+3
|
* Don't use glx_ansic.h functions (__glXMemset).Kristian Høgsberg2006-03-171-9/+9
|
* added #undef GET_DISPATCHBrian Paul2006-03-161-2/+5
|
* Moved _glapi_check_multithread() call into drivers, instead of inBrian Paul2006-03-163-10/+14
| | | | | _mesa_make_current(). This removes an ugly #if !defined(IN_DRI_DRIVER) from core Mesa.
* finish up some loose ends in _mesa_texstore_z24_s8()Brian Paul2006-03-161-2/+40
|
* assorted code clean-ups, comments, etc.Brian Paul2006-03-151-41/+26
|
* remove invalid assertion in _glapi_get_dispatch(), fixes additional thread ↵Brian Paul2006-03-151-1/+0
| | | | safety problem
* Need to include glthread.h in glapi.h, not glapi.c so that GET_CURRENT_CONTEXTBrian Paul2006-03-152-16/+15
| | | | | is properly defined. Fixes long-standing, but unnoticed thread safety failure. Also, updated comments.
* updated some printfs, added comment about sched_yieldBrian Paul2006-03-151-3/+7
|
* sync with texmem branchBrian Paul2006-03-153-3/+15
|
* rename enums, fixes compilation breakage (Michal Krol)Brian Paul2006-03-151-3/+3
|
* use 'p' key to toggle use of GL_EXT_packed_depth_stencilBrian Paul2006-03-151-8/+42
|
* s/GLuint/GLushort/ in read_depth_stencil_image()Brian Paul2006-03-151-1/+2
|
* init Red/Green/EtcBits = 0 in soft_renderbuffer_storage()Brian Paul2006-03-141-1/+10
|
* Set always_array=true for glGenProgramsNV (Dave Reveman)Brian Paul2006-03-142-3/+3
|
* replace dprintf() with _glu_dprintf() (bug 6244)Brian Paul2006-03-1416-143/+143
|
* Add slang_analyse.c and slang_library_texsample.c.Michal Krol2006-03-141-0/+2
|
* More GLSL code:Michal Krol2006-03-1421-374/+1093
| | | | | - add texture sampling support; - fix assembly codegen bugs;
* Clean build.Aapo Tahkola2006-03-1318-1125/+103
|
* Fix broken max mipmap leveling that was horribly wrong.Aapo Tahkola2006-03-133-58/+20
|
* Option to init vp temps(for testing)Aapo Tahkola2006-03-101-0/+39
|
* Add prototypes for GLX_MESA_swap_frame_usage, GLX_MESA_swap_control, andBrian Paul2006-03-091-0/+54
| | | | | GLX_EXT_texture_from_pixmap to silence warnings while compiling glxcmds.c XXX: Need to add the new tokens for GLX_EXT_texture_from_pixmap!!!
* s/GLint/int/, to fit GLX conventionsBrian Paul2006-03-091-2/+3
|
* Instead of adding extra flags to DEFINES with +=, define EXTRA_DEFINES instead.Brian Paul2006-03-091-3/+3
| | | | This eliminates a bunch of duplication in the compilation commmands.
* Kick VBOs out of GART if nothing else helps.Aapo Tahkola2006-03-095-14/+56
|
* Use the force Luke, use the force.Aapo Tahkola2006-03-091-2/+13
|
* coverity check bug fix going over end of arrayDave Airlie2006-03-081-1/+1
|
* coverity checker bug: Pointer dereferenced after NULL checkDave Airlie2006-03-081-3/+5
|
* Fix broken DrawElements & DrawRangeElements.Aapo Tahkola2006-03-071-4/+4
|
* Committing in .Jouk Jansen2006-03-072-2/+4
| | | | | | | | | Update OpenVMS makefiles Modified Files: Mesa/src/mesa/shader/slang/descrip.mms Mesa/src/mesa/swrast/descrip.mms ----------------------------------------------------------------------
* Enable HW VBOs and other things needed by it.Aapo Tahkola2006-03-072-4/+9
|
* Convert to work with current DRM. + tagAapo Tahkola2006-03-072-11/+46
|
* Various fallbacks, checks and tags.Aapo Tahkola2006-03-073-27/+137
|
* just a comment for check_compatible()Brian Paul2006-03-071-0/+5
|