aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i915
Commit message (Collapse)AuthorAgeFilesLines
* Fix fragment program fog problems found with Glean.Brian Paul2006-11-021-1/+12
| | | | | | 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().
* Call _mesa_problem() from i915_program_error() so we get a nice error message.Brian Paul2006-11-021-4/+1
|
* remove GetBufferSize = NULL; assignmentBrian Paul2006-11-021-1/+0
|
* Use RGBA_LOGICOP_ENABLED() instead of ctx->Color._LogicOpEnabled since we oftenBrian Paul2006-11-022-2/+2
| | | | | need to check for this condition before the later field has been computed. Fixes logicop bug #8860.
* Remove x/y/width/height parameters from Clear functions.Brian Paul2006-11-012-5/+3
|
* Don't use the x/y/width/height params passed to Clear(). Get themBrian Paul2006-11-014-29/+58
| | | | after locking. Next: remove the params altogether.
* fix compiler warningsKeith Whitwell2006-11-011-0/+1
|
* Patch from <[email protected]> -- pass program stringKeith Whitwell2006-11-011-0/+2
| | | | notification callback through to tnl/ module, fixes glean crash.
* remove obsolete intelBufferSize(), bump driver dateBrian Paul2006-10-171-23/+2
|
* Init _UseTexEnvProgram to fix failed assertion in i915_render_start() - this ↵Brian Paul2006-10-161-0/+1
| | | | may be temporary
* Updates to intelWindowMoved():Brian Paul2006-10-161-6/+8
| | | | | | | 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.
* minor clean-up: s/intel->driDrawable/dPriv/Brian Paul2006-10-151-1/+1
|
* Remove a bunch of "ctx->Driver.function = _swrast_Function" lines sinceBrian Paul2006-10-152-13/+0
| | | | | default/fallback functions are already plugged in by the call to _mesa_init_driver_functions().
* Remove Driver.ResizeBuffers = _mesa_resize_framebuffer lines.Brian Paul2006-10-151-1/+0
| | | | | This is already done by the preceeding call to _mesa_init_driver_functions() which plugs in default functions like that.
* Use the mesa-provided texenv program rather than rolling our own.Keith Whitwell2006-10-104-1/+21
| | | | Turn on texture crossbar support.
* i915: Fix wait for scheduled swap on secondary display.Michel Dänzer2006-09-291-0/+5
|
* Synchronize drawable to the pipe where the bigger part can be visible.Michel Dänzer2006-09-281-0/+30
| | | | | This requires the DDX driver to set the corresponding fields in the SAREA, so check its minor version.
* Add new I830 SAREA fields.Michel Dänzer2006-09-281-0/+15
|
* i915: Handle DRM_VBLANK_SECONDARY when scheduling buffer swaps.Michel Dänzer2006-09-281-0/+4
|
* i915: Attempt to schedule buffer swap on target vertical blank when possible.Michel Dänzer2006-09-282-79/+122
| | | | | | | | | | | 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.
* Make driDrawableInitVBlank() initialize the sequence number.Michel Dänzer2006-09-281-1/+2
| | | | | This prevents the first wait for vertical blank from timing out when the X server has been running for a long time.
* fix the broken fallback string/debug stuffBrian Paul2006-09-221-19/+44
|
* remove extra indentationBrian Paul2006-09-221-98/+98
|
* Fix a leak of the screen's option cache on cleanup (copied from radeon).Eric Anholt2006-09-071-0/+3
|
* fix the presumably broken check for the allow_large_textures and vblank_mode ↵Roland Scheidegger2006-09-013-3/+3
| | | | options (same as bug 8042).
* remove unused varBrian Paul2006-08-281-1/+0
|
* fix the check for force_s3tc_enable (bug 8042)Brian Paul2006-08-281-1/+1
|
* Fix bug 8010 - locking issues.Alan Hourihane2006-08-261-4/+2
|
* Fix writemasks on texture arb fp instructions.Alan Hourihane2006-08-1811-38/+64
| | | | Cleanup invarient state emission.
* Some structure renaming. Prefix vertex/fragment-related structs withBrian Paul2006-07-203-10/+10
| | | | "gl_" to match other structs.
* Call _mesa_resize_framebuffer() within intelWindowMoved(). FixesKeith Whitwell2006-06-151-0/+6
| | | | googleearth glitches.
* fire vertices before context destruction.Alan Hourihane2006-06-121-0/+1
|
* Add const qualifiers in a number of places.Brian Paul2006-05-231-1/+1
|
* prototype i915_udpate_fog() to silence warningBrian Paul2006-05-231-0/+1
|
* updates to dri drivers for recent stencil changesKeith Whitwell2006-05-081-1/+1
|
* remove temporary code from keithw, this in theory isn't used at the momentDave Airlie2006-05-051-5/+0
| | | | anyways unless INTEL_BATCH is turned on
* Fix i915 driver after stencil changes in Mesa 6.5Dave Airlie2006-05-051-1/+1
|
* More GLSL code:Michal Krol2006-04-113-31/+37
| | | | | | | | | | | | - 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;
* Fix some warnings on x86_64Alan Hourihane2006-04-078-10/+16
|
* update a couple MESA_FORMAT_Zxxx occurancesBrian Paul2006-04-061-2/+2
|
* Replace MESA_FORMAT_DEPTH_COMPONENT_FLOAT32 with 32-bit integer format.Brian Paul2006-04-061-1/+1
| | | | | | | 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.
* add tiling/fence support for the miniglx driverDave Airlie2006-04-052-20/+292
|
* don't waste the reserved memory, take an approximation of the poolDave Airlie2006-04-051-19/+89
| | | | allocator from the X.org driver - not as complicated
* We always have a back buffer. Fixes visual problems.Alan Hourihane2006-04-041-1/+1
|
* add miniglx sources to i915Dave Airlie2006-04-031-1/+2
|
* add pitch support and use new WidthDave Airlie2006-04-031-2/+19
|
* Don't index box by the box's index within numClipRects; just dereference it.mesa_6_5Eric Anholt2006-04-011-4/+4
| | | | Fixes drawing with more than one cliprect. (Keith Packard)
* Call driUpdateFramebufferSize when we've found an updated DRI drawable stamp,Eric Anholt2006-04-011-0/+2
| | | | | like other drivers. Failure to do so resulted in incorrect buffer sizes for resized windows.
* Dave Reveman's patch for GLX_MESA_copy_sub_buffer supportBrian Paul2006-03-315-17/+71
|
* The pitches of the driRenderbuffers are in bytes, so no need to multiply by cpp.Eric Anholt2006-03-301-3/+3
| | | | Fixes software fallbacks. (Keith Packard)