Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r300: Renamed the Vector Engine opcode macro. | Oliver McFadden | 2008-03-01 | 3 | -40/+40 |
| | |||||
* | r300: Converted to the new Vector Engine defines. | Oliver McFadden | 2008-03-01 | 4 | -76/+32 |
| | |||||
* | r300: Removed the duplicate dest register defines. | Oliver McFadden | 2008-03-01 | 3 | -12/+8 |
| | |||||
* | r300: Removed the duplicate "easy" vertex program macros. | Oliver McFadden | 2008-03-01 | 2 | -21/+19 |
| | |||||
* | r300: Added the vertex program src/dest register defines. | Oliver McFadden | 2008-03-01 | 1 | -0/+16 |
| | |||||
* | r300: Added the Vector Engine and Math Engine defines from AMD's documentation. | Oliver McFadden | 2008-03-01 | 1 | -2/+84 |
| | |||||
* | r300: Moved the vertex and fragment program macros into the appropriate files. | Oliver McFadden | 2008-03-01 | 4 | -151/+121 |
| | |||||
* | state.depth.range alpha value should be 1, not 0 (bug #14733) | Roland Scheidegger | 2008-03-01 | 1 | -1/+1 |
| | |||||
* | Update libGL DRI loader to latest DRI interface changes. | Kristian Høgsberg | 2008-02-29 | 3 | -58/+22 |
| | |||||
* | Use __DRIextension mechanism providing loader functionality to the driver. | Kristian Høgsberg | 2008-02-29 | 26 | -157/+146 |
| | | | | | | | 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øgsberg | 2008-02-29 | 3 | -26/+23 |
| | | | | | | | | | | | | | | | | | | 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øgsberg | 2008-02-29 | 1 | -0/+1 |
| | | | | Another regression from the intel_context.c merge. | ||||
* | i965: use _Current pointer instead of Current pointer. | Xiang, Haihao | 2008-02-29 | 4 | -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 Anholt | 2008-02-28 | 1 | -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 Anholt | 2008-02-28 | 1 | -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_INST | Christoph Brill | 2008-02-28 | 4 | -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 Anholt | 2008-02-28 | 4 | -22/+54 |
| | |||||
* | [965] Fix serious copy'n'paste failure in brw state dumping. | Eric Anholt | 2008-02-28 | 1 | -3/+3 |
| | |||||
* | mesa: separate shader program object from shader object. | Xiang, Haihao | 2008-02-28 | 3 | -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 height | Zou Nan hai | 2008-02-28 | 1 | -1/+1 |
| | |||||
* | Convert crlf->lf line endings. | José Fonseca | 2008-02-28 | 55 | -27167/+27167 |
| | | | | | | Windows/DOS users should enable core.autocrlf from now on: git config --global core.autocrlf true | ||||
* | r300: properly handle GL_POINT in glPolygonMode | Christoph Brill | 2008-02-27 | 1 | -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øgsberg | 2008-02-27 | 4 | -35/+17 |
| | |||||
* | r300: add artificial output to match fragment program input | Markus Amsler | 2008-02-27 | 2 | -7/+28 |
| | |||||
* | mesa: set input read only on success | Markus Amsler | 2008-02-27 | 1 | -2/+2 |
| | |||||
* | i965: Setup framebuffer texture in meta_draw_region. | Kristian Høgsberg | 2008-02-26 | 4 | -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 Anholt | 2008-02-26 | 1 | -0/+4 |
| | |||||
* | [965] remove dead brw_parameter_list_state_flags. | Eric Anholt | 2008-02-26 | 1 | -80/+0 |
| | | | | This was replaced by Mesa core code. | ||||
* | [r300] fix wow-pinkness regression. Fixed by Markus Amsler | Christoph Brill | 2008-02-26 | 1 | -5/+5 |
| | |||||
* | [r300] Document based on chapter 10.4 and 10.5 | Christoph Brill | 2008-02-26 | 2 | -69/+206 |
| | | | | | | This commit adds most of the graphics backend registers and of the rasterizer registers. Again, some minor bugs were found and marked with TODO or even fixed. | ||||
* | [i915] fix texture size exceed limit case when running celestia | Zou Nan hai | 2008-02-26 | 1 | -1/+3 |
| | |||||
* | [intel] Handle -EAGAINs correctly in execbuffer. | Thomas Hellstrom | 2008-02-26 | 1 | -2/+17 |
| | | | | Dont stop on fence creation errors. | ||||
* | A few more fixes to the dlsym() fix. | Kristian Høgsberg | 2008-02-25 | 1 | -1/+2 |
| | | | | | Argh, seriously, I did test that, I just forgot to amend the commit before pushing. | ||||
* | dri2: dlsym requires some quotes.. | Dave Airlie | 2008-02-26 | 1 | -1/+1 |
| | |||||
* | Use dlsym() to avoid referencing __dri2DriverInitScreen. | Kristian Høgsberg | 2008-02-25 | 1 | -1/+6 |
| | | | | | Sort-of a stop-gap workaround. There are a couple of nicer ways to do this that doesn't require dlfcn.h, but they're more invasive. | ||||
* | autoconf: Add gcc search patch to MKDEP_OPTIONS to eliminate warnings. | Kristian Høgsberg | 2008-02-25 | 3 | -4/+4 |
| | | | | | Also, use -include to avoid error message when make initially fails to include the non-existent depend file. | ||||
* | intel: Add missing include file to silence last couple of warnings. | Kristian Høgsberg | 2008-02-25 | 2 | -0/+2 |
| | |||||
* | intel: Initialize color and spec arrays in LOCAL_VARS macro. | Kristian Høgsberg | 2008-02-25 | 1 | -4/+4 |
| | | | | | Avoids spamming compilation output with tons of warnings about use of possibly uninitialized variables. | ||||
* | Change GetCompressedTexImage in dd_function_table to not take const pointers. | Kristian Høgsberg | 2008-02-25 | 5 | -11/+10 |
| | | | | | They're changed by the intel driver implementation and thus not const. Fixes compilation warning. | ||||
* | Remove GetMSC DriverAPI function. | Kristian Høgsberg | 2008-02-25 | 15 | -69/+8 |
| | | | | | | | | | | | The DriverAPI is internal to the DRI drivers and GetDrawableMSC obsoletes GetMSC. Also, since the DRI driver interface has not yet been released, just drop the getMSC function from the DRI interface instead using the ABI preserving version mechanism. Finally, using void pointer privates in the DRI interface is not allowed, always pass the actual types around (__DRIdrawable in this case) to enhance type safety and readability of the code. | ||||
* | Remove now unused setTexOffset from __DriverAPIRec. | Kristian Høgsberg | 2008-02-25 | 2 | -9/+0 |
| | |||||
* | r300: Corrected a cache flush bug in r300EmitCacheFlush. | Oliver McFadden | 2008-02-25 | 1 | -5/+5 |
| | | | | Corrects commit 74ae5a875d6b3f1ffea2ac09c6ef0062d4980f15. | ||||
* | r300: Moved the state code into separate functions. | Oliver McFadden | 2008-02-25 | 2 | -91/+106 |
| | |||||
* | [r300] revert complete stupid changes | Christoph Brill | 2008-02-25 | 1 | -4/+4 |
| | |||||
* | [r300] Document registers completed 10.1 to 10.3 | Christoph Brill | 2008-02-25 | 1 | -0/+9 |
| | |||||
* | [r300] Add more register from the AMD spec | Christoph Brill | 2008-02-25 | 2 | -5/+33 |
| | |||||
* | [r300] Document POLY_MODE and add some TODOs that might have triggered some bugs | Christoph Brill | 2008-02-25 | 3 | -22/+34 |
| | |||||
* | [r300] Document some registers in the POINT area | Christoph Brill | 2008-02-25 | 1 | -9/+32 |
| | |||||
* | [r300] Further document and add register definitions (found bugs in LINE ↵ | Christoph Brill | 2008-02-25 | 2 | -23/+167 |
| | | | | handling) | ||||
* | [r300] Sync fog color register names | Christoph Brill | 2008-02-25 | 2 | -6/+12 |
| |