Skip to content

Commit

Permalink
k230 linux sdk release v0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
wuwentao committed Sep 2, 2024
1 parent abfaa92 commit 99674bd
Show file tree
Hide file tree
Showing 234 changed files with 49,516 additions and 4,257 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ compile_commands.json
.cache
/test
/linux
/buildroot-overlay/board/canaan/k230-soc/rootfs_overlay/etc/version/release_version
.clangd

8 changes: 8 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,10 @@ before_script:
- echo "${DST_DIR}/${SUB_DIR}/"
- ls "${DST_DIR}/${SUB_DIR}/"
- echo "add latest link for current build"
- echo "generate three random numers to sleep and schedule more pipeline job"
- sleep $((RANDOM % 9 + 1))
- sleep $((RANDOM % 9 + 1))
- sleep $((RANDOM % 9 + 1))
- test -h ${DST_DIR}/latest && sudo rm ${DST_DIR}/latest
- sudo ln -s ${DST_DIR}/${SUB_BASE} ${DST_DIR}/latest || exit 1
- ls ${DST_DIR}/latest
Expand Down Expand Up @@ -391,6 +395,10 @@ before_script:
fi
- echo "MR ID ${CI_MERGE_REQUEST_IID}"
- echo "Pipeline ID ${CI_PIPELINE_ID}"
- echo "generate three random numers to sleep and schedule more pipeline job"
- sleep $((RANDOM % 9 + 1))
- sleep $((RANDOM % 9 + 1))
- sleep $((RANDOM % 9 + 1))
- test -d bin || mkdir ./bin
- test -f ./bin/ailab && rm -rf ./bin/ailab
- wget -qc https://ai.b-bug.org/k230/test_resources/ci/tools/ailab -O ./bin/ailab
Expand Down
6 changes: 4 additions & 2 deletions buildroot-overlay/board/canaan/k230-soc/post-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,10 @@ gen_env_bin()
default_env_file=${env_dir}/01studio.env;
fi

if [ ${CONF} == "k230d_canmv_ilp32_defconfig" ]; then
sed -i 's/^bootcmd=.*$/bootcmd=run blinuxilp32;/g' ${default_env_file}
if [ ${CONF} == "k230d_canmv_ilp32_defconfig" ] || [ ${CONF} == "BPI-CanMV-K230D-Zero_ilp32_defconfig" ]; then
sed -i 's/^bootcmd=.*$/bootcmd=run bnuttx;run blinuxilp32;/g' ${default_env_file}
elif [ ${CONF} == "k230d_canmv_defconfig" ] || [ ${CONF} == "BPI-CanMV-K230D-Zero_defconfig" ]; then
sed -i 's/^bootcmd=.*$/bootcmd=run bnuttx;run blinux;/g' ${default_env_file}
else
sed -i 's/^bootcmd=.*$/bootcmd=run blinux;/g' ${default_env_file}
fi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,9 @@ for i in /etc/init.d/S??* ;do
done
mount /dev/mmcblk0p1 /boot
cat /etc/version/release_version
modprobe vvcam_isp
modprobe vvcam_mipi
modprobe vvcam_vb
modprobe vvcam_isp_subdev
modprobe vvcam_video
ISP_MEDIA_SENSOR_DRIVER=/usr/lib/libvvcam.so /usr/bin/isp_media_server > /dev/null 2> /tmp/isp.err.log &

This file was deleted.

