summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2006-10-18Don't pass x/y/width/height to ctx->Driver.Accum().Brian Paul
Compute the region after we've locked (and possibly updated the buffer's size). Same thing is needed for ctx->Driver.Clear().
2006-10-17Move struct atifs_machine into s_atifragshader.cBrian Paul
Add support for runtime colorbuffer types.
2006-10-17check if ctx->Driver.GetBufferSize==NULL and no-opBrian Paul
2006-10-16Set _NEW_BUFFERS in _mesa_resize_framebuffer(). This makes sure the swrastBrian Paul
module updates its state (CLIP_BIT) upon resizes. The driver could do this instead, but doing it here is safer.
2006-10-15Added #if / #else / #endif around code related to framebuffer initializationBrian Paul
to describe what should be changed in the drivers.
2006-10-15updated comments, mark GetBufferSize() and ResizeBuffers() as obsoleteBrian Paul
2006-10-13remove needless conditionBrian Paul
2006-10-13Consolidate, move, fix code related to color index and stencil image transferBrian Paul
operations (shift, offset, table lookup, etc).
2006-10-13In _mesa_pack_rgba_span_float() we don't need to make a temporary copy ofBrian Paul
incoming colors when applying pixel transfer ops. In all cases, the caller either indicates there's no pixel transfer ops, or the incoming colors are coming from temporary storage already and can be safely modified.
2006-10-13s/GLuint/GLbitfield/Brian Paul
2006-10-13s/GL_FALSE/0x0/Brian Paul
2006-10-13removed obsolete _mesa_pack_rgba_span_chan()Brian Paul
2006-10-13Revamp color table code.Brian Paul
Always store all color tables as both float and ubyte.
2006-10-12remove _mesa_chan_to_float_span(), rename _mesa_map_ci8_to_rgba()Brian Paul
2006-10-12_mesa_map_ci_to_rgba_chan() no longer usedBrian Paul
2006-10-12don't use temp storage in _mesa_convert_colors() when possibleBrian Paul
2006-10-11Fix bug #4681.Ian Romanick
glDeleteTextures and glDeleteTexturesEXT were erroneously listed as aliases of each other. For anything /except/ GLX protocol they are aliases. This set of changes allows functions that are functionally identical but have different GLX protocol to be listed as aliases. When building with GLX_INDIRECT_RENDERING set, different static functions are used. These functions determine whether the current context is direct rendering or not. If the context is direct rendering, the aliased function (e.g., glDeleteTextures in the case of glDeleteTexturesEXT) is called. If the context is not direct rendering, the correct GLX protocol is sent. For a deeper explanation of what is changed, please see: http://dri.freedesktop.org/wiki/PartiallyAliasedFunctions
2006-10-11Added _mesa_convert_colors().Brian Paul
_mesa_clip_drawpixels() now handles Pixel.ZoomY==-1.
2006-10-11sources for X.org xserver buildBrian Paul
2006-10-10a step toward moving run-time vertex program state out of GLcontextBrian Paul
2006-10-10Move the fp_machine struct into s_nvfragmprog.c since (except for programBrian Paul
debug) it's only used there.
2006-10-04minor formatting fixBrian Paul
2006-10-02return null if no contextBrian Paul
2006-09-29include mipmap.hBrian Paul
2006-09-29Move mipmap generation functions, texture scaling functions into newBrian Paul
mipmap.c file.
2006-09-25Fix and re-enable swizzling paths for big endian platforms.Michel Dänzer
2006-09-22Flush driver, not just tnl module.Keith Whitwell
2006-09-22resize buffers in MakeCurrentKeith Whitwell
2006-09-22Remove unused variable.Keith Whitwell
2006-09-21bump version to 6.5.2Brian Paul
2006-09-21move a conditional into an assertionBrian Paul
2006-09-21replace assert(0) with error report, improved comments, etcBrian Paul
2006-09-21Fix incorrect byteswap_mapping(). Disable swizzle path on bigEndianKeith Whitwell
until someone can figure out whats wrong there.
2006-09-21use new _mesa_little_endian() functionBrian Paul
2006-09-21added _mesa_little_endian()Brian Paul
2006-09-21Fix the dstMap for rgb888 and bgr888 texture formats, which are theKeith Whitwell
opposite to what you'd naively expect.
2006-09-20Deal with the overloading of _mesa_texstore_rgba, which is actuallyKeith Whitwell
used to store all sorts of formats. Software mesa fails the glean pixelFormats test, but it appears to be failing even with the swizzle code disabled??
2006-09-20Extend swizzle support to all remaining source formats and textureKeith Whitwell
destination formats.
2006-09-20Support both big and little endian, more source types and moreKeith Whitwell
destination formats through the swizzle path. It would be great to see this tested on eg, PPC machines...
2006-09-20reenable code in _mesa_texstore_rgba8888 to avoid the generic copy path if ↵Roland Scheidegger
only swizzling is required as it works just fine (tested with glean pixelFormats test and a hacked up r200 driver which always uses that format).
2006-09-20Fix various typos to pass glean pixelFormats test.Keith Whitwell
2006-09-20Enhance compute_component_mapping() to convert to and from any of theKeith Whitwell
color base formats.
2006-09-20Fix _mesa_swizzle_ubyte_image() to deal with RGBA->RGB->RGBAKeith Whitwell
conversions, ensuring that the final A value is 0xff in those cases where we use a RGBA hardware texture format to store RGB textures. Fix a couple of cases where hardwired texture conversions were ignoring this restriction.
2006-09-13detect some more cases which can use straight memcpy for _mesa_texstore_rgba8888Roland Scheidegger
2006-09-13added GL_CURRENT_RASTER_SECONDARY_COLOR query (OpenGL 2.1)Brian Paul
2006-09-11undo some accidental changes in _mesa_is_legal_format_and_type()Brian Paul
2006-09-11init accum buffer fields in _mesa_update_framebuffer_visual()Brian Paul
2006-09-10Redefine the BYTE_TO_FLOAT() and SHORT_TO_FLOAT() macros to avoid problemsBrian Paul
converting 0 to exactly 0.0 This goes against the OpenGL spec (see table 2.6) but solves problems when doing byte -> float -> ubyte conversion for particular texture formats.
2006-09-07Add some asserts, fix some not-quite-bugs.Keith Whitwell
2006-09-04get rid of GL_BOOLEAN definition (bug 8113)Brian Paul