-
ad08d7bd
by Emil Velikov at 2021-03-07T20:52:31+00:00
waffle: Bump post-release version to 1.7.90
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-
8185f876
by Emil Velikov at 2021-03-07T22:01:59+00:00
doc: Add release notes for 1.7.0
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-
4eaba360
by Emil Velikov at 2021-03-07T22:22:22+00:00
release: Publish Waffle 1.7.0
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-
909c8086
by Emil Velikov at 2021-03-07T22:28:32+00:00
release: Fixup 1.7.0 URLs
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-
6c28e5f1
by Jose Fonseca at 2021-03-15T18:59:28+00:00
gitlab-ci: Build and package with MinGW cross-compilers.
This produces artifacts which can be consumed by downstream piglit
builds.
Further changes can be done to restrict this to specific branches, tags,
or even releases, as publishing artifacts on every build is likely
overkill.
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
-
e2de20ca
by Emil Velikov at 2021-07-12T18:45:13+01:00
wflinfo: doc: use space separator for longopts
Current implementation supports space separated short and long opts.
Additionally it handles space-less short opts and = long opts.
The latter two are less common and adding support for them in the shell
completion is cumbersome. So drop them from the --help and man pages.
The program still supports them so existing users will still work.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-
b18866a9
by Emil Velikov at 2021-07-12T18:45:13+01:00
wflinfo: bash-completion: remove quirky handling
Currently wflinfo supports handling short opts, which are not space
separated. Additionally it also handles long-opt separated via =.
Neither of which is documented any more - latter was previously.
Just keep things simple and remove the extra quirky handling to those.
The program still supports them, so any users are unaffected.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-
a2928750
by Emil Velikov at 2021-07-12T18:46:26+01:00
wflinfo: add zsh completion
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-
924a3b0b
by Emil Velikov at 2021-07-13T15:06:28+01:00
gitlab-ci: use xvfb -noreset
Drop the gratuitous wait and use the -noreset Xvfb option. This should
resolve the intermittent fallouts that we're seeing.
Huge thanks goes to Pekka and Daniel for pointing it out.
Closes: https://gitlab.freedesktop.org/mesa/waffle/-/issues/70
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-
c68525ff
by Emil Velikov at 2021-07-13T15:45:48+01:00
wayland: silence waffle 1.7 deprecation warnings
Keep the build clean by disabling the warnings locally. Using GCC-ism is
fine here, since the code is build only with GCC or Clang both of which
supporting it.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-
7966597b
by Emil Velikov at 2021-07-13T15:45:48+01:00
third_party/threads: initialize abs_time
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-
533d0a05
by Emil Velikov at 2021-07-13T15:45:48+01:00
tests/gl_basic_test: silence maybe-uninitialized warn
GCC insists that assert_true(0) can return, thus assuming that we can
end using a uninitialized variable.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-
e4f87fb5
by Emil Velikov at 2021-07-13T15:45:48+01:00
waffle: consistently set WAFFLE_API_VERSION
Consistently set the define across the project. With that done, we can
enable -Werror=vla
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-
ebcd4fab
by Emil Velikov at 2021-07-13T15:45:48+01:00
waffle: use same version API across programs
None of them uses the fancy new features, but hey at least we're
consistent across the project.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-
e4c04db9
by Emil Velikov at 2021-07-13T15:45:48+01:00
core: use Wpointer-arith safe container_of
Copy Wpointer-arith safe implementation from mesa and toggle the
warning in the meson build.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-
048809d5
by Emil Velikov at 2021-07-13T15:45:48+01:00
core/tests: correct function type
thrd_create() takes a `int (*)(void *)` callback, while currently we're
giving it a `bool (*)(struct thread_arg *)`
Flip the bool to an int.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-
edaccebf
by Emil Velikov at 2021-07-13T15:45:48+01:00
wflinfo: fixup sign-compare warnings
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-
949292dd
by Emil Velikov at 2021-07-13T15:45:48+01:00
tests/gl_basic_test: silence implicit-fallthrough warn
The skip() function from cmocka is missing the noreturn notation. Thus
the compiler assumes that it can return and results in
implicit-fallthrough warnings.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-
d0945124
by Emil Velikov at 2021-07-13T15:45:49+01:00
tests/gl_basic_test: silence sign-compare warning
Seems unhappy to compare int32_t vs enum, oops
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-
7343ed02
by Emil Velikov at 2021-07-13T15:45:49+01:00
meson: enable all the warnings
Enable warning level 1 (3 is too pedantic), alongside a few other
warnings like init-self, missing-declarations and vla.
Technically we're level=2, although cmocka throws a -Wclobbered which is
a PITA to disable when subproject is used.
Explicitly silence unused-parameter - there are too many instances
throughout the project. No point in adding dozens of (void *) casts.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-
c5a30de1
by Emil Velikov at 2021-07-13T15:45:49+01:00
gitlab-ci: flip the error on any warning
Flip the meson werror=true switch. It will help us catch extra issues
before they creep in.
Closes: https://gitlab.freedesktop.org/mesa/waffle/-/issues/73
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-
c8321264
by Emil Velikov at 2021-07-13T14:47:42+00:00
Revert "gbm: work around mesa linkage issue"
This reverts commit 9a4f7c0e4b50f1053318cc76478da530b7b66299.
Remove this ugly workaround. Fixed versions of Mesa have been deployed
5+ years ago.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Conflicts:
src/waffle/gbm/wgbm_display.c
-
6bf58d4b
by Emil Velikov at 2021-07-13T14:47:42+00:00
gbm: use libdrm instead of libudev
Through Mesa we use libdrm's drmDevice2 API to gather DRM device
details. Additionally the API is simpler and the code shorter.
Execution time is nearly identical and with a pending libdrm MR - it
will go down in half.
While here, remove the link-time dependency - using dlopen/dlsym ftw.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-
8121720c
by Emil Velikov at 2021-07-26T19:57:50+01:00
clang-format: add config file
Copy the clang-format config from virgl, tweaking it slightly - column
sizes and include files order.
It does highlight few mostly trivial changes through the codebase.
Albeit none of them is a deal breaker so, no point in a wholesale
"fixup". The follow-up CI stage will ensure, newly merged code is good.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-
ca13f880
by Emil Velikov at 2021-08-01T22:29:58+01:00
gitlab-ci: add clang-format stage
Add a small clang-format.sh script, to manage the merge-base commit
against which we compare.
The magic in there, is copied from the ci-fairy - huge thanks to the
team behind it.
Notes:
- The clang-format-7 dependency tracking it busted across Debian
releases - we need to add git explicitly
- Don't block the build stage, on clang-format
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-
0a1fb6f6
by Emil Velikov at 2021-08-02T11:17:35+01:00
gitlab-ci: move the clang-format/git comment further up
Seemingly having the comment inline breaks with the current templates.
Fixes: ca13f88 ("gitlab-ci: add clang-format stage")
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-
0d3ac7c1
by Jason Ekstrand at 2021-10-14T16:20:16-05:00
wgbm: Don't destroy a surface if init fails
Otherwise, we segfault trying to look up the platform from a window that
was never properly initialized.
Fixes: 6695ab42ae80 ("gbm: factor out gbm_window_{init,teardown}")
-
31bd7b72
by Simon McVittie at 2021-11-30T21:11:04+00:00
waffle_dl: Fix missing format string parameter
Previously, this would print whatever uninitialized value happened to
be on the stack.
Signed-off-by: Simon McVittie <smcv@collabora.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
-
3b5b6476
by Simon McVittie at 2021-11-30T21:11:10+00:00
waffle_window_create2: Fix mismatch between format string and parameter
Signed-off-by: Simon McVittie <smcv@collabora.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
-
5df13f4f
by Simon McVittie at 2021-11-30T21:11:15+00:00
Mark printf-like functions with the appropriate gcc attribute
Signed-off-by: Simon McVittie <smcv@collabora.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
-
60404b41
by Simon McVittie at 2021-11-30T21:11:19+00:00
meson: Enable format-string-related compiler warnings
Signed-off-by: Simon McVittie <smcv@collabora.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
-
f2029b15
by Simon McVittie at 2021-11-30T21:15:36+00:00
wflinfo: Print absence of GL context flags correctly
>From context, it seems this was meant to check gl_context_flags, not the
constant array context_flags.
Detected by clang -Wtautological-pointer-compare.
Signed-off-by: Simon McVittie <smcv@collabora.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
-
6403cdef
by Simon McVittie at 2021-11-30T21:19:11+00:00
wflinfo: Make context_flags more const-correct
String constants aren't suitable for writing, so assign them to a
const char *, not a plain char *.
Detected by gcc -Wwrite-strings.
Signed-off-by: Simon McVittie <smcv@collabora.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
-
20cbf455
by Simon McVittie at 2021-11-30T21:19:56+00:00
meson: Detect non-const-correct uses of string constants
Signed-off-by: Simon McVittie <smcv@collabora.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
-
64c7b541
by Simon McVittie at 2021-11-30T21:20:15+00:00
wflinfo: Move context_flags array into constant data section
Nothing needs to write to this.
Signed-off-by: Simon McVittie <smcv@collabora.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
-
950a1f35
by Dylan Baker at 2021-11-30T21:26:17+00:00
meson: use override_dependency and override_find_program
This allows automatic overrides of the waffle-1 dependency and wflifo
program, when used as a subproject/dependency fallback without having to
specify them in the consumer, as is current meson best practice.
For projects using meson > 0.54, they can then just write:
```meson
dependency('waffle-1')
```
and if they have the waffle-1 wrap installed then meson will
automatically configure the project, and use the built libwaffle-1,
without having to specify fallback parameters in the calling
meson.build. This is quite similar to the find_program_override, which
works for executables instead of dependencies.
-
e8693fc9
by Emil Velikov at 2021-11-30T22:06:49+00:00
editorconfig: add initial file
Our files roughly fall into the following groups:
- source code - c/c++/cocoa - 4 spaces indent
- meson - 2 spaces
- cmake - 2 spaces
- android build - mix of tabs and 4 spaces -- on their way out
- handwritten Docbook XML files (ouch) - 2 spaces
- various one-off files
Based on the above - let's add editorconfig file for meson and
"everything else". It's a decent start going forward.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-
09bce066
by Emil Velikov at 2021-11-30T22:28:27+00:00
tree: update website references
For a while now, we've had https://waffle.freedesktop.org/ and somewhat
recently the original waffle-gl.org domain expired.
Update (nearly) all the existing references. Be that waffle-gl.org ones
or people.freedesktop.org/~chadversary/waffle. The latter redirect to
the former.
Nearly since some archive.waffle-gl.org artefacts are nowhere to be
found ... at a glance. We can tweak or drop those with future commits.
While we're here - httpS all the links :-)
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-
8784f488
by Emil Velikov at 2021-11-30T22:33:44+00:00
doc: update references to new git location
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-
2957dddc
by Emil Velikov at 2021-11-30T22:46:25+00:00
tree: update maintainer Chad -> Emil
Chad has been MIA for a few years now and I (Emil) have been doing the
actual maintenance. Update the references to better indicate reality.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-
28ae862c
by Emil Velikov at 2021-11-30T23:15:10+00:00
man: meson: add all dependencies
Add all author entries, otherwise meson will not flag a rebuild when
they are updated.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-
a7c7152b
by Simon Zeni at 2021-12-03T09:17:19-05:00
remove NaCL backend
-
2c335972
by Philipp Zabel at 2022-04-19T19:55:45+00:00
wayland: fix build against version 1.20
Wayland 1.20 introduces two new symbols wl_proxy_marshal_flags and
wl_proxy_marshal_array_flags, which need to be wrapped as well.
Closes: https://gitlab.freedesktop.org/mesa/waffle/-/issues/76
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
-
2698f6f9
by Simon McVittie at 2022-04-21T18:19:00+00:00
examples, wflinfo: Add missing NORETURN attributes
Detected by clang -Wmissing-noreturn. I haven't added that warning in
meson.build here, because it is also triggered by third-party code in
third_party/threads/threads_posix.c.
Signed-off-by: Simon McVittie <smcv@collabora.com>
-
c0d6c008
by Matt Turner at 2022-05-02T12:40:55-07:00
surfaceless_egl: Implement get_native functions
-
8867ab9a
by Emil Velikov at 2022-06-02T13:21:39+01:00
meson: omit bash completion, with custom prefix
In order for bash completions to work, they must be installed in the
respective folder. Often that folder is writable only by root.
In order words, using a command line the following now is successful,
providing indicative warning message.
meson builddir --prefix `pwd`/inst
...
meson.build:140: WARNING: User provided prefix '.../inst' differs from bash-completion one '/usr'. Disabling completion.
Reported-by: Pekka Paalanen <pekka.paalanen@collabora.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-
b2cb15a4
by Alexander Kanavin at 2022-07-05T11:53:36+02:00
meson.build: request native wayland-scanner
This matters in cross compilation, as otherwise meson will
try to use a cross-binary, and fail.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
-
15727e02
by Romain Naour at 2022-08-07T14:57:30+02:00
cmake: forward cflags from *.pc files to waffle cflags
When building mesa egl without x11 and gles2 the headers need a
EGL_NO_X11 define to avoid including X11 headers.
This define EGL_NO_X11 is lost while building waffle
since CFLAGS defined by pc files are not used.
EGL_NO_X11 is defined in CFLAGS from egl.pc.
Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Retrieved from:
https://git.buildroot.net/buildroot/tree/package/waffle/0001-cmake-forward-cflags-from-.pc-files-to-waffle-cflags.patch]
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-
29bbc315
by Fabrice Fontaine at 2022-08-18T00:04:02+02:00
cmake: drop C++ dependency
C++ dependency has been added for nacl backend which has been added by
https://gitlab.freedesktop.org/mesa/waffle/-/commit/6ca943584e593aec2bd4f9c66d91859e63e02d61
and dropped by
https://gitlab.freedesktop.org/mesa/waffle/-/commit/a7c7152b054e6d2b9af36ed9db9a0df44731b279
Fixes: a7c7152 ("remove NaCL backend")
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-
aa5c9ec9
by Fabrice Fontaine at 2022-08-18T00:09:58+02:00
meson: drop C++ dependency
C++ dependency has been added for nacl backend which has been added by
https://gitlab.freedesktop.org/mesa/waffle/-/commit/6ca943584e593aec2bd4f9c66d91859e63e02d61
and dropped by
https://gitlab.freedesktop.org/mesa/waffle/-/commit/a7c7152b054e6d2b9af36ed9db9a0df44731b279
Fixes: a7c7152 ("remove NaCL backend")
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-
2a6e4d8f
by Emil Velikov at 2022-09-12T16:28:22+01:00
www: kill off the manpages
Having the generated man pages accessible via the website is a nice to
have feature, which is making any form or semi-automated releasing a
nightmare.
If anyone has some smart ideas how to manage those in automated manner -
MRs are welcome. Ideally something more lightweight than pulling bunch
of tools and generating them on each merge.
Until then, let's drop them.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-
1815c361
by Emil Velikov at 2022-09-12T18:00:17+01:00
www: add XDC 2012 presentation notes and videos
The notes were living in the website branch, while the original videos
were gone. Turns out YouTube still had some recordings to add a link to
that.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-
c54c1f03
by Emil Velikov at 2022-09-12T18:19:25+01:00
doc: add notes/announce from the website branch
Few notes/announcements are missing from the in-tree docs folder. Add
those - some are linked by release.html.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-
b92b9b41
by Emil Velikov at 2022-09-12T18:35:41+01:00
www: use the in-tree release-notes, tarballs branch
Currently we copy the release notes to the website branch, only to copy
them back again to public.
Stop that - just use one we already have.
With this the website branch contains only tarballs and their respective
signature/checksums, so rename it to "tarballs".
Update the CI to handle the above, while also fixing the changes logic.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-
5f9b6327
by Emil Velikov at 2022-09-12T18:38:41+01:00
gitlab-ci: remove trailing whitespace
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-
03d0f477
by Emil Velikov at 2022-09-12T18:45:58+01:00
gitlab-ci: correctly copy the www root files
Fixes: b92b9b4 ("www: use the in-tree release-notes, tarballs branch")
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-
b0371729
by Emil Velikov at 2022-09-12T18:54:57+01:00
www: add couple more sections to acknowledgements
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-
8509ee82
by Emil Velikov at 2022-09-13T11:25:07+01:00
editorconfig: https all the links
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-
f03efeb7
by Emil Velikov at 2022-09-13T11:25:07+01:00
README, HACKING: https all the links
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-
9fa336e6
by Emil Velikov at 2022-09-13T11:25:07+01:00
cmake: http -> https where applicable
Note that the GNUInstallDirs is vendored so is unchanged.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-
d9cc7bed
by Emil Velikov at 2022-09-13T11:25:08+01:00
doc: http -> https where applicable
Note that the signed emails have been left as-is, otherwise checking
with gpg will lead to an error.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-
4b8d54d1
by Emil Velikov at 2022-09-13T11:25:08+01:00
waffle: https all the links
The open-std.org ones were 404 so update them instead.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-
068074ee
by Emil Velikov at 2022-09-13T11:25:08+01:00
www: https all the links
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-
eefee6c6
by Emil Velikov at 2022-09-13T11:28:05+01:00
gitlab-ci: correctly handle the release notes
Fixes: b92b9b4 ("www: use the in-tree release-notes, tarballs branch")
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-
1aed8381
by Emil Velikov at 2022-09-13T11:28:05+01:00
gitlab-ci: actually use the tarball branch
Fixes: b92b9b4 ("www: use the in-tree release-notes, tarballs branch")
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-
9c4ce3f8
by Emil Velikov at 2022-09-13T11:28:05+01:00
gitlab-ci: trigger website updates on .gitlab-ci.yml changes
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-
c1574bd8
by Emil Velikov at 2022-09-13T22:30:31+01:00
gitlab-ci: update container to bullseye
The existing buster is oldstable, as such it's stuck with meson 0.49.2
Update it, alongside it we'll get newer clang/clang-format.
Since bullseye features GLVND the whole GL/GLES/EGL/GLX and associated
deps have been reshuffled.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-
3a097f6a
by Emil Velikov at 2022-09-13T22:31:03+01:00
meson: use get_variable() update to meson 0.51
The current "get_pkgconfig_variable()" method is deprecated and due for
removal. Replace it with the 0.51 introduced get_variable(pkgconfig)
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-
18cf4842
by Emil Velikov at 2022-09-13T22:31:03+01:00
meson: remove always true meson.version >= 0.46
The minimum required version is 0.49, ever since the meson build was
introduced.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-
a16983fe
by Emil Velikov at 2022-09-13T22:31:03+01:00
meson: generate cmake files only on Windows
The pkgconfig file is sufficient for anything *nix-y. Unfortunately on
Windows things are a bit more hairy. While it's technically possible to
use it in there, the simpler option is to use the cmake equivalent.
As such, omit installing them on non Windows platforms.
Note: we already require meson 0.51, so the version check is safe to
remove.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-
692046d8
by Emil Velikov at 2022-09-13T22:31:03+01:00
meson: produce summary(), require meson 0.53
Update the requirement to 0.53 (as used in mesa and drm) and use the
0.53 feature - summary().
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-
b19a28e5
by Alyssa Ross at 2023-02-20T17:01:33+00:00
meson: find wayland.xml from wayland-scanner.pc
In wayland, it's the "scanner" meson option that controls whether
wayland.xml is installed, not the "libraries" option (which enables
wayland-client and wayland-server). This means that, if
wayland-scanner is installed into one path, and wayland-client and
wayland-server are installed into another (as we'd like to do in
Nixpkgs), it's wayland-scanner's pkgdatadir that will contain
wayland.xml.
Signed-off-by: Alyssa Ross <hi@alyssa.is>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
-
0c003afc
by Emil Velikov at 2023-03-02T14:22:30+00:00
doc: Add release notes for 1.7.1
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
(cherry picked from commit f6fee19019c4a67785797a00326ce2333676c71a)
-
cafcd1b1
by Emil Velikov at 2023-03-02T14:23:12+00:00
release: Publish 1.7.1
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-
47f1615d
by Emil Velikov at 2023-03-05T18:04:36+00:00
meson: don't run TLS checks on mingw
Align with the cmake build. Using TLS seems to just work, but it pulls
the extra libwinpthread-1.dll, which makes distribution cumbersome.
Fixes: acf1333 ("Initial meson build system")
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-
dcf783f2
by Emil Velikov at 2023-03-05T18:04:48+00:00
wgl: remove unused dummy wgl_error.[ch]
The files contain a couple of unused dummy functions. Namely
wgl_error_to_string wgl_error_failed_func.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-
15bd8691
by Emil Velikov at 2023-03-05T18:04:55+00:00
all: use format(gnu_printf), enable in mingw
The printf attribute is too generic - it usually comes in two variants
gnu_ and ms_. Since we're using the former, annotate it as such.
Kindly highlighted by the mingw-w64 compiler
Fixes: 5df13f4 ("Mark printf-like functions with the appropriate gcc attribute")
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-
832a5c86
by Emil Velikov at 2023-03-05T18:44:06+00:00
doc: Add release notes for 1.7.2
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
(cherry picked from commit f3b42a7216105498842bc6ba77d8481b90d6f5f9)
-
5c1af772
by Emil Velikov at 2023-03-05T18:44:43+00:00
release: Publish 1.7.2
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-
c8dd58a3
by David Heidelberg at 2023-03-31T10:14:27+02:00
www: improve layout a bit
- add lang attribute to the html tag
- move image from the h1 tag (used for headings only)
- make the image float on right side to not interfere with the text
- do not load data from Youtube servers directly. Offer a link to the video
- replace deprecated tt tag with css property
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
-
67d3ea6c
by Gert Wollny at 2023-07-13T13:30:09+02:00
formatting: add add some annotations to not reformat macros
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
-
dbdcc69c
by Gert Wollny at 2023-07-13T13:57:22+02:00
waffle: Add support for create a context with reset notification
v2: Correct checks for EGL version and add more tests (Emil)
v3: * Reorder tests to fit in alphabetically (Emil)
* Fix error checl for EGL support of reset notification (Emil)
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
-
db3276f5
by Emil Velikov at 2023-07-20T14:51:33+01:00
tests/gl_basic_test: remove #undef test* instances
We keep on forgetting to add newly added tests, but more importantly we
don#t need the undefine(s) all together.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-
d27b317c
by Emil Velikov at 2023-07-20T14:51:33+01:00
tests/gl_basic_test: shuffle expect_error further up
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-
f70a6ee9
by Emil Velikov at 2023-07-20T14:59:33+01:00
tests/gl_basic_test: s/test_gl_basic_/test_/
Drop down the over-verbosity making the actual piece being tested stand
out. Indent is intentionally left off, since it'll be used as a marker
while the tests are reworked with follow-up commits.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-
d517b168
by Emil Velikov at 2023-07-20T15:00:38+01:00
tests/gl_basic_test: rework rgb tests
Step one towards converting from the overly verbose design to something
simpler and shorter.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-
1401493a
by Emil Velikov at 2023-07-20T15:45:27+01:00
tests/gl_basic_test: rework the ctx flags tests
Similar to previous commit - drop a ton of the verbosity.
We basically introduce a new test/macro, taking the context flag as
argument, while hard-coding the fwd-compat error within within.
Added bonus - drop the not needed lose_context gles 31/32 tests.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-
b49fe420
by Emil Velikov at 2023-07-20T15:49:01+01:00
tests/gl_basic_test: rework the version tests
The final piece of the rework \o/
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-
88cb9b11
by Emil Velikov at 2023-07-29T12:49:12+01:00
tests/gl_basic_test: print error if waffle_init() fails
... and drop the invalid inline comment.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-
80da0df6
by Emil Velikov at 2023-07-29T16:52:13+01:00
tests/gl_basic_test: rework the testsuite entrypoint
Currently we have a set of nested macros, used to accommodate the
different entrypoint based on WAFFLE_PLATFORM_XXX.
We also wrap each of those in its own macro and build practically the
same code multiple times.
Instead, store the attribute into a global, update gl_basic_init() to
use it and drop (nearly) all the macros and ifdef spaghetti.
As an added bonus this also shaves a few us off the build time and cuts
the resulting binary size in half.
text data bss dec hex filename
53015 14792 128 67935 1095f before/gl_basic_test
25727 3904 144 29775 744f after/gl_basic_test
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-
6d098e83
by Emil Velikov at 2023-07-29T16:59:59+01:00
tests/gl_basic_test: sprinkle some clang-format goodness
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-
b97591f3
by Yurii Kolesnykov at 2023-09-06T21:09:29+03:00
Fix build on macOS by fixing a typo
Signed-off-by: Yurii Kolesnykov <root@yurikoles.com>
-
97a83abd
by Yurii Kolesnykov at 2023-09-25T10:24:47+00:00
Add cflag to fix macOS build
Closes #115
Signed-off-by: Yurii Kolesnykov <root@yurikoles.com>
-
c4824f83
by Emil Velikov at 2023-09-25T12:49:39+00:00
Use a static waffle.def
Currently we explicitly manage the symbol file in a couple of ways,
where neither one is strictly needed. Namely:
- rename it to include the major version
- include the DSO/DLL basename as LIBRARY
The def filename is effectively cosmetic and the LIBRARY entry is not
required in the first place. The compiler can figure things out without
it.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-
ff358408
by Emil Velikov at 2023-09-25T12:49:39+00:00
meson: drop the libwaffle-1.dll lib prefix on windows
The cmake build uses no prefix for the dll, while having lib prefix for
the import library. Aka waffle-1.dll and libwaffle-1.dll.a.
With meson it seems to be all all or nothing. By default libwaffle-1.dll
and libwaffle-1.dll.a are produced. To stay consistent with the cmake
build, explicitly drop the prefix - waffle-1.dll and waffle-1.dll.a.
Newly build software correctly picks up the waffle-1.dll.a and
pre-existing one referencing waffle-1.dll should just work.
Fixes: acf1333 ("Initial meson build system")
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-
f162f812
by Emil Velikov at 2023-09-25T14:43:13+01:00
cmake: deprecate cmake in favour of meson
Add a configure time switch to opt-in iff needed and refer to open
issues for any problems encountered with the meson build or the
artefacts produced.
Also flag a runtime message to stderr at runtime, to point users in the
right direction.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-
724a607a
by Emil Velikov at 2023-09-25T15:06:07+01:00
Error out when nacl is requested, reinstate WAFFLE_PLATFORM_NACL
Bring some basic nacl handling to flag a meaningful error message to the
user. Chances are close to nobody used this, although the extra 20 lines
should make it clearer to potential users.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-
928acfe9
by Emil Velikov at 2023-09-25T15:25:34+01:00
waffle: Bump version to 1.8.0
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-
580b912a
by Emil Velikov at 2023-09-25T15:26:09+01:00
doc: Add release notes for 1.8.0
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-
c4939e9d
by Jordan Justen at 2023-10-06T14:17:00-07:00
Merge tag 'v1.8.0' into debian-unstable
Waffle 1.8.0
-
fa80a931
by Jordan Justen at 2023-10-06T14:18:57-07:00
d/changelog: Start 1.8.0-1 changelog
Signed-off-by: Jordan Justen <jljusten@debian.org>
-
5ab2d5a2
by Jordan Justen at 2023-10-06T15:26:19-07:00
d/control: Upstream replaced libudev dep with libdrm
Ref: 6bf58d4 ("gbm: use libdrm instead of libudev")
Signed-off-by: Jordan Justen <jljusten@debian.org>
-
d893545f
by Jordan Justen at 2023-10-06T16:27:40-07:00
d/changelog: Release 1.8.0-1 to unstable
Signed-off-by: Jordan Justen <jljusten@debian.org>