b086d9ced7d3ab07afa008aea0253c75e827f392 |
|
16-Nov-2012 |
Anuj Phogat <anuj.phogat@gmail.com> |
mesa: Fix GL_LUMINANCE handling for textures in glGetTexImage We need to rebase colors (ex: set G=B=0) when getting GL_LUMINANCE textures in following cases: 1. If the luminance texture is actually stored as rgba 2. If getting a luminance texture, but returning rgba 3. If getting an rgba texture, but returning luminance A similar fix was pushed by Brian Paul for uncompressed textures in commit: f5d0ced. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=47220 Observed no regressions in piglit and ogles2conform due to this fix. This patch will cause failures in intel oglconform pxconv-gettex, pxstore-gettex and pxtrans-gettex test cases. The cause of failures is a bug in test cases. Expected luminance value is calculted incorrectly in test cases: L = R+G+B. V2: Set G = 0 when getting a RG texture but returning luminance. Note: This is a candidate for stable branches. Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Ian Romanick <idr@freedesktop.org> (cherry picked from commit 9ab896243cfdee7f6a626aceb26e4cb88bd4da2d)
/external/mesa3d/src/mesa/main/texgetimage.c
|
63396ce4c0fe067f69d1b53d0408627a421c4678 |
|
11-Jun-2012 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Add explicit target checking to Get[Compressed]TexImage(). Previously, they relied on _mesa_max_texture_levels() for texture target error checking. This was somewhat dodgy, as _mesa_max_texture_levels() is called in seven diferent places, not all of which necessarily accept the same list of targets. I copied the list of legal targets from _mesa_max_texture_levels() but removed the proxy targets, as both functions explicitly rejected those targets. This changes the order in which we check errors, which could change whether we return INVALID_VALUE or INVALID_ENUM. However, it shouldn't change the list of accepted targets. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/texgetimage.c
|
7208505d30fe05e828eb7d2450bfd8c2bee289a0 |
|
25-Jun-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
mesa GetTexImage: handle signed/unsigned integer clamping Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texgetimage.c
|
7ef270867cb1f3e19067c93449e48987a32730d3 |
|
25-Jun-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
mesa pack: handle uint and int clamping properly Rename _mesa_pack_rgba_span_int to _mesa_pack_rgba_span_from_uints. Add _mesa_pack_rgba_span_from_ints. These separate routines allow the integer clamping to be handled properly for signed versus unsigned integers. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texgetimage.c
|
8b762ebd72c1bb1a9827a667ad55ba9516505adf |
|
22-Jul-2012 |
Brian Paul <brianp@vmware.com> |
mesa: move some format helper functions to glformats.c
/external/mesa3d/src/mesa/main/texgetimage.c
|
f5d0ced242abc9e4e777bbe374585f44399b75af |
|
09-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: fix GL_LUMINANCE handling in glGetTexImage There are several cases in which we need to explicity "rebase" colors (ex: set G=B=0) when getting GL_LUMINANCE textures: 1. If the luminance texture is actually stored as rgba 2. If getting a luminance texture, but returning rgba 3. If getting an rgba texture, but returning luminance Fixes https://bugs.freedesktop.org/show_bug.cgi?id=46679 Also fixes the new piglit getteximage-luminance test. Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/main/texgetimage.c
|
5beba3d0ba593b661451217a5ffcdf68644cc903 |
|
01-Mar-2012 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_rebase_rgba_float/uint() in glGetTexImage code NOTE: This is a candidate for the 8.0 branch. Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/main/texgetimage.c
|
fcca8f0b7aeedaf22b33223b6148a6b5731ba89c |
|
09-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: fix error handling in get_tex_rgba_compressed()
/external/mesa3d/src/mesa/main/texgetimage.c
|
1a4f398a63f6b7b9258a0a63ba22fb0e95937c54 |
|
09-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_format_matches_format_and_type() in get_tex_memcpy()
/external/mesa3d/src/mesa/main/texgetimage.c
|
07459ba50979a99e12720bd9e41a1aa3b8d24e41 |
|
09-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: push row stride adjustment down into _mesa_decompress_image() There's a mismatch in row strides for compressed textures between what Driver.MapTextureImage() returns and what the software fetch-texel functions use. Move it down a layer. The next step would be to fix this in the fetch-texel functions.
/external/mesa3d/src/mesa/main/texgetimage.c
|
8b3a517673e8a2cbc4d9472c41de9dac5df9feaf |
|
07-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: remove redundant format/type checks in glGetTexImage() The _mesa_error_check_format_and_type() function will catch all those cases now. Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texgetimage.c
|
627b435dfe17698a1c69e9a259838fc6f2e6bd4e |
|
07-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: new _mesa_error_check_format_and_type() function This replaces the _mesa_is_legal_format_and_type() function. According to the spec, some invalid format/type combinations to glDrawPixels, ReadPixels and glTexImage should generate GL_INVALID_ENUM but others should generate GL_INVALID_OPERATION. With the old function we didn't make that distinction and generated GL_INVALID_ENUM errors instead of GL_INVALID_OPERATION. The new function returns one of those errors or GL_NO_ERROR. This will also let us remove some redundant format/type checks in follow-on commit. v2: add more checks for ARB_texture_rgb10_a2ui at the top of _mesa_error_check_format_and_type() per Ian. Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texgetimage.c
|
5665b5cc31da70e833f80e7a17bfa034d2f7ba44 |
|
25-Jan-2012 |
Anuj Phogat <anuj.phogat@gmail.com> |
mesa: set clamp bit in glGetTexImage for GL_UNSIGNED_NORMALIZED Color clamping should be enabled in glGetTexImage if texture dataType is GL_UNSIGNED_NORMALIZED and format is GL_LUMINANCE or GL_LUMINANCE_ALPHA Fixes 2 Intel oglconform test cases: pxconv-gettex and pxtrans-gettex https://bugs.freedesktop.org/show_bug.cgi?id=40864 NOTE: This is a candidate for the 8.0 branch Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texgetimage.c
|
08acd4bd61430beb20a74af23de9f63c8f077467 |
|
21-Jan-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Add support for glGetTexImage on GL_TEXTURE_1D_ARRAY Similarly to how we handle this in texstore, we have to remap height to depth so that we MapTextureImage each image layer individually. Fixes part of Intel oglconform's int-textures advanced.fbo.rtt NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texgetimage.c
|
86ca4f9cb66aa39c196ae5fc37f6a270d9a1156f |
|
24-Jan-2012 |
Eric Anholt <eric@anholt.net> |
mesa: s/GLuint col/GLint col/ to avoid signed/unsigned comparison warnings. Suggested-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texgetimage.c
|
9f1e64d0856129374b00bd97685f22e092d6442d |
|
19-Jan-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Add support for glGetTexImage() from integer textures. This is a step toward fixing Intel oglconform's int-textures advanced.fbo.rtt. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texgetimage.c
|
f1a9a9bcd19dcbb8a0a4bd7299400cb418970f99 |
|
17-Jan-2012 |
Anuj Phogat <anuj.phogat@gmail.com> |
mesa: Add condition in glGetTexImage for zero size textures TestMipMaps() function in src/OGLconform/textureNPOT.c calls glTexImage2D() with width = 0. Texture with zero size skips miptree allocation due to a condition in function _mesa_store_teximage3d(). While calling glGetTexImage() it results in assertion failure in intel_map_texture_image() due to null mt pointer. This patch fixes the issue by detecting the zero size texture early in glGetTexImage and glGetCompressedTexImage functions. In such a case function simply returns doing nothing. Verified that below mentioned bug is fixed by this patch. https://bugs.freedesktop.org/show_bug.cgi?id=42334 NOTE: This is a candidate for stable branches Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texgetimage.c
|
bec2ea8ef4aaf0704d3315561da106cd994b1bc6 |
|
30-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: simplify Driver.GetCompressedTexImage() parameters Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/texgetimage.c
|
fb758aab27268593fa6e186d746e8f72831b214d |
|
24-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: split get_tex_rgba() into compressed/uncompressed versions This just splits one big function into two smaller ones for better readability. Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/main/texgetimage.c
|
5e6a6e49e99201abc2d6196001b457296b57427d |
|
24-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix comments in getteximage_error_check()
/external/mesa3d/src/mesa/main/texgetimage.c
|
26195c8417e710e919352ec6b4dfff83fdc178e2 |
|
24-Dec-2011 |
Jian Zhao <jian.j.zhao@intel.com> |
mesa: move the format and type check before select_tex_image() Move the format and type check before select_tex_image, or it will fail to report the mismatch error if the teximage is null. Reported-by: Anuj Phogat <anuj.phogat@gmail.com> Signed-off-by: Jian Zhao <jian.j.zhao@intel.com> Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texgetimage.c
|
606d3a3c3de94665e47df47b48596293d588a420 |
|
13-Dec-2011 |
Jian Zhao <jian.j.zhao@intel.com> |
Add mismatch check for glGetTexImage or it will return -1 and may lead to segment fault. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texgetimage.c
|
e9840852998f8d66b31c3653c1010b6df2ed4c76 |
|
26-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: handle MapTextureImage() failures in glGetTexImage code Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/texgetimage.c
|
2efa3d4f9fd1e1683c5366d402d8740ecfb688e5 |
|
19-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: define, use _mesa_is_cube_face() in several places Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/texgetimage.c
|
ac0ec07e6c8bad958f583aae192fe5a80a63da7b |
|
19-Oct-2011 |
nobled <nobled@dreamwidth.org> |
texgetimage: add missing return on error Missed this back in the arb_robustness branch <6b329b9274b18c50f4177eef7ee087d50ebc1525>. NOTE: This is a candidate for the 7.11 branch. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/texgetimage.c
|
b4d988bc9f36fddbe0cc92ea6e267d307f6d1112 |
|
27-Oct-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Don't do [0, 1] clamping on glGetTexImage() of packed float formats. From the GL_EXT_packed_float spec: For an RGBA color, if <type> is not one of FLOAT, UNSIGNED_INT_5_9_9_9_REV_EXT, or UNSIGNED_INT_10F_11F_11F_REV_EXT, or if the CLAMP_READ_COLOR_ARB is TRUE, or CLAMP_READ_COLOR_ARB is FIXED_ONLY_ARB and the selected color (or texture) buffer is a fixed-point buffer, each component is first clamped to [0,1]. Then the appropriate conversion formula from table 4.7 is applied the component." (but we previously resolved that the CLAMP_READ_COLOR bit is not relevant to glGetTexImage()) This fixes most of the cases in piglit GL_EXT_packed_float/pack. Reviewed-by: Marek Ol ák <maraeo@gmail.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/texgetimage.c
|
403cf7c56fc6decb7636114dc1dadb7adf99a7a4 |
|
16-Oct-2011 |
Yuanhan Liu <yuanhan.liu@linux.intel.com> |
mesa: fix inverted pbo test error at _mesa_GetnCompressedTexImageARB It seems like a typo. Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texgetimage.c
|
9520f483b8f1e45fa474674b415554988de5d8d3 |
|
01-Oct-2011 |
Brian Paul <brianp@vmware.com> |
mesa: s/INLINE/inline/ INLINE is still seen in some files (some generated files, etc) but this is a good start. Acked-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/texgetimage.c
|
4368a657670f1f3f13d8497f749cb5439f91529e |
|
30-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: simplify parameters to GetTexImage() driver hook The target, level and texObj can be obtained through the texImage parameter. We could make similar changes for the TexImage() hooks too. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/texgetimage.c
|
ce62473408f884c876ee535f5f48cfe70dacb1ef |
|
01-Aug-2011 |
Brian Paul <brianp@vmware.com> |
mesa: Finally, convert RGBA glGetTexImage() to using MapTextureImage(). v2: Changes by Brian to MapTexImage in the decompression path. v3: Changes by anholt to fix srcRowStride for decompression of NPOT. Tested-by: Brian Paul <brianp@vmware.com> (v2)
/external/mesa3d/src/mesa/main/texgetimage.c
|
429b45e7c0001c0979e0d0fd20c3821c166da4a9 |
|
01-Aug-2011 |
Brian Paul <brianp@vmware.com> |
mesa: Convert depth glGetTexImage() to using MapTextureImage(). Tested-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texgetimage.c
|
59348722b7a2a9ec689af0613fa8435f78a90cc4 |
|
01-Aug-2011 |
Brian Paul <brianp@vmware.com> |
mesa: Convert depth/stencil glGetTexImage() to using MapTextureImage(). Note that the implementation before and after appears to be broken in its handling of Z24_S8 vs S8_Z24. Tested-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texgetimage.c
|
0c513a9c1b5125ba647c17f330635ded46d4d174 |
|
01-Aug-2011 |
Brian Paul <brianp@vmware.com> |
mesa: Switch ycbcr glGetTexImage() to using MapTextureImage(). Tested-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texgetimage.c
|
440dfb45834e18ebd9acfc37aa31797d8803e51b |
|
01-Aug-2011 |
Brian Paul <brianp@vmware.com> |
mesa: Switch memcpy fast-path of glGetTexImage() to using MapTextureImage(). Tested-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texgetimage.c
|
177110ae3261e6ba91a40ed1c495a865edbe9394 |
|
01-Aug-2011 |
Brian Paul <brianp@vmware.com> |
mesa: Update comments/assertions about buffer mapping for glGetTexImage(). This code is about to stop needing ->Data and using MapTextureImage(). Tested-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texgetimage.c
|
8df7ca71125ee0ad74260378ff7e185dcf66f3bc |
|
30-Jul-2011 |
Brian Paul <brianp@vmware.com> |
mesa: Convert GetCompressedTexImage to using MapTextureImage(). This changes drivers to not map the texture on their own before calling _mesa_get_compressed_teximage(). Tested-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texgetimage.c
|
ce64b6d612dc167c4b8c00594d87517d6ed0e5fa |
|
09-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: remove unneeded #include of texfetch.h
/external/mesa3d/src/mesa/main/texgetimage.c
|
c6ca3ca5520289572859a4a874f69366f76ad421 |
|
09-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_unpack_float_z_row in get_tex_depth() Removes another use of the gl_texture_image::FetchTexelf() function.
/external/mesa3d/src/mesa/main/texgetimage.c
|
c1b3faefc06ef6dfc9b0eb226f0a0af4dd6c6c9d |
|
09-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: handle compressed images in get_tex_rgba() Uses the new _mesa_decompress_image() function. Unlike the meta path that uses textured quad rendering to do decompression, this works with signed formats as well.
/external/mesa3d/src/mesa/main/texgetimage.c
|
0b6dd750584c8e03aa14968d6efdf393e7c8c8f0 |
|
29-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove all mention of GL_COLOR_INDEX*_EXT These enums were only valid with the paletted texture extensions. This allows a couple other trivial clean-ups. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/texgetimage.c
|
eba527bf9ffc2fd67c44fb77104107556f509b49 |
|
29-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove API facing bits of EXT_paletted_texture and EXT_shared_texture_palette This was also discussed at XDS 2010. However, actually making the change was delayed because several drivers still exposed these extensions to significant benefit (e.g., tdfx). Now that those drivers have been removed, this code can be removed as well. v2: A lot of bits that were missed in the previous patch have been removed. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/texgetimage.c
|
28249bd260f4c52badf3eb61ade2744604b21bca |
|
22-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Eliminate dd_function_table::MapBuffer Replace all calls to dd_function_table::MapBuffer with appropriate calls to dd_function_table::MapBufferRange, then remove all the cruft. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/texgetimage.c
|
12d924c5ae14a1c6a05a3dcae29b77e7668e227d |
|
22-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove target parameter from dd_function_table::MapBuffer No driver used that parameter, and most drivers ended up with a bunch of unused-parameter warnings because it was there. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/texgetimage.c
|
56f0c00f125ee75caeadc1c9e8cab8a488635e5e |
|
22-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove target parameter from dd_function_table::UnmapBuffer No driver used that parameter, and most drivers ended up with a bunch of unused-parameter warnings because it was there. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/texgetimage.c
|
e6e1864f1c6c9be46b255e390d67de10f8f39509 |
|
13-Jun-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move invariant code out of loop in get_tex_rgba()
/external/mesa3d/src/mesa/main/texgetimage.c
|
d3b6e8a2b8e3581e07a6dd7277d4d4c6c0407760 |
|
22-May-2011 |
Mike Kaplinskiy <mike.kaplinskiy@gmail.com> |
mesa: fix glGetTexImage for cases when srgb decode is skipped See http://bugs.freedesktop.org/show_bug.cgi?id=37150 Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texgetimage.c
|
be0a2f62f3a5bc6f05c3c7c6b674f2688aee031d |
|
14-Apr-2011 |
Roland Scheidegger <sroland@vmware.com> |
mesa: handle some srgb cases in the fast path in _mesa_get_teximage Previously, always did unorm8->float/nonlinear-to-linear conversion (using lookup table), then convert back to nonlinear (using the expensive math func pow among others), and finally convert back to int (assuming caller wants unorm8), because the float texture fetch function is used for getting the actual texel values. This should probably all be changed at some point, but for now simply enable the memcpy path also for srgb formats (but if for instance swizzling is required, still the whole conversion will be done).
/external/mesa3d/src/mesa/main/texgetimage.c
|
6b329b9274b18c50f4177eef7ee087d50ebc1525 |
|
26-Apr-2011 |
Brian Paul <brianp@vmware.com> |
Squashed commit of the following: commit 864fe253b04105b7469e5f7b064dc37637b944f8 Author: Brian Paul <brianp@vmware.com> Date: Thu Apr 21 20:13:07 2011 -0600 mesa: s/exec/disp/ in _mesa_init_histogram_dispatch() This function isn't normally compiled (FEATURE_histogram). commit f4bf45e2b94b582cacd19cdca873c5be627e4250 Author: nobled <nobled@dreamwidth.org> Date: Thu Apr 21 07:53:58 2011 -0600 mesa: hook up GL_ARB_robustness dispatch functions ...and advertise the extension. Signed-off-by: Brian Paul <brianp@vmware.com> commit 2b89e38e5f572dc40cebc06381ae7c5d04386998 Author: nobled <nobled@dreamwidth.org> Date: Thu Apr 21 07:53:58 2011 -0600 mesa: regenerated API files for GL_ARB_robustness Signed-off-by: Brian Paul <brianp@vmware.com> commit 5d5ebfb7135cec9d833adef86cbf4d0f3d9beca8 Author: nobled <nobled@dreamwidth.org> Date: Thu Apr 21 07:53:57 2011 -0600 glapi: add ARB_robustness xml Signed-off-by: Brian Paul <brianp@vmware.com> commit 0159d1d6d99f4bbc18381dc2081c20d3aff17ac9 Author: nobled <nobled@dreamwidth.org> Date: Thu Apr 21 07:53:57 2011 -0600 mesa: implement GL_ARB_robustness functions Signed-off-by: Brian Paul <brianp@vmware.com> commit 938fd71f4c4742f274922d53492a7290ab8d9c9b Author: nobled <nobled@dreamwidth.org> Date: Thu Apr 21 07:53:57 2011 -0600 mesa: add context fields for GL_ARB_robustness Signed-off-by: Brian Paul <brianp@vmware.com> commit 72075137bc79e65be03dac7e97b6dba93c3a86a4 Author: nobled <nobled@dreamwidth.org> Date: Thu Apr 21 07:53:57 2011 -0600 mesa: standardize more bounds-checking error messages Signed-off-by: Brian Paul <brianp@vmware.com> commit 32a3fc23746db49da903fbc08afa0135af3007d2 Author: nobled <nobled@dreamwidth.org> Date: Thu Apr 21 07:53:57 2011 -0600 mesa: standardize some bounds-checking error messages Signed-off-by: Brian Paul <brianp@vmware.com> commit cecbf1f4d164207de373dec0cadee2e84e1f9656 Author: nobled <nobled@dreamwidth.org> Date: Thu Apr 21 07:53:57 2011 -0600 mesa: add more bounds-checking support for client memory buffers Signed-off-by: Brian Paul <brianp@vmware.com> commit edc895b52383d5bd274422db56adead1d81daf5f Author: nobled <nobled@dreamwidth.org> Date: Thu Apr 21 07:53:57 2011 -0600 mesa: add bounds-checking support for client memory buffers Signed-off-by: Brian Paul <brianp@vmware.com> commit 3a96ef28a538f158a219b406cd090dee70470c85 Author: nobled <nobled@dreamwidth.org> Date: Thu Apr 21 07:53:57 2011 -0600 mesa: use is_bufferobj() helper function Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/texgetimage.c
|
72e82418ef035dd4fb502e7f0a7e2e869ce8a444 |
|
30-Mar-2011 |
Michel Dänzer <daenzer@vmware.com> |
Use row stride instead of width when getting colour index texels. Untested, noticed while working on the depth/stencil fix.
/external/mesa3d/src/mesa/main/texgetimage.c
|
b082e04619224b0affc46fb6953c0efd5685fc17 |
|
30-Mar-2011 |
Michel Dänzer <daenzer@vmware.com> |
Use proper source row stride when getting depth/stencil texels.
/external/mesa3d/src/mesa/main/texgetimage.c
|
b70610b9823fc7dc3672735c11be1a75fbb1a2a4 |
|
01-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: move PBO-related functions into a new file
/external/mesa3d/src/mesa/main/texgetimage.c
|
aaceca16dfc57375cdb837b82b3d123e42710c65 |
|
16-Feb-2011 |
Brian Paul <brianp@vmware.com> |
mesa: 80-column wrap
/external/mesa3d/src/mesa/main/texgetimage.c
|
db61b9ce39bccc43140357652ceb78baaf2aea44 |
|
07-Jan-2011 |
Vinson Lee <vlee@vmware.com> |
mesa: Directly include mfeatures.h in files that perform feature tests.
/external/mesa3d/src/mesa/main/texgetimage.c
|
0117da40cd7edd3d165bb28569c289b37eca12b9 |
|
06-Jan-2011 |
Vinson Lee <vlee@vmware.com> |
mesa: Include mtypes.h in files that use gl_context struct. Directly include mtypes.h if a file uses a gl_context struct. This allows future removal of headers that are not strictly necessary but indirectly include mtypes.h for a file.
/external/mesa3d/src/mesa/main/texgetimage.c
|
bb5ace68ce9e8bd171a39162ed6bd93632bd6619 |
|
22-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement new texture format L16
/external/mesa3d/src/mesa/main/texgetimage.c
|
eb31837a0d4fa4fe115bb288ddb37cbedea954ae |
|
22-Dec-2010 |
Marek Olšák <maraeo@gmail.com> |
mesa: implement new texture format A16
/external/mesa3d/src/mesa/main/texgetimage.c
|
896a08bde6de96bbd737d70386dd3cea270be4c4 |
|
02-Dec-2010 |
Brian Paul <brianp@vmware.com> |
mesa: replace large/MAX_WIDTH stack allocations with heap allocations
/external/mesa3d/src/mesa/main/texgetimage.c
|
1c131752c3e07ef91f49d4970dafca6d26585334 |
|
23-Oct-2010 |
Brian Paul <brianp@vmware.com> |
mesa: split up the image.c file New files: pack.c - image/row packing/unpacking functions pixeltransfer.c - pixel scale/bias/lookup functions
/external/mesa3d/src/mesa/main/texgetimage.c
|
f9995b30756140724f41daf963fa06167912be7f |
|
12-Oct-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Drop GLcontext typedef and use struct gl_context instead
/external/mesa3d/src/mesa/main/texgetimage.c
|
fef303bc94f2fb15a068563ac8abfb1765bde035 |
|
05-May-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Remove _mesa_pow(), which is always just pow().
/external/mesa3d/src/mesa/main/texgetimage.c
|
c7ac486261ad30ef654f6d0b1608da4e8483cd40 |
|
19-Feb-2010 |
Kenneth Graunke <kenneth@whitecape.org> |
Remove _mesa_memcpy in favor of plain memcpy. This may break the SUNOS4 build, but it's no longer relevant.
/external/mesa3d/src/mesa/main/texgetimage.c
|
b30898f4ab533085d97a33638ad0a1cf9ddb1d67 |
|
14-Feb-2010 |
Karl Schultz <karl.w.schultz@gmail.com> |
mesa: Fix compiler warnings Add explicit casts, fix constant types, fix variable types. Fixes about 340 warnings in MSFT Visual Studio.
/external/mesa3d/src/mesa/main/texgetimage.c
|
cd8614b0287dc5a69725ec4ee0208fad61f7789e |
|
22-Jan-2010 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_7_branch' Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c src/gallium/auxiliary/pipebuffer/Makefile src/gallium/auxiliary/pipebuffer/SConscript src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/tgsi/tgsi_scan.c src/gallium/drivers/i915/i915_surface.c src/gallium/drivers/i915/i915_texture.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/softpipe/sp_prim_vbuf.c src/gallium/state_trackers/xorg/xorg_dri2.c src/gallium/winsys/drm/intel/gem/intel_drm_api.c src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c src/gallium/winsys/drm/radeon/core/radeon_drm.c src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c src/mesa/state_tracker/st_cb_clear.c
|
39824945fa738666b4bb804382904b0537322878 |
|
18-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary headers from texgetimage.c.
/external/mesa3d/src/mesa/main/texgetimage.c
|
562c127693200822f04a145db50add1be2425d7b |
|
12-Jan-2010 |
Chia-I Wu <olvaffe@gmail.com> |
Merge branch 'master' into opengl-es-v2 Conflicts: src/mesa/main/dd.h
|
25024d948298a9f3f3210a0b91486f79a3917b0f |
|
31-Dec-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_7_branch' 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
|
62a0d4ef7fdf4788de84e6645f6f329482033c42 |
|
29-Dec-2009 |
Vinson Lee <vlee@vmware.com> |
mesa: Initialize variable in get_tex_color_index.
/external/mesa3d/src/mesa/main/texgetimage.c
|
53d9b7d361915d6cf33b73017789e746342cc453 |
|
24-Nov-2009 |
Michal Krol <michal@vmware.com> |
mesa: Fix pointer arithmetic.
/external/mesa3d/src/mesa/main/texgetimage.c
|
c367f4d46ee70c1d5879031235824e59e13f6677 |
|
21-Nov-2009 |
Roland Scheidegger <sroland@vmware.com> |
mesa: handle different RowStride in _mesa_get_compressed_teximage drivers storing compressed textures with non-native stride but relying on _mesa_get_compressed_teximage for GetCompressedTexImage otherwise won't work correctly (for instance i965 compressed mipmaps).
/external/mesa3d/src/mesa/main/texgetimage.c
|
7fb41df2cbae4cf35d0f73c2261a9409a1367903 |
|
30-Oct-2009 |
Chia-I Wu <olvaffe@gmail.com> |
mesa/main: linear_to_nonlinear is not always available. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/mesa/main/texgetimage.c
|
1afe60e802e22318a7a10a8ab2fa4f8222f98e31 |
|
31-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_get_current_tex_object()
/external/mesa3d/src/mesa/main/texgetimage.c
|
730a3de9f9774710ad5bbea2f32dc3af3c764732 |
|
30-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: fix inverted buffer object test Fixes bug 24799.
/external/mesa3d/src/mesa/main/texgetimage.c
|
fcbf66364032743abeb41a82a5ceaf68a15d900f |
|
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: lift memcpy_get_tex_image() code from intel driver into core Mesa The code should work for any driver.
/external/mesa3d/src/mesa/main/texgetimage.c
|
bde7874317bfbab284397bc611fc71263cbc0975 |
|
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: refactor _mesa_get_teximage() code Break different formats into different functions to make it easier to read.
/external/mesa3d/src/mesa/main/texgetimage.c
|
2b628d43c0a2f9a14ea1e87dbdcac512fca7198a |
|
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: consolidate some code in _mesa_GetCompressedTexImageARB()
/external/mesa3d/src/mesa/main/texgetimage.c
|
01ee5c63d3a8334f20e3fcaf6d19ba00bddf8268 |
|
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move pixels==NULL check in glGetTexImage()
/external/mesa3d/src/mesa/main/texgetimage.c
|
99bbf4b4f55b3b0038cbaadefb92ea4a73af6e0a |
|
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: consolidate some code in _mesa_GetTexImage()
/external/mesa3d/src/mesa/main/texgetimage.c
|
cf7040594e7987c021903f022784e2c6dae2db36 |
|
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove unneedded is_srgb_teximage() function Use _mesa_get_format_color_encoding() function instead.
/external/mesa3d/src/mesa/main/texgetimage.c
|
1f196b786d6bd0c6a5dbdc638574ff716cc3d4de |
|
29-Oct-2009 |
Brian Paul <brianp@vmware.com> |
Merge branch 'texformat-rework' 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
|
d6ee86c77a8e1543557fd64c1f1c354baa0a8ad8 |
|
25-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove _mesa_compressed_texture_size() Use _mesa_format_image_size() instead.
/external/mesa3d/src/mesa/main/texgetimage.c
|
81a4d34f07d95e6a4bf6ab105efbee4fed116e55 |
|
23-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: rework error checking code for glGetCompressedTexImage() Do all error checking in new getcompressedteximage_error_check() func. Move some additional PBO checks out of the driver fallbacks into the error checking functions.
/external/mesa3d/src/mesa/main/texgetimage.c
|
90cd968300b8490f6efd75ef751fd3b6554f16d3 |
|
06-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: don't include texformat.h
/external/mesa3d/src/mesa/main/texgetimage.c
|
8c92a531fb7e0d2de2a06610b2dff98eeb19c985 |
|
02-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: reformatting
/external/mesa3d/src/mesa/main/texgetimage.c
|
b6bdafdf2cf1110b4a5ca7cf9e1c3dcb124b800f |
|
02-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: remove gl_texture_image::IsCompressed field Use _mesa_is_format_compressed() instead.
/external/mesa3d/src/mesa/main/texgetimage.c
|
1f7c914ad0beea8a29c1a171c7cd1a12f2efe0fa |
|
01-Oct-2009 |
Brian Paul <brianp@vmware.com> |
mesa: replace gl_texture_format with gl_format 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.
/external/mesa3d/src/mesa/main/texgetimage.c
|
5cf5d4be21bdac203dc244e9b773a852ddb1baf1 |
|
28-Sep-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use more format helper functions
/external/mesa3d/src/mesa/main/texgetimage.c
|
423a53f635f82233e9a570bfc132edc51f7548bb |
|
13-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: if maxLevels==0, target is invalid
/external/mesa3d/src/mesa/main/texgetimage.c
|
6aa7a03d856f4cfdbed493c976387b2164a0c922 |
|
13-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_get_current_tex_unit() in more places
/external/mesa3d/src/mesa/main/texgetimage.c
|
ba2a55ccd61d9fa5565640faefb64fd6fb0e70ab |
|
13-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move _mesa_Get[Compressed]TexImage() to texgetimage.c All the glGetTexImage code is in one file now.
/external/mesa3d/src/mesa/main/texgetimage.c
|
434ec3ada841915a00ffc23f699401eb3e7b37ee |
|
12-Aug-2009 |
Brian Paul <brianp@vmware.com> |
mesa: use _mesa_is_bufferobj()
/external/mesa3d/src/mesa/main/texgetimage.c
|
f62f976e3ff9ff83d760e706c615e098d131e103 |
|
27-Nov-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Avoid void pointer arithmetic.
/external/mesa3d/src/mesa/main/texgetimage.c
|
053d8eb8914cae274ccd19abb0a492e7ca220660 |
|
15-Jun-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Use appropriate float/integer types.
/external/mesa3d/src/mesa/main/texgetimage.c
|
6214c7262fe2d31553a4974022e08a7715693014 |
|
15-Jun-2009 |
José Fonseca <jfonseca@vmware.com> |
mesa: Use type modifier for float constants.
/external/mesa3d/src/mesa/main/texgetimage.c
|
a4bec69e7271eda0137874973aa8c7d44175fedf |
|
04-Apr-2009 |
Brian Paul <brianp@vmware.com> |
mesa: move glGetTexImage(), glGetCompresssedTexImage() code into new file
/external/mesa3d/src/mesa/main/texgetimage.c
|