[go: up one dir, main page]

CN102880465A - Embedded image method based on open graphics library for embedded systems (OpenGL ES) - Google Patents

Embedded image method based on open graphics library for embedded systems (OpenGL ES) Download PDF

Info

Publication number
CN102880465A
CN102880465A CN 201210317429 CN201210317429A CN102880465A CN 102880465 A CN102880465 A CN 102880465A CN 201210317429 CN201210317429 CN 201210317429 CN 201210317429 A CN201210317429 A CN 201210317429A CN 102880465 A CN102880465 A CN 102880465A
Authority
CN
China
Prior art keywords
browser
opengl
container
effect
method based
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 201210317429
Other languages
Chinese (zh)
Inventor
顾亚平
颜颢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
JIANGSU JINGYUN CLOUD COMPUTING CO Ltd
Original Assignee
JIANGSU JINGYUN CLOUD COMPUTING CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by JIANGSU JINGYUN CLOUD COMPUTING CO Ltd filed Critical JIANGSU JINGYUN CLOUD COMPUTING CO Ltd
Priority to CN 201210317429 priority Critical patent/CN102880465A/en
Publication of CN102880465A publication Critical patent/CN102880465A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses an embedded image method based on an open graphics library for embedded systems (OpenGL ES) and belongs to the technical field of embedded graphics image systems. A user logs in a website through a browser and browses a standard page without a three-dimensional (3D) effect; the browser calls a browser container; when the page has the 3D effect, the browser starts and calls an OpenGL ES container; by analysis and operation of the OpenGL ES, the 3D effect of the page can be displayed in the browser; when the user skips from the page with the 3D effect to the page without the 3D effect or closes the browser, operation of the OpenGL ES container is accomplished, maintenance is not required, and the browser container informs to release the OpenGL ES container; and if the browser is closed, the browser container is released. By adoption of the method, the browser calls the OpenGL ES, so the 3D effect of the page can be displayed in the browser.

Description

