b0d23b66cf2514949650bdfa9c918ab2fb1d8986 |
|
27-Aug-2012 |
Eric Anholt <eric@anholt.net> |
intel: Move RenderMode fallback func to i915 driver. The Fallback field of the context struct doesn't work that way on i965, and it's the only caller of FALLBACK() in the driver. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_state.c
|
4433b0302d0aa9dc61002e8bb4fd1b752b0be338 |
|
20-Apr-2012 |
Brian Paul <brianp@vmware.com> |
intel: use _mesa_is_winsys/user_fbo() helpers Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_state.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_state.c
|
2e53f3018f69d07b885c5885a1f865339700a189 |
|
28-Oct-2011 |
Kristian Høgsberg <krh@bitplanet.net> |
dri: Remove unused dri texmem.c
/external/mesa3d/src/mesa/drivers/dri/i915/i915_state.c
|
2e1cc883b380c3e038b7f2890bf80ed1736a9f18 |
|
09-Sep-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Replace _mesa_rgba_logicop_enabled(ctx) with ctx->Color.ColorLogicOpEnabled Since GL_EXT_blend_logic_op is removed, _mesa_rgba_logicop_enabled(ctx) just returns ctx->Color.ColorLogicOpEnabled. That seems kind of silly. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Marek Olšák <maraeo@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_state.c
|
debf751aeaf0f02b9a7fc0e242ae3b97dde8416f |
|
12-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i915: Fix incorrect depth scaling when enabling/disabling depth buffers. We were updating our new viewport using the old buffers' _WindowMap.m. We can do less math and avoid using that deprecated matrix by just folding the viewport calculation right in to the driver. Fixes piglit fbo-depthtex.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_state.c
|
79fee3a76b7f4f63d01266fc3a3cd6ca44d1e513 |
|
12-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i915: Make stencil test for no-stencil handling match depth test. i915_update_draw_buffers() already handles the fallback bit for missing stencil region, so here we just need to handle whether the GL thinks we have stencil data or not (and disable the test if so).
/external/mesa3d/src/mesa/drivers/dri/i915/i915_state.c
|
fc4fba52cf7e9616c70dd76b4d6bdba6582e157b |
|
12-Jul-2011 |
Eric Anholt <eric@anholt.net> |
i915: Disable the depth test whenever we don't have a depth buffer. We were disabling it once at the moment we changed draw buffers, but later enabling of depth test could turn it back on. Fixes fbo-nodepth-test. Note that ctx->DrawBuffer has to be checked because during context create we get called while it's still unset. However, we know we'll get an intel_draw_buffer() after that, so it's safe to make a silly choice at this point. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=30080
/external/mesa3d/src/mesa/drivers/dri/i915/i915_state.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_state.c
|
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_state.c
|
c41cb17037777de6e4ae596e56a16239429486e9 |
|
16-Apr-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
i915: There's always a fragment program Fragment programs are generated by core Mesa for fixed-function. Because of this, there's no reason to handle cases where there is no fragment program for fog. 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_state.c
|
8fc5ed18bc0d299a4495b28f02e63b1b75326bbc |
|
16-Apr-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
i915: Delete disabled try_pixel_fog paths 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_state.c
|
df7555e763b9a4d989788e9b1cd25e8740649e79 |
|
16-Apr-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
i915: gl_fragment_program::FogOption is always GL_NONE so don't check 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_state.c
|
decc6e2a32ef49e673c081f30e19b8970155d887 |
|
11-Mar-2011 |
Brian Paul <brianp@vmware.com> |
mesa: replace NEED_SECONDARY_COLOR(), RGBA_LOGICOP_ENABLED() with inlines and rename them.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_state.c
|
19ac5fa50dbb2f80eb0d47866b1474e3bd7a84dc |
|
23-Feb-2011 |
Chris Wilson <chris@chris-wilson.co.uk> |
i915: And remember assign the new value to the state reg... Fixes regression from 298ebb78de8a6b6edf0aa0fe8d784d00bbc2930e. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34589 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_state.c
|
298ebb78de8a6b6edf0aa0fe8d784d00bbc2930e |
|
26-Nov-2010 |
Chris Wilson <chris@chris-wilson.co.uk> |
i915: Suppress emission of redundant stencil updates Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_state.c
|
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_state.c
|
4f82585e279276e08c719d55218cd64a2c880a6b |
|
26-Nov-2010 |
Chris Wilson <chris@chris-wilson.co.uk> |
i915: Only flag context changes if the actual state is changed Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
/external/mesa3d/src/mesa/drivers/dri/i915/i915_state.c
|
74713e2d293f9e796a4053a5a99ee5cb7df5c740 |
|
11-Jan-2011 |
Brian Paul <brianp@vmware.com> |
mesa: begin implementation of GL_ARB_draw_buffers_blend
/external/mesa3d/src/mesa/drivers/dri/i915/i915_state.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_state.c
|
db2993faa0211b60efd46016de5d07110cb9777a |
|
11-May-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Drop viewport hack when we can
/external/mesa3d/src/mesa/drivers/dri/i915/i915_state.c
|
ff6bce552a1522160c64d10677a36a7ad6cf5f88 |
|
30-Mar-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
intel: Remove redundant fields from struct intel_context All these pointers are in the __DRIcontext struct, which we point to.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_state.c
|
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_state.c
|
d203dbc73d3b036937e0404b580fb04d23e10652 |
|
22-Dec-2009 |
Eric Anholt <eric@anholt.net> |
mesa: Replace CLAMP_SELF() macro with more obvious CLAMP() usage. The same code is generated, and readers and static analyzers are happier.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_state.c
|
587a52e95bbe96788e8b96b63f091bb3022fc048 |
|
30-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
i915: Actually put i915PointParameterfv in the driver function table. Duh.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_state.c
|
718f31b830b2c4edad8b7e04804ff23e1db93e5a |
|
30-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
i915: Round point sizes instead of truncate.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_state.c
|
d8d49716cf5d5cabebadc32d7717eec787c75ff1 |
|
30-Nov-2009 |
Ian Romanick <ian.d.romanick@intel.com> |
i915: Enable point sprite coordinate generation Support still isn't completely correct, but it's better. piglit point-sprite now passes. However, glean's pointSprite test fails. In that test the texture on the sprite is somehow inverted as though GL_POINT_SPRITE_COORD_ORIGIN were set to GL_LOWER_LEFT. i915 hardware shouldn't be able to do that! I believe there are also problems when not all texture units have GL_COORD_REPLACE set. The hardware enable seems to be all or nothing. Fixes bug #25313.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_state.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_state.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_state.c
|
4b37b1129ea7fed915d353c39d4b74dbdbb7f0a5 |
|
29-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i915: updated render to texture/fbo test
/external/mesa3d/src/mesa/drivers/dri/i915/i915_state.c
|
ac0dfbdf0f5e5dea08ec717ae8c4e1e141b15c05 |
|
30-Jan-2009 |
Eric Anholt <eric@anholt.net> |
i915: Only call CalcViewport from DrawBuffers instead of Viewport. This saves an inadvertent round-trip to the X Server on DrawBuffers, which was hurting some metaops.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_state.c
|
3cf7f9887ae9f26c006f88071cd69343e2c591e4 |
|
27-Jan-2009 |
Brian Paul <brianp@vmware.com> |
i915: rename some functions
/external/mesa3d/src/mesa/drivers/dri/i915/i915_state.c
|
84c8b5bbf980deea6322009354c3331dc5d5eb57 |
|
27-Jan-2009 |
Brian Paul <brianp@vmware.com> |
intel: move some driver functions around A step toward consolidating i915/intel_state.c and i965/intel_state.c
/external/mesa3d/src/mesa/drivers/dri/i915/i915_state.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_state.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_state.c
|
46eb02b60920a920b782bacb15f01b44e18f888d |
|
22-Jan-2008 |
Kristian Høgsberg <krh@temari.boston.redhat.com> |
[intel] Clean up references to screen buffer metrics. The screen wide info such as pitch and cpp are obsoleted by the FBO changes, so clean up the last few references to those, except for setting up the legacy screen regions.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_state.c
|
a856da63247a4b403f6350914f732e14d1530ed1 |
|
18-Dec-2007 |
Eric Anholt <eric@anholt.net> |
[915] Make polygon stipple use pre-unpacked pixel data. This fixes a crash when stippling using data from a PBO.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_state.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_state.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_state.c
|
a194bc3a8527ed41eead88632cc79ecabe4c81ac |
|
23-May-2007 |
Brian <brian.paul@tungstengraphics.com> |
Replace initInitState() with _mesa_init_driver_state().
/external/mesa3d/src/mesa/drivers/dri/i915/i915_state.c
|
4a7c45118d5f122a4550f259424b6820fe3945eb |
|
17-Apr-2007 |
Brian <brian@yutani.localnet.net> |
just clean-ups
/external/mesa3d/src/mesa/drivers/dri/i915/i915_state.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_state.c
|
23d31efc167f09d47635352f697ffcb087d3ebbd |
|
21-Mar-2007 |
Brian <brian@yutani.localnet.net> |
merge from master
|
77544d7b7d7c6fd03c0df81dca07f1bb3a67c119 |
|
18-Mar-2007 |
Keith Whitwell <keith@tungstengraphics.com> |
fix off-by-one in load_state_immediate
/external/mesa3d/src/mesa/drivers/dri/i915/i915_state.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_state.c
|
2dfb3a217f730d6783fb2ac8b73248dc682f923c |
|
02-Feb-2007 |
Zou Nan hai <nanhai.zou@intel.com> |
Fix fd.o #9686, when fall into vertex fog, fog factors are precomputed in t_vb_fog.c compute_fog_blend_factors, which is incompatible with appended fragment fog code. That will make GoogleEarth display abnormally. always use pixel fog.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_state.c
|
7a9c7c1133d5cf17d032c8568e8f040a7c171a72 |
|
02-Nov-2006 |
Brian Paul <brian.paul@tungstengraphics.com> |
Use RGBA_LOGICOP_ENABLED() instead of ctx->Color._LogicOpEnabled since we often need to check for this condition before the later field has been computed. Fixes logicop bug #8860.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_state.c
|
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_state.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_state.c
|
878c371e6cf6eb28afacc482d8aeaa0119f00d5b |
|
13-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Replace ctx->Driver.StencilOp/Func/Mask() functions with ctx->Driver.Stencil*Separate() functions.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_state.c
|
402b2bea640ebf69f78d8122f98435dd3bbeb7df |
|
10-Sep-2005 |
Brian Paul <brian.paul@tungstengraphics.com> |
Add offset and pitch fields to intelRegion. Remove frontOffset, frontPitch, backOffset, backPitch, depthOffset, depthPitch, textureOffset fields.
/external/mesa3d/src/mesa/drivers/dri/i915/i915_state.c
|
948fa3b295d384592ebc9396413a38aba4edf4a6 |
|
10-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
get fog working with _TexEnvProgram
/external/mesa3d/src/mesa/drivers/dri/i915/i915_state.c
|
435eff8b852f59e13554a57f83a48bf8035ec794 |
|
09-May-2005 |
Keith Whitwell <keith@tungstengraphics.com> |
i915 will use _TexEnvProgram (if active)
/external/mesa3d/src/mesa/drivers/dri/i915/i915_state.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_state.c
|
594c3f67ac8fceb061e47b090ec4d149c55a1940 |
|
18-Jun-2004 |
Keith Whitwell <keith@tungstengraphics.com> |
add missing license texts
/external/mesa3d/src/mesa/drivers/dri/i915/i915_state.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_state.c
|