summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use _X_HIDDEN to hide a bunch of leaked symbols.Kristian Høgsberg2008-03-085-37/+43
|
* Move DRI context functions into dri_glx.c.Kristian Høgsberg2008-03-087-129/+153
| | | | Also drop isDirect flag; if gc->driContext is non-NULL, it's direct.
* Move DRI drawable creation into dri_glx.c.Kristian Høgsberg2008-03-084-56/+68
|
* Introduce __GLXDRIscreen so we can start moving function pointers in there.Kristian Høgsberg2008-03-085-48/+58
| | | | | Temporarily rename the __DRIscreen member to __driScreen. Eventually, we'll move that into __GLXDRIscreen and only access it in dri_glx.c.
* Move DRI specific parts of CreateContext into dri_glx.c.Kristian Høgsberg2008-03-083-29/+43
|
* Convert driCreateScreen and driDestroyScreen to function pointers.Kristian Høgsberg2008-03-083-19/+23
| | | | | We avoid leaking the symbols and will be able to replace them with DRI2 implementation later on.
* Abstract __DRIdisplayPrivateRec away in dri_glx.c.Kristian Høgsberg2008-03-085-101/+37
| | | | | | | | This patch moves __DRIdisplayPrivateRec definition into dri_glx.c and let's dri_glx.c allocate the __DRIdisplay struct pointer to from __GLXdisplayPrivate. A small step towards moving more of the dri functionality into dri_glx.c.
* Make __glXCloseDisplay static instead of prototyping it to avoid warning.Kristian Høgsberg2008-03-081-9/+1
|
* Move libGL install target to the libGL Makefile.Kristian Høgsberg2008-03-083-17/+16
|
* Simplify LIBGL_DRIVERS_PATH walking.Kristian Høgsberg2008-03-081-76/+19
|
* Simplify dri loading code by eliminating dlopen "cache".Kristian Høgsberg2008-03-084-185/+46
| | | | | | | No need to jump through hoops to track __DRIdrivers and avoid dlopening the same .so more than twice, dlopen() does this internally. Besides, we were already bypassing this and dlopening drivers for each screen, whether or not they were already dlopened.
* libGL: Consolidate DRI initialization in dri_glx.cKristian Høgsberg2008-03-083-406/+411
| | | | Move a lot of code over from glx_ext.c.
* autoconf: Print GCC include path directly and be more robust using itDan Nicholson2008-03-071-4/+5
| | | | | | | | Rather than constructing the GCC include path from `-print-search-dirs', we can get the path directly from `-print-file-name=include'. This is used in the Linux kernel build, for example. If no output is returned from the command, then we don't append a -I path the the makedepend options.
* [intel] Only enable GL_EXT_texture_sRGB on i965.Kristian Høgsberg2008-03-071-1/+1
| | | | Fixes #14799.
* [i965] fix fd.o bug #11471 and #11478Zou Nan hai2008-03-073-8/+23
| | | | | 1. Follow EXT_texture_rectangle with YCbCr texture 2. swap UV component for MESA_FORMAT_YCBCR
* i965: use RGB565 to render a bitmap if Depth is 16Xiang, Haihao2008-03-071-10/+10
|
* i965: Fix double free issue to pass glean/maskedClear testXiang, Haihao2008-03-061-0/+1
|
* i965:fix segfault issue when clearing the window whichXiang, Haihao2008-03-061-1/+2
| | | | | is created with mode GLUT_SINGLE|GLUT_RGB|GLUT_DEPTH. This issue is introduced by 20b8bff49cba3e8246e29004c5ff38f231d589ff
* [intel] Add a driconf option to cache freed buffer objects for reuse.Eric Anholt2008-03-055-15/+209
| | | | | | | | | This is defaulted off as it has potentially large memory costs for a modest performance gain. Ideally we will improve DRM performance to the point where this optimization is not worth the memory cost in any case, or find some middle ground in caching only limited numbers of certain buffers. For now, this provides a modest 4% improvement in openarena on GM965 and 10% in openarena on GM945.
* r300: replace some hard coded mask by define in stencil areaChristoph Brill2008-03-041-6/+6
|
* r300: Fix some issues with masks in stencil buffer areaChristoph Brill2008-03-042-6/+7
|
* [dri2] Add tail pointer to reemitDrawableInfo callback.Kristian Høgsberg2008-03-032-2/+3
| | | | | | | | When the DRI doesn't parse the event buffer for a while, the X server may overwrite data that the driver didn't get a chance to look at. The reemitDrawableInfo callback requests that the X server reemit all info for the specified drawable. To make use of this, the drive needs to know the new tail pointer so it know where to start reading from.
* [dri2] Optimize event parsing to skip obsolete events.Kristian Høgsberg2008-03-031-40/+84
| | | | | | This also fixes the problem where the X server does multiple resizes before the DRI driver gets the events. The obsolete buffer attach events then reference already destroyed buffer objects.
* [intel] Silence unused variable warning when compiling for i965.Kristian Høgsberg2008-03-031-0/+3
|
* nouveau: compilation fixesPatrice Mandin2008-03-021-2/+2
|
* state.depth.range alpha value should be 1, not 0 (bug #14733)Roland Scheidegger2008-03-011-1/+1
|
* Update libGL DRI loader to latest DRI interface changes.Kristian Høgsberg2008-02-293-58/+22
|
* glxgears: oops, remove accidental commit of glFinish() hack.Kristian Høgsberg2008-02-291-1/+0
|
* Use __DRIextension mechanism providing loader functionality to the driver.Kristian Høgsberg2008-02-2928-179/+207
| | | | | | | Instead of passing in a fixed struct, the loader now passes in a list of __DRIextension structs, to advertise the functionality it can provide to the driver. Each extension is individually versioned and can be extended or phased out as the interface develops.
* Reduce the versioning madness required to create a DRI2 screen.Kristian Høgsberg2008-02-294-31/+25
| | | | | | | | | | | | | | | | | | Right now the DRI2 screen constructor takes 3 different versions: DRI, DDX and DRM. This is mostly useless, though: DRI: The DRI driver doesn't actually care about the DRI protocol, it only talks to the loader, which in turn speaks DRI protocol. Thus, the DRI protocol version is of not interest to the DRI driver, but it needs to know what functionality the loader provides. At this point that's reflected in the __DRIinterfaceMethods struct and the internal_version integer. DDX: The DDX version number is essentially used to track extensions to the SAREA. With DRI2 the SAREA consists of a number of versioned, self-describing blocks, so the DDX version is no longer interesting. DRM: We have the fd, lets just ask the kernel ourselves.
* intel: Set the lock flag early to avoid deadlock.Kristian Høgsberg2008-02-291-0/+1
| | | | Another regression from the intel_context.c merge.
* i965: use _Current pointer instead of Current pointer.Xiang, Haihao2008-02-294-24/+7
| | | | fix double free issue(bug#14710). It also corrects glsl/bitmap demo behavior.
* [965] Fix conditional sequencing to allow the frame_buffer_texobj case.Eric Anholt2008-02-281-8/+6
| | | | | Previously the frame_buffer_texobj case would have been bound as a normal texture, at best resulting in no surface data being associated with it.
* [intel] Bug #14575: Unmap buffers when deleting/dataing as required.Eric Anholt2008-02-281-0/+16
| | | | | Otherwise, we would assertion error when doing the final unreference of the buffer with an outstanding map (catching the memory leak).
* r300: R5xx and R3xx use different registers for RS_IP and RS_INSTChristoph Brill2008-02-284-97/+157
| | | | | These changes are taken from the xf86-video-ati driver. They update the header file accordingly and also remove some UNKOWN variables.
* [965] Bug #9151: make fragment.position return window coords not screen coords.Eric Anholt2008-02-284-22/+54
|
* [965] Fix serious copy'n'paste failure in brw state dumping.Eric Anholt2008-02-281-3/+3
|
* added git on Windows sectionBrian2008-02-281-0/+21
|
* a few words about how the cell driver works.Brian2008-02-281-4/+23
|
* mesa: separate shader program object from shader object.Xiang, Haihao2008-02-283-13/+21
| | | | | | | | | Currently a callback delete_shader_cb is used for deleting shader and shader program objects. Mesa detaches all attached shaders in _mesa_free_shader_program_data when deleting shader program objects. However it is likely that these shaders have been freed in _mesa_free_shader, which will result in unexpected behaviour. This fix uses a single callback for shader program objects and deletes shader program objects before shader objects.
* [intel] fix compressed image heightZou Nan hai2008-02-281-1/+1
|
* Convert crlf->lf line endings.José Fonseca2008-02-2863-28018/+28018
| | | | | | Windows/DOS users should enable core.autocrlf from now on: git config --global core.autocrlf true
* Disable autocrlf for Visual Studio project files.Jose Fonseca2008-02-281-0/+4
|
* document cell -DSPU_MAIN_PARAM_LONG_LONG flagBrian2008-02-271-0/+5
|
* r300: properly handle GL_POINT in glPolygonModeChristoph Brill2008-02-271-5/+10
| | | | | | Until now the polygon mode was completely turned of when you used GL_POINT. For me it looked buggy to completely disable the polygon mode for FrontMode and BackMode if any of these was GL_POINT.
* intel: Always use intelInitExtensions() for initializing extensions.Kristian Høgsberg2008-02-274-35/+17
|
* r300: add artificial output to match fragment program inputMarkus Amsler2008-02-272-7/+28
|
* mesa: set input read only on successMarkus Amsler2008-02-271-2/+2
|
* i965: Setup framebuffer texture in meta_draw_region.Kristian Høgsberg2008-02-264-7/+12
| | | | | | | With DRI2 we there is no screen region until a drawable is bound to the context. Set up the framebuffer texture in meta_draw_region instead which should also handle the case where the draw region changes as a result of resizing a redirected window or resizing the screen.
* [965] Don't segfault on INTEL_DEBUG=batch when a surface buffer is NULL.Eric Anholt2008-02-261-0/+4
|