3 changes: 1 addition & 2 deletions buildroot-overlay/configs/BPI-CanMV-K230D-Zero_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,13 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="bananapi-canmv-k230d-zero $(LINUX_DIR)"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_GIT=y
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/ruyisdk/linux-xuantie-kernel.git"
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="29ca31b84050c86353b9e7207491e4c1201b10ea"
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="5bbfb4fbf6326dbcba9d16c9ca9013e908a8074f"
BR2_LINUX_KERNEL_DEFCONFIG="k230"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="canaan/bananapi-canmv-k230d-zero"
BR2_LINUX_KERNEL_INSTALL_TARGET=y
BR2_PACKAGE_LINUX_TOOLS_GPIO=y
BR2_PACKAGE_ALSA_UTILS=y
BR2_PACKAGE_FFMPEG=y
BR2_PACKAGE_VVCAM=y
BR2_PACKAGE_COREMARK=y
BR2_PACKAGE_COREMARK_PRO=y
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="k230d-canmv $(LINUX_DIR)"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_GIT=y
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/ruyisdk/linux-xuantie-kernel.git"
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="29ca31b84050c86353b9e7207491e4c1201b10ea"
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="5bbfb4fbf6326dbcba9d16c9ca9013e908a8074f"
BR2_LINUX_KERNEL_DEFCONFIG="k230"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="canaan/bananapi-canmv-k230d-zero.dts"
Expand Down
24 changes: 21 additions & 3 deletions buildroot-overlay/configs/k230_canmv_01studio_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,42 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="k230-canmv-01studio $(LINUX_DIR)"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_GIT=y
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/ruyisdk/linux-xuantie-kernel.git"
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="29ca31b84050c86353b9e7207491e4c1201b10ea"
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="5bbfb4fbf6326dbcba9d16c9ca9013e908a8074f"
BR2_LINUX_KERNEL_DEFCONFIG="k230"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="canaan/k230-canmv-01studio"
BR2_LINUX_KERNEL_INSTALL_TARGET=y
BR2_PACKAGE_LINUX_TOOLS_GPIO=y
BR2_PACKAGE_ALSA_UTILS=y
BR2_PACKAGE_FFMPEG=y
BR2_PACKAGE_VVCAM=y
BR2_PACKAGE_COREMARK=y
BR2_PACKAGE_COREMARK_PRO=y
BR2_PACKAGE_VG_LITE_DEMOS=y
BR2_PACKAGE_PYTHON3=y
BR2_PACKAGE_PYTHON3_BZIP2=y
BR2_PACKAGE_PYTHON3_DECIMAL=y
BR2_PACKAGE_PYTHON3_READLINE=y
BR2_PACKAGE_PYTHON3_SSL=y
BR2_PACKAGE_PYTHON3_SQLITE=y
BR2_PACKAGE_PYTHON3_PYEXPAT=y
BR2_PACKAGE_PYTHON3_XZ=y
BR2_PACKAGE_PYTHON3_ZLIB=y
BR2_PACKAGE_OPENCV4=y
BR2_PACKAGE_OPENCV4_LIB_PYTHON=y
BR2_PACKAGE_OPENCV4_LIB_VIDEOIO=y
BR2_PACKAGE_OPENCV4_LIB_VIDEO=y
BR2_PACKAGE_OPENCV4_WITH_FFMPEG=y
BR2_PACKAGE_OPENCV4_WITH_JPEG=y
BR2_PACKAGE_OPENCV4_WITH_PNG=y
BR2_PACKAGE_OPENCV4_WITH_V4L=y
BR2_PACKAGE_OPENCV4_WITH_WEBP=y
BR2_PACKAGE_OPENCV4_CONTRIB=y
BR2_PACKAGE_LIBGPIOD=y
BR2_PACKAGE_LIBGPIOD_TOOLS=y
BR2_PACKAGE_LRZSZ=y
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_4=y
BR2_TARGET_ROOTFS_EXT2_SIZE="128M"
BR2_TARGET_ROOTFS_EXT2_SIZE="256M"
BR2_TARGET_OPENSBI=y
BR2_TARGET_OPENSBI_CUSTOM_VERSION=y
BR2_TARGET_OPENSBI_CUSTOM_VERSION_VALUE="1.4"
Expand Down
22 changes: 20 additions & 2 deletions buildroot-overlay/configs/k230_canmv_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,36 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="k230-canmv $(LINUX_DIR)"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_GIT=y
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/ruyisdk/linux-xuantie-kernel.git"
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="29ca31b84050c86353b9e7207491e4c1201b10ea"
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="5bbfb4fbf6326dbcba9d16c9ca9013e908a8074f"
BR2_LINUX_KERNEL_DEFCONFIG="k230"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="canaan/k230-canmv"
BR2_LINUX_KERNEL_INSTALL_TARGET=y
BR2_PACKAGE_LINUX_TOOLS_GPIO=y
BR2_PACKAGE_ALSA_UTILS=y
BR2_PACKAGE_FFMPEG=y
BR2_PACKAGE_VVCAM=y
BR2_PACKAGE_COREMARK=y
BR2_PACKAGE_COREMARK_PRO=y
BR2_PACKAGE_VG_LITE_DEMOS=y
BR2_PACKAGE_PYTHON3=y
BR2_PACKAGE_PYTHON3_BZIP2=y
BR2_PACKAGE_PYTHON3_DECIMAL=y
BR2_PACKAGE_PYTHON3_READLINE=y
BR2_PACKAGE_PYTHON3_SSL=y
BR2_PACKAGE_PYTHON3_SQLITE=y
BR2_PACKAGE_PYTHON3_PYEXPAT=y
BR2_PACKAGE_PYTHON3_XZ=y
BR2_PACKAGE_PYTHON3_ZLIB=y
BR2_PACKAGE_OPENCV4=y
BR2_PACKAGE_OPENCV4_LIB_PYTHON=y
BR2_PACKAGE_OPENCV4_LIB_VIDEOIO=y
BR2_PACKAGE_OPENCV4_LIB_VIDEO=y
BR2_PACKAGE_OPENCV4_WITH_FFMPEG=y
BR2_PACKAGE_OPENCV4_WITH_JPEG=y
BR2_PACKAGE_OPENCV4_WITH_PNG=y
BR2_PACKAGE_OPENCV4_WITH_V4L=y
BR2_PACKAGE_OPENCV4_WITH_WEBP=y
BR2_PACKAGE_OPENCV4_CONTRIB=y
BR2_PACKAGE_LIBGPIOD=y
BR2_PACKAGE_LIBGPIOD_TOOLS=y
BR2_PACKAGE_LRZSZ=y
Expand Down
24 changes: 21 additions & 3 deletions buildroot-overlay/configs/k230_evb_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,42 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="k230-evb $(LINUX_DIR)"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_GIT=y
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/ruyisdk/linux-xuantie-kernel.git"
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="29ca31b84050c86353b9e7207491e4c1201b10ea"
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="5bbfb4fbf6326dbcba9d16c9ca9013e908a8074f"
BR2_LINUX_KERNEL_DEFCONFIG="k230"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="canaan/k230-evb"
BR2_LINUX_KERNEL_INSTALL_TARGET=y
BR2_PACKAGE_LINUX_TOOLS_GPIO=y
BR2_PACKAGE_ALSA_UTILS=y
BR2_PACKAGE_FFMPEG=y
BR2_PACKAGE_VVCAM=y
BR2_PACKAGE_COREMARK=y
BR2_PACKAGE_COREMARK_PRO=y
BR2_PACKAGE_VG_LITE_DEMOS=y
BR2_PACKAGE_PYTHON3=y
BR2_PACKAGE_PYTHON3_BZIP2=y
BR2_PACKAGE_PYTHON3_DECIMAL=y
BR2_PACKAGE_PYTHON3_READLINE=y
BR2_PACKAGE_PYTHON3_SSL=y
BR2_PACKAGE_PYTHON3_SQLITE=y
BR2_PACKAGE_PYTHON3_PYEXPAT=y
BR2_PACKAGE_PYTHON3_XZ=y
BR2_PACKAGE_PYTHON3_ZLIB=y
BR2_PACKAGE_OPENCV4=y
BR2_PACKAGE_OPENCV4_LIB_PYTHON=y
BR2_PACKAGE_OPENCV4_LIB_VIDEOIO=y
BR2_PACKAGE_OPENCV4_LIB_VIDEO=y
BR2_PACKAGE_OPENCV4_WITH_FFMPEG=y
BR2_PACKAGE_OPENCV4_WITH_JPEG=y
BR2_PACKAGE_OPENCV4_WITH_PNG=y
BR2_PACKAGE_OPENCV4_WITH_V4L=y
BR2_PACKAGE_OPENCV4_WITH_WEBP=y
BR2_PACKAGE_OPENCV4_CONTRIB=y
BR2_PACKAGE_LIBGPIOD=y
BR2_PACKAGE_LIBGPIOD_TOOLS=y
BR2_PACKAGE_LRZSZ=y
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_4=y
BR2_TARGET_ROOTFS_EXT2_SIZE="128M"
BR2_TARGET_ROOTFS_EXT2_SIZE="256M"
BR2_TARGET_OPENSBI=y
BR2_TARGET_OPENSBI_CUSTOM_VERSION=y
BR2_TARGET_OPENSBI_CUSTOM_VERSION_VALUE="1.4"
Expand Down
3 changes: 1 addition & 2 deletions buildroot-overlay/configs/k230d_canmv_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,13 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="k230d-canmv $(LINUX_DIR)"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_GIT=y
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/ruyisdk/linux-xuantie-kernel.git"
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="29ca31b84050c86353b9e7207491e4c1201b10ea"
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="5bbfb4fbf6326dbcba9d16c9ca9013e908a8074f"
BR2_LINUX_KERNEL_DEFCONFIG="k230"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="canaan/k230d-canmv"
BR2_LINUX_KERNEL_INSTALL_TARGET=y
BR2_PACKAGE_LINUX_TOOLS_GPIO=y
BR2_PACKAGE_ALSA_UTILS=y
BR2_PACKAGE_FFMPEG=y
BR2_PACKAGE_VVCAM=y
BR2_PACKAGE_COREMARK=y
BR2_PACKAGE_COREMARK_PRO=y
Expand Down
2 changes: 1 addition & 1 deletion buildroot-overlay/configs/k230d_canmv_ilp32_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="k230d-canmv $(LINUX_DIR)"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_GIT=y
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/ruyisdk/linux-xuantie-kernel.git"
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="29ca31b84050c86353b9e7207491e4c1201b10ea"
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="5bbfb4fbf6326dbcba9d16c9ca9013e908a8074f"
BR2_LINUX_KERNEL_DEFCONFIG="k230"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="canaan/k230d-canmv"
Expand Down
1 change: 1 addition & 0 deletions buildroot-overlay/package/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -1666,6 +1666,7 @@ menu "Graphics"
source "package/libdmtx/Config.in"
source "package/libdri2/Config.in"
source "package/libdrm/Config.in"
source "package/display/Config.in"
source "package/libepoxy/Config.in"
source "package/libexif/Config.in"
source "package/libfm/Config.in"
Expand Down
43 changes: 43 additions & 0 deletions buildroot-overlay/package/display/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
cmake_minimum_required(VERSION 3.5)

