History log of /external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c64da9d4997692bd25253dfc19e34d6fa335a58b 17-Oct-2016 Marek Olšák <marek.olsak@amd.com> mesa: remove gl_shader_compiler_options::EmitNoNoise

it's always true

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
fc61b41a956f05d57afcb6af7eb61637b4936fb4 27-Feb-2016 Matt Turner <mattst88@gmail.com> mesa: Remove EmitCondCodes.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Acked-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
2dc2b12ed15abb84c7e2b3c2726dcc1b735abcda 29-Jun-2015 Tapani Pälli <tapani.palli@intel.com> i915: use EmitNoIndirectSampler

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Cc: "10.5" and "10.6" <mesa-stable@lists.freedesktop.org>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
40a08e0d6a57cc79ee72a62aeedec20cae774ed5 07-Aug-2014 Ville Syrjälä <ville.syrjala@linux.intel.com> i915: Use L8A8 instead of I8 to simulate A8 on gen2

Gen2 doesn't support the A8 texture format. Currently the driver
substitutes it with I8, but that results in incorrect RGB values.
Use A8L8 instead. We end up wasting a bit of memory, but at least
we should get the correct results.

v2: Handle the fallback in _mesa_choose_tex_format() and also
do it for all alpha formats that currently accept A8

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=72819
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=80050
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=38873
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
002211f9eea258acc253528024ee104aa1fcd90d 03-Aug-2014 Marek Olšák <marek.olsak@amd.com> mesa: move ShaderCompilerOptions into gl_constants

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
1e0da6233be6e5fb0143615d5e3d3642ddb7964f 25-Feb-2014 Kenneth Graunke <kenneth@whitecape.org> util: Move ralloc to a new src/util directory.

For a long time, we've wanted a place to put utility code which isn't
directly tied to Mesa or Gallium internals. This patch creates a new
src/util directory for exactly that purpose, and builds the contents as
libmesautil.la.

ralloc seemed like a good first candidate. These days, it's directly
used by mesa/main, i965, i915, and r300g, so keeping it in src/glsl
didn't make much sense.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>

v2 (Jason Ekstrand): More realloc uses and some scons fixes

Signed-off-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
c1d4d4999303f9167b20f4e0674b9436e6295cf7 24-Apr-2014 Ville Syrjälä <ville.syrjala@linux.intel.com> i915: Don't advertise Z formats in TextureFormatSupported on gen2

Gen2 doesn't support texturing from Z formats, so state as much.

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
8ba157006fe98bca96b79bea1394b0c33ddf4ad3 26-Feb-2014 Ian Romanick <ian.d.romanick@intel.com> i915: Only allow 8 vertex texture units

There's no reason to have more vertex texture units than fragment
texture units on this hardware. Since increasing the default maximum
number of texture units from 16 to 32, this has triggered some segfault
in i915 driver. There's probably some array or bitfield that isn't
properly sized now. This really papers over the bug, but I don't think
I'll lose any sleep over that.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=74071
Cc: "10.1" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.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_context.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_context.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_context.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_context.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_context.c
84732a982c3eeaca2e2809532c8422dc5f7045c1 08-Jan-2014 Paul Berry <stereotype441@gmail.com> mesa: replace ctx->Const.{Vertex,Fragment,Geomtery}Program with an array.

These are replaced with
ctx->Const.Program[MESA_SHADER_{VERTEX,FRAGMENT,GEOMETRY}]. In
patches to follow, this will allow us to replace a lot of ad-hoc logic
with a variable index into the array.

With the exception of the changes to mtypes.h, this patch was
generated entirely by the command:

find src -type f '(' -iname '*.c' -o -iname '*.cpp' -o -iname '*.py' \
-o -iname '*.y' ')' -print0 | xargs -0 sed -i \
-e 's/Const\.VertexProgram/Const.Program[MESA_SHADER_VERTEX]/g' \
-e 's/Const\.GeometryProgram/Const.Program[MESA_SHADER_GEOMETRY]/g' \
-e 's/Const\.FragmentProgram/Const.Program[MESA_SHADER_FRAGMENT]/g'

