DFBDisplayLayerCallback
Called for each existing display layer. "layer_id" can be used to get an interface to the layer.
DFBGetDataCallback
Called for each block of continuous data requested, e.g. by a Video Provider. Write as many data as you can but not more than specified by length. Return the number of bytes written or 'EOF' if no data is available anymore.
DFBInputDeviceCallback
Called for each existing input device. "device_id" can be used to get an interface to the device.
DFBScreenCallback
Called for each existing screen. "screen_id" can be used to get an interface to the screen.
DFBTextEncodingCallback
Called for each provided text encoding.
DFBVideoModeCallback
Called for each supported video mode.
本文详细介绍了DirectFB中的多种回调函数,包括显示层、输入设备、屏幕、文本编码及视频模式等回调函数的使用方式与作用。通过这些回调函数,开发者可以更好地管理DirectFB环境下的各种资源。
1023

被折叠的 条评论
为什么被折叠?



