New upstream snapshot.
Debian Janitor
2 years ago
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 | |
.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 |
|
0 | 6 |
kmscube (0.0.0~git20210103-1) unstable; urgency=medium
|
1 | 7 |
|
2 | 8 |
* New upstream git snapshot
|
31 | 31 |
#include "common.h"
|
32 | 32 |
#include "drm-common.h"
|
33 | 33 |
|
|
34 |
WEAK union gbm_bo_handle
|
|
35 |
gbm_bo_get_handle_for_plane(struct gbm_bo *bo, int plane);
|
|
36 |
|
34 | 37 |
WEAK uint64_t
|
35 | 38 |
gbm_bo_get_modifier(struct gbm_bo *bo);
|
36 | 39 |
|
|
74 | 77 |
height = gbm_bo_get_height(bo);
|
75 | 78 |
format = gbm_bo_get_format(bo);
|
76 | 79 |
|
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) {
|
79 | 83 |
|
80 | 84 |
uint64_t modifiers[4] = {0};
|
81 | 85 |
modifiers[0] = gbm_bo_get_modifier(bo);
|
82 | 86 |
const int num_planes = gbm_bo_get_plane_count(bo);
|
83 | 87 |
for (int i = 0; i < num_planes; i++) {
|
|
88 |
handles[i] = gbm_bo_get_handle_for_plane(bo, i).u32;
|
84 | 89 |
strides[i] = gbm_bo_get_stride_for_plane(bo, i);
|
85 | |
handles[i] = gbm_bo_get_handle(bo).u32;
|
86 | 90 |
offsets[i] = gbm_bo_get_offset(bo, i);
|
87 | 91 |
modifiers[i] = modifiers[0];
|
88 | 92 |
}
|