From 0a54e292e95f3415ea19f4a495db3381502dfdec Mon Sep 17 00:00:00 2001 From: Vincent Wei Date: Sat, 21 Mar 2020 21:47:03 +0800 Subject: [PATCH] tune --- src/include/newgal.h | 2 ++ src/newgal/drm/drmvideo.c | 2 +- src/newgal/drm/drmvideo.h | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/include/newgal.h b/src/include/newgal.h index 16c0b30d..7047a645 100644 --- a/src/include/newgal.h +++ b/src/include/newgal.h @@ -978,6 +978,8 @@ GAL_Surface * GAL_CreateRGBSurfaceInShm (const char* shm_name, BOOL create, #ifdef _MGGAL_DRM /* functions implemented in DRM engine. */ BOOL __drm_get_surface_info (GAL_Surface *surface, DrmSurfaceInfo* info); +int __drm_get_shared_screen_surface (const char*, SHAREDSURFINFO*); +int __drm_auth_client(int, uint32_t); GAL_Surface* __drm_create_surface_from_name (GHANDLE video, uint32_t name, uint32_t drm_format, uint32_t pixels_off, diff --git a/src/newgal/drm/drmvideo.c b/src/newgal/drm/drmvideo.c index c5b49a63..03a6233e 100644 --- a/src/newgal/drm/drmvideo.c +++ b/src/newgal/drm/drmvideo.c @@ -15,7 +15,7 @@ * and Graphics User Interface (GUI) support system for embedded systems * and smart IoT devices. * - * Copyright (C) 2019, Beijing FMSoft Technologies Co., Ltd. + * Copyright (C) 2019 ~ 2020, Beijing FMSoft Technologies Co., Ltd. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/newgal/drm/drmvideo.h b/src/newgal/drm/drmvideo.h index 4c37bc02..5ccde811 100644 --- a/src/newgal/drm/drmvideo.h +++ b/src/newgal/drm/drmvideo.h @@ -15,7 +15,7 @@ * and Graphics User Interface (GUI) support system for embedded systems * and smart IoT devices. * - * Copyright (C) 2019, Beijing FMSoft Technologies Co., Ltd. + * Copyright (C) 2019 ~ 2020, Beijing FMSoft Technologies Co., Ltd. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by