summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-03-21DRI: Add support for the dri sdk.unifiedLuc Verhaegen14-100/+147
Fix building against SDK, while also keeping --with-mesa-dir support around.
2010-03-21DRM: remove reg_pause_addr from _drm_via_dma_init.Luc Verhaegen3-18/+15
The drm module should know this on its own.
2010-03-21VT3108: disable interrupts from within the drm.Luc Verhaegen2-9/+29
2010-03-20DRM: rename to unichrome.koLuc Verhaegen3-4/+4
2010-03-20DRM: clean up unused structs and struct members.Luc Verhaegen5-58/+4
2010-03-20DRM: remove DRM_VIA_DEC_FUTEX.Luc Verhaegen8-147/+11
Only used by the less than ideal openchrome xvmc implementation.
2010-03-20drm: adjust for unlocked drm_ioctl.Luc Verhaegen1-0/+4
2010-03-20Configure: add ability to specificy linux kernel modules dir.Luc Verhaegen1-1/+9
2010-01-31Wrapper: Fix build after removing xorg-server.h from toplevel config.hLuc Verhaegen1-0/+1
2009-11-22Xorg: remove xorg-server.h from toplevel config.h.Luc Verhaegen23-6/+22
DRI and DRM also include this file.
2009-11-22DRI: include config.h everywhere.Luc Verhaegen10-2/+34
This way, structures in included header files are always the same size, which helps.
2009-11-22DRI: Fix build against debian Lenny's Mesa 7.0.3.Luc Verhaegen9-45/+334
2009-11-19DRI: Fix build against openSUSE 11.1 Mesa 7.2.Luc Verhaegen7-2/+45
1 common source file wasn't there yet, one header file needs to be manually included, and 2 api changes. Not that hard tbh.
2009-11-18DRI: Prove more complete autotools integration.Luc Verhaegen3-8/+70
use --with-mesa-dir= to trigger building the dri driver.
2009-11-18DRI: rework build.Luc Verhaegen1-30/+29
Now we first build libdricommon.la which we later on link in with the actual driver.
2009-11-18DRM: Provide more complete autotools integration.Luc Verhaegen4-11/+88
An argument for non-running kernel tree still needs to be implemented though.
2009-11-18DRI: via_state.c: introduce RING_OUT_TYPE and RING_OUT_HC macros.Luc Verhaegen1-130/+114
These vastly improve readability.
2009-11-18DRI: via_state.c: fix indentation and whitespace.Luc Verhaegen2-1110/+996
Just a clean-up phase before a bit of restructuring starts.
2009-11-18DRI: Strip out obviously unused struct members.Luc Verhaegen12-103/+28
This immediately leads to the removal of most via_dri.h and some via_screen.h includes.
2009-11-18DRI: take a broom through the includes.Luc Verhaegen18-242/+136
2009-11-18DRM: Register 0x41C is HC_REG_AGP_STATE.Luc Verhaegen2-3/+14
2009-11-18DRI: remove via_memcpy.cLuc Verhaegen5-166/+0
Code was unused anyway as it caused issues. This is what happens with ricer hacks.
2009-11-18DRM: rename via_3d_reg.h to via_halcyon.h.Luc Verhaegen11-1666/+40
And only keep one copy around. No more getting out of sync on this one either. Reinstate drm/Makefile.
2009-11-18DRI: remove dri/server/ directory.Luc Verhaegen6-1915/+0
I think this was only needed for miniglx, which, i believe, isn't really used anymore.
2009-11-18X/Accel: fix drm includes in via_accel.cLuc Verhaegen1-0/+1
2009-11-18DRI: Build and run against debian Squeeze's Mesa 7.6Luc Verhaegen16-82/+491
2009-11-18DRI: via: silence unused var warningsBrian Paul2-2/+2
Original SHA-ID: 507cf530b951b5a65999dd4ed7529824bd035087
2009-11-18DRI: mesa: remove calls to _mesa_compressed_row_stride()Brian Paul1-1/+1
Original SHA-ID: e3f2efc4f14d6f0d06560d2acfac73628f5a74a6
2009-11-18DRI: mesa: 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. Original SHA-ID: 35efc6a1b3e3dada2cf9bd3a503c1b84f4bcb7f5
2009-11-18DRI: mesa: Enable remap table in core.Chia-I Wu2-16/+2
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> Original SHA-ID: 17ef1f6074d6107c167f1956a5c60993904c0b72
2009-11-18DRI: dri/drivers: update driNewRenderbuffer() to take a gl_formatBrian Paul2-17/+16
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. Original SHA-ID: 1160acbfea986a821761d18f5f14d5d2cb0dea8c
2009-11-18DRI: mesa: lift default symlinks target into Makefile.templateBrian Paul1-1/+0
Driver Makefiles can still add symlink dependencies/rules if needed. Original SHA-ID: f094b86bb5ab93aedc03df5cf5bdf51ab9d37045
2009-11-18DRI: mesa: remove a bunch of gl_renderbuffer fieldsBrian Paul1-0/+5
_ActualFormat is replaced by Format (MESA_FORMAT_x). ColorEncoding, ComponentType, RedBits, GreenBits, BlueBits, etc. are all replaced by MESA_FORMAT_x queries. Original SHA-ID: 45e76d2665b38ba3787548310efc59e969124c01
2009-11-18DRI: drivers: don't include texformat.hBrian Paul1-2/+1
And remove other unneeded #includes while we're at it. Original SHA-ID: 3e34a2a2b97e7c93955deedb7c12b73bccd6662d
2009-11-18DRI: mesa: lift _mesa_set_fetch_functions() calls out of driversBrian Paul1-3/+0
Call it from in the main Mesa glTexImage functions. Original SHA-ID: 1a2bb37264b4448d33f2948fe1702c9dc936395d
2009-11-18DRI: mesa: removed gl_texture_image::CompressedSize fieldBrian Paul1-2/+3
Just call ctx->Driver.CompressedTextureSize() when we need to get the compressed image size. Original SHA-ID: 32aa40eee46fd0b15f3873069f2440ea2dd75408
2009-11-18DRI: mesa: move mesa_set_fetch_functions()Brian Paul1-0/+1
Original SHA-ID: 4ca9ba254462b9be55b78df1d50519e10b2f4d73
2009-11-18DRI: mesa: remove gl_texture_image::IsCompressed fieldBrian Paul1-3/+2
Use _mesa_is_format_compressed() instead. Original SHA-ID: b6bdafdf2cf1110b4a5ca7cf9e1c3dcb124b800f
2009-11-18DRI: mesa: replace gl_texture_format with gl_formatBrian Paul1-34/+34
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. Original SHA-ID: 1f7c914ad0beea8a29c1a171c7cd1a12f2efe0fa
2009-11-18DRI: drivers: use new _mesa_texstore() functionBrian Paul1-12/+9
Original SHA-ID: 0b1f4dc0fa62c46030b39a0f7027dd1b0ef966fd
2009-11-18DRI: via: use mesa texture format helper functionsBrian Paul1-10/+5
Original SHA-ID: b58bc12ed4a3de6c828bd26c4820d7ddbb1eabd6
2009-11-18DRI: mesa: use _mesa_get_texstore_func()Brian Paul1-10/+13
Original SHA-ID: f782f90c45fc9a483483ebd36c1971ecd0c7988d
2009-11-18DRI: mesa: move generate mipmap callsBrian Paul1-5/+0
Per the suggestion in the Intel driver, move the calls to ctx->Driver.GenerateMipmap() into core Mesa so that drivers don't have to worry about it. Original SHA-ID: 2914f2b7fd9bd1082f8cce724d234208b900c3d4
2009-11-18DRI: mesa: remove last of _mesa_unreference_framebuffer() callsBrian Paul1-1/+1
Original SHA-ID: 0f04a1d3f8989b0a391e6dad80abf06ce151d1f1
2009-11-18DRI: mesa: use Stencil._Enabled field instead of Stencil.EnabledBrian Paul1-1/+1
Original SHA-ID: 91e61f435a71436c209934a0ece165b540aba3e0
2009-11-18DRI: gallium: Fixups for driCreateConfigs MSAA support.Michel Dänzer1-1/+1
Add the MSAA samples array or make sure its contents are initialized. Original SHA-ID: eaf15db895e3a5c6c5ccc2f23a4f0fa522855868
2009-11-18DRI: re-add MSAA supportBrian Paul1-1/+3
(cherry picked from commit f7d80aa00611917bc8ce637136d982b151b8f44f) This also involved adding the new MSAA fields to driCreateConfigs(). Also, re-add prog_instructions->Sampler field for i965 driver. Will have to revisit that. Original SHA-ID: e13593678f62941db06b7ae1a21b81c643371659
2009-11-18DRI: Make GL_ARB_draw_buffers mandatoryIan Romanick1-0/+2
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Original SHA-ID: 8aa209c766b79144db499063dd1c8482562b07bf
2009-11-18DRI: Make GL_ARB_vertex_buffer_object mandatoryIan Romanick1-2/+0
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Original SHA-ID: 82b9661894315362f857192439bdcbc9db090387
2009-11-18DRI: Make GL_ARB_multisample mandatoryIan Romanick1-2/+0
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Original SHA-ID: 2b77b1d62e6480f19aac1bde6f730b7da1046ce0