Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-08-14 | mesa: new _mesa_valid_to_render() function | Brian Paul | |
Tests if the current shader/program is valid and that the framebuffer is complete. To be called by glBegin, glDrawArrays, etc. | |||
2009-08-14 | mesa: minor error string changes | Brian Paul | |
2009-08-14 | st/xlib: reduce the proliferation of GLX context types | Keith Whitwell | |
Now there is just a single, struct __GLXcontextRec, which is the GLXContext typedef has already been defined as a pointer to. I believe this is the intended usage, that GLX implementations should define that struct as they require. Merge the two previous structs into one and get rid of the no-longer-necessary type casts and sub-classing. | |||
2009-08-14 | st/dri: remove unused dummyContext value | Keith Whitwell | |
2009-08-14 | nv50: fix mipmap offsets and tiling | Christoph Bumiller | |
The hardware expects a texture's tile mode to change with the mipmap level. Also, only multiply by block size once to obtain size. | |||
2009-08-14 | nv50: make sure we don't re-emit outdated scissor state | Christoph Bumiller | |
Since we don't turn off scissors, we need to update the stateobj when the framebuffer size changes. | |||
2009-08-14 | nv50: make use of the y-origin switch | Christoph Bumiller | |
Now that we know how to make the hardware have y-coordinate origin top, we can get rid of all the inversion introduced earlier. | |||
2009-08-14 | Allow external settings of MAX_WIDTH/HEIGHT. | Tom Fogal | |
Conditionalize MAX_WIDTH / MAX_HEIGHT defines so that users can set them via CFLAGS. | |||
2009-08-14 | intel: in intel_context struct use typedef for sarea struct | Tobias Doerffel | |
Using drm_i915_sarea_t instead of struct drm_i915_sarea seems to be a common standard now, therefore fix it also in intel_context structure. Additionally this silences a compiler warning: intel_swapbuffers.c: In function `intelFixupVblank': intel_swapbuffers.c:48: warning: initialization from incompatible pointer type Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com> | |||
2009-08-14 | st/vega: Add more symbols defined by mesa/st. | Chia-I Wu | |
Signed-off-by: Chia-I Wu <olvaffe@gmail.com> | |||
2009-08-14 | nv50: fix typo in REALLOC's 2nd argument in ctor_immd | Christoph Bumiller | |
2009-08-14 | r600: emit SURFACE_BASE_UPDATE on depth base updates on rv6xx | Alex Deucher | |
2009-08-13 | r600: move non-surface related cb state to general state | Alex Deucher | |
2009-08-13 | r600: move non-surface related depth state to general state | Alex Deucher | |
2009-08-13 | glx: indent -br -i3 -npcs --no-tabs | RALOVICH, Kristóf | |
Some manual intervention applied since XEXT_* and other macro magic fooled indent. Auto generated files were also skipped. | |||
2009-08-13 | glsl: fix incorrect attribute size | Brian Paul | |
2009-08-13 | tnl: if NAN_CHECK is enabled, also assert that pos.x != 0 | Brian Paul | |
2009-08-13 | mesa: s/assert/ASSERT/ in _mesa_reference_texobj() | Brian Paul | |
We want the no-op ASSERT for non-debug builds. | |||
2009-08-13 | mesa: rework error check in glGetTexLevelParameter(), remove ↵ | Brian Paul | |
tex_image_dimensions() | |||
2009-08-13 | mesa: if maxLevels==0, target is invalid | Brian Paul | |
2009-08-13 | mesa: add extension checks in _mesa_max_texture_levels() | Brian Paul | |
2009-08-13 | mesa: minor clean-ups in bumpmap functions | Brian Paul | |
2009-08-13 | mesa: use _mesa_get_current_tex_unit() in more places | Brian Paul | |
2009-08-13 | mesa: refactor: move _mesa_is_color/depth/stencil_format() helpers to image.c | Brian Paul | |
2009-08-13 | mesa: move _mesa_Get[Compressed]TexImage() to texgetimage.c | Brian Paul | |
All the glGetTexImage code is in one file now. | |||
2009-08-13 | mesa: short-circuit no-change in _mesa_DepthRange() | Brian Paul | |
2009-08-13 | st/dri: Add support for GLX_EXT_texture_from_pixmap with direct rendering. | Michel Dänzer | |
2009-08-13 | gallium/drm: Handle circular dependencies in the auxiliary libraries with make. | Michel Dänzer | |
2009-08-13 | st/xorg: Fix DRI2 CopyRegion hook. | Michel Dänzer | |
Use GC CopyArea op for proper translation and clipping, and throttle full buffer swaps / frontbuffer flushes. | |||
2009-08-13 | tgsi: add simple facility for releasing and reusing temporaries | Keith Whitwell | |
2009-08-13 | tgsi: rename ureg src/dest converters | Keith Whitwell | |
Also fix a typo in ureg_src(). | |||
2009-08-13 | draw: Remove unused variable. | José Fonseca | |
2009-08-13 | Merge branch 'mesa_7_5_branch' | Keith Whitwell | |
2009-08-13 | draw: cope with more primitives in draw_pipeline_run | Keith Whitwell | |
This previously was used only for decomposed (POINT/LINE/TRI) primitives, but for some time a full range of primitives could end up in here. Fixes trivial/lineloop-clip on softpipe, among others. (cherry picked from commit 87cd8a3b8a2407b30916be418ff2f95dfea5d2ad) | |||
2009-08-13 | tgsi: turn off debugging | Keith Whitwell | |
2009-08-13 | tgsi: use REALLOC for growing token pool | Keith Whitwell | |
2009-08-13 | util: silence warnings for third REALLOC argument | Keith Whitwell | |
Our fallback realloc path requires an old_size argument, but the posix varient doesn't need this. Add some code to avoid gcc unused variable warnings for this extra argument. | |||
2009-08-13 | util: remove unneeded includes | Keith Whitwell | |
2009-08-13 | util: convert u_simple_shaders to use tgsi_ureg | Keith Whitwell | |
Much nicer now. | |||
2009-08-13 | tgsi: add tgsi_ureg, a simplified tgsi shader builder | Keith Whitwell | |
This is modelled on the nice & easy-to-use facilities we had for building shaders in mesa, eg. in texenvprogram.c and friends. Key points include pass-by-value register structs that can be manipulated in a functional style, eg: negate(swizzle(reg, X,X,X,X)) and per-opcode instruction functions, eg: emit_MOV( p, writemask(dst, 0x1), negate(src)); and similar. Additionally, the interface allows mixed emit of instructions and decls, which are sorted out internally to obey TGSI ordering. Immediates may be emitted at any time and are scanned against existing immediates to try and reduce redundancy. Not all TGSI functionality is accessible through this interface, but most or all of what mesa uses should be. | |||
2009-08-13 | i965: fix cube map on IGDNG | Xiang, Haihao | |
2009-08-12 | glsl: remove duplicate frag input entry | Brian Paul | |
2009-08-12 | Merge branch 'new-frag-attribs' | Brian Paul | |
This branch introduces new FRAG_ATTRIB_FACE and FRAG_ATTRIB_PNTC fragment program inputs for GLSL gl_FrontFacing and gl_PointCoord. Before, these attributes were packed with the FOG attribute. That made things complicated elsewhere. | |||
2009-08-12 | mesa: const qualifiers | Brian Paul | |
2009-08-12 | vbo: use _mesa_is_bufferobj() | Brian Paul | |
2009-08-12 | mesa: use _mesa_is_bufferobj() | Brian Paul | |
2009-08-12 | mesa: use _mesa_is_bufferobj() | Brian Paul | |
2009-08-12 | mesa: new _mesa_is_bufferobj() function | Brian Paul | |
Tests if the given buffer object is a user-created, non-default buffer object. Use this instead of testing bufferobj->Name != 0. | |||
2009-08-12 | i965: Make the cube mapping RCP use a writemask. | Eric Anholt | |
Fixes cube mapping since the scalar changes. | |||
2009-08-12 | i965: Allocate destination registers for GLSL TEX instructions contiguously. | Eric Anholt | |
This matches brw_wm_pass*.c behavior, and fixes the norsetto shadow demo. Bug #19489 |