summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/unichrome
Commit message (Collapse)AuthorAgeFilesLines
* dri: Remove all DRI1 driversIan Romanick2011-08-2627-10403/+0
| | | | | | | | | | Acked-by: Kristian Høgsberg <[email protected]> Acked-by: Marek Olšák <[email protected]> Acked-by: Alan Coopersmith <[email protected]> Acked-by: Jakob Bornecrantz <[email protected]> Acked-by: Dave Airlie <[email protected]> Build-Tested-by: Jakob Bornecrantz <[email protected]> Tested-by: Eugeni Dodonov <[email protected]>
* mesa: get rid of homegrown logbase2 implementation in driversRoland Scheidegger2011-06-091-13/+1
| | | | | Some of the logbase2 functions did just the same as _mesa_logbase2, though they were taking signed numbers (but it shouldn't matter for them).
* dri/nouveau: Fix build with --enable-shared-dricore.Johannes Obermayr2011-06-021-1/+3
| | | | | | | | | - Based on the work of Себастьян Gliţa Κατινα <[email protected]> - Split Makefile.template into Makefile.defines and Makefile.targets - Adapt other drivers to new situation - Fixes https://bugs.freedesktop.org/show_bug.cgi?id=35441 Signed-off-by: Brian Paul <[email protected]>
* mesa: move sampler state into new gl_sampler_object typeBrian Paul2011-04-102-19/+19
| | | | | | gl_texture_object contains an instance of this type for the regular texture object sampling state. glGenSamplers() generates new instances of gl_sampler_object which can override that state with glBindSampler().
* dri: Remove driver date from renderer stringIan Romanick2011-04-051-3/+1
| | | | | | Reviewed-by: Corbin Simpson <[email protected]> Reviewed-by: Brian Paul <[email protected]> Tested-by: Sedat Dilek <[email protected]>
* mesa: move PBO-related functions into a new fileBrian Paul2011-02-281-0/+1
|
* mesa: remove _mesa_create_context_for_api()Brian Paul2011-02-081-1/+1
| | | | Just add the gl_api parameter to _mesa_create_context().
* mesa: begin implementation of GL_ARB_draw_buffers_blendBrian Paul2011-01-151-10/+10
|
* drivers/x11: unifdef XFree86ServerAdam Jackson2010-11-291-2/+0
| | | | | | | This code was for the old GLcore build of the software rasteriser. The X server switched to a DRI driver for software indirect GLX long ago. Signed-off-by: Adam Jackson <[email protected]>
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-1313-84/+84
|
* Drop GLframebuffer typedef and just use struct gl_framebufferKristian Høgsberg2010-10-133-5/+5
|
* Rename GLvisual and __GLcontextModes to struct gl_configKristian Høgsberg2010-10-135-6/+6
|
* Remove unnescessary initializations of UpdateTexturePaletteIan Romanick2010-09-271-1/+0
| | | | This is already NULL'ed in _mesa_init_driver_functions.
* unichrome: Remove unnecessary header.Vinson Lee2010-09-241-1/+0
|
* unichrome: Mostly revert my convolution removal changes.Eric Anholt2010-09-231-7/+9
| | | | | | For this driver, the minimum pitch alignment stuff does appear to be necessary, so leave the separate munged width/height variable in place.
* mesa: Remove EXT_convolution.Eric Anholt2010-09-231-15/+7
| | | | More optional code.
* dri: Add missing header m_xform.h.Vinson Lee2010-08-071-0/+2
| | | | | | | | This is a follow-up patch to commit f4511c4835879090ce7e6afe3ac26b98fb91899a. Files that include tnl_dd/t_dd_dmatmp.h now need to also include m_xform.h as t_context.h no longer includes it.
* glx: Remove support for MESA_swap_frame_usageKristian Høgsberg2010-07-191-1/+0
| | | | | The extension never worked, the implementation returns GLX_BAD_CONTEXT when enabling the frame tracking.
* dri: Add DRI entrypoints to create a context for a given APIKristian Høgsberg2010-04-282-2/+4
|
* dri: drop MINIGLX_SOURCES (2)George Sapountzis2010-03-061-1251/+0
|
* dri: drop MINIGLX_SOURCESGeorge Sapountzis2010-03-061-2/+0
|
* Remove stray defines of HAVE_RGBAIan Romanick2010-03-031-1/+0
| | | | | | | Now that color-index support is removed from t_dd_tritmp.h and t_dd_unfilled.h, drivers no longer need define HAVE_RGBA. Signed-off-by: Ian Romanick <[email protected]>
* unichrome: Assert that pointer is not null before dereferencing.Vinson Lee2010-02-271-0/+2
|
* Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg2010-02-191-3/+3
|
* Remove _mesa_memcpy in favor of plain memcpy.Kenneth Graunke2010-02-191-2/+2
| | | | This may break the SUNOS4 build, but it's no longer relevant.
* dri: Fix copy-and-paste brain damage in previous commitIan Romanick2010-02-101-1/+1
| | | | | | | | | | A number of places in 3cce4a1e10361458630511543b7a8a6438544775 use TRUE instead of GL_TRUE. This causes build failures in all of the drivers that I don't typically build. Win. Reported by sungami on IRC. Signed-off-by: Ian Romanick <[email protected]>
* dri: Allow selective generation of accum. buffer configsIan Romanick2010-02-101-1/+1
| | | | | | | | | | | Modify the interface to driCreateConfigs allowing drivers to not expose configs with an accumuation buffer. All of the drivers calling function have been updated to pass true for the accumulation selector. This maintains the current behavior. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kristian Høgsberg <[email protected]> Reviewed-by: Corbin Simpson <[email protected]>
* Merge branch 'mesa_7_7_branch'Brian Paul2010-01-227-15/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c src/gallium/auxiliary/pipebuffer/Makefile src/gallium/auxiliary/pipebuffer/SConscript src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/tgsi/tgsi_scan.c src/gallium/drivers/i915/i915_surface.c src/gallium/drivers/i915/i915_texture.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/softpipe/sp_prim_vbuf.c src/gallium/state_trackers/xorg/xorg_dri2.c src/gallium/winsys/drm/intel/gem/intel_drm_api.c src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c src/gallium/winsys/drm/radeon/core/radeon_drm.c src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c src/mesa/state_tracker/st_cb_clear.c
| * unichrome: Remove unnecessary headers.Vinson Lee2010-01-197-15/+0
| |
* | Merge branch 'remove-intel-dri1'Kristian Høgsberg2010-01-058-48/+55
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * remove-intel-dri1: intel: intelScreenContext() is no longer used intel: Remove remaining dri2.enabled tests intel: Drop more cliprect bookkeeping intel: Remove struct intel_framebuffer intel: Remove client-side vblank code intel: Drop intelWindowMoved() intel: Drop batchbuffer cliprect_mode tracking intel: Drop DRI1 static regions intel: Use depth buffer from ctx.DrawBuffer in copypix_src_region() intel: Drop LOCK/UNLOCK_HARDWARE() intel: Drop DRI1 SwapBuffer implementation intel: Drop DRI1 CopySubBuffer implementation intel: Drop DRI1 support Push __driDriverExtensions out of dri_util.c and into the drivers Remove leftover __DRI{screen,drawable,context}Private references Check for libdrm_$chipset.pc when needed
| * | Push __driDriverExtensions out of dri_util.c and into the driversKristian Høgsberg2010-01-041-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | This lets the individual drivers select which extensions to advertise. Specifically, most drivers (tdfx, sis, savage etc) don't support DRI2 but the shared extension list in dri_util.c does list the DRI2 extension. Pushing the list into the drivers, lets us avoid listing the DRI2 extension for drivers that don't support it.
| * | Remove leftover __DRI{screen,drawable,context}Private referencesKristian Høgsberg2010-01-048-48/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | As part of the DRI driver interface rewrite I merged __DRIscreenPrivate and __DRIscreen, and likewise for __DRIdrawablePrivate and __DRIcontextPrivate. I left typedefs in place though, to avoid renaming all the *Private use internal to the driver. That was probably a mistake, and it turns out a one-line find+sed combo can do the mass rename. Better late than never.
* | | mesa: make texture BorderColor a union of float/int/uintBrian Paul2010-01-041-8/+8
|/ / | | | | | | | | | | | | | | When we have integer-valued texture formats, the texture border color must also store integer and uint values. With GL 3.0, the new glTexParameterIiv() and glTexParameterIuiv() functions can set the border color to int or uint values.
* | mesa: implement per-buffer color maskingBrian Paul2009-12-291-5/+5
| | | | | | | | | | | | | | | | | | | | | | This is part of the GL_EXT_draw_buffers2 extension and part of GL 3.0. The ctx->Color.ColorMask field is now a 2-D array. Until drivers are modified to support per-buffer color masking, they can just look at the 0th color mask. The new _mesa_ColorMaskIndexed() function will be called by glColorMaskIndexedEXT() or glColorMaski().
* | Merge branch 'mesa_7_7_branch'Brian Paul2009-12-212-2/+2
|\| | | | | | | | | | | Conflicts: src/mesa/main/version.h src/mesa/state_tracker/st_atom_shader.c
| * Merge branch 'mesa_7_6_branch' into mesa_7_7_branchIan Romanick2009-12-162-2/+2
| |\ | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/unichrome/via_ioctl.c src/mesa/drivers/dri/unichrome/via_screen.c src/mesa/main/version.h src/mesa/state_tracker/st_atom.c
| | * unichrome: Silence compiler warnings.Vinson Lee2009-12-153-4/+4
| | |
* | | tnl: Replace deprecated TexCoordPtr with AttribPtr[_TNL_ATTRIB_TEX*]Eric Anholt2009-11-191-2/+2
|/ /
* | Merge branch 'texformat-rework'Brian Paul2009-10-284-82/+72
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/radeon/radeon_fbo.c src/mesa/drivers/dri/s3v/s3v_tex.c src/mesa/drivers/dri/s3v/s3v_xmesa.c src/mesa/drivers/dri/trident/trident_context.c src/mesa/main/debug.c src/mesa/main/mipmap.c src/mesa/main/texformat.c src/mesa/main/texgetimage.c
| * | mesa: remove calls to _mesa_compressed_row_stride()Brian Paul2009-10-251-1/+1
| | |
| * | mesa: change compressed texture size callsBrian Paul2009-10-241-10/+4
| | | | | | | | | | | | | | | Replace calls to ctx->Driver.CompressedTextureSize with calls to _mesa_format_image_size. The former always called the later.
| * | dri/drivers: update driNewRenderbuffer() to take a gl_formatBrian Paul2009-10-222-17/+16
| | | | | | | | | | | | | | | | | | | | | | | | Now pass a specific MESA_FORMAT_x token to indicate the renderbuffer's format. This is better than passing a GLenum and having to guess the specific format. I'm unable to test all the drivers, but any issues should be easy to fix.
| * | mesa: remove a bunch of gl_renderbuffer fieldsBrian Paul2009-10-081-0/+5
| | | | | | | | | | | | | | | | | | _ActualFormat is replaced by Format (MESA_FORMAT_x). ColorEncoding, ComponentType, RedBits, GreenBits, BlueBits, etc. are all replaced by MESA_FORMAT_x queries.
| * | drivers: don't include texformat.hBrian Paul2009-10-051-2/+1
| | | | | | | | | | | | And remove other unneeded #includes while we're at it.
| * | mesa: lift _mesa_set_fetch_functions() calls out of driversBrian Paul2009-10-051-3/+0
| | | | | | | | | | | | Call it from in the main Mesa glTexImage functions.
| * | mesa: removed gl_texture_image::CompressedSize fieldBrian Paul2009-10-011-2/+3
| | | | | | | | | | | | | | | Just call ctx->Driver.CompressedTextureSize() when we need to get the compressed image size.
| * | mesa: move mesa_set_fetch_functions()Brian Paul2009-10-011-0/+1
| | |
| * | mesa: remove gl_texture_image::IsCompressed fieldBrian Paul2009-10-011-3/+2
| | | | | | | | | | | | Use _mesa_is_format_compressed() instead.
| * | mesa: replace gl_texture_format with gl_formatBrian Paul2009-09-301-34/+34
| | | | | | | | | | | | | | | | | | Now gl_texture_image::TexFormat is a simple MESA_FORMAT_x enum. ctx->Driver.ChooseTexture format also returns a MESA_FORMAT_x. gl_texture_format will go away next.
| * | drivers: use new _mesa_texstore() functionBrian Paul2009-09-281-12/+9
| | |