set(CMAKE_CXX_STANDARD 17)

project(display
VERSION 1.0
DESCRIPTION "abstruct to libdrm"
)

include(FindPkgConfig)
find_package(PkgConfig REQUIRED)
pkg_check_modules(LIBDRM REQUIRED libdrm)

file(GLOB SOURCES "src/*.c")

add_library(${PROJECT_NAME} src/display.c)
target_include_directories(${PROJECT_NAME} PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<BUILD_INTERFACE:${LIBDRM_INCLUDE_DIRS}>
#$<INSTALL_INTERFACE:${LIBDRM_INCLUDE_DIRS}>
)
target_link_libraries(${PROJECT_NAME} ${LIBDRM_LIBRARIES})

if(${BUILD_TEST})
add_executable(test-${PROJECT_NAME} src/test.cpp)
target_link_libraries(test-${PROJECT_NAME} display)
endif(${BUILD_TEST})


install(DIRECTORY include/ DESTINATION include)
install(TARGETS ${PROJECT_NAME} DESTINATION lib)

set(DRM_INCLUDES "")
foreach(DRM_INCLUDE ${LIBDRM_INCLUDE_DIRS})
set(DRM_INCLUDES "${DRM_INCLUDES} -I${DRM_INCLUDE}")
endforeach(DRM_INCLUDE ${LIBDRM_INCLUDE_DIRS})

configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}.pc.in
${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.pc
@ONLY
)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.pc DESTINATION lib/pkgconfig)
3 changes: 3 additions & 0 deletions buildroot-overlay/package/display/Config.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
config BR2_PACKAGE_DISPLAY
bool "libdrm abstruct library for display"
select BR2_PACKAGE_LIBDRM
15 changes: 15 additions & 0 deletions buildroot-overlay/package/display/display.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
################################################################################
#
# display
#
################################################################################

DISPLAY_DIR_NAME := display
DISPLAY_APP_NAME := display
DISPLAY_SITE = $(realpath $(TOPDIR))"/package/display"
DISPLAY_SITE_METHOD = local
DISPLAY_INSTALL_STAGING = YES
DISPLAY_INSTALL_TARGET = YES
DISPLAY_DEPENDENCIES = libdrm

$(eval $(cmake-package))
10 changes: 10 additions & 0 deletions buildroot-overlay/package/display/display.pc.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
prefix=@CMAKE_INSTALL_PREFIX@
includedir=${prefix}/include
libdir=${prefix}/lib

Name: @PROJECT_NAME@
Description: @PROJECT_DESCRIPTION@
Version: @PROJECT_VERSION@
Libs: -L${libdir} -l@PROJECT_NAME@
Libs.private: -ldrm
Cflags: -I${includedir} -I${includedir}/libdrm
76 changes: 76 additions & 0 deletions buildroot-overlay/package/display/include/display.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
#pragma once
#ifndef __DISPLAY_H__
#define __DISPLAY_H__

