summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2006-03-29new tests for GL_DEPTH_STENCIL_EXTBrian Paul
2006-03-29a few new assertionsBrian Paul
2006-03-29Move the computation of the viewport matrix into a new update_viewport_matrix()Brian Paul
function since the matrix depends on the viewport params and the framebuffer's depth buffer resolution. Fixes some renderbuffer / depth range issues. This simplifies the _mesa_set_viewport() and _mesa_DepthRange() functions too.
2006-03-28updated comment about framebuffer's Visual fieldBrian Paul
2006-03-28update conditional for render to GL_DEPTH_STENCIL texture, check for valid ↵Brian Paul
teximage before calling ctx->Driver.RenderTexture()
2006-03-28fix #6072 (Keith Whitwell)Aapo Tahkola
2006-03-28enable GL_ARB_half_float_pixel, was GL_MESAX_half_float_pixelBrian Paul
2006-03-28comment about byteswapping in _mesa_unpack_depth_span()Brian Paul
2006-03-26merge from texman branchBrian Paul
2006-03-25fix issue in _mesa_free_framebuffer_data()Brian Paul
2006-03-25check for incomplete FBO in _mesa_Clear()Brian Paul
2006-03-24Clean up the recent code related to texture_override(). Pass params in aBrian Paul
more logical order. Remove a mess of stray ^M chars. Fix a bug when checking if the texture object's format is GL_COLOR_INDEX or GL_DEPTH_COMPONENT. This fixes a segfault when GL_TEXTURE_BASE_LEVEL!=0.
2006-03-24added some missing formats in _mesa_source/dest_buffer_exists()Brian Paul
2006-03-21GL_EXT_packed_depth_stencil should be off by defaultBrian Paul
2006-03-21GLSL fixes:Michal Krol
- 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;
2006-03-20Lots of changes/fixes for rendering to framebuffer objects.Brian Paul
- 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.
2006-03-20additional assertions and debug code for testing FBO completenessBrian Paul
2006-03-20additional error checking to be sure source renderbuffer exists for ↵Brian Paul
glCopyTex[Sub]Image()
2006-03-20use new _mesa_sourc/dest_buffer_exists() functionsBrian Paul
2006-03-20added _mesa_source/dest_buffer_exists() function to easily test if ↵Brian Paul
particular renderbuffers are present
2006-03-20fix some buffer binding tests in _mesa_make_current()Brian Paul
2006-03-20slightly improved error messageBrian Paul
2006-03-19Queries of GL_READ_BUFFER and GL_DRAW_BUFFER were still returning theBrian Paul
pre-GL_EXT_framebuffer_object state. Now return the read/draw state stored in the framebuffer objects.
2006-03-18Don't call Driver->Bitmap() if no image to renderBrian Paul
2006-03-17 Committing in .Jouk Jansen
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 ----------------------------------------------------------------------
2006-03-17Init FogCoordFuncs[0..5] too, remove some unneeded #includesBrian Paul
2006-03-17remove another test for IN_DRI_DRIVERBrian Paul
2006-03-16Moved _glapi_check_multithread() call into drivers, instead of inBrian Paul
_mesa_make_current(). This removes an ugly #if !defined(IN_DRI_DRIVER) from core Mesa.
2006-03-16finish up some loose ends in _mesa_texstore_z24_s8()Brian Paul
2006-03-15sync with texmem branchBrian Paul
2006-03-14init Red/Green/EtcBits = 0 in soft_renderbuffer_storage()Brian Paul
2006-03-14More GLSL code:Michal Krol
- add texture sampling support; - fix assembly codegen bugs;
2006-03-07just a comment for check_compatible()Brian Paul
2006-03-07disable double-buffer test in check_compatible(), fixes pbuffer/visual problemBrian Paul
2006-03-07print newline in _mesa_warning()Brian Paul
2006-03-07call _mesa_update_framebuffer_visual() in _mesa_FramebufferRenderbufferEXT() ↵Brian Paul
to fix some minor glitches
2006-03-03Use standard ARB names instead of vendor-specific NV names for the ↵Roland Scheidegger
ARB/NV_vertex_program enums in common state handling code, and update comments accordingly. Change some slightly confusing code which gave the impression GL_VERTEX_PROGRAM_ARB and GL_VERTEX_PROGRAM_NV enums were different.
2006-03-02Fix more enums defined not only by one extension when queried by glGet ↵Roland Scheidegger
(GL_COLOR_SUM_EXT, GL_POINT_SPRITE_NV, GL_POINT_SPRITE_COORD_ORIGIN, GL_TRANSPOSE_CURRENT_MATRIX_ARB). Fix similar bugs (also those previously overseen dependant on NV/ARB_vertex_program) in glIsEnabled. Add missing GL_COLOR_SUM_EXT enum to glIsEnabled.
2006-03-02improved error msgBrian Paul
2006-03-02check FEATURE_EXT_framebuffer_blitBrian Paul
2006-03-01Fix glGet with enums which are used not only in NV_vertex_program, but other ↵Roland Scheidegger
extensions too (ARB_vertex_program, ARB_fragment_program, NV_fragment_program), if no support for NV_vertex_program is present. While here, fix return value if enum is used which is not supported by the exposed extensions (GL_INVALID_ENUM instead of GL_INVALID_VALUE). Fix some compile-time #ifs depending on NV_vertex/fragment_program which should also be dependant on ARB_vertex/fragment_program. See bug #6070
2006-03-01No need for _mesa_save_error() to be public.Brian Paul
glVertexAttrib() w/ bad index should generate GL_INVALID_VALUE, not GL_INVALID_ENUM. Misc clean-ups.
2006-03-01added BlitFramebuffer() supportBrian Paul
2006-03-01updated commentBrian Paul
2006-03-01Added glBlitFramebufferEXT function.Brian Paul
2006-03-01remove temporary tokens, more error checks for blit functionBrian Paul
2006-02-28Allow error checking to look for presence of either of two extensions.Brian Paul
See bug 6070.
2006-02-27More GLSL code:Michal Krol
- add x86 code generator; - add full support for uniforms in ARB_shader_objects; - add assembly instruction: global_addr; - reorganize #includes; - built-in uniforms accessed by index, rather than by name; - add some entries to x86sse rtasm; - add configurations to VC6 projects: 'Release x86' and 'Debug x86'; - #define SLANG_X86 active only on VC6 x86 builds; - introduce code export table for a shader; - remove GNU license from the noise library;
2006-02-26re-formated with indent.Brian Paul
2006-02-26Remove need to initialize the InstSize[] array elements by just storingBrian Paul
the instruction size in _mesa_alloc_instruction().