当前位置:网站首页>[TA frost wolf _may - "hundred people plan"] 1.4 introduction to PC mobile phone graphics API
[TA frost wolf _may - "hundred people plan"] 1.4 introduction to PC mobile phone graphics API
2022-07-01 03:42:00 【zczplus】
【TA- Frost Wolf _may-《 Hundred people plan 》】1.4 PC Mobile phone graphics API Introduce
1.4.1 Basic concepts
- Application end : The program itself , be relative to opengl es, Our own program belongs to the application side
- Primitives : Geometry to render , Or shape . Any square or straight line is an element .
- texture : Let's understand it , It can be understood as a picture , stay opengl es Texture is another name for a picture .
- Striatin : The basic unit of texture
- Vertex array : Vertex refers to the coordinate data of each vertex of an entity ( stay 3D In Cartesian coordinates, i.e x,y,z coordinate ), These coordinate data can be stored together in a memory array , This array is called the vertex array .
- Vertex buffer : Allocate a special area in the video memory to store the vertex array , This memory area is called the vertex buffer .
1.4.2 DirectX, OpenGL, OpenGL ES
Khronos Defined OpenGL, Microsoft defines DirectX
- Mobile terminal :ios and android All support OpenGL ES;
- The computer :Windows System support DirectX and OpenGL, Linux/Mac System support OpenGL.
Khronos Open Standards for Graphics and Compute
- 1990’s OpenGL
- 2000’s OpenGL|ES
- 2005 OpenGL|SC
- 2008 OpenCL
- 2014 SPIR
- 2015 Vulkan
OpenGL ES
OpenGL ES 1.x Series of fixed function pipelines
OpenGL ES 2.0、3.0 Are programmable graphics pipelines .
Developers can write their own code for vertex shaders and fragment shaders in the graphics pipeline .
Rendering flow diagram :
Difference
- Compatibility
3.0 Backwards compatible 2.0; - New characteristics
Shadow mapping 、 Volume rendering 、 be based on GPU Particle animation 、 Geometry instantiation 、 The important functions of texture compression and gamma correction are 2.0 Not available in .3.0 Introduce the above functions and continue to adapt to the limitations of the embedded system . - Render pipeline
3.0 Removed from Alpha Testing and logical operation ,Alpha Testing can be done in the clip shader , Logical operations are rarely used . - Shader scripting
(1) Version statement
Must be used in shader scripts #version 300 es Declare as specified to use OpenGL ES 3.0 edition . Instead of adding a version statement or using #version 100 es The declared version specifies that OpenGL ES 2.0.
(2) Input and output
3.0 Added in,out,inout keyword , To replace attribute and varying keyword .
At the same time to delete gl_FragColor and gl_FragData 了 , Clip shaders can use out Declare field output .
(3) Variable assignment
3.0 You can use it directly layout Assign a value to the variable at the specified position .
1.4.3 OpenGL ES 3.0 new function
I still can't understand , There's an impression , Come back and watch it later .
texture
Shaders
Geometry
Buffer object
Framebuffer
1.4.4 Xiao dragon Adreno Corresponding ES Version, model
Adreno Developed by Qualcomm SIP nucleus GPU And used in their own SoC, The core originally served as BitBoys be engaged in GPU Development work .
2006 year ,BitBoys By ATI Acquisition and opening Imageon product line . Same year AMD Acquisition ATI.2009 year 1 month ,AMD sell Imageon To Qualcomm , And then Imageon Renamed Adreno.
In recent years, Xiaolong's high-end processor version corresponds to Adreno
Xiao dragon 835——Adreno540
Xiao dragon 845——Adreno630
Xiao dragon 850——Adreno630
Xiao dragon 855——Adreno640
Various versions Adreno Corresponding OpenGL ES edition
Adreno130——OpenGL ES 1.1
Adreno200-225——OpenGL ES 2.0
Adreno302-330——OpenGL ES 3.0
Adreno405、418——OpenGL ES 3.1
Adreno420、430——OpenGL ES 3.2
Adreno505、506、508——OpenGL ES 3.2
That is to say, Xiaolong 8 More than one generation of CPU Have wisdom teeth OpenGL ES 3.2 了 .
Vulkan
A new generation API, Also by Khronos The company takes the lead in developing , Designed to be the next generation OpenGL.Vulkan Be able to make better use of CPU Multithreading capabilities of , And through exposure GPU Methods of underlying functions , Provides a large number of control means . Coupled with highly predictable behavior, the graphics effect is better . But for GPU High load of existing programs , If you want to pass OpenGL to turn to Vulkan It is impossible to achieve performance improvement . The focus is on CPU The optimization of the .
边栏推荐
- How to display scrollbars on the right side of the background system and how to solve the problem of double scrollbars
- 小程序容器技术与物联网IoT的结合点
- Split(), split(), slice(), can't you tell?
- [deep learning] activation function (sigmoid, etc.), forward propagation, back propagation and gradient optimization; optimizer. zero_ grad(), loss. backward(), optimizer. Function and principle of st
- Design of serial port receiving data scheme
- The difference between MFC for static libraries and MFC for shared libraries
- Explain spark operation mode in detail (local+standalone+yarn)
- FCN full Convolution Network Understanding and Code Implementation (from pytorch Official Implementation)
- 后台系统页面左边菜单按钮和右边内容的处理,后台系统页面出现双滚动
- Research on target recognition and tracking based on 3D laser point cloud
猜你喜欢

AfxMessageBox和MessageBox的用法

Cygwin的下载和安装配置

Implement pow (x, n) function

监听器 Listener
![[deep learning] activation function (sigmoid, etc.), forward propagation, back propagation and gradient optimization; optimizer. zero_ grad(), loss. backward(), optimizer. Function and principle of st](/img/9f/187ca83be1b88630a6c6fbfb0620ed.png)
[deep learning] activation function (sigmoid, etc.), forward propagation, back propagation and gradient optimization; optimizer. zero_ grad(), loss. backward(), optimizer. Function and principle of st
![Online public network security case nanny level tutorial [reaching out for Party welfare]](/img/66/d9c848a7888e547b7cb28d84aabc24.png)
Online public network security case nanny level tutorial [reaching out for Party welfare]

Test function in pychram

The method to measure the similarity of two vectors: cosine similarity, pytorch calculate cosine similarity: torch nn. CosineSimilarity(dim=1, eps=1e-08)

Ultimate dolls 2.0 | encapsulation of cloud native delivery

Processing of menu buttons on the left and contents on the right of the background system page, and double scrolling appears on the background system page
随机推荐
访问阿里云存储的图片URL实现在网页直接预览略缩图而不直接下载
10、Scanner. Next() cannot read spaces /indexof -1
Take you through a circuit board, from design to production (dry goods)
排序链表(归并排序)
Leetcode 128 longest continuous sequence (hash set)
LeetCode 144二叉树的前序遍历、LeetCode 114二叉树展开为链表
bootsrap中的栅格系统
完全背包问题
Leetcode 31 next spread, leetcode 64 minimum path sum, leetcode 62 different paths, leetcode 78 subset, leetcode 33 search rotation sort array (modify dichotomy)
171. Excel 表列序号
Home online shopping project
FCN全卷积网络理解及代码实现(来自pytorch官方实现)
Explain spark operation mode in detail (local+standalone+yarn)
不用加减乘除实现加法
How to achieve 0 error (s) and 0 warning (s) in keil5
Server rendering technology JSP
205. 同构字符串
在 C 中声明函数之前调用函数会发生什么?
Valentine's Day is nothing.
数据库中COMMENT关键字的使用