Suggested-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
38366c0c6e715314367b15680702e382d5c46a4a 08-Dec-2013 Kristian Høgsberg <krh@bitplanet.net> dri_util: Don't assume __DRIcontext->driverPrivate is a gl_context

The driverPrivate pointer is opaque to the driver and we can't assume
it's a struct gl_context in dri_util.c. Instead provide a helper function
to set the struct gl_context flags from the incoming DRI context flags.

v2 (idr): Modify the other classic drivers to also use
driContextSetFlags. I ran all the piglit GLX_ARB_create_context tests
with i965 and classic swrast without regressions.

Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> [v1]
Reviewed-by: Eric Anholt <eric@anholt.net>
Tested-by: Ilia Mirkin <imirkin@alum.mit.edu> [v1 on Gallium nouveau]
Cc: "10.0" <mesa-stable@lists.freedesktop.org>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
67a2d317353f3917678a4e22228ea52b149a370f 10-Sep-2013 Ian Romanick <ian.d.romanick@intel.com> i915: Set VertexProgram.MaxOutputComponents and FragmentProgram.MaxInputComponents

This was the only remaining place in Mesa that sets MaxVaryings without
also setting these values.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
3c231b863160d82cd6cc85724c53e5bcb4ca03e1 21-Jun-2013 Eric Anholt <eric@anholt.net> i915: Remove a duplicated set of PCI IDs.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
27eedca3e0b9ed47545b8cea8229e3d0a732a103 20-Jun-2013 Eric Anholt <eric@anholt.net> i915: Remove separate stencil code.

This was formerly-shared code for supporting gen5+.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
5e78433eec94fcaa87bdcb2526ec0910a69ed347 02-May-2013 Marek Olšák <maraeo@gmail.com> mesa: move max texture image unit constants to gl_program_constants

Const.MaxTextureImageUnits -> Const.FragmentProgram.MaxTextureImageUnits
Const.MaxVertexTextureImageUnits -> Const.VertexProgram.MaxTextureImageUnits
etc.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
df410863d7c2377cfbabfef907fc318e10c5486e 19-Apr-2013 Eric Anholt <eric@anholt.net> intel: Remove the last spans code!

The remaining bits happen to do nothing that
_swrast_span_render_start()/finish() don't do.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.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_context.c
eb062ab07f0bea3c7ce83274ed64ce9b5197c667 17-Apr-2013 Eric Anholt <eric@anholt.net> i915: Correctly set the OQ counter bits.

While we may provide the extension, we need to tell applications that they
can't actually use it:

An implementation can either set QUERY_COUNTER_BITS_ARB to the
value 0, or to some number greater than or equal to n. If an
implementation returns 0 for QUERY_COUNTER_BITS_ARB, then the
occlusion queries will always return that zero samples passed the
occlusion test, and so an application should not use occlusion
queries on that implementation.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
be4b1664fbc98b0b1d66bb91850ecada52b36b91 18-Jan-2013 Eric Anholt <eric@anholt.net> mesa: Make the drivers call a non-code-generated dispatch table setup.

I want to drive the Save dispatch table setup from this same function.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
a11fe62058ad9d44170be9346111e3f6630a3327 22-Nov-2012 Chad Versace <chad.versace@linux.intel.com> intel: Move validation of context version into intelInitContext

Each driver (i830, i915, i965) used independent but similar code to
validate the requested context version. With the rececnt arrival of GLES3,
that logic has needed an update. Rather than apply identical updates to
each drivers validation code, let's just move the validation into the
shared routine intelInitContext.

This refactor required some incidental changes to functions
i830CreateContext and intelInitContext. For each function, this patch:
- Adds context version parameters to the signature.
- Adds a DRI_CTX_ERROR out param to the signature.
- Sets the DRI_CTX_ERROR at each early return.