A kind of embedded image method based on OpenGL ES
Technical field
The present invention relates to a kind of embedded image method based on OpenGL ES, belong to embedded graphic picture system technical field.
Background technology
OpenGL(Open Graphics Library, open graphic library) be a cover exempt to authorize expense, stride programming language, stride hardware platform, with the two-dimensional/three-dimensional graphical programming interface specification of operating system independent.OpenGL is the graphic package interface of specialty, be one powerful, call easily bottom shape library.
OpenGL is the 2D/3D figure API that the most extensively admits in the industry field, and it has expedited the emergence of the thousands of outstanding application program on various computer platforms and the equipment so far from being born.OpenGL is independent of operating system, also is network readezvous point.In comprising the industry fields such as CAD, content creation, the energy, amusement, development of games, manufacturing industry, pharmacy industry and virtual reality, OpenGL helps the developer to realize that the high-performance on the hardware devices such as PC, workstation, supercomputer, the high visual performance that has an impulsive force try hard to the exploitation of shape process software.
The predecessor of OpenGL is that SGI company is the IRIS GL of its graphics workstation exploitation.IRIS GL is the 3D graphics software interface of an industrial standard, although the powerful transplantability of function is bad, so SGI company has just developed OpenGL on the basis of IRIS GL.The purport of OpenGL is open shape library.Although DirectX is comprehensively leading in family expenses market, in the high-end drawing of specialty field, OpenGL is can not substituted leading role.
OpenGL is software interface individual and hardware independent, can transplant between different operating system.Therefore, support the software of OpenGL to have good transplantability, can obtain to use very widely.
In July, 1992, OpenGL 1.0 formally issues, and current version is 4.1.
OpenGL ES is the subset of OpenGL three-dimensional picture API by the OpenGL cutting, for embedded devices such as mobile phone, set-top box and intelligent network managements and design.This API is promoted by the definition of Khronos group, and Khronos is a figure software and hardware employer's organization, and this association mainly pays close attention to the open standard of figure and multimedia aspect.OpenGL ES has removed the non-indispensable characteristic of part of complicated pels such as comprising glBegin/glEnd, quadrilateral, polygon.Through years development, OpenGL ES mainly contains two versions now, and OpenGL ES 1.x is for fixed pipelines hardware, and OpenGL ES 2.x is for pipeline hardware able to programme.OpenGL ES 1.0 is take OpenGL 1.3 standards as the basis, and OpenGL ES 1.1 is take OpenGL 1.5 standards as the basis.2.0 of OpenGL ES are with reference to OpenGL 2.0 normalized definitions.
Equally, OpenGL ES be exempt to authorize expense, stride programming language, stride hardware platform, with operating system independent, for the customized two-dimensional/three-dimensional graphical programming interface specification of embedded system.It has defined bottom interactive interface flexible powerful between software and figure acceleration.OpenGL ES comprises that floating-point operation and fixed-point arithmetic system are described and for the local windows system standard of portable equipment.
Summary of the invention
Purpose of the present invention is exactly a kind of embedded image method based on OpenGL ES.
The present invention is achieved in that a kind of embedded image method based on OpenGL ES, it is characterized in that may further comprise the steps:
Step 1, user use browser to log in the Web website, do not relate to page browsing and the access of the standard of 3D effect, and browser calls browser container;
Step 2, user's browsing web website, when webpage presented 3D effect, browser started OpenGL ES container;
Step 3, browser call OpenGL ES container, by parsing and the operation of OpenGL ES, realize that in browser the page of 3D effect shows;
Step 4, when the user jumps to the webpage of not being with 3D effect from the webpage with 3D effect or when closing browser, the operation of OpenGL ES container is finished, and need not keep, this moment, the browser container notice discharged OpenGL ES container; If close browser, discharge browser container.
Described browser is the browser of generic browser or support hardware speed technology.
Described browser container and OpenGL ES container are kept interconnecting of both sides and professional timing by the mode of system communication.
Described OpenGL ES container discharges prior to browser container.
The present invention adopts above technical scheme, realizes that browser calls OpenGL ES; Browser and OpenGL ES move simultaneously, and two containers can communicate with one another consistance when accomplishing system's operation; The change of container is reduced to minimum requirements in the time of simultaneously will be to the operation of browser and OpenGL ES, even OpenGL ES container be need not to revise; Freely select the graphic plotting mode by the head end developer in the actual development, when guaranteeing system performance, realize and improve the ability of the embedded 3D figure of browser; OpenGL ES is actual embedded system 3D standard, and this aspect has reduced 3D developer's requirement, and the developer only need be familiar with OpenGL ES and get final product, and can't be familiar with the second cover development language and instrument.
Description of drawings
Fig. 1 is workflow diagram of the present invention.
Embodiment
The invention will be further described below in conjunction with description of drawings, the invention provides a kind of embedded image method based on OpenGL ES, browser uses is generic browser or with the browser of function of hardware acceleration, browser visits the hardware call instruction by calling the software graphic interface when browsing the general page that does not have 3D effect, realizes the drafting of figure.When browsing the page of 3D effect, browser calls OpenGL ES container, directly calls the hardware call instruction by container, realizes the drafting of figure.
In practical operation, the user uses browser to log in the Web website, carries out page browsing and the access of standard, only has this moment browser container to exist and operation; If find the JavaScript code of expansion, require OpenGL ES binding.At this moment, browser is under the prerequisite of maintenance self container operation, start OpenGL ES container, the OpenGL ES assembly of operation standard therein, this moment, browser container was kept the timing of interconnecting of both sides and business with OpenGL ES container by the mode of system communication; So, realize parsing and the operation of OpenGL ES at browser, make browser by function of hardware acceleration, realize that in browser the page of 3D effect shows; If the browser that uses support hardware to accelerate by OpenGL ES container, will be showed 3D scene and model more glibly in the Web page, create complicated navigation and data visualization; When the user jumps to the webpage of not being with 3D effect from the webpage with 3D effect or when closing browser, the operation of OpenGL ES container is finished, and need not keep, and this moment, the browser container notice discharged OpenGL ES container; If close browser, discharge browser container.

Claims (4)

1. embedded image method based on OpenGL ES is characterized in that may further comprise the steps:
Step 1, user use browser to log in the Web website, do not relate to page browsing and the access of the standard of 3D effect, and browser calls browser container;
Step 2, user's browsing web website, when webpage presented 3D effect, browser started OpenGL ES container;
Step 3, browser call OpenGL ES container, by parsing and the operation of OpenGL ES, realize that in browser the page of 3D effect shows;
Step 4, when the user jumps to the webpage of not being with 3D effect from the webpage with 3D effect or when closing browser, the operation of OpenGL ES container is finished, and need not keep, this moment, the browser container notice discharged OpenGL ES container; If close browser, discharge browser container.
2. a kind of embedded image method based on OpenGL ES according to claim 1 is characterized in that described browser is the browser of generic browser or support hardware speed technology.
3. a kind of embedded image method based on OpenGL ES according to claim 1 is characterized in that described browser container and OpenGL ES container keep interconnecting of both sides and professional timing by the mode of system communication.
4. a kind of embedded image method based on OpenGL ES according to claim 1 is characterized in that described OpenGL ES container discharges prior to browser container.
CN 201210317429 2012-08-31 2012-08-31 Embedded image method based on open graphics library for embedded systems (OpenGL ES) Pending CN102880465A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201210317429 CN102880465A (en) 2012-08-31 2012-08-31 Embedded image method based on open graphics library for embedded systems (OpenGL ES)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201210317429 CN102880465A (en) 2012-08-31 2012-08-31 Embedded image method based on open graphics library for embedded systems (OpenGL ES)

