Commits on Source (6)
-
Daniel Stone authored
Signed and unsigned integers are not the same thing. Signed-off-by: Daniel Stone <daniels@collabora.com>
eeaaf6b9 -
Daniel Stone authored
EGL's native display type is not particularly well defined; in gl-renderer we get around this by always treating it as a void *, since for all the platforms we care about it's a pointer - gbm_device, wl_display, or Display *. The surfaceless platform doesn't care what the native display is (since it doesn't have one by definition), so just use NULL instead of what may be either NULL or 0 depending on environmental factors. Signed-off-by: Daniel Stone <daniels@collabora.com>
fa6ae447 -
Daniel Stone authored
Our core test structure is 36 bytes wide. Declaring it with a 32-bit alignment should thus stripe it to 64 bytes. For some reason, clang+lld lays them out with a 96-byte stride within the section (does it want an entire 32-bit word when building with ASan?), getting the code wildly confused when it tries to step through the structures. So we could fix all our tests to avoid the fragile section dance, or we could just waste another 4 bytes per test definition by bumping the alignment up to 64 bytes, which seems to do enough to magically accord with what clang+lld+ASan expect. Signed-off-by: Daniel Stone <daniels@collabora.com>
ccb64f30 -
Daniel Stone authored
When building with Clang, PipeWire throws a warning we should trivially work around: pipewire/pipewire!858 Signed-off-by: Daniel Stone <daniels@collabora.com>
7c8b1525 -
Daniel Stone authored
This shouldn't extend the base .build-env, since we have per-environment extensions. Signed-off-by: Daniel Stone <daniels@collabora.com>
c91a34fb -
Daniel Stone authored
Signed-off-by: Daniel Stone <daniels@collabora.com>
ec1ce9fc