summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i915
AgeCommit message (Collapse)Author
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.
2006-04-05add tiling/fence support for the miniglx driverDave Airlie
2006-04-05don't waste the reserved memory, take an approximation of the poolDave Airlie
allocator from the X.org driver - not as complicated
2006-04-04We always have a back buffer. Fixes visual problems.Alan Hourihane
2006-04-03add miniglx sources to i915Dave Airlie
2006-04-03add pitch support and use new WidthDave Airlie
2006-04-01Don't index box by the box's index within numClipRects; just dereference it.Eric Anholt
Fixes drawing with more than one cliprect. (Keith Packard)
2006-04-01Call driUpdateFramebufferSize when we've found an updated DRI drawable stamp,Eric Anholt
like other drivers. Failure to do so resulted in incorrect buffer sizes for resized windows.
2006-03-31Dave Reveman's patch for GLX_MESA_copy_sub_buffer supportBrian Paul
2006-03-30The pitches of the driRenderbuffers are in bytes, so no need to multiply by cpp.Eric Anholt
Fixes software fallbacks. (Keith Packard)
2006-03-30Fix up some incorrect pointers and clear screenDave Airlie
2006-03-30add initial miniglx files for i915, not integrated yetDave Airlie
2006-02-17Fix STENCIL_WRITE_MASK defn for bug 5902Keith Whitwell
2006-02-08Check DDX for 1.5.0Alan Hourihane
2006-02-06add vblank support to i915 driverDave Airlie
2006-02-03replace the texture level hack used in radeon/r200 to allow larger textures ↵Roland Scheidegger
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.
2006-01-24use front.size instead of sPriv->fbSizeAlan Hourihane
2006-01-24use screen->front.map instead of pFB from libdriAlan Hourihane
2006-01-23Add Intel 945GM supportAlan Hourihane
Add rotation support (Tungsten Graphics)
2005-12-30recalculate state on drawable changesKeith Whitwell
2005-11-22Use correct enums for program output variables. FixesKeith Whitwell
fp/tri-depthwrite.
2005-11-20s/Saturate/SaturateMode/Brian Paul
2005-11-20Make Saturate a 2-bit field again, renamed to SaturateMode with threeBrian Paul
possible values: SATURATE_OFF, SATURATE_ZERO_ONE and SATURATE_PLUS_MINUS_ONE.
2005-11-19remove #include arbfragparse.h, s/PI/M_PI/Brian Paul
2005-11-12Move stuff common to vertex/fragment_program into the base class, including:Brian Paul
Instructions, InputsRead, OutputsWritten, and Parameters. Also, added debug functions: _mesa_print_instruction(), _mesa_print_program_parameters() and revamp _mesa_print_program().
2005-11-05s/TexSrcIdx/TexSrcTarget/Brian Paul
2005-11-05Unify vertex/fragment program instuctions.Brian Paul
Based on patch by Ian (#4967) but also unify instruction opcodes.
2005-11-01Re-org and clean-up of vertx/fragment program limits (instructions,Brian Paul
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.
2005-10-05In gl_texture_image replace IntFormat with InternalFormat and Format withBrian Paul
_BaseFormat to be consistant with gl_renderbuffer.
2005-09-13Replace ctx->Driver.StencilOp/Func/Mask() functions withBrian Paul
ctx->Driver.Stencil*Separate() functions.
2005-09-10Add offset and pitch fields to intelRegion. Remove frontOffset, frontPitch,Brian Paul
backOffset, backPitch, depthOffset, depthPitch, textureOffset fields.
2005-09-09add _tnl_arb_vertex_program_stage to all drivers which already have ↵Roland Scheidegger
_tnl_vertex_program_stage. Fixes crashes when using vertex programs. Tested on r200 only (fix by Keith Whitwell)
2005-09-09remove the redundant textureSize field, use tex.size instead, it's always ↵Brian Paul
the same value
2005-09-08Treat NegateBase as a bitfield, not a boolean.Keith Whitwell
2005-09-04Add new void *addr and __DRIdrawablePrivate parameters toBrian Paul
driNewRenderbuffer().
2005-09-04Use InitPointers helperBrian Paul
2005-09-03SetBuffer, renderbuffer changesBrian Paul
2005-09-01use char* instead of GLubyte* in i915_program_error() to silence warningsBrian Paul
2005-08-30silence fprintf and casting warningsBrian Paul
2005-08-25remove stray references to ctx->Depth.OcclusionTestBrian Paul
2005-08-15Add Egberts fixes for 64bit architecturesAlan Hourihane
Add additional checks for the *DRIRec info structure passed in from the device driver. This ensures that things fallback to indirect rendering if the DDX driver has had modifications (i.e. removal of the drmAddress field).
2005-08-14Add a check which compares the passed in size of the DDX driver private DRIAlan Hourihane
structure to the 3D drivers view of it, and abort if they don't match. This traps the case with the drmAddress removal in the DDX driver.
2005-08-05remove the drmAddressAlan Hourihane
2005-07-29Fix a == vs !- typo for glx_enable_extensionJon Smirl
2005-07-28glxEnableExtension is a platform-specific function exported by the loader.Ian Romanick
Therefore, drivers should not require it to run.
2005-07-28Major rip-up of internal function insertion interface. The oldIan Romanick
_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)
2005-07-26typoAlan Hourihane