summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2008-10-28i965: Fix check_aperture calls to cover everything needed for the prim at once.Eric Anholt
Previously, since my check_aperture API change, we would check each piece of state against the batchbuffer individually, but not all the state against the batchbuffer at once. In addition to not being terribly useful in assuring success, it probably also increased CPU load by calling check_aperture many times per primitive.
2008-10-28mesa: fix stand-alone glslcompiler buildBrian Paul
2008-10-28intel: Don't keep intel->pClipRects, and instead just calculate it when needed.Eric Anholt
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.
2008-10-28i965: Allocate temporaries contiguously with other regs in fragment shaders.Gary Wong
This is required for threads to be spawned with correctly sized GRF register blocks.
2008-10-27i965: Fix compiler warning from unused var.Eric Anholt
2008-10-27i965: Remove dead brw->wrap flag.Eric Anholt
2008-10-27intel: Use dri_bo_get_tiling to get tiling mode of buffers we get from names.Eric Anholt
Previously, we were trying to pass a name to the GEM GET_TILING_IOCTL, which needs a handle, and failing. None of our buffers were tiled yet, but they will be at some point with DRI2 and UXA.
2008-10-26intel: GL_FALSE on a BO if it won't be modified when mapping this BO. ↵Xiang, Haihao
(thanks Eric).
2008-10-24i965: don't emit state when dri_bufmgr_check_aperture_space fails.Xiang, Haihao
This ensures there is an unfilled batchbuffer used for emitting states again. Partial fix for #17964.
2008-10-24intel: fallback for intelEmitCopyBlit.Xiang, Haihao
Use _mesa_copy_rect instead of BLT operation if dri_bufmgr_check_aperture_space still fails after flushing batchbuffer. Partial fix for #17964.
2008-10-23mesa: remove calls to _mesa_adjust_image_for_convolution(), use texImage fieldsBrian Paul
The texImage->Width/Height fields will have the post-convolution width/height.
2008-10-22mesa: move convolution image adjustment code for glCopyTexSubImage1/2/3D()Brian Paul
Do it after initial error checking, after we know the texture's internal format.
2008-10-22mesa: some re-org of glCopyTexSubImage1/2/3D() error checkingBrian Paul
2008-10-22mesa: in textore.c, only adjust image for convolution if image is a color formatBrian Paul
Makes things consistant with the code in teximage.c. We only want to apply convolution to color formats (not depth/index formats)
2008-10-21i915: fix carsh in i830_emit_state. (bug #17766)Xiang, Haihao
2008-10-16fix span issue with really old ddx and non-tcl r100 chipsRoland Scheidegger
2008-10-16mesa: fix error codes in _mesa_GetObjectParameterivARB(), bug 17861Brian Paul
2008-10-13i915: Texture instructions use r/t/oC/oD register as texture coordinate.Xiang, Haihao
Fix http://bugs.freedesktop.org/show_bug.cgi?id=16287.
2008-10-11intel: Add acceleration for glDrawPixels(GL_STENCIL_INDEX).Eric Anholt
This is nasty because there's no way in GL to output data to the stencil buffer directly, so we have to do a dance to wrap the depth/stencil buffer in an ARGB renderbuffer. Improves performance of several oglconform testcases by better than a factor of 2.
2008-10-10mesa: fix asst. issues in _mesa_texstore_argb8888()Brian Paul
If we shift bytes into the texel word (or use the PACK_COLOR_8888 macro), we don't have to worry about big vs. little endian. See comments about texel formats in texformat.h. Remove an unneeded/incorrect else-if clause that produced wrong results on big-endian systems.
2008-10-10mesa: include needed headerBrian Paul
2008-10-10mesa: remove unneeded includesBrian Paul
2008-10-10mesa: fix error codes in _mesa_GetObjectParameterivARB(), bug 17861Brian Paul
2008-10-10mesa: rename macro params to emphasize that there's no particular color orderingBrian Paul
2008-10-10mesa: remove unneeded includesBrian Paul
2008-10-10intel: GLSL 1.20 is broken in Mesa, so disable it in the i965 driverIan Romanick
2008-10-10i965: Add missing intel_pixel_draw.c symlink to fix build.Eric Anholt
2008-10-09i965: Accelerate depth textures with border color.Eric Anholt
The fallback was introduced to fix bug #16697, but made the test it was fixing run excessively long.
2008-10-09i965: Actually hook up the accelerated DrawPixels support.Eric Anholt
2008-10-08i915: Accelerate depth textures with border color.Eric Anholt
The fallback was introduced to fix bug #16697, but made the test it was fixing run excessively long.
2008-10-08mesa: vertex emit debug code (disabled)Brian Paul
2008-10-08mesa: fix vertex format/attribute bugBrian Paul
If the tnl output attributes matches the swsetup input attributes we still need to check if the desired vertex color type (float vs. chan) has changed so that we use the right emit functions. Fixes a conformance failure found with logicop test at pathlevel 3.
2008-10-07mesa: Pass the context to query object delete cb to avoid null dereference.Eric Anholt
2008-10-07i965: Add ARB_occlusion_query support.Eric Anholt
2008-10-07intel: Push flushing for cliprects changes down into the cliprects changes.Eric Anholt
This lets us short-circuit when we're leaving the same cliprects in place, which becomes quite common with metaops clears, and may be useful for some of our FBO paths.
2008-10-08i965: Fix a potential assertion failure.Xiang, Haihao
2008-10-07mesa: pass 'mask', not NULL to renderbuffer->Put functionsBrian Paul
Fixes bug 17800.
2008-10-06mesa: fix convolve/convolution mix-upsBrian
2008-10-06mesa: set FRAG_BIT_FOGC bit in InputsUsed if FogOption!=GL_NONEBrian Paul
2008-10-06mesa: adjust texcoords for swrast sprite points.Brian Paul
Fixes glean pointSprite test w/ software rendering
2008-10-06mesa: updated _mesa_delete_query() commentsBrian Paul
2008-10-06mesa: add missing GLcontext param to _mesa_delete_query().Brian Paul
Fixes vtk crash and others.
2008-10-04i915: Refine the texture indirect lookup accounting.Eric Anholt
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.
2008-10-03intel: Don't advertise unsupported extensions on pre-965 hardwareIan Romanick
Move GL_ARB_texture_non_power_of_two and GL_ATI_separate_stencil from the generic extension list to the 965-specific list. Neither extension is supported on i830-class hardware, and GL_ATI_separate_stencil is not supported on i915-class hardare. GL_ARB_texture_non_power_of_two is supported on i915-class hardare and is already in the i915-specific list.
2008-10-01Unify ARB_depth_texture and SGIX_depth_textureIan Romanick
The ARB extension is a superset of the older SGIX extension. Any hardware that can support the SGIX version can also support the ARB version. In Mesa, any driver that supports one also supports the other. This unification just simplifies some bits of code.
2008-10-01i965: sampler default color ends up in texture cache, not instructions.Eric Anholt
See volume 4, SAMPLER_BORDER_COLOR_STATE programming notes.
2008-10-01i965: Fix overwriting of depth override for SetTexOffset.Eric Anholt
Fixes black borders around windows in compiz. Bug #17233.
2008-09-29intel: Clean-up the extension string madness!Ian Romanick
- Sort extensions by ARB, then EXT, then vendor by name - Remove redundant (only one of GL_{ARB,EXT,NV}_texture_rectangle) or duplicate extension strings
2008-09-29GLSL: Implement GL_OBJECT_TYPE_ARB queryIan Romanick
The GL_OBJECT_TYPE_ARB query is handled directly in _mesa_GetObjectParamterivARB because it is only supported in the extension version of the shanding language API. glGetProgramiv and glGetShaderiv should not accept this enum.
2008-09-29GLSL: Implement _mesa_get_handleIan Romanick
Implementing _mesa_get_handle in using glGetIntegerv(GL_CURRENT_PROGRAM, ...) allows glGetHandleARB to work.