summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/fb/fb_dri.c
AgeCommit message (Collapse)Author
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-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-07Add SetBuffer to egl driver tooJon Smirl
2005-06-06Add a NULL SetBuffer function to the fbdev driverJon Smirl
2005-05-18Fix inverted y for egl fbdev, add egl demo3Jon 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-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-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
2004-06-03kill __driRegisterExtensions(), none of the functions did anythingJon Smirl
2004-05-21fix bug #957792 (swap buffers), plus misc clean-upsBrian Paul
2004-03-21Implemented support for software-based AUX color buffers.Brian Paul
Only available with Xlib driver for now. Assorted clean-ups related to Draw/ReadBuffer(). Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc.
2004-01-20Before calling _mesa_create_context(), initialize a dd_function_table structBrian Paul
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.
2004-01-18s/char/GLubyte/ to silence warningsBrian Paul
2003-11-24Import vtx-0-2-branchKeith Whitwell
2003-10-08More SciTech SNAP specific changes to glheader.h. Also modified the macrosKendall Bennett
in swrast/s_spantemp.h to allow dithering to be used in the SNAP drivers.
2003-08-06Not-quite-functional swrast-only dri driverKeith Whitwell