History log of /external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2484263fe97cebc9fa7a5c9de04c757dc6cc7713 29-Jul-2015 Anuj Phogat <anuj.phogat@gmail.com> Delete duplicate function is_power_of_two() and use _mesa_is_pow_two()

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
139e6c7c4a9c59be5f4b3f431ac393cc097326ac 07-Apr-2015 Marius Predut <marius.predut@intel.com> i915: replace __FUNCTION__ with __func__

Consistently just use C99's __func__ everywhere.
No functional changes.

Acked-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Marius Predut <marius.predut@intel.com>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
07b94c99a73481d08b285474db22106de1ca89fd 24-Apr-2014 Eric Anholt <eric@anholt.net> i915: Drop use of _ReallyEnabled.

We can just look at _Current's target.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
a487ef87fe4aa8c4b8e5c0d888bfb18727c8e570 08-Feb-2014 Kenneth Graunke <kenneth@whitecape.org> mesa: Fix MESA_FORMAT_Z24_UNORM_S8_UINT vs. X8_UINT mix-up.

In commit eeed49f5f290793870c60b5b635b977a732a1eb4, Mark accidentally
renamed MESA_FORMAT_S8_Z24 to MESA_FORMAT_Z24_UNORM_X8_UINT and
MESA_FORMAT_X8_Z24 to MESA_FORMAT_Z24_UNORM_S8_UINT, reversing their
sense. The commit message was correct, but what sed commands actually
got run didn't match that.

This patch swaps the two enum names, reversing them. This should undo
the damage, but might break things if people have manually fixed a few
instances in the meantime...

Mark's commit also failed to mention renames:
s/MESA_FORMAT_ARGB2101010_UINT\b/MESA_FORMAT_B10G10R10A2_UINT/g
s/MESA_FORMAT_ABGR2101010\b/MESA_FORMAT_R10G10B10A2_UNORM/g
but those seem okay.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
eeed49f5f290793870c60b5b635b977a732a1eb4 27-Jan-2014 Mark Mueller <MarkKMueller@gmail.com> mesa: Change many Type P MESA_FORMATs to meet naming spec

Conversion of Type P formats as follows (w/related comment fixes):
s/MESA_FORMAT_RGB565\b/MESA_FORMAT_B5G6R5_UNORM/g
s/MESA_FORMAT_RGB565_REV\b/MESA_FORMAT_R5G6B5_UNORM/g
s/MESA_FORMAT_ARGB4444\b/MESA_FORMAT_B4G4R4A4_UNORM/g
s/MESA_FORMAT_ARGB4444_REV\b/MESA_FORMAT_A4R4G4B4_UNORM/g
s/MESA_FORMAT_RGBA5551\b/MESA_FORMAT_A1B5G5R5_UNORM/g
s/MESA_FORMAT_XBGR8888_SNORM\b/MESA_FORMAT_R8G8B8X8_SNORM/g
s/MESA_FORMAT_XBGR8888_SRGB\b/MESA_FORMAT_R8G8B8X8_SRGB/g
s/MESA_FORMAT_ARGB1555\b/MESA_FORMAT_B5G5R5A1_UNORM/g
s/MESA_FORMAT_ARGB1555_REV\b/MESA_FORMAT_A1R5G5B5_UNORM/g
s/MESA_FORMAT_AL44\b/MESA_FORMAT_L4A4_UNORM/g
s/MESA_FORMAT_RGB332\b/MESA_FORMAT_B2G3R3_UNORM/g
s/MESA_FORMAT_ARGB2101010\b/MESA_FORMAT_B10G10R10A2_UNORM/g
s/MESA_FORMAT_Z24_S8\b/MESA_FORMAT_S8_UINT_Z24_UNORM/g
s/MESA_FORMAT_S8_Z24\b/MESA_FORMAT_Z24_UNORM_S8_UINT/g
s/MESA_FORMAT_X8_Z24\b/MESA_FORMAT_Z24_UNORM_X8_UINT/g
s/MESA_FORMAT_Z24_X8\b/MESA_FORMAT_X8Z24_UNORM/g
s/MESA_FORMAT_RGB9_E5_FLOAT\b/MESA_FORMAT_R9G9B9E5_FLOAT/g
s/MESA_FORMAT_R11_G11_B10_FLOAT\b/MESA_FORMAT_R11G11B10_FLOAT/g
s/MESA_FORMAT_Z32_FLOAT_X24S8\b/MESA_FORMAT_Z32_FLOAT_S8X24_UINT/g
s/MESA_FORMAT_ABGR2101010_UINT\b/MESA_FORMAT_R10G10B10A2_UINT/g
s/MESA_FORMAT_XRGB4444_UNORM\b/MESA_FORMAT_B4G4R4X4_UNORM/g
s/MESA_FORMAT_XRGB1555_UNORM\b/MESA_FORMAT_B5G5R5X1_UNORM/g
s/MESA_FORMAT_XRGB2101010_UNORM\b/MESA_FORMAT_B10G10R10X2_UNORM/g
s/MESA_FORMAT_AL88\b/MESA_FORMAT_L8A8_UNORM/g
s/MESA_FORMAT_AL88_REV\b/MESA_FORMAT_A8L8_UNORM/g
s/MESA_FORMAT_AL1616\b/MESA_FORMAT_L16A16_UNORM/g
s/MESA_FORMAT_AL1616_REV\b/MESA_FORMAT_A16L16_UNORM/g
s/MESA_FORMAT_RG88\b/MESA_FORMAT_G8R8_UNORM/g
s/MESA_FORMAT_GR88\b/MESA_FORMAT_R8G8_UNORM/g
s/MESA_FORMAT_GR1616\b/MESA_FORMAT_R16G16_UNORM/g
s/MESA_FORMAT_RG1616\b/MESA_FORMAT_G16R16_UNORM/g
s/MESA_FORMAT_SRGBA8\b/MESA_FORMAT_A8B8G8R8_SRGB/g
s/MESA_FORMAT_SARGB8\b/MESA_FORMAT_B8G8R8A8_SRGB/g
s/MESA_FORMAT_SLA8\b/MESA_FORMAT_L8A8_SRGB/g