Tested against gen6 with piglit egl-create-context-verify-gl-flavor.
Verified that this patch does not change the set of exposed EGL context
flavors.

Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
4bea4cb9fd55cdb267003a6e6e16f7e903e00940 16-Nov-2012 Jordan Justen <jordan.l.justen@intel.com> drivers: compute version and then initialize exec table

This change forces the context version to be computed before
initilizing the exec dispatch tables.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
dbd6135bc1ba285128ab991c03c4df6fbd6fefe8 27-Nov-2012 Paul Berry <stereotype441@gmail.com> mesa: Rename API_OPENGL to API_OPENGL_COMPAT.

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>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
de958de71b1450952e021af4e729c87406353db6 27-Sep-2012 Ian Romanick <ian.d.romanick@intel.com> i915: Don't free the intel_context structure when intelCreateContext fails.

intelDestroyContext will eventually be called, and it will clean things up.

NOTE: This is a candidate for the 9.0 branch.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=53618
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
fe72a069d1fcce943f315907b4744b63158938b1 01-Sep-2012 Brian Paul <brianp@vmware.com> mesa: s/FREE/free/

v2: replace instances in dri/common/ dirs

Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
db273724c9484d513f5caa34729475d2873d9f7b 07-Aug-2012 Ian Romanick <ian.d.romanick@intel.com> i915: Validate API and version in i915CreateContext

v2: Use base-10 for versions like gl_context::Version. Suggested by Ken.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
c6532875493ffe7de9c37924c70ebf6d0472e23d 17-Mar-2012 Yuanhan Liu <yuanhan.liu@linux.intel.com> i915: set SPRITE_POINT_ENABLE bit correctly

When SPRITE_POINT_ENABLE bit is set, the texture coord would be
replaced, and this is only needed when we called something like
glTexEnvi(GL_POINT_SPRITE, GL_COORD_REPLACE, GL_TRUE).

And more, we currently handle varying inputs as texture coord,
we would be careful when setting this bit and set it just when
needed, or you will find the value of varying input is not right
and changed.

Thus we do set SPRITE_POINT_ENABLE bit only when all enabled tex
coord units need do CoordReplace. Or fallback is needed to make
sure the rendering is right.

With handling the bit setup at i915_update_sprite_point_enable(),
we don't need the relative code at i915Enable then.

This patch would _really_ fix the webglc point-size.html test case and
of course, not regress piglit point-sprite and glean-pointSprite
testcase.

NOTE: This is a candidate for stable release branches.

v2: fallback just when all enabled tex coord units need do
CoordReplace (Eric)
v3: move the sprite point validate code at I915InvalidateState (Eric)
v4: sprite point enable bit update based on _NEW_PROGRAM, too
add relative _NEW-state comments to show what state is being used(Eric)

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
8d15268a61fe400668495e6cb42c4d15e8b17cbb 23-Nov-2011 Eric Anholt <eric@anholt.net> i915: Fix complete texturing regression since 27505a105a

I had notes to myself to test gen3 and gen4, and then I tested gen4
and called it good. Turns out I forgot to actually call the new
function on gen3.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
27505a105a4bf8b7329b87d29e1625e545508e4e 16-Nov-2011 Eric Anholt <eric@anholt.net> i915: Move the texture format setup for this driver out of shared code.

The i965 driver is now enabling all of these formats on its own from
the surface format table.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.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_context.c
488fe51cf823ccd137c667f1e92dd86f8323b723 01-Sep-2011 Bryan Cain <bryancain3@gmail.com> mesa: Replace the EmitNoIfs compiler flag with a MaxIfDepth flag.

This is a better, more fine-grained way of lowering if statements. Fixes the
game And Yet It Moves on nv50.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
35d5d5df72a2747262e00e521e650c8974d6c64d 06-May-2011 Eric Anholt <eric@anholt.net> intel: Make our context structure be a ralloc context.

This will let me hang cached compiler structs off of the context
without having to worry about cleaning them up at destroy time.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
d439491a77cf9f25ea7a7f9c2309d2542d87f83e 16-Apr-2011 Ian Romanick <ian.d.romanick@intel.com> i915: Gut all remaining bits of hardware fog

