summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/sis
AgeCommit message (Collapse)Author
2005-07-01remove common macros used in the span functions of most drivers from the ↵Roland Scheidegger
individual drivers and put them in common code. It is still possible for a driver to define its own macros if it has special needs. This affects CLIPPIXEL, CLIPSPAN, HW_CLIPLOOP, HW_ENDCLIPLOOP, and for drivers using the spantmp2 template also GET_SRC_PTR and GET_DST_PTR.
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-06-26Zero out the ENGPACKET allocated on the stack, to avoid sending uninitializedEric Anholt
values to reserved fields on the card, resulting in all-black output and sometimes hangs. Submitted by: Thomas Winischhofer
2005-05-31Remove unused CTX_ARG2 define.Eric Anholt
2005-05-05Refactor COMMON_SOURCES up to Makefile.templateAdam Jackson
2005-05-04Add drirenderbuffer.c to COMMON_SOURCESAdam Jackson
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.
2005-01-31Bug #2428: #ifdef GLX_DIRECT_RENDERING in DRI drivers is pointless.Adam Jackson
2005-01-20Enclose passed macro values in brackets to ensure correct read/write spanAlan Hourihane
values.
2004-12-16Also PUBLICize the config option tableAdam Jackson
2004-12-15Mark __driCreateNewScreen PUBLICAdam Jackson
2004-12-14uint*t -> u_int*t changesAlan Hourihane
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-08Add support for NV_blend_square, and print errors if an unsupported blendEric Anholt
function is used.
2004-10-02added support for GL_ARB_draw_buffersBrian Paul
2004-09-25Bump driver_date for today's fixes.Eric Anholt
2004-09-25Can't bail in sisDDLogicOpCode when logicop is off, because it's called withEric Anholt
GL_COPY to turn off logicop. Fixes glean's logicop test.
2004-09-25Triangle stipple is a fallback, since we don't have code for the stippling.Eric Anholt
Doesn't seem to help with glean's paths test, but I'm pretty sure it's correct.
2004-09-25Correct a couple of comments.Eric Anholt
2004-09-25Fix SiS AGP vertex dispatch by not trying to emit 0 vertices, which would hangEric Anholt
the hardware. Re-enable AGP by default.
2004-07-04Patch removes _SOLO definition needed for mesa-solo. mesa-soloJon Smirl
uses the NEW_INTERFACE now so _SOLO isn't necessary anymore. Tested with the hardware that I own.
2004-07-01Rename the various function types in t_context.h to include a tnl_ prefix.Keith Whitwell
2004-07-01Rename 'emit_func' usages in drivers. Will also rename the ones inKeith Whitwell
t_context.h.
2004-06-10Fix an "overflow in implicit constant conversion" warning in mEndPrimitive whenEric Anholt
more warning flags are enabled (such as in the DRI tree). Make the second line prettier, too. Reported by: ajax
2004-06-09Fix reflect demo: We were using the 3D Clear path unnecessarily, which appearsEric Anholt
to be broken in the stencil case for unknown reasons.
2004-06-09* sisChooseRenderState doesn't depend on _NEW_TEXTURE at all.Eric Anholt
* Clean up definition of _SIS_NEW_RENDER_STATE.
2004-06-08* Convert to use t_vertex.c instead of sis_vb.[ch]Eric Anholt
* Don't dispatch vertices directly to MMIO; queue them up in dma-like buffers first. This makes things more uniform between AGP and MMIO paths, cleans up some locking ugliness, and makes the driver look more like other drivers. * Don't use the AGP Cmd buffer provided by the server. Instead allocate one in the client, which avoids the need for lots of synchronization stuff. * Mark some MMIO accesses volatile that should have been. * Disable the AGP submission path by default (agp_disable=true) due to unresolved issues in the new code. The old code had its own (serious) errors with AGP, so this is not really a step backwards.
2004-06-08Clean a little whitespace that's been bothering me.Eric Anholt
2004-06-07Add NEW_INTERFACE bits.Eric Anholt
2004-06-03Open/Close FullScreen die. unichrome and savage implemented, code is ifdef'd outJon Smirl
2004-06-02Removed need for sarea.h, various touch ups to get rid of type mismatches.Jon Smirl
2004-06-02Replace drmHandle, drmContext, drmDrawable, drmMagic and related types withIan Romanick
drm_handle_t, drm_context_t, drm_drawable_t, drm_magic_t.
2004-05-27Move dri_util.[ch] and glcontextmodes.[ch] from dri_client to common.Ian Romanick
2004-05-24Clean up some warnings by making sis_fatal_error a macro, and let it take anEric Anholt
argument of a message to print. Make some assert(0)s use sis_fatal_error.
2004-05-24Add missing sisInitDriverFuncs call. Fixes segfault.Eric Anholt
2004-05-12obsolete in favor of regular MakefilesBrian Paul
2004-04-29Allow *_dri.so to build in Mesa tree with the 'linux-dri' target.Keith Whitwell
2004-04-26bring over build fixes from stable branchAlan Hourihane
2004-04-13Add DRM_SOURCE_PATH to make system.Jon Smirl
Needed for linux-solo to build
2004-04-08lots of Makefile updates for new build systemBrian Paul
2004-03-26New Makefile systemBrian Paul
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-03-12Adjust includes to help DRI buildJon Smirl
2004-03-11Adjustments to make everything use IOCTL/sarea defines in DRM insteadJon Smirl
of glx/mini. removes glx/mini/drm.h glx/mini/sarea.h
2004-02-26added _tnl_allow_vertex/pixel_fog() callsBrian Paul
2004-01-27Consolidate texObj->Pos/Neg/X/Y/Z and texObj->Image into a singleKeith Whitwell
array, texObj->Image[face][level].
2004-01-21Remove dd_function_table::BlendFunc. All drivers now useIan Romanick
dd_function_table:BlendFuncSeparate. If a driver does not actually support EXT_blend_func_separate, it can assume that the RGB and alpha blend functions are the same.
2004-01-20Undo some bits from last check-in related to the ctx->Driver.NewTextureObjectBrian Paul
functions. Don't allocate the driver-specific data during texture object creation but do it later as needed (as code originally was).
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-18change Data ptr from GLbyte to GLubyte to silence warningsBrian Paul