Conflicts:
src/mesa/drivers/dri/i965/brw_surface_formats.c
src/mesa/main/format_pack.c
src/mesa/main/format_unpack.c
src/mesa/main/formats.c
src/mesa/main/texformat.c
src/mesa/main/texstore.c
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
50a01d2acafb2a937e62b24258e2e777c0cd1489 21-Jan-2014 Mark Mueller <MarkKMueller@gmail.com> mesa: Change many Type A MESA_FORMATs to meet naming standard

Update comments. Conversion of the following Type A formats:
s/MESA_FORMAT_RGB888\b/MESA_FORMAT_BGR_UNORM8/g
s/MESA_FORMAT_BGR888\b/MESA_FORMAT_RGB_UNORM8/g
s/MESA_FORMAT_A8\b/MESA_FORMAT_A_UNORM8/g
s/MESA_FORMAT_A16\b/MESA_FORMAT_A_UNORM16/g
s/MESA_FORMAT_L8\b/MESA_FORMAT_L_UNORM8/g
s/MESA_FORMAT_L16\b/MESA_FORMAT_L_UNORM16/g
s/MESA_FORMAT_I8\b/MESA_FORMAT_I_UNORM8/g
s/MESA_FORMAT_I16\b/MESA_FORMAT_I_UNORM16/g
s/MESA_FORMAT_R8\b/MESA_FORMAT_R_UNORM8/g
s/MESA_FORMAT_R16\b/MESA_FORMAT_R_UNORM16/g
s/MESA_FORMAT_Z16\b/MESA_FORMAT_Z_UNORM16/g
s/MESA_FORMAT_Z32\b/MESA_FORMAT_Z_UNORM32/g
s/MESA_FORMAT_S8\b/MESA_FORMAT_S_UINT8/g
s/MESA_FORMAT_SRGB8\b/MESA_FORMAT_BGR_SRGB8/g
s/MESA_FORMAT_RGBA_16\b/MESA_FORMAT_RGBA_UNORM16/g
s/MESA_FORMAT_SL8\b/MESA_FORMAT_L_SRGB8/g
s/MESA_FORMAT_Z32_FLOAT\b/MESA_FORMAT_Z_FLOAT32/g
s/MESA_FORMAT_XBGR16161616_UNORM\b/MESA_FORMAT_RGBX_UNORM16/g
s/MESA_FORMAT_XBGR16161616_SNORM\b/MESA_FORMAT_RGBX_SNORM16/g
s/MESA_FORMAT_XBGR16161616_FLOAT\b/MESA_FORMAT_RGBX_FLOAT16/g
s/MESA_FORMAT_XBGR16161616_UINT\b/MESA_FORMAT_RGBX_UINT16/g
s/MESA_FORMAT_XBGR16161616_SINT\b/MESA_FORMAT_RGBX_SINT16/g
s/MESA_FORMAT_XBGR32323232_FLOAT\b/MESA_FORMAT_RGBX_FLOAT32/g
s/MESA_FORMAT_XBGR32323232_UINT\b/MESA_FORMAT_RGBX_UINT32/g
s/MESA_FORMAT_XBGR32323232_SINT\b/MESA_FORMAT_RGBX_SINT32/g
s/MESA_FORMAT_XBGR8888_UINT\b/MESA_FORMAT_RGBX_UINT8/g
s/MESA_FORMAT_XBGR8888_SINT\b/MESA_FORMAT_RGBX_SINT8/g
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
ef145ba4ded6aafb28e3bda02fb348e6b8bff12a 20-Jan-2014 Mark Mueller <MarkKMueller@gmail.com> mesa: Rename 4 color component unsigned byte MESA_FORMATs