None of this ever gets used. Fog is always calculated by a fragment
program. Even though the fixed-function fog unit is never used, state
updates are still sent to the hardware. Removing those spurious state
updates can't hurt performance.

Reviewed-by: Eric Anholt <eric@anholt.net>
Acked-by: Corbin Simpson <MostAwesomeDude@gmail.com>
Acked-by: Alex Deucher <alexdeucher@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
4c1dc1c4d772b06578567f14419fdd4f27843825 10-Feb-2011 Ian Romanick <ian.d.romanick@intel.com> i915: Force lowering of all types of indirect array accesses in the FS

NOTE: This is a candidate for the 7.9 and 7.10 branches.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
2fb0aebd4a248d2a0725099cd5646253c30c1dc3 20-Jan-2011 Ian Romanick <ian.d.romanick@intel.com> intel: Fix typeos from 3d028024 and 790ff232

...and remove egg from face.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
790ff232e2607a83e6207d06900a5e3de613d161 20-Jan-2011 Ian Romanick <ian.d.romanick@intel.com> i915: Set correct values for range/precision of fragment shader types
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
b6dbc06742af4cbd86869243640c35aa7025766c 25-Nov-2010 Ian Romanick <ian.d.romanick@intel.com> i915: Request that POW instructions be lowered
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.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_context.c
d3491e775fb07f891463b2185d74bbad62f3ed24 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> Rename GLvisual and __GLcontextModes to struct gl_config
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
f831212eabe25ea2603be13d8d40b12477012acc 30-Sep-2010 Nicolas Kaiser <nikai@nikai.net> dri/i915: remove duplicated include

Remove duplicated include.

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
f46523e0bcdfe447b4a9a35fe1561490fa32c3f0 24-Sep-2010 Eric Anholt <eric@anholt.net> i915: Remove a dead if (0) block.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
2b70dbfe091af5ae7c788e16275e1af2cb1c284c 10-Sep-2010 Ian Romanick <ian.d.romanick@intel.com> glsl2: Add EmitNoNoise flag, use it to remove noise opcodes
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
6d3a2c97f4a78e85545286e0e126cd3a27bd1cbd 05-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> glsl: make compiler options per-target

This allows us to specify different options, especially useful for chips
without unified shaders.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
95c08920ea3d040360e5cc51d8a852d21a0329ee 19-Jul-2010 Eric Anholt <eric@anholt.net> i915: Ask the compiler to flatten out all the if statements that it can.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
4b69100bdcf26dbb5be4d600b7ca5f5cdf6e8f20 27-Apr-2010 Kristian Høgsberg <krh@bitplanet.net> dri: Add DRI entrypoints to create a context for a given API
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
298be2b028263b2c343a707662c6fbfa18293cb2 19-Feb-2010 Kristian Høgsberg <krh@bitplanet.net> Replace the _mesa_*printf() wrappers with the plain libc versions
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
f9439e4a4696b8bc5fcdf3ac664f5e8d446f6621 28-Jan-2010 Eric Anholt <eric@anholt.net> intel: Remove long-disabled meta readpixels, and associated meta support.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
9b22427911ad27efc1f36faee9462c6082d0417c 25-Jan-2010 Brian Paul <brianp@vmware.com> Merge branch 'mesa_7_7_branch'

Conflicts:

src/mesa/drivers/dri/intel/intel_screen.c
src/mesa/drivers/dri/intel/intel_swapbuffers.c
src/mesa/drivers/dri/r300/r300_emit.c
src/mesa/drivers/dri/r300/r300_ioctl.c
src/mesa/drivers/dri/r300/r300_tex.c
src/mesa/drivers/dri/r300/r300_texstate.c
329c1b59106cf4ada27eaa4694600dc281d8c0de 23-Jan-2010 Vinson Lee <vlee@vmware.com> i915: Remove unnecessary headers.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
d61f07318c8678901b948fdaa8ccdf37aa3203e9 01-Jan-2010 Kristian Høgsberg <krh@bitplanet.net> Remove leftover __DRI{screen,drawable,context}Private references

