summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/fb
Commit message (Collapse)AuthorAgeFilesLines
* mesa: lift default symlinks target into Makefile.templateBrian Paul2009-10-161-2/+0
| | | | Driver Makefiles can still add symlink dependencies/rules if needed.
* egl: Replace IsBound by a pointer to the binding.Chia-I Wu2009-08-031-2/+2
| | | | | | | | | IsBound tells if a context or surface is current. What it does not tell is, to which thread a context is current, or to which context a surface is current. This commit replaces IsBound by a pointer to the binding thread or context. Signed-off-by: Chia-I Wu <[email protected]>
* egl: Remove redundant DeletePending flag.Chia-I Wu2009-07-171-10/+2
| | | | | | | | A context or surface that is neither linked to a display nor current to a thread should be destroyed. Therefore, an unlinked context or surface implies a pending delete automatically. Signed-off-by: Chia-I Wu <[email protected]>
* egl: Use the link functions to manage resources.Chia-I Wu2009-07-171-5/+5
| | | | | | | | This commit uses the newly introduced link functions to manage EGL contexts and surfaces. As a result of this, the API for drivers are changed. All drivers are updated for the change. Signed-off-by: Chia-I Wu <[email protected]>
* mesa: remove last of _mesa_unreference_framebuffer() callsBrian Paul2009-03-071-1/+1
|
* mesa: standardize on C99's uint*_t instead of u_int*_tKeith Whitwell2008-09-212-4/+4
|
* mesa: added "main/" prefix to includes, remove some -I paths from ↵Brian Paul2008-09-182-9/+9
| | | | Makefile.template
* Use __DRIextension mechanism providing loader functionality to the driver.Kristian Høgsberg2008-02-291-4/+5
| | | | | | | 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.
* 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.