Change all 4 color component unsigned byte formats to meet spec for P
Type formats:
s/MESA_FORMAT_RGBA8888\b/MESA_FORMAT_A8B8G8R8_UNORM/g
s/MESA_FORMAT_RGBA8888_REV\b/MESA_FORMAT_R8G8B8A8_UNORM/g
s/MESA_FORMAT_ARGB8888\b/MESA_FORMAT_B8G8R8A8_UNORM/g
s/MESA_FORMAT_ARGB8888_REV\b/MESA_FORMAT_A8R8G8B8_UNORM/g
s/MESA_FORMAT_RGBX8888\b/MESA_FORMAT_X8B8G8R8_UNORM/g
s/MESA_FORMAT_RGBX8888_REV\b/MESA_FORMAT_R8G8B8X8_UNORM/g
s/MESA_FORMAT_XRGB8888\b/MESA_FORMAT_B8G8R8X8_UNORM/g
s/MESA_FORMAT_XRGB8888_REV\b/MESA_FORMAT_X8R8G8B8_UNORM/g
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
71fe9437169cfdafda8814aa814bb85429fb6cfc 04-Jan-2014 Mark Mueller <MarkKMueller@gmail.com> mesa: change gl_format to mesa_format

s/\bgl_format\b/mesa_format/g. Use better name for Mesa Formats enum
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
877128505431adaf817dc8069172ebe4a1cdf5d8 17-Jan-2014 José Fonseca <jfonseca@vmware.com> s/Tungsten Graphics/VMware/

Tungsten Graphics Inc. was acquired by VMware Inc. in 2008. Leaving the
old copyright name is creating unnecessary confusion, hence this change.

This was the sed script I used:

$ cat tg2vmw.sed
# Run as:
#
# git reset --hard HEAD && find include scons src -type f -not -name 'sed*' -print0 | xargs -0 sed -i -f tg2vmw.sed
#

# Rename copyrights
s/Tungsten Gra\(ph\|hp\)ics,\? [iI]nc\.\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./g
/Copyright/s/Tungsten Graphics\(,\? [iI]nc\.\)\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./
s/TUNGSTEN GRAPHICS/VMWARE/g

# Rename emails
s/alanh@tungstengraphics.com/alanh@vmware.com/
s/jens@tungstengraphics.com/jowen@vmware.com/g
s/jrfonseca-at-tungstengraphics-dot-com/jfonseca-at-vmware-dot-com/
s/jrfonseca\?@tungstengraphics.com/jfonseca@vmware.com/g
s/keithw\?@tungstengraphics.com/keithw@vmware.com/g
s/michel@tungstengraphics.com/daenzer@vmware.com/g
s/thomas-at-tungstengraphics-dot-com/thellstom-at-vmware-dot-com/
s/zack@tungstengraphics.com/zackr@vmware.com/