As part of the DRI driver interface rewrite I merged __DRIscreenPrivate
and __DRIscreen, and likewise for __DRIdrawablePrivate and
__DRIcontextPrivate. I left typedefs in place though, to avoid renaming
all the *Private use internal to the driver. That was probably a
mistake, and it turns out a one-line find+sed combo can do the mass
rename. Better late than never.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
51e945ec9c0b803f5e998f87449fb02a7c39ae65 10-Dec-2009 Eric Anholt <eric@anholt.net> intel: Attempt to fix up after "Update vertex texture code."

The MaxCombinedTextureImageUnits is the total number of samplers that can
be bound between vertex, geometry, and fragment, not 0. This should report
the correct value on 965 now. Other DRI drivers may also need updating if
their MaxVertexTextureImageUnits != 0 (for example, if using the sw vertex
pipeline).

It's not clear to me if there's going to be a valid value for this
limit other than MaxTextureImageUnits + MaxVertexTextureImageUnits (+
MaxGeometryTextureImageUnits eventually). If not, then we should probably
just move this into the core at Get time.

Bug #25518 (wine regression). Fixes piglit vp-combined-image-units.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
f9f31b25740887373806cb489e5480dc9b261805 01-Oct-2009 Eric Anholt <eric@anholt.net> i915: Add support for varying inputs.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
61b512c47c9888f3ff117faf3aceccfb52d59c3a 30-Jul-2009 Eric Anholt <eric@anholt.net> i915: Update and translate the fragment program along with state updates.

Previously, we were doing it in the midst of the pipeline run, which gave
an opportunity to enable/disable fallbacks, which is certainly the wrong
time to be doing so. This manifested itself in a NULL dereference for PutRow
after transitioning out of a fallback during a run_pipeline in glean glsl1.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
c2ef10803d6c30e13f8f762cc874e3bccc8a2881 28-Aug-2009 Eric Anholt <eric@anholt.net> i915: Fix undefined symbol as of eabe12df44a41e97fb5736959e8864ddbd01be14
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
eabe12df44a41e97fb5736959e8864ddbd01be14 24-Aug-2009 Ian Romanick <ian.d.romanick@intel.com> ARB prog: Change handling of program parameter limits

Several changes are made to program parameter limits. Several of the
non-NATIVE limits are set higher. All of the NATIVE limits are set to
zero in the core Mesa code. Each driver must set the actual value in
its context creation routine. If the NATIVE value remains zero, this
indicates that hardware shaders may not be supported.

Each of the preceeding changes matches the bahavior of Apple's shader
assembler, so it seems safe.

Finally, we limit the value of MaxEnvParams to be no greater than
MaxNativeAttribs. At least one case has been found where an
application does the wrong thing if MaxNativeAttribs < MaxEnvParams.

See also bugzilla #23490.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
de80eeea0eebf00ee678b1a0fbd5fe67b00a8636 04-Aug-2009 Eric Anholt <eric@anholt.net> intel: Add support for EXT_provoking_vertex.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
246729162ccc7e2672aa6cc957053ce3a8975a2c 29-Jul-2009 Eric Anholt <eric@anholt.net> i915: Add support for EXT_stencil_two_side and ATI_separate_stencil.

Passes tests/stencil_twoside and glean/stencil2.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
b9196c1fa39dd566c5d7ab340e353b77714edb5f 01-May-2009 Brian Paul <brianp@vmware.com> Merge branch 'const-buffer-changes'

Conflicts:

src/mesa/drivers/dri/i965/brw_curbe.c
src/mesa/drivers/dri/i965/brw_vs_emit.c
src/mesa/drivers/dri/i965/brw_wm_glsl.c
50853be894aa3edd1e9271f7d625f319209e340f 22-Apr-2009 Roland Scheidegger <sroland@vmware.com> intel: fix max anisotropy supported

