summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* st/xlib: reduce the proliferation of GLX context typesKeith Whitwell2009-08-141-57/+37
| | | | | | | | | | 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.
* st/dri: remove unused dummyContext valueKeith Whitwell2009-08-142-14/+0
|
* nv50: fix mipmap offsets and tilingChristoph Bumiller2009-08-143-17/+34
| | | | | | The hardware expects a texture's tile mode to change with the mipmap level. Also, only multiply by block size once to obtain size.
* nv50: make sure we don't re-emit outdated scissor stateChristoph Bumiller2009-08-141-4/+4
| | | | | Since we don't turn off scissors, we need to update the stateobj when the framebuffer size changes.
* nv50: make use of the y-origin switchChristoph Bumiller2009-08-142-25/+16
| | | | | Now that we know how to make the hardware have y-coordinate origin top, we can get rid of all the inversion introduced earlier.
* Allow external settings of MAX_WIDTH/HEIGHT.Tom Fogal2009-08-141-2/+7
| | | | | Conditionalize MAX_WIDTH / MAX_HEIGHT defines so that users can set them via CFLAGS.
* intel: in intel_context struct use typedef for sarea structTobias Doerffel2009-08-141-1/+1
| | | | | | | | | | | 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 <[email protected]>
* st/vega: Add more symbols defined by mesa/st.Chia-I Wu2009-08-142-3/+18
| | | | Signed-off-by: Chia-I Wu <[email protected]>
* nv50: fix typo in REALLOC's 2nd argument in ctor_immdChristoph Bumiller2009-08-141-1/+1
|
* r600: emit SURFACE_BASE_UPDATE on depth base updates on rv6xxAlex Deucher2009-08-141-0/+8
|
* r600: move non-surface related cb state to general stateAlex Deucher2009-08-131-6/+12
|
* r600: move non-surface related depth state to general stateAlex Deucher2009-08-131-23/+15
|
* glx: indent -br -i3 -npcs --no-tabsRALOVICH, Kristóf2009-08-1314-3574/+3705
| | | | | Some manual intervention applied since XEXT_* and other macro magic fooled indent. Auto generated files were also skipped.
* glsl: fix incorrect attribute sizeBrian Paul2009-08-131-1/+1
|
* tnl: if NAN_CHECK is enabled, also assert that pos.x != 0Brian Paul2009-08-131-0/+3
|
* mesa: s/assert/ASSERT/ in _mesa_reference_texobj()Brian Paul2009-08-131-2/+2
| | | | We want the no-op ASSERT for non-debug builds.
* mesa: rework error check in glGetTexLevelParameter(), remove ↵Brian Paul2009-08-131-47/+2
| | | | tex_image_dimensions()
* mesa: if maxLevels==0, target is invalidBrian Paul2009-08-131-1/+4
|
* mesa: add extension checks in _mesa_max_texture_levels()Brian Paul2009-08-131-6/+9
|
* mesa: minor clean-ups in bumpmap functionsBrian Paul2009-08-131-14/+39
|
* mesa: use _mesa_get_current_tex_unit() in more placesBrian Paul2009-08-135-61/+53
|
* mesa: refactor: move _mesa_is_color/depth/stencil_format() helpers to image.cBrian Paul2009-08-135-224/+225
|
* mesa: move _mesa_Get[Compressed]TexImage() to texgetimage.cBrian Paul2009-08-135-242/+275
| | | | All the glGetTexImage code is in one file now.
* mesa: short-circuit no-change in _mesa_DepthRange()Brian Paul2009-08-131-0/+4
|
* st/dri: Add support for GLX_EXT_texture_from_pixmap with direct rendering.Michel Dänzer2009-08-133-0/+37
|
* gallium/drm: Handle circular dependencies in the auxiliary libraries with make.Michel Dänzer2009-08-131-1/+3
|
* st/xorg: Fix DRI2 CopyRegion hook.Michel Dänzer2009-08-131-29/+43
| | | | | Use GC CopyArea op for proper translation and clipping, and throttle full buffer swaps / frontbuffer flushes.
* tgsi: add simple facility for releasing and reusing temporariesKeith Whitwell2009-08-132-4/+40
|
* tgsi: rename ureg src/dest convertersKeith Whitwell2009-08-131-3/+3
| | | | Also fix a typo in ureg_src().
* draw: Remove unused variable.José Fonseca2009-08-131-1/+0
|
* Merge branch 'mesa_7_5_branch'Keith Whitwell2009-08-131-22/+55
|\
| * draw: cope with more primitives in draw_pipeline_runKeith Whitwell2009-08-131-22/+55
| | | | | | | | | | | | | | | | 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)
| * dri: Fix problems with unitialized values in dri screen object.Pauli Nieminen2009-08-071-1/+1
| | | | | | | | | | | | This fixes crash in r200 KMS driver when pSAREA was set to 1 randomly because of memory wasn't cleared. Signed-off-by: Pauli Nieminen <[email protected]>
| * util: fix incorrect assertionBrian Paul2009-08-061-1/+1
| | | | | | | | Check that the dest surface/format is renderable.
| * util: include u_surface.h, added commentBrian Paul2009-08-061-0/+2
| |
| * util: use util_same_surface() to compare surface pointersBrian Paul2009-08-061-3/+3
| |
| * util: added util_same_surface() helper functionBrian Paul2009-08-061-0/+17
| |
| * Ensure GL_EXT_blend_equation_separate is enabled when 2.0 is enabled.Alan Hourihane2009-08-061-0/+1
| |
* | tgsi: turn off debuggingKeith Whitwell2009-08-131-1/+1
| |
* | tgsi: use REALLOC for growing token poolKeith Whitwell2009-08-131-11/+5
| |
* | util: silence warnings for third REALLOC argumentKeith Whitwell2009-08-131-1/+7
| | | | | | | | | | | | 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.
* | util: remove unneeded includesKeith Whitwell2009-08-131-4/+0
| |
* | util: convert u_simple_shaders to use tgsi_uregKeith Whitwell2009-08-131-258/+60
| | | | | | | | Much nicer now.
* | tgsi: add tgsi_ureg, a simplified tgsi shader builderKeith Whitwell2009-08-135-0/+1381
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | i965: fix cube map on IGDNGXiang, Haihao2009-08-131-5/+8
| |
* | glsl: remove duplicate frag input entryBrian Paul2009-08-121-1/+0
| |
* | Merge branch 'new-frag-attribs'Brian Paul2009-08-1212-151/+107
|\ \ | | | | | | | | | | | | | | | | | | 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.
| * | swrast: fix incorrect texcoord attribute testBrian Paul2009-07-311-3/+3
| | |
| * | draw: fix-ups for point coord attributeBrian Paul2009-07-311-12/+36
| | | | | | | | | | | | progs/glsl/pointcoord.c works again
| * | mesa: add new FRAG_ATTRIB_FACE and FRAG_ATTRIB_PNTC fragment program inputsBrian Paul2009-07-2911-138/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the FOGC attribute contained the fragment fog coord, front/back- face flag and the gl_PointCoord.xy values. Now each of those things are separate fragment program attributes. This simplifies quite a few things in Mesa and gallium. Need to test i965 driver and fix up point coord handling in the gallium/draw module...