aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/radeon/radeon_screen.c
Commit message (Collapse)AuthorAgeFilesLines
* Drop GLframebuffer typedef and just use struct gl_framebufferKristian Høgsberg2010-10-131-1/+1
|
* Rename GLvisual and __GLcontextModes to struct gl_configKristian Høgsberg2010-10-131-4/+4
|
* evergreen : initial support driver code.richard2010-08-201-1/+56
|
* r600c: tiling require drm 2.6.0, not 2.5.0Alex Deucher2010-08-051-1/+1
|
* r600: add support for getting the tiling config via drm ioctl (v2)Alex Deucher2010-08-051-0/+57
| | | | | | | | Needed for the the 2D tiling span functions. v2: rebase on new kernel, mesa changes Signed-off-by: Alex Deucher <[email protected]>
* radeon: Add DRI2 flush extension support, so we synchronize properly.Mario Kleiner2010-08-021-0/+17
| | | | | | | | | | | | | | When a DRI2 swap buffer is pending we need to make sure we have the flush extension so radeon doesn't resume rendering to or reading from the not yet blitted front buffer. This fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28341 https://bugs.freedesktop.org/show_bug.cgi?id=28410 Signed-off-by: Jerome Glisse <[email protected]> Signed-off-by: Mario Kleiner <[email protected]>
* Revert "radeon: Add DRI2 flush extension to so we synchronize properly."Jerome Glisse2010-08-021-17/+0
| | | | This reverts commit 8446f257b3e3ca4a3eb2c79bc357e46343e04e87.
* radeon: Add DRI2 flush extension to so we synchronize properly.Mario Kleiner2010-08-021-0/+17
| | | | | | | | | | | | | | | | | When DRI2 swap buffer is pending (copy buffer not pageflipping) we need to make sure we have the flush extension so radeon doesn't resume rendering on the not yet blitted front buffer. Modified version of Jerome's patch to add flush extension in the correct place. This prepares a possible fix for: https://bugs.freedesktop.org/show_bug.cgi?id=28341 https://bugs.freedesktop.org/show_bug.cgi?id=28410 Signed-off-by: Jerome Glisse <[email protected]> Signed-off-by: Mario Kleiner <[email protected]>
* radeon: Remove unnecessary header.Vinson Lee2010-07-201-1/+0
|
* glx: Remove support for MESA_swap_frame_usageKristian Høgsberg2010-07-191-2/+0
| | | | | The extension never worked, the implementation returns GLX_BAD_CONTEXT when enabling the frame tracking.
* glx: Drop support for GLX_MESA_allocate_memoryKristian Høgsberg2010-07-191-12/+0
| | | | Only r200 implemented it.
* radeon: allow driconf vblank settings with dri2Alex Deucher2010-07-151-0/+1
| | | | | | | fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28771 NOTE: This is a candidate for the 7.8 branch.
* Merge branch '7.8'Michel Dänzer2010-04-231-0/+2
|\
| * radeon: 9800 SE has only one quadpipeTormod Volden2010-04-221-0/+2
| | | | | | | | | | | | | | | | | | | | Although these cards have 2 pipelines on the silicon only the first passed the QA and the other should be disabled. http://www.digital-daily.com/video/ati-radeon9800se/ http://www.rojakpot.com/showarticle.aspx?artno=101&pgno=1 Signed-off-by: Tormod Volden <[email protected]>
* | DRI2: add config query extensionJesse Barnes2010-04-221-0/+2
| | | | | | | | | | Add a new DRI2 configuration query extension. Allows for DRI2 client code to query for common DRI2 configuration options.
* | r300c/r300g: add 3155 rv380 pci idDave Airlie2010-04-191-0/+1
|/
* r600: add new r7xx pci idsAlex Deucher2010-04-091-0/+3
|
* r600: add new rs880 pci idAlex Deucher2010-03-031-0/+1
|
* dri: Fix copy-and-paste brain damage in previous commitIan Romanick2010-02-101-3/+3
| | | | | | | | | | 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-4/+5
| | | | | | | | | | | 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]>
* mesa: Factor out the fb initialization details from _mesa_new_framebuffer.Francisco Jerez2010-02-031-1/+1
| | | | | | | | | | | This should make things easier for drivers wanting to work with a "subclass" of gl_framebuffer. The complementary "_mesa_initialize_framebuffer" function is now called "_mesa_initialize_window_framebuffer" for the sake of symmetry. Signed-off-by: Brian Paul <[email protected]>
* radeon: Remove unnecessary headers.Vinson Lee2010-01-301-2/+0
|
* 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-041-13/+13
| | | | | | | | | 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.
* radeon: FBO fixes for big endian.Michel Dänzer2009-11-171-3/+3
|
* radeon: rn50's have no 3D engine so don't try and init 3D driver.Dave Airlie2009-11-171-2/+4
|
* Merge branch 'texformat-rework'Brian Paul2009-10-281-8/+11
|\ | | | | | | | | | | | | | | | | | | | | | | 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
| * radeon: simplify radeon_create_renderbuffer()Brian Paul2009-10-221-8/+11
| |
* | mesa: Enable remap table in core.Chia-I Wu2009-10-231-54/+0
|/ | | | | | | | | | | | | This enables the remap table in core. driInitExtensions is adapted to use the remap table. All uses of extension_helper.h are replaced by remap_helper.h. The chicken-egg problem of the DRI drivers is also solved. It is now also possible to pass NULL extensions to driInitExtensions. It will cause driInitExtensions to map all known functions. This functionality is used by software drivers and EGL_i915. Signed-off-by: Chia-I Wu <[email protected]>
* radeon: cleanup compile defines mess.Dave Airlie2009-09-161-31/+31
| | | | | I inherited this and really it stayed around far too long, make it nice and simple.
* radeon/dri2: add gl20 bits for r300/r600 just like dri1 doesDave Airlie2009-09-031-0/+2
|
* r100: Use shared debug code.Pauli Nieminen2009-08-311-30/+3
| | | | | | Converted r100 to use shared debug code with sed and fast compile check. New code has compability layer so old debugging code doesn't have to be changed all immidiatly.
* r600: add missing r7xx pci idAlex Deucher2009-08-311-0/+1
|
* radeon: Fix all compiler warnings.Pauli Nieminen2009-08-251-24/+5
|
* r300: add support for getting Z pipe info from drmAlex Deucher2009-08-241-0/+18
| | | | | | Needed for occulsion queries on rv530 chips Signed-off-by: Alex Deucher <[email protected]>
* r600: add support for RS880Alex Deucher2009-08-221-0/+8
|
* r600: split state emit into block specific functionsAlex Deucher2009-08-201-1/+1
| | | | | We probably want to go finer grained eventually, but this is a good start.
* radeon: add flag for drm OQ supportMaciej Cencora2009-08-151-5/+7
|
* r600: clean up Create/DestroyContextAlex Deucher2009-08-121-5/+3
|
* r200: Prevent TexGenMatrix from leaking when destroying r200 context.Pauli Nieminen2009-08-121-5/+5
| | | | Signed-off-by: Pauli Nieminen <[email protected]>
* r600: add some new r7xx pci idsAlex Deucher2009-08-031-0/+5
|
* r600: add some missing pci idsAlex Deucher2009-08-031-0/+2
|
* r300: Detangle fragment program compiler from driver-specific structureNicolai Hähnle2009-07-271-1/+3
| | | | | | | | This is in preparation of sharing the fragment program compiler with Gallium: Compiler code is moved into its own directory and modified so that it no longer depends on driver structures. Signed-off-by: Nicolai Hähnle <[email protected]>
* r600: Use R600_SCRATCH_REG_OFFSET rather than RADEON_SCRATCH_REG_OFFSETAlex Deucher2009-07-271-1/+1
| | | | noticed by vehemens on IRC.
* Merge branch 'mesa_7_5_branch'Michel Dänzer2009-07-201-2/+2
|\
| * radeon: With DRI1, if we have HW stencil, only expose fbconfigs with stencil.Michel Dänzer2009-07-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Otherwise simple apps like glxgears pick up a DirectColor visual since the X server mixes the depth 32 visual in with the other GLX visuals, and this seems to result in a (mostly) black screen due to a bad ColorMap for a lot of people. The bad ColorMap may be a bug in the apps, the X server or X driver, and regardless of that I think the X server should ideally make the depth 32 GLX visual separate from the rest again, but in the meantime this makes us cope. (depth_bits is either 16 or 24, never 0)
| * R300: add quadpipe overridesAlex Deucher2009-04-281-4/+13
| | | | | | | | | | RV410 SE chips only have 1 quadpipe. Also, handle other R300 chip with quadpipe override
* | R6xx/r7xx: first pass at texture supportAlex Deucher2009-07-061-4/+4
| | | | | | | | texture bo setup isn't quite working yet
* | Merge master and fix conflictsAlex Deucher2009-06-121-85/+93
|\ \
| * | radeon: Provide a more detailled GL_RENDERER string.Nicolai Hähnle2009-06-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Display the chip family and PCI ID. This can be parsed easily, and essentially all information that the driver has about the chip can be deduced from it. Signed-off-by: Nicolai Hähnle <[email protected]>