i915 actually supports up to 4 (according to header file - not tested),
i965 up to 16 (code already handled this but slightly broken), so don't use 2
for all chips, even though angular dependency is very high.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
a36dd5d54e3de5662c694e764d1c49795ddb6814 22-Apr-2009 Brian Paul <brianp@vmware.com> i915: check the new _NEW_PROGRAM_CONSTANT flag
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
f17ea143cbe214eb4b249b56264a378f839dc3a6 16-Apr-2009 Eric Anholt <eric@anholt.net> i915: Remove dead i830TexEnv and i915TexEnv.

These LOD bias updates are covered by the texture state uploads in
*_texstate.c now.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
60953059ea2319eae4d737831824dbce08ee1725 11-Feb-2009 Eric Anholt <eric@anholt.net> intel: Clean up several 965 memory leaks on context destroy.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
425c803c039735aaaeb70f1613268fd4909862dc 28-Jan-2009 Ian Romanick <idr@freedesktop.org> intel: Fix up some extension string issues

Move the remaining extension string enables to intel_extensions.c.
Make sure that GL_NV_texture_env_combine4 is not enabled on i830.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
8aa209c766b79144db499063dd1c8482562b07bf 28-Jan-2009 Ian Romanick <idr@freedesktop.org> Make GL_ARB_draw_buffers mandatory

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
8fb727548a652c47d8cf9593e2ae412ef2040119 07-Jan-2009 Eric Anholt <eric@anholt.net> mesa: Remove _Active and _UseTexEnvProgram flags from fragment programs.

There was a note in state.c about _Active deserving to die, and there were
potential issues with it due to i965 forgetting to set _UseTexEnvProgram.
Removing both simplifies things.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
0c4346e63258bcaaae6f3045bc44d0e24073dd0e 30-Dec-2008 Xiang, Haihao <haihao.xiang@intel.com> intel: disable ATI_texture_env_combine3 for i830( and related device).

Thanks to Eric for pointing it out.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
4741dbcbbc2514de370a760f4b78a17491014555 02-Oct-2008 Ian Romanick <ian.d.romanick@intel.com> Unify ARB_depth_texture and SGIX_depth_texture

The ARB extension is a superset of the older SGIX extension. Any
hardware that can support the SGIX version can also support the ARB
version. In Mesa, any driver that supports one also supports the
other. This unification just simplifies some bits of code.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.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_context.c
f75843a517bd188639e6866db2a7b04de3524e16 24-Aug-2008 Dave Airlie <airlied@linux.ie> Revert "Revert "Merge branch 'drm-gem'""

This reverts commit 7c81124d7c4a4d1da9f48cbf7e82ab1a3a970a7a.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
7c81124d7c4a4d1da9f48cbf7e82ab1a3a970a7a 24-Aug-2008 Dave Airlie <airlied@linux.ie> Revert "Merge branch 'drm-gem'"

This reverts commit 53675e5c05c0598b7ea206d5c27dbcae786a2c03.

Conflicts:

src/mesa/drivers/dri/i965/brw_wm_surface_state.c
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
1e645b365900cf1c71ca5594bd6b549a1f203040 26-Jul-2008 Ian Romanick <ian.d.romanick@intel.com> Merge branch 'master' into drm-gem

Conflicts:

src/mesa/drivers/dri/common/dri_bufmgr.c
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
29cb89d0c2cb17e2fa38563fc93794a6ebd75cf9 16-Jul-2008 Ian Romanick <ian.d.romanick@intel.com> intel: Clean-up ARB_texture_env_crossbar

Enable support for ARB_texture_env_crossbar in the master extension
list instead of in every single device-specific list.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
f6abe8f0f2fba3073b58b96ed38aae163c765b4a 24-Jun-2008 Eric Anholt <eric@anholt.net> Merge commit 'origin/master' into drm-gem
744357e29c6a51b9e1770e0340eee5105f6b5585 24-Jun-2008 Eric Anholt <eric@anholt.net> intel: Same pixel function init for everyone now.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
bbe80af457316826f56ada767d26e8c1db7f1130 18-Jun-2008 Eric Anholt <eric@anholt.net> i915: Restore the accelerated PBO pixel path functions after GEM changes.

