mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-10-28 00:33:06 +08:00
19 lines
401 B
C++
19 lines
401 B
C++
/*
|
|
* @Author: DI JUNKUN
|
|
* @Date: 2026-09-07
|
|
* Copyright (c) 2026 by DI JUNKUN, All Rights Reserved.
|
|
*/
|
|
|
|
#ifndef _CUDA_GRAPHICS_H_
|
|
#define _CUDA_GRAPHICS_H_
|
|
|
|
namespace crossdesk {
|
|
|
|
// Call before SDL or Slint initializes EGL/GLX. Hybrid laptops otherwise
|
|
// create the GUI context on the integrated GPU while NVDEC uses NVIDIA.
|
|
void ConfigureLinuxCudaGraphics();
|
|
|
|
} // namespace crossdesk
|
|
|
|
#endif
|