Publications (1)

Publication Number Publication Date
CN102880465A true CN102880465A (en) 2013-01-16

Family

ID=47481804

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201210317429 Pending CN102880465A (en) 2012-08-31 2012-08-31 Embedded image method based on open graphics library for embedded systems (OpenGL ES)

Country Status (1)

Country Link
CN (1) CN102880465A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104090753A (en) * 2014-06-13 2014-10-08 北京奇艺世纪科技有限公司 Video rendering system of mobile terminal
CN104794751A (en) * 2015-04-29 2015-07-22 黑龙江省科学院自动化研究所 Point cloud data display method based on iOS platform
CN104850388A (en) * 2014-02-13 2015-08-19 腾讯科技(深圳)有限公司 Method and apparatus for drafting webpage
CN105867911A (en) * 2016-03-24 2016-08-17 江苏大学 An Iris 2D graphic engine implementation method
WO2019075702A1 (en) * 2017-10-19 2019-04-25 Tencent Technology (Shenzhen) Company Limited Methods and systems for processing graphics
CN113268757A (en) * 2021-06-03 2021-08-17 西京学院 Industrial design model display method and system based on virtual reality

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104850388A (en) * 2014-02-13 2015-08-19 腾讯科技(深圳)有限公司 Method and apparatus for drafting webpage
CN104850388B (en) * 2014-02-13 2018-05-22 腾讯科技(深圳)有限公司 web page rendering method and device
CN104090753A (en) * 2014-06-13 2014-10-08 北京奇艺世纪科技有限公司 Video rendering system of mobile terminal
CN104794751A (en) * 2015-04-29 2015-07-22 黑龙江省科学院自动化研究所 Point cloud data display method based on iOS platform
CN105867911A (en) * 2016-03-24 2016-08-17 江苏大学 An Iris 2D graphic engine implementation method
CN105867911B (en) * 2016-03-24 2019-04-02 江苏大学 A kind of implementation method of Iris 2D graphics engine
WO2019075702A1 (en) * 2017-10-19 2019-04-25 Tencent Technology (Shenzhen) Company Limited Methods and systems for processing graphics
US10991065B2 (en) 2017-10-19 2021-04-27 Tencent Technology (Shenzhen) Company Limited Methods and systems for processing graphics
CN113268757A (en) * 2021-06-03 2021-08-17 西京学院 Industrial design model display method and system based on virtual reality
CN113268757B (en) * 2021-06-03 2024-01-02 西京学院 Industrial design model display method and system based on virtual reality

Similar Documents

Publication Publication Date Title
US9928637B1 (en) Managing rendering targets for graphics processing units
WO2022116759A1 (en) Image rendering method and apparatus, and computer device and storage medium
CA2946074C (en) Systems and methods for using an opengl api with a vulkan graphics driver
US10796397B2 (en) Facilitating dynamic runtime transformation of graphics processing commands for improved graphics performance at computing devices
Di Benedetto et al. SpiderGL: a JavaScript 3D graphics library for next-generation WWW
Cozzi et al. OpenGL insights
CN102880465A (en) Embedded image method based on open graphics library for embedded systems (OpenGL ES)
WO2018050003A1 (en) 3d canvas web page element rendering method and apparatus, and electronic device
WO2017039865A1 (en) Facilitating efficient scheduling of graphics workloads at computing devices
KR102381945B1 (en) Graphic processing apparatus and method for performing graphics pipeline thereof
CN105096368B (en) Three-dimensional object processing method and related device
CN109325157B (en) Geographic space information bearing method based on browser
US11094036B2 (en) Task execution on a graphics processor using indirect argument buffers
CN105930467A (en) Information processing method and electronic device
JP6588577B2 (en) Conversion of FLASH content to HTML content by generating an instruction list
US8854368B1 (en) Point sprite rendering in a cross platform environment
CN104111913A (en) Processing method and device of streaming document
WO2022095526A1 (en) Graphics engine and graphics processing method applicable to player
US10157440B2 (en) Static data sharing mechanism for a heterogeneous processing environment
CN102253831A (en) Method for embedding OpenGL ES (Open Graphics Library for Embedded System) into browser in embedded terminal
CN111796812B (en) Image rendering method and device, electronic equipment and computer readable storage medium
CN109634611B (en) Mobile terminal three-dimensional model ply file analysis and display method based on OpenGL
CN108876925B (en) Virtual reality scene processing method and device
EP3752914B1 (en) Techniques for native runtime of hypertext markup language graphics content
CN114756797A (en) Page processing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130116