History log of /external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a4bf68ca50da0ce291a464aec9b03a469ab2561a 02-Aug-2012 Chad Versace <chad.versace@linux.intel.com> dri: Simplify use of driConcatConfigs

If either argument to driConcatConfigs(a, b) is null or the empty list,
then simply return the other argument as the resultant list.

All callers were accomplishing that same behavior anyway. And each caller
accopmplished it with the same pattern. So this patch moves that external
pattern into the function.

Reviewed-by: <eric@anholt.net>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
264b584294dc1c00c53f6a0622b7e6e55e8dce37 20-Apr-2012 Brian Paul <brianp@vmware.com> nouveau: use _mesa_is_winsys/user_fbo() helpers

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
2e47d01c9e5325906cf3bb979279599991c6328e 23-Dec-2011 Ben Skeggs <bskeggs@redhat.com> nouveau/vieux: switch to libdrm_nouveau-2.0
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
d0dc75c000d5af92648c7de901756400672b8447 06-Dec-2011 Brian Paul <brianp@vmware.com> mesa/drivers: use new swrast renderbuffer functions

Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
875a757ddd103722cfe9a2b21035024aa5a23d32 03-Nov-2011 George Sapountzis <gsapountzis@gmail.com> dri: unify __DRIscreenRec

Also drop DriverAPI field, this is a static symbol and I don't see why it
should be accessed through __DRIscreenRec
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
7192c37294964b3f6e1551469f161593ec8f851d 02-Nov-2011 George Sapountzis <gsapountzis@gmail.com> dri: unify __DriverAPIRec

I dropped the comments because they don't add much.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
d3491e775fb07f891463b2185d74bbad62f3ed24 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> Rename GLvisual and __GLcontextModes to struct gl_config
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
bfc7518ab993b006dffaad5f605137e94ff9d7bc 14-Sep-2010 Francisco Jerez <currojerez@riseup.net> dri/nouveau: Don't request a fake front unnecessarily.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
234286c0f8b7d30ed49223c648d4c73c1a517ab3 22-Apr-2010 Jesse Barnes <jbarnes@virtuousgeek.org> DRI2: add config query extension

Add a new DRI2 configuration query extension. Allows for DRI2 client
code to query for common DRI2 configuration options.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
4a7e9b5df453055ed6eedce1ea5c1d4a2f810fa7 21-Feb-2010 Francisco Jerez <currojerez@riseup.net> dri/nouveau: Implement EXT_texture_from_pixmap.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
56dcd011b5ec33190f268cf546a4c68f81f5ebd0 17-Feb-2010 Francisco Jerez <currojerez@riseup.net> dri/nouveau: Some multithreaded rendering fixes.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
88a560691b904cc8eacda62d9bf80987d3c430c1 08-Feb-2010 Francisco Jerez <currojerez@riseup.net> dri/nouveau: Use event driven buffer validation.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
3cce4a1e10361458630511543b7a8a6438544775 08-Feb-2010 Ian Romanick <ian.d.romanick@intel.com> dri: Allow selective generation of accum. buffer configs

Modify the interface to driCreateConfigs allowing drivers to not
expose configs with an accumuation buffer. All of the drivers calling
function have been updated to pass true for the accumulation
selector. This maintains the current behavior.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Corbin Simpson <MostAwesomeDude@gmail.com>
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
bfb5dc68fcc9f5dee71f66d9499b8bdcde9627ea 01-Feb-2010 Francisco Jerez <currojerez@riseup.net> Import a classic DRI driver for nv0x-nv2x.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
93115c4b235896df097b91edec7458a8a4488c4e 14-Jul-2008 Stephane Marchesin <marchesin@icps.u-strasbg.fr> nouveau: say goodbye to the old DRI driver...
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
e82dd8c6e1fa2fff5b960de26961080ba5e9651d 27-Mar-2008 Kristian Høgsberg <krh@redhat.com> DRI interface changes and DRI2 direct rendering support.

Add DRI2 direct rendering support to libGL and add DRI2 client side
protocol code. Extend the GLX 1.3 create drawable functions in
glx_pbuffer.c to call into the DRI driver when possible.

Introduce __DRIconfig, opaque struct that represents a DRI driver
configuration. Get's rid of the open coded __GLcontextModes in the
DRI driver interface and the context modes create and destroy
functions that the loader was requires to provide. glcore.h is no
longer part of the DRI driver interface. The DRI config is GL binding
agnostic, that is, not specific to GLX, EGL or other bindings.

The core API is now also an extension, and the driver exports a list
of extensions as the symbol __driDriverExtensions, which the loader
must dlsym() for. The list of extension will always include the DRI
core extension, which allows creating and manipulating DRI screens,
drawables and contexts. The DRI legacy extension, when available,
provides alternative entry points for creating the DRI objects that
work with the XF86DRI infrastructure.

