summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2006-03-29New code for rendering to depth/stencil textures.Brian Paul
Re-org of the renderbuffer wrapper code.
2006-03-29new tests for GL_DEPTH_STENCIL_EXTBrian Paul
2006-03-29a few new assertionsBrian Paul
2006-03-29fix a GLuint vs GLushort test, 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-29Update for new Mesa entry points. I need to change the python script that ↵Karl Schultz
generates this file to the new XML scheme, but for now, a manual update is OK.
2006-03-28Match pixel addresses with `compute_row_addresses' in RGB mode (also obey ↵Daniel Borca
RGB/UNSIGNED_BYTE rule).
2006-03-28fix missing *_STATECHANGE in *UpdateViewportOffset for radeon, r200 and r300 ↵Roland Scheidegger
(reported by Jim Duchek). Fix some potential problems with strict-aliasing with r200 and radeon drivers in *UpdateViewportOffset, *PolygonOffset and *UpdateWindow functions (some compiler warnings about strict-aliasing remain in the codegen vertex code, and there may be more problems unnoticed by the compiler).
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-28a little code movement so we don't make invalid casts from gl_renderbuffers ↵Brian Paul
to xmesa_renderbuffers
2006-03-28fix #6072 (Keith Whitwell)Aapo Tahkola
2006-03-28Revert merge of new/experimental code from texmem branch.Keith Whitwell
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-27make allow_large_textures 1 by default for radeon and r200, and consequently ↵Roland Scheidegger
enable all texture units by default on those cards (3 for radeon, 6 for r200). Fix the usually forgotten DRIVER_DATE accordingly.
2006-03-27remove unnecessary typedefs causing compiler warningsRoland Scheidegger
2006-03-27Disable `hidden' attribute for DJGPPDaniel Borca
2006-03-27PutRowRGB was not initialized for OSMESA_RGB_565Daniel Borca
2006-03-27Fixup makefile for solo non-eglDave Airlie
2006-03-26merge from texman branchBrian Paul
2006-03-25remove carriage returnsBrian 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-24Make ARB_vp backends happy with nv arlAapo Tahkola
2006-03-24secondary color fixes.Aapo Tahkola
2006-03-23make solo build completeDave Airlie
2006-03-23fix coverity 1107: use after freeDave Airlie
2006-03-23fix coverity 926: use before NULL checkDave Airlie
2006-03-22Need to check for new state and do readpixels/drawpixels clipping afterBrian Paul
we call RENDER_START since that may involve validating the drawable and updating its dimensions.
2006-03-22implement arl and enable hw nv_vp.Aapo Tahkola
2006-03-22ARL dst idx was undefined.Aapo Tahkola
2006-03-21GL_EXT_packed_depth_stencil should be off by defaultBrian Paul
2006-03-21Silencium gcc warnings.Michal Krol
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-20Fix texrect upload conflicts.Aapo Tahkola
2006-03-19Disable tnl programs when doing software vertex programs. compiz with its ↵Aapo Tahkola
texrect and lighting needs was broken because of this.
2006-03-19minor clean-upsBrian Paul
2006-03-19-fix texrect fallback when using vtxfmt_a (glitz, xgl, etc.)Aapo Tahkola
-struct vertex_buffer to struct radeon_vertex_buffer conversion -vertex attrib arrays did not supersede conventinal arrays when enabled
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