History log of /external/mesa3d/src/gallium/state_trackers/dri/drisw.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e43a771dfa5b99899a4a09cdd2989afc25eef17c 15-Oct-2015 Emil Velikov <emil.l.velikov@gmail.com> st/dri: NULL check the pscreen earlier

We delay the null check only to jump through hoops to work around that.
Check early to make our lives easier.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Acked-by: Rob Clark <robclark@freedesktop.org>
/external/mesa3d/src/gallium/state_trackers/dri/drisw.c
23fb11455b415238fb9e378fa0ab51f4b6cefd7a 15-Oct-2015 Emil Velikov <emil.l.velikov@gmail.com> {st,targets}/dri: use static/dynamic pipe-loader

Covert DRI to use only the pipe-loader interface.

With drisw_create_screen and kms_swrast_create_screen replaced by their
pipe-loader equivalent, we can now drop them.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Acked-by: Rob Clark <robclark@freedesktop.org>
/external/mesa3d/src/gallium/state_trackers/dri/drisw.c
af031deed6ab4d6236b896507e8afcf9d6fd3173 07-Oct-2015 Emil Velikov <emil.l.velikov@gmail.com> target-helpers: move the DRI specifics to the target

Rather than having all targets include the file, with only some defining
the relevant guard macro, just move things where they are used.

v2: rebase on top of virgl support.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Acked-by: Rob Clark <robclark@freedesktop.org>
/external/mesa3d/src/gallium/state_trackers/dri/drisw.c
2b676570960277d47477822ffeccc672613f9142 09-Oct-2015 Dave Airlie <airlied@redhat.com> gallium/swrast: fix front buffer blitting. (v2)

So I've known this was broken before, cogl has a workaround
for it from what I know, but with the gallium based swrast
drivers BlitFramebuffer from back to front or vice-versa
was pretty broken.

The legacy swrast driver tracks when a front buffer is used
and does the get/put images when it is mapped/unmapped,
so this patch attempts to add the same functionality to the
gallium drivers.

It creates a new context interface to denote when a front
buffer is being created, and passes a private pointer to it,
this pointer is then used to decide on map/unmap if the
contents should be updated from the real frontbuffer using
get/put image.

This is primarily to make gtk's gl code work, the only
thing I've tested so far is the glarea test from
https://github.com/ebassi/glarea-example.git

v2: bump extension version,
check extension version before calling get image. (Ian)

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91930

Cc: <mesa-stable@lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/state_trackers/dri/drisw.c
a2a1a5805fd617e7f3cc8be44dd79b50da07ebb9 21-Jul-2015 Ilia Mirkin <imirkin@alum.mit.edu> gallium: replace INLINE with inline

Generated by running:
git grep -l INLINE src/gallium/ | xargs sed -i 's/\bINLINE\b/inline/g'
git grep -l INLINE src/mesa/state_tracker/ | xargs sed -i 's/\bINLINE\b/inline/g'
git checkout src/gallium/state_trackers/clover/Doxyfile

and manual edits to
src/gallium/include/pipe/p_compiler.h
src/gallium/README.portability

to remove mentions of the inline define.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Acked-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/state_trackers/dri/drisw.c
13fa84e1bcf1e07c69bb678508f8cdb0912b57c5 01-May-2015 Axel Davy <axel.davy@ens.fr> egl/swrast: Enable config extension for swrast

Enables to use dri config for swrast, like vblank_mode.

Reviewed-by: Dave Airlie <airlied@redhat.com>

Signed-off-by: Axel Davy <axel.davy@ens.fr>
/external/mesa3d/src/gallium/state_trackers/dri/drisw.c
0467a52dc3f7d51eeb51179ce2f9871758ecacb1 07-Feb-2015 Park, Jeongmin <pjm0616@gmail.com> st/dri: Make depth buffer optional for postprocessing

Since only pp_jimenezmlaa uses depth buffer, we can make it optional.

Signed-off-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/state_trackers/dri/drisw.c
5fe400d82a60eafefda4aedf36aaeac7975e3ae7 14-Aug-2014 Emil Velikov <emil.l.velikov@gmail.com> st/dri: Add __DRI2rendererQueryExtension support

The final step to get GLX_MESA_query_renderer working with gallium
drivers.

v2: Remove __DRI2_RENDERER_PREFERRED_PROFILE handling. It's already
handled in dri/common. Spotted by Marek.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
/external/mesa3d/src/gallium/state_trackers/dri/drisw.c
29ca7d2c9488d13e496ec65b6e1e1bf1d53042c5 17-Jun-2014 Emil Velikov <emil.l.velikov@gmail.com> st/dri: merge dri/drm and dri/sw backends

Move the driver_name to dri2/drisw and remove all the SPLIT_TAGETS
mayhem. In the next step we'll unify the dri and dri-swrast targets,
completing the gallium DRI megadriver.

v2: Remove leftover st/dri Makefiles from CONFIG_FILES. Spotted by
Thomas Helland.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Tested-by: Rob Clark <robclark@freedesktop.org>
Tested-by: Thomas Helland <thomashelland90 at gmail.com>
Acked-by: Tom Stellard <thomas.stellard@amd.com>
/external/mesa3d/src/gallium/state_trackers/dri/drisw.c
5b1fc14627ae37c5def70e2d5fe28bf7a4becee6 25-Mar-2010 Jakob Bornecrantz <wallbraker@gmail.com> st/dri: Reshuffle files and make it obvious which files are shared

In short:
git mv ../drisw/Makefile dri/sw
git mv drisw.[c|h] sw
git mv dri2.[c|h] dri1.[c|h] Makefile drm
git rm ../drisw
ln -s <common files> drm/*
ln -s <common files> sw/*
/external/mesa3d/src/gallium/state_trackers/dri/drisw.c
1570e30b487018f056af4d0b5ca83a889f9ce721 25-Mar-2010 George Sapountzis <gsapountzis@gmail.com> st/dri: add TODO list for DRISW
/external/mesa3d/src/gallium/state_trackers/dri/drisw.c
5b75e12f9165c890fd14b22983d6289be8f20abc 25-Mar-2010 George Sapountzis <gsapountzis@gmail.com> st/dri: add drisw
/external/mesa3d/src/gallium/state_trackers/dri/drisw.c