summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i830/i830_context.c
AgeCommit message (Collapse)Author
2006-01-24remove very old i830 codeAlan Hourihane
2005-09-14Instead of calling _mesa_ResizeBuffersMESA() in the Viewport function,Brian Paul
call driUpdateFramebufferSize() when window size/position changes.
2005-07-28Major rip-up of internal function insertion interface. The oldIan Romanick
_glapi_add_entrypoint has been replaced by a new routine called _glapi_add_dispatch. This new routine dynamically assignes dispatch offsets to functions added. This allows IHVs to add support for extension functions that do not have assigned dispatch offsets. It also means that a driver has no idea what offset will be assigned to a function. The vast majority of the changes in this commit account for that. An additional table, driDispatchRemapTable, is added. Functions not in the Linux OpenGL ABI (i.e., anything not in GL 1.2 + ARB_multitexture) has a fixed offset in this new table. The entry in this table specifies the offset in of the function in the real dispatch table. The internal interface was also bumped from version 20050725 to 20050727. This has been tested with various programs in progs/demos on: radeon (Radeon Mobility M6) r128 (Rage 128 Pro) mga (G400)
2005-06-30Replace add_newer_entrypoints (src/mesa/main/context.c) withIan Romanick
device-specific code. A new Python script (src/mesa/glapi/extension_helper.py) generates a list of all entry-points for all known extensions. Each driver the selects only the extensions that it needs and enables the via either driInitExtensions or driInitSingleExtension. This code has been compile-tested on a drivers, but has only been run-tested on mga and i915 (on i830 hardware). These changes were discussed at length on the mesa3d-dev mailing list. http://marc.theaimsgroup.com/?t=111947074700001&r=1&w=2
2005-05-04Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul
Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
2004-11-27Remove _mesa_ResizeBuffersMESA() call from _mesa_set_viewport().Brian Paul
Now, the driver's Viewport routine should call _mesa_ResizeBuffersMESA() if necessary. Cleaned up code related to GLframebuffer width/height initialization. Set initial viewport/scissor params in _mesa_make_current2(), instead of in the drivers' MakeCurrent functions.
2004-10-07Add Roland Scheidegger's S3TC patch. This patch does not implement theEric Anholt
(patented) S3TC/DXTC algorithms, but adds an option to dlopen a library module providing functions to do so. Because it uses dlopen, it is only enabled if USE_EXTERNAL_DXTN_LIB=1 is defined (which is only in linux-dri config, so far). It adds support for S3TC to several DRI drivers, and adds a DRI config option to force enabling S3TC even if the software compression/decompression is unavailable. This may allow people to use apps that require S3TC even though they don't have a license to implement the patented material themselves, if those apps use precompressed textures. Ideally we would get permission from the current holder of the patents to implement the algorithm in Mesa, at which point the dlopen mess could go away. Until then, this allows some to run applications they couldn't otherwise, and hopefully will provide us with more push to get the final step of getting that permission done.
2004-10-02added support for GL_ARB_draw_buffersBrian Paul
2004-06-10Add FXT1 compression support to i830 driverDave Airlie
2004-05-13cast driHwLock assignmentBrian Paul
2004-05-12Added support for GL_EXT_blend_equation_separate andIan Romanick
GL_NV_blend_square. Fix a bug in the way the GL_MIN and GL_MAX blending modes were handled.
2004-05-11Fix a possible segfault caused by the SGI_make_current_read changes.Ian Romanick
2004-05-07Add support for GLX_SGI_make_current_read.Ian Romanick
2004-05-07Add support for the 3rd and 4th texture units. The actual number ofIan Romanick
available units is configurable via the texture_units option.
2004-05-07Refactor "classic" texture environments to be implemented in terms ofIan Romanick
ARB_texture_env_combine state. Add support for ARB_texture_env_crossbar. Combiner state is only emitted for operands that need to be emitted for the combine operation.
2004-03-21Implemented support for software-based AUX color buffers.Brian Paul
Only available with Xlib driver for now. Assorted clean-ups related to Draw/ReadBuffer(). Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc.
2004-02-26added _tnl_allow_vertex/pixel_fog() callsBrian Paul
2004-01-26Make the drivers using the common texmem code work with NewTextureObjectFelix Kuehling
in Mesa. This is analogous to changes idr made to the r200 driver. Patch submitted by Andreas Stenglein.
2004-01-20Before calling _mesa_create_context(), initialize a dd_function_table structBrian Paul
by calling _mesa_init_driver_functions() and then plugging in the driver- specific functions. In particular, make sure ctx->Driver.NewTextureObject points to the appropriate driver function so that _all_ texture objects are augmented with the driver-specific data. Put in a bunch of assertions in the texture-related driver functions that texObj->DriverData is valid. Remove old dead code in near future.
2004-01-19Migrate i830 driver to t_vertex.[ch] for building hw vertices.Keith Whitwell
2004-01-19fix glitch from previous check-in (pointer vs int)Brian Paul
2004-01-18minor changes to silence warningsBrian Paul
2004-01-12Removed redundant extension strings. The Mesa extension mechanismIan Romanick
automatically enables "duplicate" extensions without the driver explicitly enabling them.
2003-12-12set MaxTextureImageUnits, MaxTextureCoordUnitsKeith Whitwell
2003-12-08fix bogus assertion that checked for an empty texture heap list beforeAlan Hourihane
deleting the textures. Essentially move the assertion after the destruction of the heap.
2003-12-08Provide dummy definitions of __driConfig externsKeith Whitwell
2003-11-24Import vtx-0-2-branchKeith Whitwell
2003-09-30add the i830 driver - no kernel driver yetAlan Hourihane
(build tested, but not physically tested)