summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/dri
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-02-18 03:43:14 +0000
committerEmil Velikov <[email protected]>2014-04-28 19:11:27 +0100
commit748b35a69f4b4653ebe1e685ec4fae123d78c68a (patch)
treeaf6d5a363284551decc0c3aa1c236a5cf53e80b3 /src/gallium/state_trackers/dri
parent38f20f79da4212c86d0869951f533d66a5ef907e (diff)
dri/radeon: use a const __DRIextension array
Rather than keeping a separate and unused copy of the screen extensions within the radeon screen, use a constant array that can be used directly with __DRIscreen. [Kristian Høgsberg] The copy in the radeon screen isn't unused, that's where the array is built and stored, the dri screen just points to that. The pattern here was used for cases where the extensions exported by a dri driver could vary at runtime, for example depending on chipset. In this case, it's known at compile time, so it makes sense to use a static const array instead. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Kristian Høgsberg <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/dri')
0 files changed, 0 insertions, 0 deletions