Rendering method and device for cross-platform calling OpenGL ES and computer storage medium

A cross-platform, interface technology, applied in computing, program control devices, program control design, etc., to achieve the effect of cross-platform use

Active Publication Date: 2019-04-19
GOSUNCN TECH GRP
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] 2. Solution 2 uses FBO+RBO under GLES2.0 of the Android platform. There is no copy and swap / present interface to swap RBO to the surface window, which means that the Android platform needs to abandon this solution and use the default FBO for direct rendering. , also need to maintain a separate code logic

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Rendering method and device for cross-platform calling OpenGL ES and computer storage medium
  • Rendering method and device for cross-platform calling OpenGL ES and computer storage medium
  • Rendering method and device for cross-platform calling OpenGL ES and computer storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The specific implementation manner of the present invention will be further described in detail below with reference to the drawings and embodiments. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0032] Firstly, the rendering method 100 for calling OpenGL ES across platforms according to an embodiment of the present invention will be described in detail below with reference to the accompanying drawings.

[0033] Such as figure 1 As shown, the rendering method 100 for cross-platform calling OpenGL ES according to an embodiment of the present invention includes:

[0034] Create a GLRenderContext to capture the context of the display window.

[0035] Call the cDisplay interface and pass the image RenderTexture rendering logic into the cDisplay interface to implement OpenGL ES video rendering.

[0036] In other words, according to the rendering method 100 of cross-platform calling ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a rendering method and device for cross-platform calling OpenGL ES and computer storage medium. The method comprises the steps of establishing GLRenderContext to capture the context of a display window; And calling the cDisplay interface and transmitting the image RenderTexture rendering logic into the cDisplay interface to realize the video rendering of the OpenGL ES. The embodiment of the invention discloses a rendering method for calling OpenGL ES in a cross-platform manner. By throwing out the iOS rendering interface and calling the iOS rendering interface from the outside, the video buffering and playing rate control functions can be controlled by a unified control, a set of buffering algorithm does not need to be independently maintained inside, and the iOS application can bypass the EAGL limitation provided by an Apple Corporation, so that the iOS application supports a calling mode similar to EGL direct rendering.

Description

technical field [0001] The present invention relates to the field of mobile device video rendering, and more specifically, to a rendering method for calling OpenGL ES across platforms, a rendering device for calling OpenGL ES across platforms, and a computer storage medium. Background technique [0002] Among the current video playback functions for mobile devices, OpenGL ES (OpenGL for Embedded Systems), as a cross-platform and fully functional image application program interface, is the most suitable alternative for mobile device video rendering. In order to ensure the cross-platform nature of OpenGL ES, OpenGL ES only provides image rendering capabilities, and does not provide the ability to interact with specific platform display windows. Instead, it provides an interface EGL for interacting with native platform windows. This interface provides OpenGL ES and The ability to establish connections between native windows under Windows, Linux, Android and other operating syst...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/445G06F9/451
CPCG06F9/44526G06F9/451
Inventor 吴伟嘉徐昌伟黄仝宇汪刚宋一兵侯玉清刘双广
Owner GOSUNCN TECH GRP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products