The fencing code is not required, and waiting on the fences defeated one of
the purposes of the extension, which is to allow asynchronous readpixels.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
64adeb163d7da6d75b5664cd2ee3783cadaf63d8 17-Jun-2008 Eric Anholt <eric@anholt.net> [intel] Fix no_rast option on non-965.

The no_rast fallback was getting partially overwritten by later TNL init,
resulting in a segfault when things were in a mixed-up state.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
367b1e35dc1dbeda65709b0ab4f7983d0c7a6cc2 05-May-2008 Keith Packard <keithp@keithp.com> Temporarily disable intel pixel ops on i915 for GEM

Instead of attempting to fix these for GEM, just disable until GEM is
working.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
7381ccab449c65d843580f76426f87ab6b1649ce 25-Feb-2008 Kristian Høgsberg <krh@redhat.com> intel: Add missing include file to silence last couple of warnings.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
dd1d66fc4ab5d7064113a2017a431c3461598b91 23-Feb-2008 Kristian Høgsberg <krh@redhat.com> intel: Merge intel_context.c from i915 and i965.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.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_context.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_context.c
3e45db67294faaf0a06c42bdd6dbdb96f87c8801 27-Mar-2007 Brian <brian@nostromo.localnet.net> Restore the UseTexEnvProgram logic.

Was removed during glsl-compiler work. Still need to go back and revisit this
because of the interaction with fragment shaders...
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
064ae479a770bf434958d673baf6f7530f642697 23-Feb-2007 Brian <brian@yutani.localnet.net> Update DRI drivers for new glsl compiler.

Mostly:
- update #includes
- update STATE_* token code
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
29c471aafc6a3fef23d553e31a555d1782854a77 22-Feb-2007 Brian <brian@yutani.localnet.net> Merge branch 'origin' into glsl-compiler-1

Conflicts:

src/mesa/main/state.c
src/mesa/shader/program.c
src/mesa/shader/program.h
src/mesa/shader/programopt.c
src/mesa/shader/slang/slang_execute.c
src/mesa/sources
src/mesa/swrast/s_arbshader.c
src/mesa/swrast/s_context.c
src/mesa/swrast/s_span.c
src/mesa/swrast/s_zoom.c
src/mesa/tnl/t_context.c
src/mesa/tnl/t_save_api.c
src/mesa/tnl/t_vb_arbprogram.c
src/mesa/tnl/t_vp_build.c
src/mesa/tnl/t_vtx_eval.c
4b4632f94c726c19d3c1efd05ceb5770a430cefd 15-Dec-2006 Brian <brian@yutani.localnet.net> vertex/fragment program field changes
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
48f5deab94be832a782a440f55a7bc742d50a62f 30-Oct-2006 Keith Whitwell <keith@tungstengraphics.com> switch several dri drivers over
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
d40f20aebc6f9995b9fdb70cd5123b0c28d45589 17-Oct-2006 Brian Paul <brian.paul@tungstengraphics.com> Init _UseTexEnvProgram to fix failed assertion in i915_render_start() - this may be temporary
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
d886423b3c0b800656ba5d4c6480bba90f8e5981 10-Oct-2006 Keith Whitwell <keith@tungstengraphics.com> Use the mesa-provided texenv program rather than rolling our own.
Turn on texture crossbar support.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
5b4e7cdca4be195bbce4620f26b8e7f644862b79 02-Sep-2006 Roland Scheidegger <rscheidegger@gmx.ch> fix the presumably broken check for the allow_large_textures and vblank_mode options (same as bug 8042).
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
e2af1da1d3578f23e67ab9e259a9d59fec34f25a 07-Apr-2006 Alan Hourihane <alanh@tungstengraphics.com> Fix some warnings on x86_64
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
e7276b7fa597f7914f7e10a2e50dae36ae50e10b 03-Feb-2006 Roland Scheidegger <rscheidegger@gmx.ch> replace the texture level hack used in radeon/r200 to allow larger textures with different methods to calculate the announced maximum texture sizes. Default is still the same (that is, radeon/r200 default to not announce anything which might not fit, i830/i915 default to 1 texture must fit). Bug #5785.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
05051037101dfa053798cf5ad91d1975fd1aa6a7 01-Nov-2005 Brian Paul <brian.paul@tungstengraphics.com> Re-org and clean-up of vertx/fragment program limits (instructions,
temporaries, parameters, etc).
glGetProgramivARB() now returns all the right things.
Updated i915 and r300 code to initialize program native limits and
current program's native instruction/temporary/etc counts.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.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_context.c
1585c234e0db4bfb7cd85c4111594f6da1582e6f 28-Jul-2005 Ian Romanick <idr@us.ibm.com> Major rip-up of internal function insertion interface. The old
_glapi_add_entrypoint has been replaced by a new routine called
_glapi_add_dispatch. This new routine dynamically assignes dispatch offsets
to functions added. This allows IHVs to add support for extension functions
that do not have assigned dispatch offsets.

