summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/fb
AgeCommit message (Collapse)Author
2009-03-07mesa: remove last of _mesa_unreference_framebuffer() callsBrian Paul
2008-09-21mesa: standardize on C99's uint*_t instead of u_int*_tKeith Whitwell
2008-09-18mesa: added "main/" prefix to includes, remove some -I paths from ↵Brian Paul
Makefile.template
2008-02-29Use __DRIextension mechanism providing loader functionality to the driver.Kristian Høgsberg
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.
2007-03-06Fix/improve framebuffer object reference counting.Brian
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.
2006-10-31switch remaining drivers over to vboKeith Whitwell
2006-10-15Remove Driver.ResizeBuffers = _mesa_resize_framebuffer lines.Brian Paul
This is already done by the preceeding call to _mesa_init_driver_functions() which plugs in default functions like that.
2006-03-27Fixup makefile for solo non-eglDave Airlie
2005-09-19compilation fixes, don't know if runtime worksBrian Paul
2005-09-14Instead of calling _mesa_ResizeBuffersMESA() in the Viewport function,Brian Paul
call driUpdateFramebufferSize() when window size/position changes.
2005-09-04Add new void *addr and __DRIdrawablePrivate parameters toBrian Paul
driNewRenderbuffer().
2005-09-03remove SetBufferBrian Paul
2005-08-05More EGL prep. No impact on anything outside of EGLJon Smirl
2005-07-26Fixes the glXGetProcAddress portion of the interface. Most of the functionsIan Romanick
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...
2005-07-24All elements of pre-DRI_NEW_INTERFACE_ONLY are removed. This allowsIan Romanick
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.
2005-06-13fbSwapBuffers needs to return a statusJon Smirl
2005-06-07Add SetBuffer to egl driver tooJon Smirl
2005-06-06Add a NULL SetBuffer function to the fbdev driverJon Smirl
2005-05-20Remove some debug outputJon Smirl
Add #if DEBUG_FRAG in s_nvfragprog.c
2005-05-19Fix EGL fbdev palette problem. demo3 can save ppm of screenJon Smirl
2005-05-18Fix inverted y for egl fbdev, add egl demo3Jon Smirl
2005-05-18Fix for writing the wrong sysfs variable when blankingJon Smirl
2005-05-18Implement fbdev swapbuffers()Jon Smirl
2005-05-17Check error return from _eglInitPbufferSurface() correctlyJon Smirl
2005-05-17Compute stride in the right orderJon Smirl
2005-05-17Added software-based pbuffer support (untested).Brian Paul
Use _eglConfigToContextModesRec() function and remove need for the _EGLConfig->glmode struct. Silence some compiler warnings.
2005-05-17Make EGL_NO_MODE_MESA work.Jon Smirl
2005-05-17Fix several internal problems with generating the list of configs.Jon Smirl
2005-05-16Add error about write permission to fbdev attribsJon Smirl
2005-05-16remove MESA suffix from _eglInitScreenSurface, use swAlpha valueBrian Paul
2005-05-15A few egl patches needed for glitz, mainly config BITSJon Smirl
2005-05-14Forgot to add fb_egl.cJon Smirl
2005-05-13First attempt at getting egl support up on dumb framebuffer.Jon Smirl
Seems to be mostly working. Not all of egl API is implemented.
2005-05-08dri fb works using renderbuffers now in RGBA modeJon Smirl
2005-05-07fbdri can draw double buffered now. Next step is to convert itJon Smirl
to use RenderBuffers.
2005-05-06Fix problem generating mode db. Miniglxtest works now.Jon Smirl
Miniglxsample is still broken with double buffering issues.
2005-05-05Fix up origin in dri/fb driverJon Smirl
Calculated fbBPP
2005-05-05Refactor COMMON_SOURCES up to Makefile.templateAdam Jackson
2005-05-05Minor touchups to fbdev renderbuffer supportJon Smirl
2005-05-05more updates for users of s_spantemp.hBrian Paul
2005-05-04Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul
Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
2005-05-04DRI fbdev driver getting better. Now I can see something on the screenJon Smirl
but it isn't the right something yet.
2005-05-01Improve the DRI fb driver, now it compiles.Jon Smirl
Added code to support NEW_INTERFACE. It still doesn't work. Made it build from make linux-solo.
2004-11-27Remove _mesa_ResizeBuffersMESA() call from _mesa_set_viewport().Brian Paul
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.
2004-07-10Remove DRM_PAGE_SIZE from fb and i810 drivers since it was being used.Jon Smirl
2004-06-29This should make most linux-solo drivers work again. Mainly a fixJon Smirl
for changing SAREA size form DRM_PAGE_SIZE to SAREA_MAX. fb driver is still broken.
2004-06-26Mesa-solo builds with these changes. There are still more fixups needed toJon Smirl
get individual drivers working again. This converts miniglx to the new dri interface. Thanks to Erdi Chen for the new interface code.
2004-06-25Make sure mklib sees the definition of CC and CXX. Make mklib respectIan Romanick
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.
2004-06-03Redo of removing __driRegisterExtensions(). I accidentally undid the ↵Jon Smirl
previous check in.
2004-06-03Open/Close FullScreen die. unichrome and savage implemented, code is ifdef'd outJon Smirl