- 23 Jan, 2014 1 commit
-
-
Brian Paul authored
In some cases we were converting generic formats to sized formats and vice versa. The point is to simply convert sRGB formats to corresponding linear formats. Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
- 21 Dec, 2013 2 commits
-
-
Ian Romanick authored
Also s/_EXT// on enums that are now part of core. Signed-off-by:
Ian Romanick <ian.d.romanick@intel.com> Reviewed-by:
Brian Paul <brianp@vmware.com>
-
Ian Romanick authored
Every driver supports it. All current and future Gallium drivers always support it, and all existing classic drivers support it. Signed-off-by:
Ian Romanick <ian.d.romanick@intel.com> Reviewed-by:
Brian Paul <brianp@vmware.com>
-
- 18 Dec, 2013 1 commit
-
-
Brian Paul authored
The type_valid local was set to true and never changed.
-
- 07 Nov, 2013 1 commit
-
-
Chris Forbes authored
Signed-off-by:
Chris Forbes <chrisf@ijw.co.nz> Reviewed-by:
Eric Anholt <eric@anholt.net>
-
- 24 Apr, 2013 2 commits
-
-
Kenneth Graunke authored
The previous commit introduced extra words, breaking the formatting. This text transformation was done automatically via the following shell command: $ git grep 'THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY' | sed 's/:.*$//' | xargs -I {} sh -c 'vim -e -s {} < vimscript where 'vimscript' is a file containing: /THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY/;/\*\// !fmt -w 78 -p ' * ' :wq Reviewed-by:
Brian Paul <brianp@vmware.com>
-
Kenneth Graunke authored
This brings the license text in line with the MIT License as published on the Open Source Initiative website: http://opensource.org/licenses/mit-license.php Generated automatically be the following shell command: $ git grep 'THE AUTHORS BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \ sed -i 's/THE AUTHORS/THE AUTHORS OR COPYRIGHT HOLDERS/' {} This introduces some wrapping issues, to be fixed in the next commit. Reviewed-by:
Brian Paul <brianp@vmware.com>
-
- 09 Mar, 2013 1 commit
-
-
Matt Turner authored
Fixes piglit's oes_compressed_etc2_texture-miptree tests on Desktop GL. Reported-by:
Marek Olšák <maraeo@gmail.com> Reviewed-by:
Anuj Phogat <anuj.phogat@gmail.com>
-
- 30 Jan, 2013 1 commit
-
-
Matt Turner authored
This reverts commit 2906e203. Fixes a regression in the glean depthStencil test. Reverting this does not affect any tests in es3conform, so a more recent patch must have also fixed the failure this one was intended to fix. Reported-by:
lu hua <huax.lu@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=59494
-
- 24 Jan, 2013 2 commits
-
-
Ian Romanick authored
This is technically outside the ANGLE spec, but it seems unlikely to cause any harm. v2: Simplify the extension checks by assuming the ANGLE extension will always be enabled by any driver that enables the EXT. Suggested by Eric Anholt. Signed-off-by:
Ian Romanick <ian.d.romanick@intel.com> Reviewed-by:
Eric Anholt <eric@anholt.net> Acked-by:
Lee Salzman <lsalzman@gmail.com>
-
Ian Romanick authored
Signed-off-by:
Ian Romanick <ian.d.romanick@intel.com> Reviewed-by:
Eric Anholt <eric@anholt.net> Acked-by:
Lee Salzman <lsalzman@gmail.com>
-
- 21 Jan, 2013 1 commit
-
-
Ian Romanick authored
They're part of GL_OES_depth_texture_cube_map, and we'll always enable that extension in ES3 contexts. Signed-off-by:
Ian Romanick <ian.d.romanick@intel.com> Reviewed-by:
Matt Turner <mattst88@gmail.com> Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org>
-
- 17 Jan, 2013 1 commit
-
-
Ian Romanick authored
Filtering of DEPTH_COMPONENT and DEPTH_STENCIL for TEXTURE_3D is already done in texture_error_check because these combinations aren't allowed on desktop GL either. Signed-off-by:
Ian Romanick <ian.d.romanick@intel.com> Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org> Reviewed-by:
Anuj Phogat <anuj.phogat@gmail.com>
-
- 15 Jan, 2013 3 commits
-
-
Matt Turner authored
INVALID_ENUM is for when the type is simply not known. Fixes part of es3conform's packed_depth_stencil_error test. Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org> Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com>
-
Jordan Justen authored
This format is allowed by the GL_EXT_texture_type_2_10_10_10_REV extension. Signed-off-by:
Jordan Justen <jordan.l.justen@intel.com> Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com>
-
Matt Turner authored
This function checks for ES3 compatible format/type/internalFormat/dimension combinations. [jordan.l.justen@intel.com: additional tweaks for gles3-gtf] Signed-off-by:
Jordan Justen <jordan.l.justen@intel.com> Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com>
-
- 12 Jan, 2013 3 commits
-
-
Jordan Justen authored
Signed-off-by:
Jordan Justen <jordan.l.justen@intel.com> Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com>
-
Jordan Justen authored
Signed-off-by:
Jordan Justen <jordan.l.justen@intel.com> Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com>
-
Jordan Justen authored
Signed-off-by:
Jordan Justen <jordan.l.justen@intel.com> Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com>
-
- 13 Dec, 2012 1 commit
-
-
Paul Berry authored
Previously, if the client program didn't specify a stride when setting up a vertex attribute, we used _mesa_sizeof_type() to compute the size of the type, and multiplied it by the number of components. This didn't work for the 2_10_10_10 formats, since _mesa_sizeof_type() returns -1 for those types, resulting in all kinds of havoc, since it was causing the hardware to be programmed with a negative stride value. This patch adds a new function _mesa_bytes_per_vertex_attrib(), which is similar to the existing function _mesa_bytes_per_pixel(), but which computes the size of a vertex attribute based on the type and the number of formats. For packed formats (currently only the 2_10_10_10 formats), it verifies that the number of components is correct and returns the size of the packed format. For unpacked formats, it returns the size of the type times the number of components. In addition, this patch adds an assertion so that if we ever forget to update _mesa_bytes_per_vertex_attrib() when adding a new vertex format, we'll see the problem quickly rather than having to debug a subtle conformance test failure. Fixes GLES3 conformance tests vertex_type_2_10_10_10_rev_{conversion,divisor,stride_pointer}.test. Reviewed-by:
Brian Paul <brianp@vmware.com>
-
- 08 Dec, 2012 1 commit
-
-
Anuj Phogat authored
It is required by OpenGL ES 3.0 to support ETC2 textures. This patch adds new MESA_FORMATs for following etc2 texture formats: GL_COMPRESSED_RGB8_ETC2 GL_COMPRESSED_SRGB8_ETC2 GL_COMPRESSED_RGBA8_ETC2_EAC GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC GL_COMPRESSED_R11_EAC GL_COMPRESSED_RG11_EAC GL_COMPRESSED_SIGNED_R11_EAC GL_COMPRESSED_SIGNED_RG11_EAC MESA_FORMAT_ETC2_RGB8_PUNCHTHROUGH_ALPHA1 MESA_FORMAT_ETC2_SRGB8_PUNCHTHROUGH_ALPHA1 Above formats are currently available in only gles 3.0. v2: Add entries in texfetch_funcs[] array. Signed-off-by:
Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by:
Brian Paul <brianp@vmware.com> v3 (Paul Berry <stereotype441@gmail.com>): comment out symbols that are not implemented yet, so that this commit compiles on its own; future commits will uncomment the symbols as they become available.
-
- 29 Nov, 2012 2 commits
-
-
Paul Berry authored
This should help avoid confusion now that we're using the gl_api enum to distinguishing between core and compatibility API's. The corresponding enum value for core API's is API_OPENGL_CORE. Acked-by:
Eric Anholt <eric@anholt.net> Acked-by:
Matt Turner <mattst88@gmail.com> Acked-by:
Kenneth Graunke <kenneth@whitecape.org>
-
Marek Olšák authored
Reviewed-by:
Brian Paul <brianp@vmware.com>
-
- 16 Oct, 2012 1 commit
-
-
Brian Paul authored
The code already has a runtime ES1 test. Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com>
-
- 01 Oct, 2012 1 commit
-
-
Oliver McFadden authored
Signed-off-by:
Oliver McFadden <oliver.mcfadden@linux.intel.com> Reviewed-by:
Brian Paul <brianp@vmware.com>
-
- 26 Sep, 2012 1 commit
-
-
Brian Paul authored
Where the non-ES _mesa_error_check_format_and_type() function lives. Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org>
-
- 15 Sep, 2012 3 commits
-
-
José Fonseca authored
This reverts commit 9f37b405. Fixes windows builds.
-
Oliver McFadden authored
Signed-off-by:
Oliver McFadden <oliver.mcfadden@linux.intel.com> Reviewed-by:
Brian Paul <brianp@vmware.com>
-
Oliver McFadden authored
Signed-off-by:
Oliver McFadden <oliver.mcfadden@linux.intel.com> Reviewed-by:
Brian Paul <brianp@vmware.com>
-
- 24 Aug, 2012 1 commit
-
-
Brian Paul authored
_mesa_generic_compressed_format_to_uncompressed_format() probably wins the prize for longest function name in Mesa. Reviewed-by:
Anuj Phogat <anuj.phogat@gmail.com>
-
- 23 Aug, 2012 1 commit
-
-
Ian Romanick authored
v2: Add proper core-profile filtering. Signed-off-by:
Ian Romanick <ian.d.romanick@intel.com> Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org> Reviewed-by:
Jordan Justen <jordan.l.justen@intel.com>
-
- 07 Aug, 2012 1 commit
-
-
Eric Anholt authored
As we get into supporting GL 3.x core, we come across more and more features of the API that depend on the version number as opposed to just the extension list. This will let us more sanely do version checks than "(VersionMajor == 3 && VersionMinor >= 2) || VersionMajor >= 4". v2: Fix a bad <= 30 check. Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org>
-
- 24 Jul, 2012 3 commits
-
-
Brian Paul authored
Now all the format/type-related helper functions are in glformats.c and image.c is just image-related functions.
-
Brian Paul authored
-
Brian Paul authored
-
- 21 Jul, 2012 1 commit
-
-
Jordan Justen authored
_mesa_is_integer_format is moved to formats.c and renamed as _mesa_is_enum_format_integer. _mesa_is_format_unsigned, _mesa_is_type_integer, _mesa_is_type_unsigned, and _mesa_is_enum_format_or_type_integer are added. Signed-off-by:
Jordan Justen <jordan.l.justen@intel.com> Reviewed-by:
Brian Paul <brianp@vmware.com>
-