It also means that a driver has no idea what offset will be assigned to a
function. The vast majority of the changes in this commit account for that.
An additional table, driDispatchRemapTable, is added. Functions not in the
Linux OpenGL ABI (i.e., anything not in GL 1.2 + ARB_multitexture) has a
fixed offset in this new table. The entry in this table specifies the
offset in of the function in the real dispatch table.

The internal interface was also bumped from version 20050725 to 20050727.

This has been tested with various programs in progs/demos on:

radeon (Radeon Mobility M6)
r128 (Rage 128 Pro)
mga (G400)
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
c212abf99af494f024b0b981a83350f7ac9821ef 30-Jun-2005 Ian Romanick <idr@us.ibm.com> Replace add_newer_entrypoints (src/mesa/main/context.c) with
device-specific code. A new Python script
(src/mesa/glapi/extension_helper.py) generates a list of all
entry-points for all known extensions. Each driver the selects only
the extensions that it needs and enables the via either
driInitExtensions or driInitSingleExtension.

This code has been compile-tested on a drivers, but has only been
run-tested on mga and i915 (on i830 hardware).

These changes were discussed at length on the mesa3d-dev mailing list.

http://marc.theaimsgroup.com/?t=111947074700001&r=1&w=2
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
435eff8b852f59e13554a57f83a48bf8035ec794 09-May-2005 Keith Whitwell <keith@tungstengraphics.com> i915 will use _TexEnvProgram (if active)
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
7e3379b1a0f1837e432323f60885e5c8e38c2699 07-Jan-2005 Ian Romanick <idr@us.ibm.com> Revert some accidental cross-merge changes. Remove i915GetString. Migrate
a couple extensions that appeared in both device-specific card_extensions
strings to the shared one.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.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_context.c
c59270e2b82abe9bcb0af6a1593b81772f6306d3 19-Sep-2004 Ian Romanick <idr@us.ibm.com> Add GL_ARB_texture_cube_map support for i830. Most of the code was
lifted from the i915 side. i830 will now report version 1.3! Hurrah!
With the exception of GL_EXT_texture_compression_s3tc, the i830 driver
now supports all the extensions that its Windows counterpart supports.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
b9bbe780313d584974307389a67ca94ad65de3c0 19-Sep-2004 Ian Romanick <idr@us.ibm.com> Added GL_ARB_point_parameters support for i830.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
be3359bad5930a7aa27237d48aa67e6c7b11975b 19-Sep-2004 Ian Romanick <idr@us.ibm.com> Merge in all the i830 functional differences from the old i830 driver.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
594c3f67ac8fceb061e47b090ec4d149c55a1940 18-Jun-2004 Keith Whitwell <keith@tungstengraphics.com> add missing license texts
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.c
7cbc9663240bf43c5715607c2b1e53a0e04af71c 11-Jun-2004 Alan Hourihane <alanh@tungstengraphics.com> re-enable rect texture
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.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_context.c