当前位置:网站首页>[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 .
边栏推荐
- 5. [WebGIS practice] software operation - service release and permission management
- 快速筛选打卡时间日期等数据:EXCEL筛选查找某一时间点是否在某一时间段内
- 389. 找不同
- You cannot right-click F12 to view the source code solution on the web page
- 详解Spark运行模式(local+standalone+yarn)
- 4、【WebGIS实战】软件操作篇——数据导入及处理
- [party benefits] jsonobject to string, leave blank
- Blueprism registration, download and install -rpa Chapter 1
- Thread data sharing and security -threadlocal
- Detailed explanation of ES6 deconstruction grammar
猜你喜欢
IPv4和IPv6、局域网和广域网、网关、公网IP和私有IP、IP地址、子网掩码、网段、网络号、主机号、网络地址、主机地址以及ip段/数字-如192.168.0.1/24是什么意思?
Data exchange JSON
LeetCode 144二叉树的前序遍历、LeetCode 114二叉树展开为链表
[nine day training] content III of the problem solution of leetcode question brushing Report
Leetcode 31 next spread, leetcode 64 minimum path sum, leetcode 62 different paths, leetcode 78 subset, leetcode 33 search rotation sort array (modify dichotomy)
FCN full Convolution Network Understanding and Code Implementation (from pytorch Official Implementation)
The preorder traversal of leetcode 144 binary tree and the expansion of leetcode 114 binary tree into a linked list
Are you still wasting brain cells for self-study? This interview note is definitely the ceiling of station C
SEM of C language_ Tvariable type
【TA-霜狼_may-《百人计划》】2.1 色彩空间
随机推荐
Leetcode:829. Sum of continuous integers
C语言的sem_t变量类型
The preorder traversal of leetcode 144 binary tree and the expansion of leetcode 114 binary tree into a linked list
数据库中COMMENT关键字的使用
网页不能右键 F12 查看源代码解决方案
Develop industrial Internet with the technical advantages of small programs
bootsrap中的栅格系统
复习专栏之---消息队列
Take you through a circuit board, from design to production (dry goods)
Binary tree god level traversal: Morris traversal
Bilinear upsampling and f.upsample in pytorch_ bilinear
[small sample segmentation] interpretation of the paper: prior guided feature enrichment network for fee shot segmentation
The method to measure the similarity of two vectors: cosine similarity, pytorch calculate cosine similarity: torch nn. CosineSimilarity(dim=1, eps=1e-08)
整合阿里云短信的问题:无法从静态上下文中引用非静态方法
Valid brackets (force deduction 20)
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
Server rendering technology JSP
完全背包问题
Feign remote call and getaway gateway
排序链表(归并排序)