aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/fb
Commit message (Collapse)AuthorAgeFilesLines
* Fix/improve framebuffer object reference counting.Brian2007-03-061-5/+1
| | | | | | | Use _mesa_reference_framebuffer() and _mesa_unreference_framebuffer() functions to be sure reference counting is done correctly. Additional assertions are done too. Note _mesa_dereference_framebuffer() renamed to "unreference" as that's more accurate.
* switch remaining drivers over to vboKeith Whitwell2006-10-312-7/+7
|
* Remove Driver.ResizeBuffers = _mesa_resize_framebuffer lines.Brian Paul2006-10-152-2/+0
| | | | | This is already done by the preceeding call to _mesa_init_driver_functions() which plugs in default functions like that.
* Fixup makefile for solo non-eglDave Airlie2006-03-271-2/+7
|
* compilation fixes, don't know if runtime worksBrian Paul2005-09-193-6/+18
|
* Instead of calling _mesa_ResizeBuffersMESA() in the Viewport function,Brian Paul2005-09-142-3/+27
| | | | call driUpdateFramebufferSize() when window size/position changes.
* Add new void *addr and __DRIdrawablePrivate parameters toBrian Paul2005-09-042-14/+21
| | | | driNewRenderbuffer().
* remove SetBufferBrian Paul2005-09-032-26/+0
|
* More EGL prep. No impact on anything outside of EGLJon Smirl2005-08-051-8/+1
|
* 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.
* fbSwapBuffers needs to return a statusJon Smirl2005-06-131-0/+2
|
* Add SetBuffer to egl driver tooJon Smirl2005-06-072-1/+4
|
* Add a NULL SetBuffer function to the fbdev driverJon Smirl2005-06-061-0/+8
|
* Remove some debug outputJon Smirl2005-05-201-2/+0
| | | | Add #if DEBUG_FRAG in s_nvfragprog.c
* Fix EGL fbdev palette problem. demo3 can save ppm of screenJon Smirl2005-05-191-3/+37
|
* Fix inverted y for egl fbdev, add egl demo3Jon Smirl2005-05-181-5/+5
|
* Fix for writing the wrong sysfs variable when blankingJon Smirl2005-05-181-1/+3
|
* Implement fbdev swapbuffers()Jon Smirl2005-05-181-0/+47
|
* Check error return from _eglInitPbufferSurface() correctlyJon Smirl2005-05-171-1/+1
|
* Compute stride in the right orderJon Smirl2005-05-171-1/+1
|
* Added software-based pbuffer support (untested).Brian Paul2005-05-171-96/+81
| | | | | | Use _eglConfigToContextModesRec() function and remove need for the _EGLConfig->glmode struct. Silence some compiler warnings.
* Make EGL_NO_MODE_MESA work.Jon Smirl2005-05-171-1/+21
|
* Fix several internal problems with generating the list of configs.Jon Smirl2005-05-171-12/+2
|
* Add error about write permission to fbdev attribsJon Smirl2005-05-161-0/+7
|
* remove MESA suffix from _eglInitScreenSurface, use swAlpha valueBrian Paul2005-05-161-2/+2
|
* A few egl patches needed for glitz, mainly config BITSJon Smirl2005-05-151-1/+3
|
* Forgot to add fb_egl.cJon Smirl2005-05-141-0/+798
|
* First attempt at getting egl support up on dumb framebuffer.Jon Smirl2005-05-132-2/+4
| | | | 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
* Refactor COMMON_SOURCES up to Makefile.templateAdam Jackson2005-05-051-11/+0
|
* Minor touchups to fbdev renderbuffer supportJon Smirl2005-05-052-1/+2
|
* 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-012-63/+245
| | | | | 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.
* Mesa-solo builds with these changes. There are still more fixups needed toJon Smirl2004-06-261-65/+14
| | | | | get individual drivers working again. This converts miniglx to the new dri interface. Thanks to Erdi Chen for the new interface code.
* Make sure mklib sees the definition of CC and CXX. Make mklib respectIan Romanick2004-06-251-1/+1
| | | | | | the definitions of CC and CXX on Linux. This fixed build issues with sunos5-gcc and build issues on GCC 2.x Linux when CC and CXX are set to a GCC 3.x compiler.
* 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
|
* Build fixing for FreeBSD. GNU make is installed as gmake, so make a MAKEEric Anholt2004-06-011-1/+1
| | | | | | variable (defaults to "make") and use that. Use the MKDEP and MKDEP_OPTIONS more. Our shell isn't bash, so change the instances of ">& /dev/null" to a more compatible "> /dev/null 2>&1".
* fix bug #957792 (swap buffers), plus misc clean-upsBrian Paul2004-05-211-14/+14
|
* obsolete in favor of regular MakefilesBrian Paul2004-05-121-82/+0
|