summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/fb/fb_dri.c
Commit message (Collapse)AuthorAgeFilesLines
* compilation fixes, don't know if runtime worksBrian Paul2005-09-191-5/+7
|
* Instead of calling _mesa_ResizeBuffersMESA() in the Viewport function,Brian Paul2005-09-141-2/+14
| | | | call driUpdateFramebufferSize() when window size/position changes.
* Add new void *addr and __DRIdrawablePrivate parameters toBrian Paul2005-09-041-8/+14
| | | | driNewRenderbuffer().
* remove SetBufferBrian Paul2005-09-031-15/+0
|
* Fixes the glXGetProcAddress portion of the interface. Most of the functionsIan Romanick2005-07-261-11/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that are currently obtained via glXGetProcAddress and all of the XF86DRI functions are replaced with a funciton table. This table will be passed to __driCreateNewScreen. One of the functions in the table is getProcAddress. This allows some loaders to expose functionality not in all loaders. This will be immediatly used for glxEnableExtension (formerly known to drivers as __glXScrEnableExtension). libGL (and in the future libglx) expose this function so that drivers can enable GLX extensions. libEGL should exposed eglEnableExtension to enable EGL extensions. The same function cannot be used for both because the extensions have different names and (possibly) different semantics. Drivers can optionally use one, both, or neither. The key parts are in the __DRIinterfaceMethodsRec structure in dri_interface.h. A pointer to one of these structures is passed into __driCreateNewScreen. Because of this, the version of the API is bumped to 20050725. Since the previous version(s) were never in a release, their existance is erased. I was actually a little surprised by how much code this cuts from the drivers. A lot of glXGetProcAddress calls disappear, and a lot of version checks go with them. Nice. The one thing I'm not sure of is removing __glXInitialize. For some reason that function was in the glXGetProcAddress table, but *nothing* in the Mesa tree used it. Did something with DRI conf. use this function? It seems odd...
* All elements of pre-DRI_NEW_INTERFACE_ONLY are removed. This allowsIan Romanick2005-07-241-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1,402 lines of code to be removed from Mesa (drivers and libGL). The big winner is dri_util.c. Primary changes are: 1. Remove all "deprecated" entry-points from the various structures in dri_interface.h. 2. Rename the remaining fields to removed "version numbers." So, bindContext3 becomes bindContext. Functions with "New" in the name (e.g., CreateNewContext) were *not* changed, but that is an option. Having "New" in the name is less annoying to me than having "3" in the name. 3. Remove all compatibility code that handles cases where the driver or the loader is too old to support the latest interfaces. 4. Append the API version to the __driCreateNewScreen function name. This is currently done by hand. In the future (i.e., the next time we make an incompatible change to the interface) we'll want to come up with a better way to do this. This prevents old loaders from being able to load new (incompatible) drivers. 5. Bump the API version to 20050722. All drivers (by way of dri_util.c) require this version. 6. All drivers are *required* to expose GLX_SGIX_fbconfig and GLX_OML_swap_method (or the moral equivalents). Support for these functions in implicit in the use of the "new" interface. 7. Some cases still exist that need to be compiled differently in a loader or core Mesa versus in a driver. These are identified by the define IN_DRI_DRIVER.
* Add SetBuffer to egl driver tooJon Smirl2005-06-071-1/+1
|
* Add a NULL SetBuffer function to the fbdev driverJon Smirl2005-06-061-0/+8
|
* Fix inverted y for egl fbdev, add egl demo3Jon Smirl2005-05-181-5/+5
|
* First attempt at getting egl support up on dumb framebuffer.Jon Smirl2005-05-131-1/+2
| | | | Seems to be mostly working. Not all of egl API is implemented.
* dri fb works using renderbuffers now in RGBA modeJon Smirl2005-05-081-115/+43
|
* fbdri can draw double buffered now. Next step is to convert itJon Smirl2005-05-071-2/+3
| | | | to use RenderBuffers.
* Fix problem generating mode db. Miniglxtest works now.Jon Smirl2005-05-061-3/+3
| | | | Miniglxsample is still broken with double buffering issues.
* Fix up origin in dri/fb driverJon Smirl2005-05-051-72/+14
| | | | Calculated fbBPP
* Minor touchups to fbdev renderbuffer supportJon Smirl2005-05-051-1/+1
|
* more updates for users of s_spantemp.hBrian Paul2005-05-051-70/+83
|
* Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul2005-05-041-63/+109
| | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
* DRI fbdev driver getting better. Now I can see something on the screenJon Smirl2005-05-041-120/+111
| | | | but it isn't the right something yet.
* Improve the DRI fb driver, now it compiles.Jon Smirl2005-05-011-63/+243
| | | | | Added code to support NEW_INTERFACE. It still doesn't work. Made it build from make linux-solo.
* Remove _mesa_ResizeBuffersMESA() call from _mesa_set_viewport().Brian Paul2004-11-271-5/+9
| | | | | | | | Now, the driver's Viewport routine should call _mesa_ResizeBuffersMESA() if necessary. Cleaned up code related to GLframebuffer width/height initialization. Set initial viewport/scissor params in _mesa_make_current2(), instead of in the drivers' MakeCurrent functions.
* Remove DRM_PAGE_SIZE from fb and i810 drivers since it was being used.Jon Smirl2004-07-101-11/+0
|
* This should make most linux-solo drivers work again. Mainly a fixJon Smirl2004-06-291-2/+2
| | | | | for changing SAREA size form DRM_PAGE_SIZE to SAREA_MAX. fb driver is still broken.
* Redo of removing __driRegisterExtensions(). I accidentally undid the ↵Jon Smirl2004-06-031-7/+0
| | | | previous check in.
* Open/Close FullScreen die. unichrome and savage implemented, code is ifdef'd outJon Smirl2004-06-031-9/+7
|
* kill __driRegisterExtensions(), none of the functions did anythingJon Smirl2004-06-031-6/+0
|
* fix bug #957792 (swap buffers), plus misc clean-upsBrian Paul2004-05-211-14/+14
|
* Implemented support for software-based AUX color buffers.Brian Paul2004-03-211-2/+2
| | | | | | Only available with Xlib driver for now. Assorted clean-ups related to Draw/ReadBuffer(). Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc.
* Before calling _mesa_create_context(), initialize a dd_function_table structBrian Paul2004-01-201-56/+36
| | | | | | | | | | by calling _mesa_init_driver_functions() and then plugging in the driver- specific functions. In particular, make sure ctx->Driver.NewTextureObject points to the appropriate driver function so that _all_ texture objects are augmented with the driver-specific data. Put in a bunch of assertions in the texture-related driver functions that texObj->DriverData is valid. Remove old dead code in near future.
* s/char/GLubyte/ to silence warningsBrian Paul2004-01-181-3/+3
|
* Import vtx-0-2-branchKeith Whitwell2003-11-241-1/+0
|
* More SciTech SNAP specific changes to glheader.h. Also modified the macrosKendall Bennett2003-10-081-9/+9
| | | | in swrast/s_spantemp.h to allow dithering to be used in the SNAP drivers.
* Not-quite-functional swrast-only dri driverKeith Whitwell2003-08-061-0/+729