summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i915
AgeCommit message (Collapse)Author
2007-02-23Update DRI drivers for new glsl compiler.Brian
Mostly: - update #includes - update STATE_* token code
2007-02-22Merge branch 'origin' into glsl-compiler-1Brian
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
2007-02-02Merge branch 'vbo-0.2'Keith Whitwell
Conflicts: src/mesa/main/texcompress_s3tc.c src/mesa/tnl/t_array_api.c
2007-02-02 Fix fd.o #9686, when fall into vertex fog,Zou Nan hai
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.
2007-01-16Merge branch 'master' of git+ssh://keithw@git.freedesktop.org/git/mesa/mesa ↵Keith Whitwell
into vbo-0.2 Conflicts: src/mesa/array_cache/sources src/mesa/drivers/dri/i965/brw_context.c src/mesa/drivers/dri/i965/brw_draw.c src/mesa/drivers/dri/i965/brw_fallback.c src/mesa/drivers/dri/i965/brw_vs_emit.c src/mesa/drivers/dri/i965/brw_vs_tnl.c src/mesa/drivers/dri/mach64/mach64_context.c src/mesa/main/extensions.c src/mesa/main/getstring.c src/mesa/tnl/sources src/mesa/tnl/t_save_api.c src/mesa/tnl/t_save_playback.c src/mesa/tnl/t_vtx_api.c src/mesa/tnl/t_vtx_exec.c src/mesa/vbo/vbo_attrib.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_save_api.c src/mesa/vbo/vbo_save_draw.c
2006-12-15vertex/fragment program field changesBrian
2006-11-27remove assertions to match i915tex code (bug 8726)Brian Paul
2006-11-02Fix fragment program fog problems found with Glean.Brian Paul
1. add PROGRAM_CONSTANT to switch() in src_vector(). 2. use _mesa_append_fog_code() to handle fog options in i915ProgramStringNotify(). 3. Re-enable some vertex attribute emit code that was previously disabled in i915ValidateFragmentProgram().
2006-11-02Call _mesa_problem() from i915_program_error() so we get a nice error message.Brian Paul
2006-11-02remove GetBufferSize = NULL; assignmentBrian Paul
2006-11-02Use RGBA_LOGICOP_ENABLED() instead of ctx->Color._LogicOpEnabled since we oftenBrian Paul
need to check for this condition before the later field has been computed. Fixes logicop bug #8860.
2006-11-02merge current trunk into vbo branchAlan Hourihane
2006-11-01Remove x/y/width/height parameters from Clear functions.Brian Paul
2006-11-01Don't use the x/y/width/height params passed to Clear(). Get themBrian Paul
after locking. Next: remove the params altogether.
2006-11-01fix compiler warningsKeith Whitwell
2006-11-01Patch from <haihao.xiang@intel.com> -- pass program stringKeith Whitwell
notification callback through to tnl/ module, fixes glean crash.
2006-10-30switch several dri drivers overKeith Whitwell
2006-10-17remove obsolete intelBufferSize(), bump driver dateBrian Paul
2006-10-16Init _UseTexEnvProgram to fix failed assertion in i915_render_start() - this ↵Brian Paul
may be temporary
2006-10-16Updates to intelWindowMoved():Brian Paul
Only need to call _mesa_resize_framebuffer() when we've detected a window size change. Set the drawFb->Initalized flag to GL_TRUE to avoid obsolete Driver.GetBufferSize/ResizeBuffer calls in the Mesa code.
2006-10-15minor clean-up: s/intel->driDrawable/dPriv/Brian Paul
2006-10-15Remove a bunch of "ctx->Driver.function = _swrast_Function" lines sinceBrian Paul
default/fallback functions are already plugged in by the call to _mesa_init_driver_functions().
2006-10-15Remove Driver.ResizeBuffers = _mesa_resize_framebuffer lines.Brian Paul
This is already done by the preceeding call to _mesa_init_driver_functions() which plugs in default functions like that.
2006-10-10Use the mesa-provided texenv program rather than rolling our own.Keith Whitwell
Turn on texture crossbar support.
2006-09-29i915: Fix wait for scheduled swap on secondary display.Michel Dänzer
2006-09-28Synchronize drawable to the pipe where the bigger part can be visible.Michel Dänzer
This requires the DDX driver to set the corresponding fields in the SAREA, so check its minor version.
2006-09-28Add new I830 SAREA fields.Michel Dänzer
2006-09-28i915: Handle DRM_VBLANK_SECONDARY when scheduling buffer swaps.Michel Dänzer
2006-09-28i915: Attempt to schedule buffer swap on target vertical blank when possible.Michel Dänzer
This has some advantages over the traditional way of first waiting for the target vertical blank and then emitting the buffer swap, e.g. * glXSwapBuffers returns immediately, only the next time the driver needs the hardware lock will it block until the target vertical blank. This should allow applications that don't intermix rendering and other processing to start processing for the next frame right away. * It's less likely to produce tearing.
2006-09-28Make driDrawableInitVBlank() initialize the sequence number.Michel Dänzer
This prevents the first wait for vertical blank from timing out when the X server has been running for a long time.
2006-09-22fix the broken fallback string/debug stuffBrian Paul
2006-09-22remove extra indentationBrian Paul
2006-09-07Fix a leak of the screen's option cache on cleanup (copied from radeon).Eric Anholt
2006-09-01fix the presumably broken check for the allow_large_textures and vblank_mode ↵Roland Scheidegger
options (same as bug 8042).
2006-08-28remove unused varBrian Paul
2006-08-28fix the check for force_s3tc_enable (bug 8042)Brian Paul
2006-08-26Fix bug 8010 - locking issues.Alan Hourihane
2006-08-18Fix writemasks on texture arb fp instructions.Alan Hourihane
Cleanup invarient state emission.
2006-07-20Some structure renaming. Prefix vertex/fragment-related structs withBrian Paul
"gl_" to match other structs.
2006-06-15Call _mesa_resize_framebuffer() within intelWindowMoved(). FixesKeith Whitwell
googleearth glitches.
2006-06-12fire vertices before context destruction.Alan Hourihane
2006-05-23Add const qualifiers in a number of places.Brian Paul
2006-05-23prototype i915_udpate_fog() to silence warningBrian Paul
2006-05-08updates to dri drivers for recent stencil changesKeith Whitwell
2006-05-05remove temporary code from keithw, this in theory isn't used at the momentDave Airlie
anyways unless INTEL_BATCH is turned on
2006-05-05Fix i915 driver after stencil changes in Mesa 6.5Dave Airlie
2006-04-11More GLSL code:Michal Krol
- use macros to access and modify render inputs bit-field; - un-alias generic vertex attributes for ARB vertex calls; - use MAX_VERTEX_PROGRAM_ATTRIBS (NV code) or MAX_VERTEX_ATTRIBS (ARB code) in place of VERT_ATTRIB_MAX; - define VERT_ATTRIB_GENERIC0..15 for un-aliased vertex attributes for ARB_vertex_shader; - fix generic attribute index range check in arbprogparse.c; - interface GLSL varyings between vertex and fragment shader; - use 64-bit optimised bitset (bitset.h) for render inputs;
2006-04-07Fix some warnings on x86_64Alan Hourihane
2006-04-06update a couple MESA_FORMAT_Zxxx occurancesBrian Paul
2006-04-06Replace MESA_FORMAT_DEPTH_COMPONENT_FLOAT32 with 32-bit integer format.Brian Paul
This allows render to depth texture (we don't support floating pt. Z buffers). Rename MESA_FORMAT_DEPTH_COMPONENT16/32 as MESA_FORMAT_Z16/32. Software fallback for glCopyTexImage now uses integer temporary image instead of float, eliminates a lot of float/int conversions.