Relationships among the main DirectFB types
来源:互联网 发布:税务软件 编辑:程序博客网 时间:2024/06/09 17:00
There are several one-to-one and one-to-many relationships here:
- 1 IDirectFB (top-level) <--> N Screens
- 1 Screen <--> N Layers
- 1 Layer <--> 1 Primary Surface
- 1 Layer <--> N Windows
- 1 Window <--> 1 Window Surface
- 1 Surface <--> N Subsurfaces
The most common case is one screen with one display layer, but DFB supports multiple instances of each.
Layers and Screens
Each screen can have one or more layers. Usually, a screen will have only one, but system that support overlays may have multiple layers with the hardware letting one layer show through another.
Screens and Windows
A screen cannot directly create a window, but you can ask a screen for the ID of its primary layer, then ask the IDirectFB interface to give you an interface to that layer, then use that interface to create a window.
Surfaces and Windows
Each window has a surface associated with it; drawing to that surface isn't immediately visible on the screen, as the window manager is responsible for compositing the surfaces of the windows to the primary surface based on their update regions and the stacking order, and the window manager is notified of changes by using the Flip() method of the surface.
Surfaces and Layers
A layer also has a surface associated with it; this surface is a direct representation of the layer's screen memory. You can only access this surface when you're in exclusive mode, otherwise you need to create a window and have the window manager draw to the surface.
- Relationships among the main DirectFB types
- Effective C# 9:nderstand the Relationships Among ReferenceEquals(), static Equals(), instance Equals(), and operator==
- Burberry Outlet online Variation among the products namely the main focus of the Hermes fashion hous
- chanel outlet online I am a flare of Harry Potter and all the main characters among it
- DirectFB Reference API Overview - Function Types
- Relationships Among MFC Objects(MFC各对象间的关系)
- Mathematical relationships among map scale, raster data resolution, and map display resolution
- the difference among C,C++ and VC++
- circos - visualizing the genome, among other things
- The Difference among size(), length() and length
- The relationships of Cities and CityPlanning
- The Scheduler supports types
- The Relationship types
- Three Types of Work Relationships(摘录自work from passion)
- few Classics for the maximum among three digits
- bash shell: the difference among 'exec', 'eval', 'source'
- 【DataStructure】The difference among methods addAll(),retainAll() and removeAll()
- The difference among VIRT, RES, and SHR in top output
- 感兴趣的可以进我的校内
- Dshield Web Honeypot
- C#编码好习惯
- 三分钟就知道谁是你最喜欢的人
- 去年国庆写的个台球
- Relationships among the main DirectFB types
- 全国各个软件公司面试题
- WEB暴力破解--我用wvs fuzzer
- 填充DataSet数据集的几种方式
- Java 小例子:打印一个金字塔
- C#中的对象(类的实例)和引用变量(引用实例的那个变量)问题讨论
- 海德也离开了,祝你一路顺风。
- 智能指针释放
- 在C#中如何验证文本框中输入的是不是数字?