#include <xf86drmMode.h>
#include <xf86drm.h>
#include <drm/drm_fourcc.h>
#include <stdbool.h>

#ifdef __cplusplus
extern "C" {
#endif

#define MAX_PROPS 128
#define DISPLAY_QUEUE_DEPTH 3

struct display {
int fd;
uint32_t conn_id, enc_id, crtc_id, blob_id;
int crtc_idx;
uint32_t width, height;
uint32_t mmWidth, mmHeight;
drmModeModeInfo mode;
drmModeCrtcPtr crtc;
drmModePropertyPtr crtc_props[MAX_PROPS];
uint32_t crtc_props_count;
drmModeConnectorPtr conn;
drmModePropertyPtr conn_props[MAX_PROPS];
uint32_t conn_props_count;
drmModeAtomicReqPtr req;
uint32_t commitFlags;
drmEventContext drm_event_ctx;
struct display_plane* planes;
};

struct display_buffer {
struct display_buffer* next;
struct display_plane* plane;
uint32_t handle;
uint32_t stride, width, height;
uint32_t size;
int dmabuf_fd;
uint32_t id;
void* map;
};

struct display_plane {
struct display_plane* next;
struct display* display;
drmModePlanePtr plane;
drmModePropertyPtr props[MAX_PROPS];
uint8_t props_count;
uint32_t plane_id;
unsigned int fourcc;
bool first;
struct display_buffer* buffers;
};

void display_exit(struct display* display);
struct display* display_init(unsigned device);
struct display_plane* display_get_plane(struct display* display, unsigned int fourcc);
void display_free_plane(struct display_plane* plane);
struct display_buffer* display_allocate_buffer(struct display_plane* plane, uint32_t width, uint32_t height);
void display_free_plane(struct display_plane* plane);
void display_free_buffer(struct display_buffer* buffer);
int display_commit_buffer(const struct display_buffer* buffer, uint32_t x, uint32_t y);
int display_update_buffer(struct display_buffer* buffer, uint32_t x, uint32_t y);
int display_commit(struct display* display);
void display_wait_vsync(struct display* display);
void display_handle_vsync(struct display* display);

#ifdef __cplusplus
}
#endif

#endif
Loading

0 comments on commit 99674bd

Please sign in to comment.