summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/tdfx
AgeCommit message (Collapse)AuthorFilesLines
2011-06-02dri/nouveau: Fix build with --enable-shared-dricore.Johannes Obermayr1-1/+3
- Based on the work of Себастьян Gliţa Κατινα <cglita@yahoo.com> - Split Makefile.template into Makefile.defines and Makefile.targets - Adapt other drivers to new situation - Fixes https://bugs.freedesktop.org/show_bug.cgi?id=35441 Signed-off-by: Brian Paul <brianp@vmware.com>
2011-04-10mesa: move sampler state into new gl_sampler_object typeBrian Paul1-4/+4
gl_texture_object contains an instance of this type for the regular texture object sampling state. glGenSamplers() generates new instances of gl_sampler_object which can override that state with glBindSampler().
2011-04-05dri: Remove driver date from renderer stringIan Romanick1-4/+1
Reviewed-by: Corbin Simpson <MostAwesomeDude@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
2011-02-08mesa: remove _mesa_create_context_for_api()Brian Paul1-1/+1
Just add the gl_api parameter to _mesa_create_context().
2011-01-15mesa: begin implementation of GL_ARB_draw_buffers_blendBrian Paul1-6/+6
2010-11-29drivers/x11: unifdef XFree86ServerAdam Jackson1-4/+0
This code was for the old GLcore build of the software rasteriser. The X server switched to a DRI driver for software indirect GLX long ago. Signed-off-by: Adam Jackson <ajax@redhat.com>
2010-11-11tdfx: s/Format/_BaseFormat/Brian Paul1-2/+2
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31560
2010-10-13Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg21-180/+180
2010-10-13Drop GLframebuffer typedef and just use struct gl_framebufferKristian Høgsberg2-7/+7
2010-10-13Rename GLvisual and __GLcontextModes to struct gl_configKristian Høgsberg7-8/+8
2010-10-12tdfx: Silence unused variable warning on non-debug builds.Vinson Lee1-0/+1
Fixes this GCC warning. tdfx_texman.c: In function 'tdfxTMMoveOutTM_NoLock': tdfx_texman.c:897: warning: unused variable 'shared'
2010-09-27mesa: Force GL_SGIS_generate_mipmap to always be enabledIan Romanick1-2/+0
As per discussions at XDS.
2010-04-28dri: Add DRI entrypoints to create a context for a given APIKristian Høgsberg2-2/+4
2010-03-06dri: drop MINIGLX_SOURCES (2)George Sapountzis1-471/+0
2010-03-06dri: drop MINIGLX_SOURCESGeorge Sapountzis1-3/+0
2010-03-03Remove stray defines of HAVE_RGBAIan Romanick1-1/+0
Now that color-index support is removed from t_dd_tritmp.h and t_dd_unfilled.h, drivers no longer need define HAVE_RGBA. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-02-27tdfx: Add asserts to check for null pointer dereferences.Vinson Lee2-0/+10
2010-02-19Drop macro wrappers for the aligned memory functionsKristian Høgsberg1-2/+2
2010-02-19mesa: replace old MEMSET macro with memsetBrian Paul1-3/+3
2010-02-19mesa: replace old MEMCPY macro with memcpyBrian Paul2-5/+5
2010-02-10dri: Allow selective generation of accum. buffer configsIan Romanick1-1/+2
Modify the interface to driCreateConfigs allowing drivers to not expose configs with an accumuation buffer. All of the drivers calling function have been updated to pass true for the accumulation selector. This maintains the current behavior. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net> Reviewed-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2010-01-25Merge branch 'mesa_7_7_branch'Brian Paul8-22/+0
Conflicts: src/mesa/drivers/dri/intel/intel_screen.c src/mesa/drivers/dri/intel/intel_swapbuffers.c src/mesa/drivers/dri/r300/r300_emit.c src/mesa/drivers/dri/r300/r300_ioctl.c src/mesa/drivers/dri/r300/r300_tex.c src/mesa/drivers/dri/r300/r300_texstate.c
2010-01-23tdfx: Remove unnecessary headers.Vinson Lee8-22/+0
2010-01-08Merge branch 'mesa_7_7_branch'Brian Paul1-1/+1
Conflicts: src/mesa/drivers/dri/i965/brw_wm_emit.c
2010-01-06mesa: test index bounds before array elementRoel Kluin1-1/+1
Check whether the index is within bounds before accessing the array. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-06Merge remote branch 'origin/mesa_7_7_branch'José Fonseca1-1/+1
Conflicts: configs/default src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/mesa/main/version.h
2010-01-05tdfx: condition always evaluates to false in SetupDoubleTexEnvVoodoo3()Roel Kluin1-1/+1
This can never be true. Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
2010-01-04Push __driDriverExtensions out of dri_util.c and into the driversKristian Høgsberg1-0/+7
This lets the individual drivers select which extensions to advertise. Specifically, most drivers (tdfx, sis, savage etc) don't support DRI2 but the shared extension list in dri_util.c does list the DRI2 extension. Pushing the list into the drivers, lets us avoid listing the DRI2 extension for drivers that don't support it.
2010-01-04Remove leftover __DRI{screen,drawable,context}Private referencesKristian Høgsberg9-38/+38
As part of the DRI driver interface rewrite I merged __DRIscreenPrivate and __DRIscreen, and likewise for __DRIdrawablePrivate and __DRIcontextPrivate. I left typedefs in place though, to avoid renaming all the *Private use internal to the driver. That was probably a mistake, and it turns out a one-line find+sed combo can do the mass rename. Better late than never.
2009-12-31Merge branch 'mesa_7_7_branch'Brian Paul1-1/+1
Conflicts: configs/darwin src/gallium/auxiliary/util/u_clear.h src/gallium/state_trackers/xorg/xorg_exa_tgsi.c src/mesa/drivers/dri/i965/brw_draw_upload.c
2009-12-29tdfx: Silence uninitialized variable warning.Vinson Lee1-1/+1
2009-12-29mesa: implement per-buffer color maskingBrian Paul2-7/+7
This is part of the GL_EXT_draw_buffers2 extension and part of GL 3.0. The ctx->Color.ColorMask field is now a 2-D array. Until drivers are modified to support per-buffer color masking, they can just look at the 0th color mask. The new _mesa_ColorMaskIndexed() function will be called by glColorMaskIndexedEXT() or glColorMaski().
2009-11-19tnl: Replace deprecated FogCoordPtr with AttribPtr[_TNL_ATTRIB_FOG]Eric Anholt1-2/+2
2009-11-19tnl: Replace deprecated ColorPtr[] with AttribPtr or new BackfaceColorPtr.Eric Anholt2-10/+10
2009-11-19tnl: Replace deprecated TexCoordPtr with AttribPtr[_TNL_ATTRIB_TEX*]Eric Anholt1-10/+10
2009-10-28Merge branch 'texformat-rework'Brian Paul3-131/+119
Conflicts: src/mesa/drivers/dri/radeon/radeon_fbo.c src/mesa/drivers/dri/s3v/s3v_tex.c src/mesa/drivers/dri/s3v/s3v_xmesa.c src/mesa/drivers/dri/trident/trident_context.c src/mesa/main/debug.c src/mesa/main/mipmap.c src/mesa/main/texformat.c src/mesa/main/texgetimage.c
2009-10-25mesa: choose texture format in core mesa, not driversBrian Paul1-11/+0
Call the ctx->Driver.ChooseTextureFormat() function from core Mesa's _mesa_[Copy]TexImage functions instead of in the driver functions. One less thing for drivers to do.
2009-10-25mesa: remove calls to _mesa_compressed_row_stride()Brian Paul1-8/+8
2009-10-24mesa: change compressed texture size callsBrian Paul1-10/+4
Replace calls to ctx->Driver.CompressedTextureSize with calls to _mesa_format_image_size. The former always called the later.
2009-10-23mesa: Enable remap table in core.Chia-I Wu2-19/+3
This enables the remap table in core. driInitExtensions is adapted to use the remap table. All uses of extension_helper.h are replaced by remap_helper.h. The chicken-egg problem of the DRI drivers is also solved. It is now also possible to pass NULL extensions to driInitExtensions. It will cause driInitExtensions to map all known functions. This functionality is used by software drivers and EGL_i915. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-22dri/drivers: update driNewRenderbuffer() to take a gl_formatBrian Paul1-5/+5
Now pass a specific MESA_FORMAT_x token to indicate the renderbuffer's format. This is better than passing a GLenum and having to guess the specific format. I'm unable to test all the drivers, but any issues should be easy to fix.
2009-10-16mesa: lift default symlinks target into Makefile.templateBrian Paul1-2/+0
Driver Makefiles can still add symlink dependencies/rules if needed.
2009-10-05drivers: don't include texformat.hBrian Paul2-2/+0
And remove other unneeded #includes while we're at it.
2009-10-01mesa: removed gl_texture_image::CompressedSize fieldBrian Paul1-14/+15
Just call ctx->Driver.CompressedTextureSize() when we need to get the compressed image size.
2009-10-01mesa: remove gl_texture_image::IsCompressed fieldBrian Paul1-8/+5
Use _mesa_is_format_compressed() instead.
2009-09-30mesa: replace gl_texture_format with gl_formatBrian Paul1-37/+44
Now gl_texture_image::TexFormat is a simple MESA_FORMAT_x enum. ctx->Driver.ChooseTexture format also returns a MESA_FORMAT_x. gl_texture_format will go away next.
2009-09-28drivers: use _mesa_texstoreBrian Paul1-14/+14
2009-09-28drivers: use new _mesa_texstore() functionBrian Paul1-48/+35
2009-09-27mesa/drivers: use _mesa_get_format_bytes()Brian Paul1-2/+2
2009-09-27mesa: use _mesa_get_texstore_func()Brian Paul1-29/+44