# Remove dead links
s@Tungsten Graphics (http://www.tungstengraphics.com)@Tungsten Graphics@g

# C string src/gallium/state_trackers/vega/api_misc.c
s/"Tungsten Graphics, Inc"/"VMware, Inc"/

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
4df1b986d3e44dc035227054000a1d0e1846ef07 18-Apr-2013 Eric Anholt <eric@anholt.net> i915: Add support for GL_EXT_texture_sRGB and GL_EXT_texture_sRGB_decode.

This brings the driver up to GL 2.1.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
60894edeef973e86a73067276f658b72f84271b6 11-Jan-2013 Eric Anholt <eric@anholt.net> intel: Make intel_region's pitch be bytes instead of pixels.

We almost never want a stride in pixels -- if you're doing anything with
a stride, you're specifying an offset or incrementing a pointer, and in
both cases you had to multiply by cpp to get the bytes value you wanted.
But worse, on the way to creating a region from a new tiled BO, we
divided by cpp to get pitch in pixels, and for an RGB32 buffer (an
upcoming change) the pitch wouldn't divide exactly, and we'd end up with
a wrong stride in our region.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
10f214e5b248e5dd5f323c689549cd66d2f6ad22 14-Nov-2012 Vinson Lee <vlee@freedesktop.org> i915: Fix wrong sizeof argument in i915_update_tex_unit.

The bug was found by Coverity.

NOTE: This is a candidate for the stable branches.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
c37efbfe4c415b6fd2d4f968220d7c9b62f11ecf 12-Jun-2012 Pauli Nieminen <pauli.nieminen@linux.intel.com> mesa: Move DepthMode to texture object

GL_DEPTH_TEXTURE_MODE isn't meant to be part of sampler state based on
compatibility profile specifications.

OpenGL specification 4.1 compatibility 20100725 3.9.2:
"... The values accepted in the pname parameter
are TEXTURE_WRAP_S, TEXTURE_WRAP_T, TEXTURE_WRAP_R, TEXTURE_MIN_-
FILTER, TEXTURE_MAG_FILTER, TEXTURE_BORDER_COLOR, TEXTURE_MIN_-
LOD, TEXTURE_MAX_LOD, TEXTURE_LOD_BIAS, TEXTURE_COMPARE_MODE, and
TEXTURE_COMPARE_FUNC. Texture state listed in table 6.25 but not listed here and
in the sampler state in table 6.26 is not part of the sampler state, and remains in the
texture object."

The list of states is in Table 6.24 "Textures (state per texture
object)" instead of 6.25 mentioned in the specification text.

Same can be found from 3.3 compatibility specification.

Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
02ebad900db4ef1ac42cbfb41b433919a4c857a2 05-Jul-2012 Kristian Høgsberg <krh@bitplanet.net> intel: Add offset field to miptree

This lets us specify an offset into the bo where the miptree starts,
which will let us set up a texture for a single plane in a planar buffer.

Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
40c995c1fd7865f1b25765aa783fdadbf948b3dd 29-Feb-2012 Yuanhan Liu <yuanhan.liu@linux.intel.com> i915: fallback for NPOT cubemap texture

Although some hardware support NPOT cubemap, but it seems we don't know
the right layout for NPOT cubemap. Thus seems we need do fallback for
other platforms as well.

See comments inline the code for more detailed info.

v2: give a more detailed info about why we need fallback for other
platfroms as well.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=46666

NOTE: This is a candidate for stable release branches.

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
2e5a1a254ed81b1d3efa6064f48183eefac784d0 07-Oct-2011 Kenneth Graunke <kenneth@whitecape.org> intel: Convert from GLboolean to 'bool' from stdbool.h.

