2cde1e592e404bd382ee392449673dbb6c67b034 |
|
27-Dec-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
unpack: support unpacking MESA_FORMAT_ARGB2101010 Note: This is a candidate for the stable branches. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> (cherry picked from commit 2ace406b1fa502219d353e5d259d1c4bcd5633a5)
/external/mesa3d/src/mesa/main/format_unpack.c
|
1a814217c336529b6f3133f9491ff5920ecaf346 |
|
10-Jul-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
mesa unpack: call _mesa_problem when unpack function is not available Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/format_unpack.c
|
749c9060aca85277c388377d15fd6323ba20b78e |
|
09-Jun-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
mesa formats: add MESA_FORMAT_ABGR2101010_UINT Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/format_unpack.c
|
1c8812c244d74dd562a3db7c9226405bd6333735 |
|
25-Jun-2012 |
Jordan Justen <jordan.l.justen@intel.com> |
mesa formats: unpack ARGB8888/XRGB8888 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/format_unpack.c
|
31d59c78f01925c199fd3a49a27718b0659bbaf4 |
|
18-May-2012 |
Brian Paul <brianp@vmware.com> |
mesa: fix Z32_FLOAT -> uint conversion functions The IROUND converted all arguments to 0 or 1. That's not what we wanted. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/mesa/main/format_unpack.c
|
0bda900743702a2c0f95024f004e6210e59fd5dd |
|
13-Feb-2012 |
Brian Paul <brianp@vmware.com> |
mesa: use z32f_x24s8 struct in format pack/unpack code And remove needless & 0xff in _mesa_pack_uint_24_8_depth_stencil_row(). As suggested by José. Reviewed-by: Jose Fonseca <jfonseca@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/main/format_unpack.c
|
af1477b088448aeca762f515410c80054cb225b9 |
|
18-Jan-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add unpack_uint_z_row support for floating-point depth buffers This is a hack, and it will result in incorrect rendering. However, it does eliminate spurious warnings in several piglit CopyPixels tests that involve floating-point depth buffers. The real solution is to add a zf field to SWspan to store float Z values. When a float depth buffer is involved, swrast should also populate the zf field. I'll consider this post-8.0 work. NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/format_unpack.c
|
fef395c0c3a011cc23cc638358c116accf35b7a2 |
|
29-Jan-2012 |
Dave Airlie <airlied@redhat.com> |
mesa/format_unpack: add LUMINANCE 8/16 UINT/INT This just copies what the LUMINANCE_ALPHA bits do. Fixes piglit tests on softpipe complaining about missing unpack. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/format_unpack.c
|
de24ccabd6494125e10017e0914b3298ea3791ea |
|
20-Jan-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Add missing format unpack for some integer texture formats. This cut and paste is pretty awful. I'm tempted to do a lot of this using preprocessor tricks for customizing the parameter type from a template function, but that's just a different sort of hideous. Fixes 8 Intel oglconform int-textures cases. NOTE: This is a candidate for the 8.0 branch. v2: Add alpha formats, too. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/format_unpack.c
|
991479ef51a04b7a6828b19571665401883ef916 |
|
10-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: fix > vs. >> typo in EXPAND_3_8() macro Found by Eirik Byrkjeflot Anonsen.
/external/mesa3d/src/mesa/main/format_unpack.c
|
7274538da7118790c0c1cbbffee5e8a8cc4d7462 |
|
09-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: add _mesa_unpack_ubyte_rgba_row() function Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/format_unpack.c
|
301fba54452c01673bb9f105fbc3e68a704ad18a |
|
09-Jan-2012 |
Brian Paul <brianp@vmware.com> |
mesa: rename _mesa_unpack_int_rgba_row() to _mesa_unpack_uint_rgba_row() Since it returns uint values, not int. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/format_unpack.c
|
d61d39922b06c234790d055761407eaf4333ccde |
|
27-Nov-2011 |
Dave Airlie <airlied@redhat.com> |
format_unpack: add 8/16 rgba/rgb types. fixing these makes piglit fbo-integer pass on softpipe. modified to re-order things, haven't addressed Eric's concerns, can't find anything in spec that mentions sign extensions, it does say integers aren't clamped or modified. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/format_unpack.c
|
89da5a14153299adacec7f74047cf7e014b47b70 |
|
16-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add a few comments for the z unpacking functions
/external/mesa3d/src/mesa/main/format_unpack.c
|
fc52534f012837a39c03a764eb611d460210514a |
|
11-Dec-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: fix possible precision issues in pack/unpack/fetch functions GLfloat doesn't have enough precision to exactly represent 0xffffff and 0xffffffff. (and a reciprocal of those, if I am not mistaken) If -ffast-math is enabled, using GLfloat causes assertion failures in: - fbo-blit-d24s8 - fbo-depth-sample-compare - fbo-readpixels-depth-formats - glean/depthStencil For example: fbo-depth-sample-compare: main/format_unpack.c:1769: unpack_float_z_Z24_X8: Assertion `dst[i] <= 1.0F' failed. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/format_unpack.c
|
19b102517234cc28056ce366a159d18eadab043f |
|
02-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add casts to fix unpack_SIGNED_GR1616() We were passing unsigned values to the macro before.
/external/mesa3d/src/mesa/main/format_unpack.c
|
b4aecc4e1861e60e40e14868719219084967e46d |
|
01-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: rename MESA_FORMAT_RG88_REV to MESA_FORMAT_RG88 R is in the high byte, G in the low byte.
/external/mesa3d/src/mesa/main/format_unpack.c
|
0a3c895f341ae458b09dcdc9cbd674600366a925 |
|
01-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: rename MESA_FORMAT_RG88 to MESA_FORMAT_GR88 To better reflect the component ordering and be consistent with other format names.
/external/mesa3d/src/mesa/main/format_unpack.c
|
0be753a14333b1298649da1d889fe1fc7d3e9f43 |
|
01-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix unpacking of RG88_REV texels R should be in the high byte and G in the low byte for this format.
/external/mesa3d/src/mesa/main/format_unpack.c
|
d4a38e86d4b4d66cca20ee63222f940cb73fa709 |
|
28-Nov-2011 |
Chia-I Wu <olv@lunarg.com> |
mesa: add support for GL_OES_compressed_ETC1_RGB8_texture Add support for GL_OES_compressed_ETC1_RGB8_texture to core mesa. There is no driver support yet. Unlike desktop GL compressed texture formats, GLES compressed texture formats usually can only be used with glCompressedTexImage2D. All other gl*Tex*Image* functions are updated to check for that. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/format_unpack.c
|
e10942c8e966f7ea45f6b0d3782bbe38593796ae |
|
01-Dec-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix unpack_ARGB1555_REV() We weren't doing the necessary byte swap. v2: use same arithmetic as unpack_ARGB1555() to be consistent. Reviewed-by: Michel Dänzer <michel@daenzer.net>
/external/mesa3d/src/mesa/main/format_unpack.c
|
25c8a112abf4bbf271c6972f7539ca2a1c7683bd |
|
28-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: access pixels as GLushort in unpack_SL8() Per the format comments and the texstore code, use a GLushort to access the pixel. The code was OK as-is on little endian machines.
/external/mesa3d/src/mesa/main/format_unpack.c
|
858d1f0b1cb9087f7eefcb3b8147e06457505ce0 |
|
23-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix indexing error in unpack_Z32_FLOAT_X24S8() The source array elements are 8-bytes (float + uint) so we need to multiply the src index by 2 to get the right array stride. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/format_unpack.c
|
f449be660e70aac2aefd2ce84581e137de25520b |
|
27-Nov-2011 |
Dave Airlie <airlied@redhat.com> |
mesa/format: add mesa MESA_FORMAT_ARGB2101010_UINT support. This format is used in the ARB_texture_rgb10_a2ui spec. It adds core mesa support, texformat + texstore support, format_unpack and fbobject.c (all patches from list merged + fixed up). also fixes some whitespace issues. Parts were: Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/format_unpack.c
|
d4fcf67a3ac78c29448000486dadc2b4b1b2a56d |
|
22-Nov-2011 |
Chia-I Wu <olv@lunarg.com> |
mesa: add MESA_FORMAT_RGBX8888 and MESA_FORMAT_RGBX8888_REV MESA_FORMAT_RGBX8888_REV is one of the opaque pixel formats used on Android. Thanks to texture-from-pixmap, drivers may actually see texture images with this format on Android. MESA_FORMAT_RGBX8888 is added only for completeness. Reviewed-by: Brian Paul <brianp@vmware.com> [olv: Move the new formats after MESA_FORMAT_ARGB8888_REV in gl_format. I accidentally moved them to the wrong place when preparing the patch.]
/external/mesa3d/src/mesa/main/format_unpack.c
|
ca4e664f21d02235ebcbf387aa529468aded37cf |
|
23-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: fix incorrect error message in format_unpack.c
/external/mesa3d/src/mesa/main/format_unpack.c
|
a7c107f3bc68ddeea8c24eec43c05000224ec93e |
|
22-Nov-2011 |
Marek Olšák <maraeo@gmail.com> |
mesa: re-implement unpacking of DEPTH_COMPONENT32F Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43122 Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Kai Wasserbäch <kai@dev.carbon-project.org>
/external/mesa3d/src/mesa/main/format_unpack.c
|
f258c0dfa8ffbd67819bda45f2903ce8d5bb5130 |
|
16-Nov-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Fix unpack for MESA_FORMAT_INTENSITY_FLOAT16. Fixes failures in i965 on fbo-blending-formats when the format is enabled. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/format_unpack.c
|
d4df6318a1014ad99149fd13d0d90ef6c0c0fb31 |
|
15-Nov-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Fix a couple of missed conversion to arrays in format_unpack. Fixes regression in piglit: ARB_color_buffer_float/GL_RGBA16F-getteximage ARB_color_buffer_float/GL_RGBA16F-readpixels ARB_color_buffer_float/GL_RGBA32F-getteximage ARB_color_buffer_float/GL_RGBA32F-readpixels Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/format_unpack.c
|
caaefe19691a58676a5f8fc5f0a2c06236cd5dc8 |
|
12-Nov-2011 |
Brian Paul <brianp@vmware.com> |
mesa: convert unpack functions to operate on an array of values Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/format_unpack.c
|
e34c9edcda9167c634fe8381bd039f1a65925d0a |
|
04-Nov-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Add support for unpacking 32-bit integer formats to int spans. This is the inverse operation to _mesa_pack_rgba_span_int. The 16-bit code isn't done because of lack of testing and not being sure how sign extension/clamping should be handled between, say, 16-bit int and 32-bit int or uint. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/format_unpack.c
|
b832ac974f2b5a0f07ff9b7bb9338e8d6942eb74 |
|
12-Oct-2011 |
Eric Anholt <eric@anholt.net> |
swrast: Make the packed depth/stencil read fastpath use MapRenderbuffer. This also makes it handle 24/8 vs 8/24, fixing piglit depthstencil-default_fb-readpixels-24_8 on i965. While here, avoid incorrectly fast-pathing if packing->SwapBytes is set. v2: Move the unpack code to format_unpack.c, fix BUFFER_DEPTH typo v3: Fix signed/unsigned comparison. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/format_unpack.c
|
ff27e058bc93338ef0dbe322ab4e588ea4bbec0d |
|
12-Oct-2011 |
Eric Anholt <eric@anholt.net> |
swrast: Directly map the stencil buffer in read_stencil_pixels. This avoids going through the wrapper that has to rewrite the data for packed depth/stencil. This isn't done in _swrast_read_stencil_span because we don't want to map/unmap for each span. v2: Move the unpack code to format_unpack.c. v3: Fix signed/unsigned comparison. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/format_unpack.c
|
789cb3435c6d580929094b7f1a2dff551e9c411c |
|
13-Oct-2011 |
Eric Anholt <eric@anholt.net> |
mesa: Make unpack_uint_z_row return 32 bits of data. Some of the return values were u32, some were 24 bits, and z16 returned 16 bits. The caller would have to do all the work of interpreting the format all over again. However, there are no callers of this function at this point. Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/main/format_unpack.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/format_unpack.c
|
f0f28548c29690fc9e44a2f7b0d1965d9fc564fa |
|
17-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: implement unpack_SIGNED_GR1616 in format_unpack.c
/external/mesa3d/src/mesa/main/format_unpack.c
|
3b29631c335bfc4a09c302cfdb7a993097c75096 |
|
17-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: s/short/ushort/ in unpack_SIGNED_RGBA_16()
/external/mesa3d/src/mesa/main/format_unpack.c
|
730952aa12c257af25af0873e0b284f742fb485e |
|
09-Sep-2011 |
Brian Paul <brianp@vmware.com> |
mesa: add new pixel format unpacking code This will be used instead of the texel fetch code to unpack images in various formats.
/external/mesa3d/src/mesa/main/format_unpack.c
|