Age | Commit message (Collapse) | Author | Files | Lines |
|
Fix building against SDK, while also keeping --with-mesa-dir support
around.
|
|
The drm module should know this on its own.
|
|
|
|
|
|
|
|
Only used by the less than ideal openchrome xvmc implementation.
|
|
|
|
|
|
|
|
DRI and DRM also include this file.
|
|
This way, structures in included header files are always the same size,
which helps.
|
|
|
|
1 common source file wasn't there yet, one header file needs to
be manually included, and 2 api changes. Not that hard tbh.
|
|
use --with-mesa-dir= to trigger building the dri driver.
|
|
Now we first build libdricommon.la which we later on link in with
the actual driver.
|
|
An argument for non-running kernel tree still needs to be implemented though.
|
|
These vastly improve readability.
|
|
Just a clean-up phase before a bit of restructuring starts.
|
|
This immediately leads to the removal of most via_dri.h and some
via_screen.h includes.
|
|
|
|
|
|
Code was unused anyway as it caused issues. This is what happens with
ricer hacks.
|
|
And only keep one copy around. No more getting out of sync on this
one either.
Reinstate drm/Makefile.
|
|
I think this was only needed for miniglx, which, i believe, isn't really
used anymore.
|
|
|
|
|
|
Original SHA-ID: 507cf530b951b5a65999dd4ed7529824bd035087
|
|
Original SHA-ID: e3f2efc4f14d6f0d06560d2acfac73628f5a74a6
|
|
Replace calls to ctx->Driver.CompressedTextureSize with calls to
_mesa_format_image_size. The former always called the later.
Original SHA-ID: 35efc6a1b3e3dada2cf9bd3a503c1b84f4bcb7f5
|
|
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
|
|
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
|
|
Driver Makefiles can still add symlink dependencies/rules if needed.
Original SHA-ID: f094b86bb5ab93aedc03df5cf5bdf51ab9d37045
|
|
_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
|
|
And remove other unneeded #includes while we're at it.
Original SHA-ID: 3e34a2a2b97e7c93955deedb7c12b73bccd6662d
|
|
Call it from in the main Mesa glTexImage functions.
Original SHA-ID: 1a2bb37264b4448d33f2948fe1702c9dc936395d
|
|
Just call ctx->Driver.CompressedTextureSize() when we need to get
the compressed image size.
Original SHA-ID: 32aa40eee46fd0b15f3873069f2440ea2dd75408
|
|
Original SHA-ID: 4ca9ba254462b9be55b78df1d50519e10b2f4d73
|
|
Use _mesa_is_format_compressed() instead.
Original SHA-ID: b6bdafdf2cf1110b4a5ca7cf9e1c3dcb124b800f
|
|
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
|
|
Original SHA-ID: 0b1f4dc0fa62c46030b39a0f7027dd1b0ef966fd
|
|
Original SHA-ID: b58bc12ed4a3de6c828bd26c4820d7ddbb1eabd6
|
|
Original SHA-ID: f782f90c45fc9a483483ebd36c1971ecd0c7988d
|
|
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
|
|
Original SHA-ID: 0f04a1d3f8989b0a391e6dad80abf06ce151d1f1
|
|
Original SHA-ID: 91e61f435a71436c209934a0ece165b540aba3e0
|
|
Add the MSAA samples array or make sure its contents are initialized.
Original SHA-ID: eaf15db895e3a5c6c5ccc2f23a4f0fa522855868
|
|
(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
|
|
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Original SHA-ID: 8aa209c766b79144db499063dd1c8482562b07bf
|
|
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Original SHA-ID: 82b9661894315362f857192439bdcbc9db090387
|
|
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Original SHA-ID: 2b77b1d62e6480f19aac1bde6f730b7da1046ce0
|