Change DRI2 client code to not use drm drawables or contexts. We
never used drm_drawable_t's and the only use for drm_context_t was as
a unique identifier when taking the lock. We now just allocate a
unique lock ID out of the DRILock sarea block. Once we get rid of the
lock entirely, we can drop this hack.

Change the interface between dri_util.c and the drivers, so that the
drivers now export the DriverAPI struct as driDriverAPI instead of the
InitScreen entry point. This lets us avoid dlsym()'ing for the DRI2
init screen function to see if DRI2 is supported by the driver.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
f59d59a95f668b99fa51d25fe6e80ea59fc663ae 02-Mar-2008 Patrice Mandin <pmandin@caramail.com> nouveau: compilation fixes
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
6cb3f5c4d8618a14bb7ad1d9df10ed7e648a7b2b 28-Feb-2008 Kristian Høgsberg <krh@redhat.com> Use __DRIextension mechanism providing loader functionality to the driver.

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.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
6e8d21d72f35767e07081a8bee4323aaaf5e2aae 25-Feb-2008 Kristian Høgsberg <krh@redhat.com> Remove GetMSC DriverAPI function.

The DriverAPI is internal to the DRI drivers and GetDrawableMSC
obsoletes GetMSC. Also, since the DRI driver interface has not yet
been released, just drop the getMSC function from the DRI interface
instead using the ABI preserving version mechanism.

Finally, using void pointer privates in the DRI interface is not allowed,
always pass the actual types around (__DRIdrawable in this case) to
enhance type safety and readability of the code.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
532828b1d3fdf5e9eed8d5ec72ada154b31f92cc 12-Feb-2008 Ben Skeggs <skeggsb@gmail.com> nouveau: ddx versioning changed
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
38fdb47d26055e19d50cd407266b56ed4317ae0a 29-Oct-2007 Jesse Barnes <jesse.barnes@intel.com> Refactor and fix core vblank support

Consolidate support for synchronizing to and retrieving vblank counters. Also
fix the core vblank code to return monotonic MSC counters, which are required
by some GLX extensions. Adding support for multiple pipes to a low level
driver is fairly easy, the Intel 965 driver provides simple example code (see
intel_buffers.c:intelWindowMoved()).

The new code bumps the media stream counter extension version to 2 and adds a
new getDrawableMSC callback. This callback takes a drawablePrivate pointer,
which is used to calculate the MSC value seen by clients based on the actual
vblank counter(s) returned from the kernel. The new drawable private fields
are as follows:
- vblSeq - used for tracking vblank counts for buffer swapping
- vblFlags - flags (e.g. current pipe), updated by low level driver
- msc_base - MSC counter from the last time the current pipe changed
- vblank_base - kernel DRM vblank counter from the last time the pipe changed

Using the above variables, the core vblank code (in vblank.c) can calculate a
monotonic MSC value. The low level DRI drivers are responsible for updating
the current pipe (by setting VBLANK_FLAG_SECONDARY for example in vblFlags)
along with msc_base and vblank_base whenever the pipe associated with a given
drawable changes (again, see intelWindowMoved for an example of this).

Drivers should fill in the GetDrawableMSC DriverAPIRec field to point to
driDrawableGetMSC32 and add code for pipe switching as outlined above to fully
support the new scheme.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
64106d0d9aeefa6974317042b6bc3e5eaabac5a2 14-May-2007 Kristian Høgsberg <krh@hinata.boston.redhat.com> Pull createNewScreen entry point into dri_util.c.

This pulls the top level createNewScreen entry point out of the drivers
and rewrites __driUtilCreateNewScreen in dri_util.c to be the new entry point.

The change moves more logic into the common/ layer and changes the
createNewScreen entry point to only be defined in one place.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
aceccda56b08338e217991e54607f1c9f18fc3e6 10-May-2007 Kristian Høgsberg <krh@hinata.boston.redhat.com> Drop __DRInativeDisplay and pass in __DRIscreen pointers instead.

Many DRI entry points took a __DRInativeDisplay pointer and a screen
index as arguments. The only use for the native display pointer was to
pass it back to the loader when looking up the __DRIscreen for the given
screen index.

Instead, let's just pass in the __DRIscreen pointer directly, which
let's drop the __DRInativeDisplay type and the getScreen function.

The assumption is now that the loader will be able to retrieve context
from the __DRIscreen pointer when necessary.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
fef3dcbee60b041df64a12511c8aa3c304a04652 13-Aug-2007 Ben Skeggs <skeggsb@gmail.com> nouveau: Always render offscreen, emulate front buffer rendering.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
553f5759a6587d7fe77a62d4d1159ad786b336ee 13-Aug-2007 Ben Skeggs <skeggsb@gmail.com> nouveau: Lets only do private buffers.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
75a88e908242c555b3916bbf61d371e83e6a6dd0 07-Aug-2007 Carlos Martín Nieto <carlos@cmartin.tk> nouveau: update to DRM API patchlevel 10

