Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove a bunch of "ctx->Driver.function = _swrast_Function" lines since | Brian Paul | 2006-10-15 | 20 | -252/+15 |
| | | | | | default/fallback functions are already plugged in by the call to _mesa_init_driver_functions(). | ||||
* | Use endianness test function provided by mesa. | Jerome Glisse | 2006-10-15 | 2 | -9/+6 |
| | | | | | | | Use the _mesa_little_endian helper function insted of the MESA_BIG_ENDIAN flag. There is still place using this flag but we need to find how to submit 16bits elements on big endian computer. | ||||
* | Remove Driver.ResizeBuffers = _mesa_resize_framebuffer lines. | Brian Paul | 2006-10-15 | 18 | -19/+0 |
| | | | | | This is already done by the preceeding call to _mesa_init_driver_functions() which plugs in default functions like that. | ||||
* | increate MaxTextureLevels to 11 (bug 3130) | Brian Paul | 2006-10-15 | 2 | -2/+9 |
| | |||||
* | check if files exist before installing (Thierry Reding) | Brian Paul | 2006-10-15 | 1 | -2/+7 |
| | |||||
* | allow specifying image size on cmd line | Brian Paul | 2006-10-14 | 1 | -19/+26 |
| | |||||
* | Some code movement so that the gl_framebuffer is fully initialized before | Brian Paul | 2006-10-14 | 1 | -5/+9 |
| | | | | | calling _mesa_make_current() to avoid hitting the initialize_framebuffer_size() stuff in context.c | ||||
* | Big re-org of buffer size management. | Brian Paul | 2006-10-14 | 4 | -491/+526 |
| | | | | | | | All buffer resizes now handled by xmesa_check_and_update_buffer_size() which uses the _mesa_resize_framebuffer() function. Moved all low-level XImage/Pixmap resizing into xm_buffers.c file. Also, update lots of comments for Doxygen. | ||||
* | cut and paste error: s/Width/Height/ | Brian Paul | 2006-10-14 | 1 | -1/+1 |
| | |||||
* | build fix: s/Table/TableUB/ | Brian Paul | 2006-10-14 | 1 | -1/+1 |
| | |||||
* | assorted clean-ups | Brian Paul | 2006-10-14 | 1 | -56/+38 |
| | |||||
* | implement ARB_point_parameters and ARB_point_sprite on r200. The code is ↵ | Roland Scheidegger | 2006-10-13 | 10 | -18/+238 |
| | | | | nearly the same as outlined in bug #4707, except it disables perspective correction for point sprites to make them actually work. And, separate the state atom into two as the tcl parameters would overwrite vertex program parameters when active. Also implement the GL_VERTEX_PROGRAM_POINT_SIZE_ARB option to make vertex programs outputting a point size work correctly (untested). Smooth points will still always be size 1. While here, enable gouraud shading for fog when using fog coord. | ||||
* | remove needless condition | Brian Paul | 2006-10-13 | 1 | -3/+1 |
| | |||||
* | Consolidate, move, fix code related to color index and stencil image transfer | Brian Paul | 2006-10-13 | 7 | -186/+135 |
| | | | | operations (shift, offset, table lookup, etc). | ||||
* | Fix dumb build errors. | Ian Romanick | 2006-10-13 | 2 | -1/+2 |
| | | | | | | I always build with -DGLX_USE_TLS, so I never hit these paths. glapi.h is required in some places because _glapi_Dispatch is declared there, but _glapi_tls_Dispatch is declared in glthread.h. | ||||
* | In _mesa_pack_rgba_span_float() we don't need to make a temporary copy of | Brian Paul | 2006-10-13 | 7 | -48/+37 |
| | | | | | | | 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. | ||||
* | s/GLuint/GLbitfield/ | Brian Paul | 2006-10-13 | 5 | -17/+17 |
| | |||||
* | s/GL_FALSE/0x0/ | Brian Paul | 2006-10-13 | 1 | -1/+1 |
| | |||||
* | removed obsolete _mesa_pack_rgba_span_chan() | Brian Paul | 2006-10-13 | 2 | -80/+0 |
| | |||||
* | include glapi.h to fix broken build | Brian Paul | 2006-10-13 | 2 | -0/+2 |
| | |||||
* | Upload of interleaved arrays currently assumes that position is the | Keith Whitwell | 2006-10-13 | 1 | -0/+1 |
| | | | | | | first element in the interleaved group. Add a test to catch cases where this isn't true and use per-array uploads instead. Fixes compiz glitches on x64. | ||||
* | Make sure instructions are zero'd out before use. | Keith Whitwell | 2006-10-13 | 1 | -0/+1 |
| | |||||
* | Use unsigned long batchbuffer offset, fixes x64 warnings. | Keith Whitwell | 2006-10-13 | 1 | -1/+1 |
| | |||||
* | Fix printf warning. | Keith Whitwell | 2006-10-13 | 1 | -1/+1 |
| | |||||
* | Use unsigned long cast for checking pointer alignment, fixes x64 warnings. | Keith Whitwell | 2006-10-13 | 1 | -2/+2 |
| | |||||
* | Use mesa function to get opcode name rather than an internal table. | Keith Whitwell | 2006-10-13 | 1 | -61/+1 |
| | |||||
* | Indent and cosmetic changes. | Michal Krol | 2006-10-13 | 4 | -694/+772 |
| | |||||
* | Revamp color table code. | Brian Paul | 2006-10-13 | 9 | -749/+334 |
| | | | | Always store all color tables as both float and ubyte. | ||||
* | adjust_colors() function replaces old _mesa_chan_to_float_span() function. | Brian Paul | 2006-10-12 | 1 | -26/+45 |
| | |||||
* | use _mesa_map_ci8_to_rgba8() instead of _mesa_map_ci8_to_rgba() | Brian Paul | 2006-10-12 | 1 | -8/+10 |
| | |||||
* | remove _mesa_chan_to_float_span(), rename _mesa_map_ci8_to_rgba() | Brian Paul | 2006-10-12 | 2 | -76/+6 |
| | |||||
* | _mesa_map_ci_to_rgba_chan() no longer used | Brian Paul | 2006-10-12 | 2 | -53/+4 |
| | |||||
* | Lots of changes to support runtime renderbuffer depths. | Brian Paul | 2006-10-12 | 9 | -311/+369 |
| | | | | | | _swrast_read_rgba_span() now takes a datatype parameter. New optimization for glReadPixels(format=GL_RGB). New glCopyPixels optimization for the simple, common cases. | ||||
* | don't use temp storage in _mesa_convert_colors() when possible | Brian Paul | 2006-10-12 | 1 | -47/+60 |
| | |||||
* | remove some debug code invalidated by prev check-in | Brian Paul | 2006-10-12 | 1 | -7/+0 |
| | |||||
* | Fix bug #4681. | Ian Romanick | 2006-10-11 | 31 | -4293/+4101 |
| | | | | | | | | | | | | | | | | | 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 | ||||
* | use GLvoid * for _swrast_write_zoomed_rgb/rgba_span() functions | Brian Paul | 2006-10-11 | 4 | -24/+17 |
| | |||||
* | rewrite/simplify the fast_draw_pixels() function | Brian Paul | 2006-10-11 | 1 | -349/+221 |
| | |||||
* | use _mesa_convert_colors(), update some assertions | Brian Paul | 2006-10-11 | 1 | -102/+26 |
| | |||||
* | Added _mesa_convert_colors(). | Brian Paul | 2006-10-11 | 2 | -15/+153 |
| | | | | _mesa_clip_drawpixels() now handles Pixel.ZoomY==-1. | ||||
* | support for runtime renderbuffer depths | Brian Paul | 2006-10-11 | 1 | -24/+81 |
| | |||||
* | In xmesa_DrawPixels_8R8G8B() check if drawing into a window system buffer, | Brian Paul | 2006-10-11 | 1 | -16/+17 |
| | | | | not a user-created FBO. | ||||
* | added shaderobjects_3dlabs.c | Brian Paul | 2006-10-11 | 1 | -1/+2 |
| | |||||
* | remove 3dlabs.c | Brian Paul | 2006-10-11 | 1 | -2/+1 |
| | |||||
* | sources for X.org xserver build | Brian Paul | 2006-10-11 | 1 | -0/+64 |
| | |||||
* | List of source (.c) files in each directory. | Brian Paul | 2006-10-11 | 11 | -0/+127 |
| | | | | | To be included by X.org Makefile.am files so that lists of files don't need to be hardcoded and frequently updated there. | ||||
* | a step toward moving run-time vertex program state out of GLcontext | Brian Paul | 2006-10-10 | 5 | -49/+61 |
| | |||||
* | fixed NV_position_invariant | Brian Paul | 2006-10-10 | 1 | -0/+1 |
| | |||||
* | Move the fp_machine struct into s_nvfragmprog.c since (except for program | Brian Paul | 2006-10-10 | 6 | -46/+114 |
| | | | | debug) it's only used there. | ||||
* | s/GLuint/GLbitfield/ | Brian Paul | 2006-10-10 | 1 | -2/+2 |
| |