Codebase list kmscube / fresh-snapshots/main
New upstream snapshot. Debian Janitor 2 years ago
4 changed file(s) with 13 addition(s) and 72 deletion(s). Raw diff Collapse all Expand all
+0
-14
.gitignore less more
0 aclocal.m4
1 autom4te.cache
2 Makefile.in
3 Makefile
4 .deps
5 .libs
6 *.o
7 config.log
8 config.status
9 configure
10 kmscube
11 tags
12 TAGS
13 build-aux
+0
-55
.gitlab-ci.yml less more
0 .artifacts-meson: &artifacts-meson
1 when: always
2 paths:
3 - _build/meson-logs
4
5 .meson-build: &meson-build
6 - meson _build -D auto_features=enabled
7 - ninja -C _build
8
9 latest-meson:
10 stage: build
11 image: archlinux/base:latest
12 artifacts: *artifacts-meson
13 before_script:
14 - pacman -Syu --noconfirm --needed
15 base-devel
16 meson
17 libdrm
18 mesa
19 gstreamer
20 gst-plugins-base
21 libpng
22 script: *meson-build
23
24 oldest-meson:
25 stage: build
26 image: debian:stable
27 artifacts: *artifacts-meson
28 before_script:
29 - printf > /etc/dpkg/dpkg.cfg.d/99-exclude-cruft "%s\n"
30 'path-exclude=/usr/share/doc/*'
31 'path-exclude=/usr/share/man/*'
32 - printf > /usr/sbin/policy-rc.d "%s\n"
33 '#!/bin/sh'
34 'exit 101'
35 - chmod +x /usr/sbin/policy-rc.d
36 - apt-get update
37 - apt-get -y --no-install-recommends install
38 build-essential
39 pkg-config
40 libdrm-dev
41 libgbm-dev
42 libegl1-mesa-dev
43 libgles2-mesa-dev
44 libgstreamer1.0-dev
45 libgstreamer-plugins-base1.0-dev
46 gstreamer1.0-plugins-base
47 gstreamer1.0-plugins-base-apps
48 ninja-build
49 python3 python3-pip
50 libpng-dev
51 - pip3 install wheel setuptools
52 - pip3 install meson==0.47
53 script: *meson-build
54
0 kmscube (0.0.0~git20210207-1) UNRELEASED; urgency=low
1
2 * New upstream snapshot.
3
4 -- Debian Janitor <janitor@jelmer.uk> Thu, 19 Aug 2021 06:09:47 -0000
5
06 kmscube (0.0.0~git20210103-1) unstable; urgency=medium
17
28 * New upstream git snapshot
3131 #include "common.h"
3232 #include "drm-common.h"
3333
34 WEAK union gbm_bo_handle
35 gbm_bo_get_handle_for_plane(struct gbm_bo *bo, int plane);
36
3437 WEAK uint64_t
3538 gbm_bo_get_modifier(struct gbm_bo *bo);
3639
7477 height = gbm_bo_get_height(bo);
7578 format = gbm_bo_get_format(bo);
7679
77 if (gbm_bo_get_modifier && gbm_bo_get_plane_count &&
78 gbm_bo_get_stride_for_plane && gbm_bo_get_offset) {
80 if (gbm_bo_get_handle_for_plane && gbm_bo_get_modifier &&
81 gbm_bo_get_plane_count && gbm_bo_get_stride_for_plane &&
82 gbm_bo_get_offset) {
7983
8084 uint64_t modifiers[4] = {0};
8185 modifiers[0] = gbm_bo_get_modifier(bo);
8286 const int num_planes = gbm_bo_get_plane_count(bo);
8387 for (int i = 0; i < num_planes; i++) {
88 handles[i] = gbm_bo_get_handle_for_plane(bo, i).u32;
8489 strides[i] = gbm_bo_get_stride_for_plane(bo, i);
85 handles[i] = gbm_bo_get_handle(bo).u32;
8690 offsets[i] = gbm_bo_get_offset(bo, i);
8791 modifiers[i] = modifiers[0];
8892 }