Monday, April 16, 2012

eglGetDisplay函数用法


eglGetDisplay():

Name

eglGetDisplay - return an EGL display connection
返回一个EGL显示连接。


C Specification

EGLDisplay eglGetDisplay(NativeDisplayType native_display)

Parameters

native_display
Specifies the display to connect to. EGL_DEFAULT_DISPLAY indicates the default display.
指定要连接的显示设备。EGL_DEFAULT_DISPLAY表示默认的显示设备。

Description

eglGetDisplay obtains the EGL display connection for the native display native_display.
为显示设备native_display取得一个EGL显示连接。


If display_id is EGL_DEFAULT_DISPLAY, a default display connection is returned.
display_idEGL_DEFAULT_DISPLAY,将返回一个默认的显示连接。


If no display connection matching native_display is available, EGL_NO_DISPLAY is returned. No error is generated.
若没有匹配native_display的显示连接可用,返回EGL_NO_DISPLAY。不会产生错误。


Use eglInitialize to initialize the display connection.
使用eglInitialize来初始化显示连接。


Copyright

Copyright © 2003 Silicon Graphics, Inc.
This document is licensed under the SGI Free Software B License. For details, seehttp://oss.sgi.com/projects/FreeB/.


See Also

eglInitialize

No comments:

Post a Comment