匿名
未登录
登录
百问网嵌入式Linux wiki
搜索
查看“OpenGLES overview”的源代码
来自百问网嵌入式Linux wiki
名字空间
页面
讨论
更多
更多
页面选项
Read
查看源代码
历史
←
OpenGLES overview
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
This article gives information about the Linux<sup>®</sup> OpenGL<sup>®</sup> ES framework used to program GPU-based 2D and 3D graphic applications. ==Framework purpose== {{Green|The objective of this chapter is to give general information about the XXX framework.}} {{Green|Explain in few words the main functions, features of the XXX framework (what is it for?). See examples in [[IIO overview#Framework_purpose]] or in [[Crypto API overview#Framework_purpose]].}} {{Green|You can use the following sentence to introduce the XXX framework: "the XXX framework is dedicated to... / mainly includes functions for...".}} {{Green|Optionally, add here general information that will help the readers understand how this article may be useful.}} {{Green|If applicable, give a list of use cases that involve, among others, the XXX framework. In other words, it is a way to share with the readers some common situations in which the XXX framework is used.<br> See examples in [[IIO overview#Framework purpose]].<br> Generally speaking, these use cases will not be detailed in the user guide. However, if it is the case for few of them, it will be in dedicated articles named "Use case AAA".<br> You can use the following sentence to introduce the use cases list: "Example(s) of use case(s) involving the {{Green|XXX}} framework:". }} ==System overview== {{Green|The objective of this chapter is to identify and describe the main components and APIs of the XXX framework:}} * {{Green|Insert here a system architecture diagram that identifies the components and APIs of the XXX framework:}} ** {{Green|See [[Contributors:Diagram model]] to have the look and feel mandatory for diagram publication}} * {{Green|Optionally add a short description of the framework role and features.}} * {{Green|If needed, add references to "parent" overview articles (e.g. link to [[Overview of GPIO pins]] in [[Pinctrl overview]] and in [[GPIOLib overview]]).}} ===Component description=== {{ReviewsComments|GeraldB: the title should rather be "Components description"}} {{Green|Detail the roles of each component identified in the diagram.}} {{Green|You can optionally separate the descriptions of the user space, kernel space and hardware components, with subchapters or bullets respectively name "User space", "Kernel space" and "Hardware". This presentation is especially pertinent if the components description takes lot of lines.}} ===API description=== {{Green|Detail each API identified in the diagram (user space API, kernel space API, debugfs API...):}} * {{Green|Give links to Web pages such as (non-exhaustive list):}} ** {{Green|Linux driver implementer’s API guide<ref> https://www.kernel.org/doc/html/latest/driver-api/index.html</ref>}} ** {{Green|Kernel Documentation directory<ref>{{CodeSource | Linux kernel | Documentation}} Linux kernel Documentation directory</ref>}} {{Green|You can optionally separate the descriptions of the user space and kernel space (even sysf, debugfs...) interfaces, with subchapters or bullets respectively name "User space interface" and "Kernel space interface" (even "sysfs interface", "Debugfs interface"...). This presentation is especially pertinent if the components description takes lot of lines.}} ==Configuration== {{Green|The objective of this chapter is to explain how to configure the Linux kernel and device tree to have the XXX framework activated.}} ===Kernel configuration=== {{Green|You can use one of the following sentences, depending on your situation:}} * {{Green|"XXX is activated by default in ST deliveries. Nevertheless, if a specific configuration is needed, this section indicates how XXX can be activated/deactivated in the kernel."}} * {{Green|"XXX is activated by default in ST deliveries, and can not be deactivated."}} {{Green|If XXX can be activated/deactivated, explain the Linux kernel configuration with the following sentence and Menuconfig path (see examples in [[IIO overview#Kernel Configuration]] or in [[PWM overview#Kernel Configuration]])}} Activate {{Green|XXX}} in kernel configuration with Linux Menuconfig tool: [[Menuconfig or how to configure kernel]] ({{Green|specify the activated configuration options:}} CONFIG_{{Green|AAA}}, CONFIG_{{Green|BBB}}...): Device Drivers ---> ... ---> ... ===Device tree configuration=== {{Green|The XXX framework generic DT bindings and the detailed DT configuration for STM32 internal peripherals associated with the XXX framework must be described in dedicated (separated) articles (one per internal peripheral) that follow the [[Contributors:Peripheral or framework device tree configuration model]]. Indeed, these articles might be referenced not only in "internal peripheral" articles, but also in "internal peripheral Linux driver" articles and in "framework overview" articles.}} {{Green|However, if the XXX framework is associated with several STM32 internal peripherals, it might be pertinent to refer here to the common parts of the DT configuration.}} {{Green|See examples in [[GPIOLib overview#Device tree configuration]] or in [[IIO overview#Device tree configuration]]}} {{Green|Use the following generic bullet if there are common parts of the DT configuration to explain to the the readers}} {{Green|XXX}} generic DT bindings: * {{Green|...}} Detailed DT configuration for STM32 internal peripherals: * {{Green|Links to internal peripheral device tree configuration articles}} ==How to use the framework== {{Green|The objective of this chapter is to explain to the readers how to use the XXX framework and its underlying Linux drivers and internal peripherals.}} {{Green|To detail a little more, "how to use" aims, to demonstrate that these elements (framework, drivers and internal peripherals) are working correctly, to show how to use the APIs listed in [[#API description]], and to help the readers to create their own applications on top of these elements.}} {{Green|"How to use" could take different forms from simple command lines to execute standard Linux tools, complex scripts (Python, Perl...), standard applications (e.g. GStreamer video player, Java applications...), to standard or ST specific C code.}} {{Green|The objectives and levels defined for the Linux examples fit with the needs of this chapter. So, generally speaking, it might be enough to link here to the "how to" articles written for the Linux examples. See example in [[IIO overview#How to use the framework]]. Note that these "how to" articles might be referenced not only in the "framework overview" articles, but also in the "internal peripheral Linux driver" articles.}} {{Green|Obviously, additional information that you consider out of the "how to" articles scope, might be added in this chapter. This information might be source code, that explains how to use the APIs, but that is not a complete buildable C application. See example in [[Pinctrl overview#How to use the framework]].}} ==How to trace and debug the framework== {{Green|The objective of this chapter is to give methods to monitor, trace and debug the XXX framework. This chapter must be present: it is mandatory to have at least one method presented.}} ===How to monitor=== {{Green|Give instructions to help developer/user to get information about this framework in the Linux file system. Monitoring is understood here as getting static status about the framework.}} ====How to monitor with debugfs==== ====Other ways of monitoring==== {{Green|Up to framework owner to add any relevant other ways to monitor the framework (e.g. device entry, sysfs, procfs...).}} ===How to trace=== {{Green|Give instructions to help developer/user for getting trace(s)via:}} * {{Green|dynamic debug if exist,}} * {{Green|specific log files if exist,}} * {{Green|dmesg output information,}} * {{Green|...}} {{Green|Tracing is understood here as getting dynamic logs about the framework.}} {{Green|Up to framework owner to add any relevant other ways to trace the framework.}} ===How to debug=== {{Green|Give recommendations and tips to developers/users for debugging this framework:}} * {{Green|How to efficiently use the monitoring and trace instructions presented above to debug some "well-known" problems}} * {{Green|How to proceed face to some critical situations (e.g. error messages). Note that there are several ways to describe the debugging procedure:}} ** {{Green|It might be enough to link to a Web article}} ** {{Green|If the explanation takes few lines, a subchapter (or a bullet) is enough}} ** {{Green|If the explanation is long, a dedicated "how to" article is recommended}} * {{Green|Other instructions than the ones presented in the monitoring and trace subchapters above might be proposed}} * {{Green|It might also be interesting to highlight some [[Trace and debug tools]] that are very helpful to debug the XXX framework}} ==Source code location== {{Green|The objective of this chapter is to indicate the location of the XXX framework source code.}} {{Green|See the example in [[GPIOLib overview#Source code location]].}} {{Green|You can use the following way to present the source code location:}} {{Green|"The XXX framework is composed of:"}} * {{Green|Set links to the files (".c", ".h", ".txt"...) thanks to the [[Template:CodeSource]]. See examples in [[Template:CodeSource#Example]].}} ==To go further== {{Green|The objective of this chapter is to give extra information such as links to online trainings, recommended books, tips and tricks that it is not pertinent to put in the other chapters.}} ==References== <references /> <noinclude> {{ArticleBasedOnModel | Framework overview article model}} {{PublicationRequestId | |2019-01-28 | Jean-ChristopheT, Automatic approval (article under construction)}} [[Category:GPU]] </noinclude>
该页面使用的模板:
模板:ArticleBasedOnModel
(
查看源代码
)
模板:Green
(
查看源代码
)
模板:PublicationRequestId
(
查看源代码
)
模板:ReviewsComments
(
查看源代码
)
返回至
OpenGLES overview
。
导航
导航
WIKI首页
官方店铺
资料下载
交流社区
所有页面
所有产品
MPU-Linux开发板
MCU-单片机开发板
Linux开发系列视频
单片机开发系列视频
所有模块配件
Wiki工具
Wiki工具
特殊页面
页面工具
页面工具
用户页面工具
更多
链入页面
相关更改
页面信息
页面日志