OpenGL and EGL entry

I. Introduction

EGL is an interface between the rendering API (such as OpenGL ES) and the native windowing system.

Generally speaking, the OpenGL is a GPU operation of the API , it is sent through the GPU driver related to the instruction, the graphics rendering pipeline running state of the state machine, but when it comes to interact with the native windowing system, requires such a intermediate layer, and it is the best platform independent.

EGL is designed so as OpenGL and between the native window system bridge.
Second, the function

EGL API is independent of the OpenGL ES standard versions of an independent set of API, its main role is to create OpenGL command Context, draw the target Surface, configuration FrameBuffer property, Swap submit draw results and the like.

EGL provides the following mechanisms:

    window native device communication and
    query drawing surface types and configurations available
    to create a drawing surface
    synchronization between OpenGL ES 3.0 rendering or other rendering API
    Management texture mapping rendering resources
----------- ----------  
author: hooligan __  
source: CSDN  
original: https: //blog.csdn.net/afei__/article/details/84867104  

Guess you like

Origin www.cnblogs.com/BambooEatPanda/p/11077138.html