Mir

mir:pervasive-libepoxy

Last commit made on 2020-09-11
Get this branch:
git clone -b pervasive-libepoxy https://git.launchpad.net/mir

Branch merges

Branch information

Name:
pervasive-libepoxy
Repository:
lp:mir

Recent commits

515a3a0... by Chris Halse Rogers

Switch to using libepoxy everywhere

8688609... by Chris Halse Rogers

mtd: Remove no-longer-used nested_mock_egl

b21a376... by Chris Halse Rogers

mtd::Mock{GL,EGL}: Implement mocks in epoxy-copmatible fashion

libepoxy `#define`s the various EGL/GLES and extension entrypoints to point to its
resolver functions.

This is very convenient when *using* those entrypoints! You just call the function,
and it works!

This is *less* convenient when trying to mock out those entrypoints.

So, rather than trying to not `#include` epoxy in the mock implementations, just
do an `#undef`/declare-as-C/define dance for each of the entrypoints we want to mock.

31dee79... by Chris Halse Rogers

mtd::Mock{GL,EGL}: Use new dlopen interceptor helper

ffe3606... by Chris Halse Rogers

mtf: Add dlopen-interposing helper

We need to intercept libepoxy's calls to `dlopen` libEGL and libGLESv2
in order to redirect them to our mock implementations.

f4a277a... by "bors[bot]" <26634292+bors[bot]@users.noreply.github.com>

Merge #1695

1695: Add HostedGLMark2Wayland performance tests r=wmww a=AlanGriffiths

Co-authored-by: Alan Griffiths <email address hidden>

049de98... by Alan Griffiths

Add HostedGLMark2Wayland performance tests

2583bfb... by "bors[bot]" <26634292+bors[bot]@users.noreply.github.com>

Merge #1691

1691: gbm-kms: Enable more GL debugging for --debug r=AlanGriffiths a=RAOF

This sets up a debug GL context, which drivers will generally use to do more checks and output more verbose messages, and installs a maximally-verbose GL debug logging callback to catch those messages.

Co-authored-by: Christopher James Halse Rogers <email address hidden>

72c78ec... by Chris Halse Rogers

tests/MockEGL: Handle libepoxy `dlopen`ing libEGL.

libepoxy dynamically loads libEGL, so our mocks in mock_egl.cpp aren't
used by calls through epoxy. (epoxy *also* `dlopen`s libGL/GLES, but
that's not a problem for now).

Add a `dlopen` interposer to catch attempts to load `libEGL.so.1` and
resolve them to the test binary instead so that the mock entrypoints
are used.

9ab1ca8... by Chris Halse Rogers

gbm-kms: Only enable GL debug when debugging is enabled