Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | merge from texman branchmesa_20060325 | Brian Paul | 2006-03-26 | 20 | -469/+863 |
| | |||||
* | fix issue in _mesa_free_framebuffer_data() | Brian Paul | 2006-03-25 | 1 | -1/+1 |
| | |||||
* | check for incomplete FBO in _mesa_Clear() | Brian Paul | 2006-03-25 | 1 | -1/+7 |
| | |||||
* | Clean up the recent code related to texture_override(). Pass params in a | Brian Paul | 2006-03-24 | 1 | -45/+56 |
| | | | | | | | 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. | ||||
* | added some missing formats in _mesa_source/dest_buffer_exists() | Brian Paul | 2006-03-24 | 1 | -2/+16 |
| | |||||
* | GL_EXT_packed_depth_stencil should be off by default | Brian Paul | 2006-03-21 | 1 | -1/+1 |
| | |||||
* | GLSL fixes: | Michal Krol | 2006-03-21 | 4 | -26/+44 |
| | | | | | | | | | | | | | | | | | | - 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 Paul | 2006-03-20 | 7 | -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 completeness | Brian Paul | 2006-03-20 | 1 | -1/+31 |
| | |||||
* | additional error checking to be sure source renderbuffer exists for ↵ | Brian Paul | 2006-03-20 | 1 | -2/+36 |
| | | | | glCopyTex[Sub]Image() | ||||
* | use new _mesa_sourc/dest_buffer_exists() functions | Brian Paul | 2006-03-20 | 1 | -48/+26 |
| | |||||
* | added _mesa_source/dest_buffer_exists() function to easily test if ↵ | Brian Paul | 2006-03-20 | 2 | -2/+130 |
| | | | | particular renderbuffers are present | ||||
* | fix some buffer binding tests in _mesa_make_current() | Brian Paul | 2006-03-20 | 1 | -3/+9 |
| | |||||
* | slightly improved error message | Brian Paul | 2006-03-20 | 1 | -2/+2 |
| | |||||
* | Queries of GL_READ_BUFFER and GL_DRAW_BUFFER were still returning the | Brian Paul | 2006-03-19 | 2 | -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 render | Brian Paul | 2006-03-18 | 1 | -5/+7 |
| | |||||
* | Committing in . | Jouk Jansen | 2006-03-17 | 1 | -25/+25 |
| | | | | | | | | | | 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 #includes | Brian Paul | 2006-03-17 | 1 | -3/+7 |
| | |||||
* | remove another test for IN_DRI_DRIVER | Brian Paul | 2006-03-17 | 1 | -36/+3 |
| | |||||
* | Moved _glapi_check_multithread() call into drivers, instead of in | Brian Paul | 2006-03-16 | 1 | -8/+1 |
| | | | | | _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 Paul | 2006-03-16 | 1 | -2/+40 |
| | |||||
* | sync with texmem branch | Brian Paul | 2006-03-15 | 3 | -3/+15 |
| | |||||
* | init Red/Green/EtcBits = 0 in soft_renderbuffer_storage() | Brian Paul | 2006-03-14 | 1 | -1/+10 |
| | |||||
* | More GLSL code: | Michal Krol | 2006-03-14 | 1 | -63/+44 |
| | | | | | - add texture sampling support; - fix assembly codegen bugs; | ||||
* | just a comment for check_compatible() | Brian Paul | 2006-03-07 | 1 | -0/+5 |
| | |||||
* | disable double-buffer test in check_compatible(), fixes pbuffer/visual problem | Brian Paul | 2006-03-07 | 1 | -2/+11 |
| | |||||
* | print newline in _mesa_warning() | Brian Paul | 2006-03-07 | 1 | -2/+2 |
| | |||||
* | call _mesa_update_framebuffer_visual() in _mesa_FramebufferRenderbufferEXT() ↵ | Brian Paul | 2006-03-07 | 1 | -1/+6 |
| | | | | to fix some minor glitches | ||||
* | Use standard ARB names instead of vendor-specific NV names for the ↵ | Roland Scheidegger | 2006-03-03 | 5 | -238/+238 |
| | | | | 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. | ||||
* | Fix more enums defined not only by one extension when queried by glGet ↵ | Roland Scheidegger | 2006-03-02 | 3 | -42/+55 |
| | | | | (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. | ||||
* | improved error msg | Brian Paul | 2006-03-02 | 1 | -1/+3 |
| | |||||
* | check FEATURE_EXT_framebuffer_blit | Brian Paul | 2006-03-02 | 1 | -0/+2 |
| | |||||
* | Fix glGet with enums which are used not only in NV_vertex_program, but other ↵ | Roland Scheidegger | 2006-03-01 | 3 | -45/+102 |
| | | | | 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 | ||||
* | No need for _mesa_save_error() to be public. | Brian Paul | 2006-03-01 | 2 | -34/+37 |
| | | | | | | glVertexAttrib() w/ bad index should generate GL_INVALID_VALUE, not GL_INVALID_ENUM. Misc clean-ups. | ||||
* | added BlitFramebuffer() support | Brian Paul | 2006-03-01 | 1 | -2/+43 |
| | |||||
* | updated comment | Brian Paul | 2006-03-01 | 1 | -1/+3 |
| | |||||
* | Added glBlitFramebufferEXT function. | Brian Paul | 2006-03-01 | 2 | -2036/+2051 |
| | |||||
* | remove temporary tokens, more error checks for blit function | Brian Paul | 2006-03-01 | 1 | -12/+39 |
| | |||||
* | Allow error checking to look for presence of either of two extensions. | Brian Paul | 2006-02-28 | 2 | -669/+670 |
| | | | | See bug 6070. | ||||
* | More GLSL code: | Michal Krol | 2006-02-27 | 2 | -2/+38 |
| | | | | | | | | | | | | | - 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; | ||||
* | re-formated with indent. | Brian Paul | 2006-02-26 | 1 | -2320/+2657 |
| | |||||
* | Remove need to initialize the InstSize[] array elements by just storing | Brian Paul | 2006-02-26 | 2 | -211/+34 |
| | | | | the instruction size in _mesa_alloc_instruction(). | ||||
* | display list clean-ups | Brian Paul | 2006-02-26 | 3 | -82/+84 |
| | |||||
* | fix broken _mesa_copy_context() for GL_LIGHTING_BIT | Brian Paul | 2006-02-24 | 1 | -2/+2 |
| | |||||
* | Fix _mesa_copy_texture_state() so that we copy texture object bindings, | Brian Paul | 2006-02-24 | 1 | -12/+41 |
| | | | | | not the actual contents of texture objects. This makes glXCopyContext() work properly. | ||||
* | Include dix-config.h if HAVE_DIX_CONFIG_H is defined. This will be used by the | Eric Anholt | 2006-02-15 | 1 | -0/+3 |
| | | | | | X Server to get things like _XSERVER64 (for X headers) and NO_LIBCWRAPPER defined consistently when its builds Mesa internally. | ||||
* | Enable texcoords when program object in use. | Michal Krol | 2006-02-15 | 1 | -2/+5 |
| | |||||
* | Enable GL_ARB_fragment_shader extension. | Michal Krol | 2006-02-15 | 1 | -2/+2 |
| | |||||
* | Enable GL_ARB_shader_objects, GL_ARB_shading_language_100 and | Michal Krol | 2006-02-13 | 1 | -7/+7 |
| | | | | GL_ARB_vertex_shader extensions. | ||||
* | Rename current glsl program variable. | Michal Krol | 2006-02-13 | 1 | -1/+1 |
| |