mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2024-11-28 15:09:17 +08:00
92 lines
2.8 KiB
XML
92 lines
2.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE entry SYSTEM "SamplesInfo.dtd">
|
|
<entry>
|
|
<name>simpleGLES_EGLOutput</name>
|
|
<cflags>
|
|
<flag>-DUSE_CUDAINTEROP</flag>
|
|
<flag>-DGRAPHICS_SETUP_EGL</flag>
|
|
<flag>-DUSE_GLES</flag>
|
|
<flag>-I/usr/include/libdrm</flag>
|
|
<flag>-I/usr/include/drm</flag>
|
|
</cflags>
|
|
<cuda_api_list>
|
|
<toolkit>cudaGraphicsUnmapResources</toolkit>
|
|
<toolkit>cudaMemcpy</toolkit>
|
|
<toolkit>cudaFree</toolkit>
|
|
<toolkit>cudaGraphicsResourceGetMappedPointer</toolkit>
|
|
<toolkit>cudaGraphicsMapResources</toolkit>
|
|
<toolkit>cudaDeviceSynchronize</toolkit>
|
|
<toolkit>cudaGraphicsUnregisterResource</toolkit>
|
|
<toolkit>cudaMalloc</toolkit>
|
|
<toolkit>cudaGraphicsGLRegisterBuffer</toolkit>
|
|
</cuda_api_list>
|
|
<description><![CDATA[Demonstrates data exchange between CUDA and OpenGL ES (aka Graphics interop). The program modifies vertex positions with CUDA and uses OpenGL ES to render the geometry, and shows how to render directly to the display using the EGLOutput mechanism and the DRM library.
|
|
|
|
```
|
|
NOTE: On Orin platform, execute this command before running sample:
|
|
$ sudo modprobe nvidia-drm modeset=1
|
|
```
|
|
]]></description>
|
|
<devicecompilation>whole</devicecompilation>
|
|
<files>
|
|
<file>data\ref_simpleGLES_EGLOutput.bin</file>
|
|
</files>
|
|
<includepaths>
|
|
<path>./</path>
|
|
<path>../</path>
|
|
<path>../../../Common</path>
|
|
</includepaths>
|
|
<keyconcepts>
|
|
<concept level="basic">Graphics Interop</concept>
|
|
<concept level="basic">Vertex Buffers</concept>
|
|
<concept level="basic">3D Graphics</concept>
|
|
</keyconcepts>
|
|
<keywords>
|
|
<keyword>OpenGL ES</keyword>
|
|
<keyword>egloutput</keyword>
|
|
</keywords>
|
|
<libraries>
|
|
</libraries>
|
|
<librarypaths>
|
|
</librarypaths>
|
|
<nsight_eclipse>true</nsight_eclipse>
|
|
<primary_file>simpleGLES_EGLOutput.cu</primary_file>
|
|
<qatests>
|
|
<qatest>-file=ref_simpleGLES_EGLOutput.bin</qatest>
|
|
</qatests>
|
|
<required_dependencies>
|
|
<dependency>EGLOutput</dependency>
|
|
<dependency>GLES</dependency>
|
|
</required_dependencies>
|
|
<scopes>
|
|
<scope>1:CUDA Basic Topics</scope>
|
|
<scope>2:Graphics Interop</scope>
|
|
</scopes>
|
|
<sm-arch>sm50</sm-arch>
|
|
<sm-arch>sm52</sm-arch>
|
|
<sm-arch>sm53</sm-arch>
|
|
<sm-arch>sm60</sm-arch>
|
|
<sm-arch>sm61</sm-arch>
|
|
<sm-arch>sm70</sm-arch>
|
|
<sm-arch>sm72</sm-arch>
|
|
<sm-arch>sm75</sm-arch>
|
|
<sm-arch>sm80</sm-arch>
|
|
<sm-arch>sm86</sm-arch>
|
|
<sm-arch>sm87</sm-arch>
|
|
<sm-arch>sm89</sm-arch>
|
|
<sm-arch>sm90</sm-arch>
|
|
<sources>
|
|
<ignore>graphics_interface_egloutput_via_egl.c</ignore>
|
|
</sources>
|
|
<supported_envs>
|
|
<env>
|
|
<arch>arm</arch>
|
|
</env>
|
|
</supported_envs>
|
|
<supported_sm_architectures>
|
|
<include>all</include>
|
|
</supported_sm_architectures>
|
|
<title>Simple OpenGLES EGLOutput</title>
|
|
<type>exe</type>
|
|
</entry>
|