Finally let DRI build for nouveau.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
cd8613e59d2d27b5f41d23d978afe8e33d206447 12-Jul-2007 Ben Skeggs <skeggsb@gmail.com> nouveau: match drm 0.0.9 interface
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
a8ec5dac3c8c564b1c405798f7703e0d8e650f2d 11-Jul-2007 Arthur Huillet <arthur.huillet@free.fr> bumped nouveau DRM interface version number
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
5e4a0f42f243cd5fbc8718660d78705e8c70808f 09-Jun-2007 Ben Skeggs <darktama@nisroch.keine.ath.cx> nouveau: match drm changes (0.0.7)
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
8051c95a7ede9b9cd4fa89445c52bbcaa7ff766c 26-Mar-2007 Ben Skeggs <skeggsb@gmail.com> nouveau: match drm version bump
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
4b5d6c0435acd84c13e0db3785758fed0bc48fe1 21-Mar-2007 Ben Skeggs <skeggsb@gmail.com> nouveau: update for drm interface changes (0.0.5)
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
a510bc3ee1a696da120c09ee4ec33dc033f671ac 06-Mar-2007 Brian <brian@yutani.localnet.net> Fix/improve framebuffer object reference counting.

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.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
afa780c09d8e48c1c9ecaa4bce1bbe7e8e9c5e2c 28-Feb-2007 Ben Skeggs <skeggsb@gmail.com> nouveau: drm interface changes
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
2d7687865e8831e365756f1270c03ee70298ba4c 24-Jan-2007 Ben Skeggs <darktama@iinet.net.au> nouveau: and here's the "oops, I suck" commit :)
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
42bd32dad7f2bd9b4c4df8a7394328d31748f1f5 25-Jan-2007 Ben Skeggs <darktama@iinet.net.au> nouveau: some extra debug output
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
669fefd3da55e3946b4b65a5d1104540c04717cb 19-Jan-2007 Ben Skeggs <darktama@iinet.net.au> nouveau: bump drm patchlevel
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
634b4b3487dcb22e1660959b6a7ce9a42fa50fe2 15-Jan-2007 Ben Skeggs <darktama@iinet.net.au> nouveau: fail CreateScreen on unknown cards instead of guessing.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
254ce75ac300d8d20ba4e2fce81c4459c692d2b1 02-Jan-2007 Ben Skeggs <darktama@iinet.net.au> nouveau: bump drm patchlevel.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
d79323bd42864fc4768874f56734bad9dc6d8a9c 23-Dec-2006 Ben Skeggs <darktama@iinet.net.au> nouveau: Kill some compile warnings.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
ae8d8d132600cc544b7295c9554e6531bdbd8094 23-Dec-2006 Ben Skeggs <darktama@iinet.net.au> nouveau: Don't fill nrb->dPriv for private buffers
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
1dd6759c059e054a9a2279d2339a5bd8bb83f6b4 23-Dec-2006 Ben Skeggs <darktama@iinet.net.au> nouveau: get 16bpp working
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
c04c74bc5da454478fd0dbf3b25dd54190ac0942 08-Dec-2006 Ben Skeggs <darktama@iinet.net.au> Skeletal extension handling across chipsets.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
bda66ac426e7ebd0c9383c665a43bc9dbe3154f7 08-Dec-2006 Ben Skeggs <darktama@iinet.net.au> oops, typo
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
011377622fa78d141486ba0536a1546cea8cb8c6 08-Dec-2006 Ben Skeggs <darktama@iinet.net.au> Create visuals for modes the ddx provides
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
4cfb762c3eb2ea9a764c7ba0811c338ef5fba8fe 08-Dec-2006 Ben Skeggs <darktama@iinet.net.au> Some work on buffer handling, most likely not entirely correct and
incomplete. But, it works well enough that windows can be
moved/resized.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
d88d895e5a642cffaaf6b654b27686f2eac901d2 03-Dec-2006 Stephane Marchesin <marchesin@icps.u-strasbg.fr> Merge the pciid work. Use lock step versioning with the drm.
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
2af374716f351421b978050b113e93abae0e2dc8 12-Nov-2006 Ben Skeggs <darktama@iinet.net.au> Some more nouveau_screen.c setup, not sure how correct it is yet though..
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
f65a4b8a8dd9f2dfb7f9fb0ce2b1a3ef3382aa84 11-Nov-2006 Stephane Marchesin <marchesin@icps.u-strasbg.fr> Some nouveau_screen work for darktama
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c
e2b4d9b317104ff3c56a9bf108aa79084d49eba5 05-Nov-2006 Stephane Marchesin <marchesin@icps.u-strasbg.fr> Architect the DRI :
- make use of the autogenerated nouveau_reg.h file
- add object creation to the DRI
- some work on screen and context creation
/external/mesa3d/src/mesa/drivers/dri/nouveau/nouveau_screen.c