I initially produced the patch using this bash command:
for file in {intel,i915,i965}/*.{c,cpp,h}; do [ ! -h $file ] && sed -i
's/GLboolean/bool/g' $file && sed -i 's/GL_TRUE/true/g' $file && sed -i
's/GL_FALSE/false/g' $file; done

Then I manually added #include <stdbool.h> to fix compilation errors,
and converted a few functions back to GLboolean that were used in core
Mesa's function pointer table to avoid "incompatible pointer" warnings.

Finally, I cleaned up some whitespace issues introduced by the change.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Chad Versace <chad@chad-versace.us>
Acked-by: Paul Berry <stereotype441@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
8004a1cb95b8a195f3f4bbaa8d39d2f3297167de 22-Sep-2011 Eric Anholt <eric@anholt.net> intel: Rename region->buffer to region->bo, and remove accessor function.

We call all the other drm_intel_bo pointers in intel/*.h "bo", so this
one was rather out of place.

Acked-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
9fe197c62611815ebe74248033271ad9fd07ae06 21-Aug-2011 Chia-I Wu <olv@lunarg.com> intel: add support for __DRI_IMAGE_FORMAT_ABGR8888

It maps to MESA_FORMAT_RGBA8888_REV. Surfaces of the format can only be
sampled from but not render to.

Only i915 is tested.

Reviewed-by: Eric Anholt <eric@anholt.net>

[olv: add a check in intel_image_target_renderbuffer_storage]
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
6aae729d6ec3cb2d5677120742c1180e38815482 11-Jul-2011 Eric Anholt <eric@anholt.net> i915: Fix depth texturing since 86e62b2357447b7c97f434be4834f4b50aa0764d

The 965 driver already had the X8_Z24 case, but 915 was missing it.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
9a82d89a8fafde1b65c0843e022e99864b6d56b1 11-Jul-2011 Eric Anholt <eric@anholt.net> i915: Use _mesa_get_format_name to describe translate_tex_format() fail.

I don't want to go count up to what format number 29 is.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
afbe605eff5af3739a76705a04a3c97a53c81b0d 09-Jun-2011 Eric Anholt <eric@anholt.net> i915: Drop dead argument to translate_texture_format().
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
1f32c665c8af0622e2bbf451edb999ffbcd7d0fe 20-Apr-2011 Eric Anholt <eric@anholt.net> intel: Add support for ARB_sampler_objects.

This extension support consists of replacing
"gl_texture_obj->Sampler." with "_mesa_get_samplerobj(ctx, unit)->".
One instance of referencing the texture's base sampler remains in the
initial miptree allocation, where I'm not sure we have a clear
association with any texture unit.

Tested with piglit ARB_sampler_objects/sampler-objects.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
ecfaab88b2577bd0395bc05d75a036126806a9c4 10-Apr-2011 Brian Paul <brianp@vmware.com> mesa: move sampler state into new gl_sampler_object type

gl_texture_object contains an instance of this type for the regular
texture object sampling state. glGenSamplers() generates new instances
of gl_sampler_object which can override that state with glBindSampler().
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
1b18b45d79e065e4e05a1e89e9d756d96258ded5 06-Jan-2011 Eric Anholt <eric@anholt.net> intel: Clarify first_level/last_level vs baselevel/maxlevel by deletion.

This has always been ugly about our texture code -- object base/max
level vs intel object first/last level vs image level vs miptree
first/last level. We now get rid of intelObj->first_level which is
just tObj->BaseLevel, and make intelObj->_MaxLevel clearly based off
of tObj->_MaxLevel instead of duplicating its code (incorrectly, as
image->MaxLog2 only considers width/height and not depth!)
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
f9995b30756140724f41daf963fa06167912be7f 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> Drop GLcontext typedef and use struct gl_context instead
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
34474fa4119378ef9fbb9fb557cc19c0a1ca1f7e 07-Jun-2010 Eric Anholt <eric@anholt.net> intel: Change dri_bo_* to drm_intel_bo* to consistently use new API.

The slightly less mechanical change of converting the emit_reloc calls
will follow.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
b80a728f8a86cbd1efce9611d822ab73b5baeab9 04-Jun-2010 Eric Anholt <eric@anholt.net> i915: Clamp minimum lod to maximum texture level too.

Otherwise, we'd run into minlod > maxlod, and the sampler would give
us the undefined we asked for.

Bug #24846. Fixes OGLC texlod.c.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
362c1bf75eb74de5b4655c481b74f79718ed4a34 17-Mar-2010 Eric Anholt <eric@anholt.net> intel: Replace mt->pitch with mt->region->pitch.

The pitch is not really an inherent part of the miptree, since it's
not part of any of the layout calculations, and it's dictated by the
libdrm-allocated region pitch now.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
a232cc59e3f8ac8462c23b1a83e0ba60b451e681 05-Mar-2010 Eric Anholt <eric@anholt.net> intel: Remove support for the DRI1 TFP extension.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
f6c2d1f94ffa8f87b22ed1ff5c465d0e9aa1489e 05-Jan-2010 Brian Paul <brianp@vmware.com> mesa: make texture BorderColor a union of float/int/uint

When we have integer-valued texture formats, the texture border color
must also store integer and uint values.

With GL 3.0, the new glTexParameterIiv() and glTexParameterIuiv() functions
can set the border color to int or uint values.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
5ac16495a2772886100789f04e1a7d65068e9a40 05-Jan-2010 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_7_branch'

Conflicts:
docs/relnotes.html
src/gallium/drivers/llvmpipe/lp_tex_sample_c.c
src/gallium/drivers/r300/r300_cs.h
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
src/mesa/main/enums.c
b434a816d7a4b298e16a8b51b54e5a2d5ea28da8 30-Dec-2009 Eric Anholt <eric@anholt.net> i915: Use _MaxLevel on principle in texture setup.

It was OK before because we proceed to clamp the value to hardware
limits, but given that other use of MaxLevel has been a trap, let's
avoid it.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
9eb7fc6661a1d46c06cec8584b898e3e690af6fa 22-Dec-2009 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_7_branch'

Conflicts:
src/mesa/main/version.h
src/mesa/state_tracker/st_atom_shader.c
a087eb590d780cb82b49464e05ffc85123adce7e 11-Dec-2009 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_7_branch'

Conflicts:
src/gallium/state_trackers/xorg/xorg_xv.c
src/mesa/drivers/dri/intel/intel_span.c
e624b77eb2d594cde053c73a530836e05227126a 09-Dec-2009 Ian Romanick <ian.d.romanick@intel.com> intel: Remove ARGB internal_format == GL_RGB hacks

Now that XRGB is supported, we don't need to hack around cases of an RGBA
format buffer with an internal format of GL_RGB.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
6785d6741db987469293d737e9b18f94d189b62e 19-Dec-2009 Eric Anholt <eric@anholt.net> i915: Fix GL_TEXTURE_MAX_LEVEL support (piglit levelclamp test).
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
b51e0fafdf6a39df1b0d1208595c92d5fa9ceba6 19-Dec-2009 Eric Anholt <eric@anholt.net> i915: Clean up some unnecessary x/y miptree code.

The base of the texture is always the base of the miptree. If it wasn't,
we'd have issues with this code due to miptrees not walking the same
direction for all LODs.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
ee64347979b4e22976910cb97869887f7de4241c 18-Nov-2009 Eric Anholt <eric@anholt.net> intel: Remove our special color packing macros and just use colormac.h.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
4a253431abf43a0638afb43605b44a8742b72a60 30-Oct-2009 Brian Paul <brianp@vmware.com> intel: update intel_create_renderbuffer(format), add XRGB support

Pass a gl_format to intel_create_renderbuffer() instead of GLenum.
Add cases for MESA_FORMAT_XRGB8888 textures and renderbuffers.
However, we don't yet create any renderbuffers or textures with that
format. It seems the default alpha value is zero instead of one.
Need to investigate that first.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
8a9afe71b8d89a2a967cb37f5b5b00d86de387bc 29-Oct-2009 Eric Anholt <eric@anholt.net> i915: Fix 1D texture mapping in the t coordinate.

Fixes piglit tex1d-2dborder test.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
4b377ae292f75645ef356bd3bfac407230faf73a 29-Oct-2009 Eric Anholt <eric@anholt.net> i915: Correct and make use of the defines for 32-bit depth texture modes.

Previously, S8_Z24 depth textures would always be treated as intensity.
Fixes piglit depth-tex-modes.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
f8f40b53a6a4551630e25bfd7f6e12334bb0f3f8 29-Oct-2009 Eric Anholt <eric@anholt.net> i915: Implement min/max LOD clamping with the hardware.

This gets us expected behavior for clamping between mipmap levels, and
avoids relayout of textures for doing clamping.

Fixes piglit lodclamp-between.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.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
4f9f5a78408dbd86b2f9c25ee8a15581b9122fcc 27-Oct-2009 Eric Anholt <eric@anholt.net> i915: Fix driver for the miptree x/y offset changes.

Bug #24734.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
3c685608664900562919136fbc33ac16060a27c3 22-Oct-2009 Brian Paul <brianp@vmware.com> i915: replace MESA_FORMAT_Z24_S8 with MESA_FORMAT_S8_Z24

And change parameter type.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
e6594a22f298833eeb6881795b24d03d2fd8e898 13-Oct-2009 Brian Paul <brianp@vmware.com> intel: pass zslice to intel_miptree_image_offset()

This lets us get rid of intel_miptree_depth_offsets() and simplify all
of the calling code.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
45e76d2665b38ba3787548310efc59e969124c01 09-Oct-2009 Brian Paul <brianp@vmware.com> mesa: remove a bunch of gl_renderbuffer fields

_ActualFormat is replaced by Format (MESA_FORMAT_x).
ColorEncoding, ComponentType, RedBits, GreenBits, BlueBits, etc. are
all replaced by MESA_FORMAT_x queries.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
3e34a2a2b97e7c93955deedb7c12b73bccd6662d 06-Oct-2009 Brian Paul <brianp@vmware.com> drivers: don't include texformat.h

And remove other unneeded #includes while we're at it.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.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/drivers/dri/i915/i915_texstate.c
165ae5e2fb57bdb64b4cf01271b4effeb811f675 04-Jun-2009 Eric Anholt <eric@anholt.net> i915: Don't rely on fence regs when we don't have to.

We're on the way to telling the kernel about when we need fence regs on our
objects or not, and this will cut the number of places needing them.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
ae69a046505d8c94cd3a59a9376310a904c35b3c 23-Apr-2009 Roland Scheidegger <sroland@vmware.com> i915: fix fix for anisotropic filtering

forgot to commit the changes to actually support 4x aniso filtering...
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
79c55e55f808d77cb0dff7cda826719d5fda3c7d 12-Mar-2009 Brian Paul <brianp@vmware.com> dri: use BorderColor instead of _BorderChan
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
66175aac7609ad314f25fbdff0d3958af310dc24 18-Mar-2009 Eric Anholt <eric@anholt.net> Fix DRI2 accelerated EXT_texture_from_pixmap with GL_RGB format.

This requires upgrading the interface so that the argument to
glXBindTexImageEXT isn't just dropped on the floor. Note that this only
fixes the accelerated path on Intel, as Mesa's texture format support is
missing x8r8g8b8 support (right now, GL_RGB textures get uploaded as a8r8gb8,
but in this case we're not doing the upload so we can't really work around it
that way).

Fixes bugs with compositors trying to use shaders that use alpha channels, on
windows without a valid alpha channel. Bug #19910 and likely others as well.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
cb453244caa15342bf229ee5ae16a78d038b8bdc 17-Dec-2008 Xiang, Haihao <haihao.xiang@intel.com> i915: check WRAP_T instead of WRAP_R for cube map texture.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
c8b505d8260cccf289c947c629471df8f5c81c0d 11-Dec-2008 Xiang, Haihao <haihao.xiang@intel.com> i915: fallback for cube map texture.

The i915 (and related graphics cores) only support TEXCOORDMODE_CLAMP and
TEXCOORDMODE_CUBE when using cube map texture coordinates, so fall back to
software rendering for other modes to avoid potential gpu hang issue. This
fixes scorched3d issue on 945GM(see bug 14539).
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
9aec1288eeae8e87adc9a99f377be536892941b2 09-Oct-2008 Eric Anholt <eric@anholt.net> i915: Accelerate depth textures with border color.

The fallback was introduced to fix bug #16697, but made the test it was
fixing run excessively long.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
ecadb51bbcb972a79f3ed79e65a7986b9396e757 18-Sep-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: added "main/" prefix to includes, remove some -I paths from Makefile.template
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
3628185f566e178a12b493fb89abf52b4b281f99 06-Sep-2008 Eric Anholt <eric@anholt.net> intel: track bufmgr move to libdrm_intel and bufmgr_fake irq emit/wait change.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
0adfd1021035e90995a25ec5f20b736e55075d92 04-Sep-2008 Xiang, Haihao <haihao.xiang@intel.com> intel: Fix depth_stencil texture.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
75e4db18049f3284197c9a8deabd9dd74aa7920e 09-Jul-2008 Xiang, Haihao <haihao.xiang@intel.com> i915: fall back to software rendering when shadow comparison is
enabled for 1D texture. fix #12176
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
9e95fad02e1d8690deba91a8f30d722f039366ff 04-Jun-2008 Xiang, Haihao <haihao.xiang@intel.com> i915: Fix GL_DEPTH_TEXTURE_MODE issue. (bug #16221)
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
d30d9e42b758db452bfdb482b619a5f4c6d01037 31-Mar-2008 Xiang, Haihao <haihao.xiang@intel.com> i915: texture object's lod bias. fix bug #15192
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
d24a5254c2d4062017cad173eca15398cf4115bf 26-Mar-2008 Zou Nan hai <nanhai.zou@intel.com> [i915] don't use 4x4 filter for 1D shadowmap
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
7233eabaf0072b7c50e4f26ec33738b5b89aad20 20-Mar-2008 Zou Nan hai <nanhai.zou@intel.com> [i915] GL_DEPTH_TEXTURE_MODE fix
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
f94d317d7aea8043b179a0ba64308606375500d7 14-Mar-2008 Xiang, Haihao <haihao.xiang@intel.com> intel: fix abort issue with shadowtex demo when use
DEPTH_STENCIL texture. (bug#14952).
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
b422e5ad3716d32f2434ca38819f4a877c7eeeeb 25-Dec-2007 Xiang, Haihao <haihao.xiang@intel.com> i915: apply commit a0a5e8cfc04c14873441b50f7d594ef11806b9a8 from 965.
fix #11925
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
8cf9085bc7b96819d2bec1e749e15af58eefb2f3 24-Sep-2007 Eric Anholt <eric@anholt.net> Move i915tex driver into place as just i915.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
8fba8d2018643444fc17c590f3e8732e1a76c6b8 24-Sep-2007 Eric Anholt <eric@anholt.net> Remove the old i915 driver now that i915tex works without TTM.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
c9e4aa2b303f9056564724ece0e2733a54d9f569 13-Aug-2007 Xiang, Haihao <haihao.xiang@intel.com> i915: satisfy certain alignment restrictions for small
compressed texture
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
8331d9d7aa7cde7126d38d4e1eb5fe8a168077f3 05-Jun-2007 Wang Zhenyu <zhenyu.z.wang@intel.com> Add PCI IDs for the G33, Q33, and Q35 chipsets.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
a74eec5af5397b612d60dd4b0d81666027f19bb0 30-May-2007 Wang Zhenyu <zhenyu.z.wang@intel.com> i915: Add support for 945GME chip
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
3ad9c551b95c6fd8787f6f007bda34df446b53ab 19-May-2007 Roland Scheidegger <sroland@tungstengraphics.com> fix small s3tc mipmaps (#10968)

make sure that always whole blocks are uploaded.
(May still not work correctly if the top mip map is not at least a full block,
that is 4 pixels wide - not sure, but probably doesn't happen in real world)
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
a1a9858ca31e47b1e567b2ba94ffbf01c20231a6 06-Apr-2006 Brian Paul <brian.paul@tungstengraphics.com> update a couple MESA_FORMAT_Zxxx occurances
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
39c492bb14d706ffa8bf04f78048c05de735492b 23-Jan-2006 Alan Hourihane <alanh@tungstengraphics.com> Add Intel 945GM support
Add rotation support
(Tungsten Graphics)
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
a9fc8ba756dd25a07dc19058fe60f65bda82a055 05-Oct-2005 Brian Paul <brian.paul@tungstengraphics.com> In gl_texture_image replace IntFormat with InternalFormat and Format with
_BaseFormat to be consistant with gl_renderbuffer.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
a3dd2ce29e2d7f1003d420b49ec678500645e728 10-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> remove the redundant textureSize field, use tex.size instead, it's always the same value
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
628b18b8cac5e691e7145deb1026e91d3cf03094 31-May-2005 Alan Hourihane <alanh@tungstengraphics.com> Add Intel(R) 945G support (Keith Whitwell, Tungsten Graphics)
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
a2db56b34b7fe0fb58441d293ba56b8ed48141a8 06-Jan-2005 Alan Hourihane <alanh@tungstengraphics.com> Add Intel i915GM support, and these extensions.
* GL_ARB_texture_cube_map
* GL_EXT_blend_equation_separate
* GL_ATI_blend_equation_separate
* GL_ARB_point_parameters
* GL_NV_blend_square
* GL_EXT_cull_vertex
* GL_ARB_depth_texture
* GL_SGIX_depth_texture
* GL_ARB_shadow
* GL_EXT_shadow_funcs
* GL_3DFX_texture_compression_FXT1
(Keith Whitwell, Tungsten Graphics)
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
d09209f5530e8bba78e4e0ec62b2027c588cc8f3 08-Oct-2004 Eric Anholt <anholt@FreeBSD.org> Add Roland Scheidegger's S3TC patch. This patch does not implement the
(patented) S3TC/DXTC algorithms, but adds an option to dlopen a library module
providing functions to do so. Because it uses dlopen, it is only enabled if
USE_EXTERNAL_DXTN_LIB=1 is defined (which is only in linux-dri config, so far).
It adds support for S3TC to several DRI drivers, and adds a DRI config option to
force enabling S3TC even if the software compression/decompression is
unavailable. This may allow people to use apps that require S3TC even though
they don't have a license to implement the patented material themselves, if
those apps use precompressed textures.

Ideally we would get permission from the current holder of the patents to
implement the algorithm in Mesa, at which point the dlopen mess could go away.
Until then, this allows some to run applications they couldn't otherwise, and
hopefully will provide us with more push to get the final step of getting that
permission done.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
c058917343e51610ddc4f1ad32e3f02d7c131129 15-Jul-2004 Dave Airlie <airliedfreedesktop.org> fix up heights for i830/i915 texture compression
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
11a03a18addacb2c893786830331029e7ab79f93 15-Jul-2004 Dave Airlie <airliedfreedesktop.org> enable FXT1 texture compression for ixxx chipsets
commented out Keiths extensions strings
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
594c3f67ac8fceb061e47b090ec4d149c55a1940 18-Jun-2004 Keith Whitwell <keith@tungstengraphics.com> add missing license texts
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c
41b58954e1742493452b91d9ecdb761db5de3bed 10-Jun-2004 Keith Whitwell <keith@tungstengraphics.com> New driver for i915 as well as older i830/i845/i865 chipsets.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_texstate.c