History log of /external/mesa3d/src/mesa/drivers/dri/i915/i915_context.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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.h
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.h
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.h
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.h
499f7c0114cca195c9569c202ae099ef0277b010 16-Apr-2011 Ian Romanick <ian.d.romanick@intel.com> i915: i915_context::vertex_fog is always I915_FOG_NONE, so kill it

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.h
2c6793fb6bc89df16c23f727bcb072a157ab8d10 25-Nov-2010 Chris Wilson <chris@chris-wilson.co.uk> i915: Emit a single relocation per vbo

Reducing the number of relocations has lots of nice knock-on effects,
not least including reducing batch buffer size, auxilliary array sizes
(vmalloced and copied into the kernel), processing of uncached
relocations etc.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.h
7c97e288fb6a105ea60c377aef4472cc33ca01bc 26-Nov-2010 Chris Wilson <chris@chris-wilson.co.uk> i915: Separate BLEND from general context state.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.h
0b0cad38c57fbe59710cb4058866b2e68f6d471a 25-Nov-2010 Chris Wilson <chris@chris-wilson.co.uk> i915: suppress repeated sampler state emission

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.h
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.h
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.h
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_context.h
6d741627b00677d269537ad36e5f2ecd31fd98b5 05-Jun-2010 Chris Wilson <chris@chris-wilson.co.uk> i915: Only emit a MI_FLUSH when the drawing rectangle offset changes.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.h
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.h
b87406e55f029d29594ae76a4b39a4fe1007fe4f 03-Mar-2010 Eric Anholt <eric@anholt.net> i915: Use x,y drawing offsets instead of changing buffer offsets.

This should fix rendering into mipmaps of tiled textures.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.h
c9886d535e4ac5ae108b1015a9682f4ddd297536 28-Jan-2010 Eric Anholt <eric@anholt.net> i915: Remove unused initial and current state, now that there's nothing else.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.h
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.h
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.h
650e02003fbb5511ec758d993b7ec0a302ee2235 01-Dec-2009 Ian Romanick <ian.d.romanick@intel.com> Merge branch 'mesa_7_6_branch' into mesa_7_7_branch

Conflicts:
progs/util/shaderutil.c
src/mesa/drivers/dri/r600/r600_context.c
src/mesa/main/version.h
533b7660073f2c1cd1a19105d4989ec11bfdcd87 30-Nov-2009 Ian Romanick <ian.d.romanick@intel.com> i915: Fallback bit define missed on previous commit
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.h
96a3c69d48bb7c021181e061d010cca08198ae4c 30-Jul-2009 Eric Anholt <eric@anholt.net> i915: Increase maximum program size to the hardware limits.

This fixes potential heap trashing if the program of choice exceeds limits,
and fixes the native instructions limit being lower than what can be
used by valid programs.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.h
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.h
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.h
0cade4de4f74f6b0e86fb6622e2fc370c73fd840 20-Oct-2008 Eric Anholt <eric@anholt.net> intel: Don't keep intel->pClipRects, and instead just calculate it when needed.

This avoids issues with dereferencing stale cliprects around intel_draw_buffer
time. Additionally, take advantage of cliprects staying constant for FBOs and
DRI2, and emit cliprects in the batchbuffer instead of having to flush batch
each time they change.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.h
91d0020eecb78ef2984fd0afafc5d555c0e957d8 05-Oct-2008 Eric Anholt <eric@anholt.net> i915: Refine the texture indirect lookup accounting.

Without this, we would reject programs which sampled multiple times from
registers defined in the same phase (block of instructions with the same
texture indirection count), as each sample would count as a new phase
beginning. Instead, keep track of which phases registers were written in,
and only bump phase when we're reading from one generated in this phase.

On the other hand, we failed to count oC or oD texture samples as being new
phases.

Bug #17865.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.h
3369cd9a6f943365242d7832e69788d4aede9a8f 07-Jan-2008 Xiang, Haihao <haihao.xiang@intel.com> i915: Keith Whitwell's swizzling TEX patch. fix #8283
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.h
c8cb87d35686c155143ed3e511e1ea674d8371a3 24-Sep-2007 Eric Anholt <eric@anholt.net> Remove leftover code for i915_texprog.c noticed in crossbar review.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.h
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.h
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.h
bd87c303e94659941a7c623d0b836e3ff317cfb4 18-Aug-2006 Alan Hourihane <alanh@tungstengraphics.com> Fix writemasks on texture arb fp instructions.
Cleanup invarient state emission.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.h
122629f27925a9dc50029bebc5079f87f416a7e1 20-Jul-2006 Brian Paul <brian.paul@tungstengraphics.com> Some structure renaming. Prefix vertex/fragment-related structs with
"gl_" to match other structs.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.h
a6f7f10efadb3c3e1aea6502b1c444189ba77124 23-May-2006 Brian Paul <brian.paul@tungstengraphics.com> prototype i915_udpate_fog() to silence warning
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.h
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_context.h
435eff8b852f59e13554a57f83a48bf8035ec794 09-May-2005 Keith Whitwell <keith@tungstengraphics.com> i915 will use _TexEnvProgram (if active)
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.h
594c3f67ac8fceb061e47b090ec4d149c55a1940 18-Jun-2004 Keith Whitwell <keith@tungstengraphics.com> add missing license texts
/external/mesa3d/src/mesa/drivers/dri/i915/i915_context.h
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.h