Method and equipment for invoking graphics libraries
A graphics library and device technology, applied in the field of mobile communications, can solve problems such as large application package size and graphics library version differences, and achieve the effects of solving version differences, achieving compatibility, and saving memory resources
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0059] figure 1 It is a flowchart of a graphics library calling method provided by an embodiment of the present invention, see figure 1 , the example includes:
[0060] 101. Obtain a calling request from a graphics library user, where the calling request includes a graphics library interface identifier;
[0061] 102. When the graphics library interface corresponding to the graphics library interface identifier is a differential graphics library interface, obtain the graphics library version identifier of the mobile terminal;
[0062] 103. According to the graphics library version identifier, call the graphics library difference processing layer corresponding to the graphics library version identifier;
[0063] 104. Perform difference processing on the difference graphics library interface by the graphics library difference processing layer;
[0064] 105. Call the graphics library corresponding to the graphics library version identifier through the difference graphics librar...
Embodiment 2
[0084] figure 2 It is a flow chart of a graphics library calling method provided by an embodiment of the present invention. The executor of the embodiment of the present invention is an embedded device, or develops software for an operating system of an embedded device. The operating system development software is aimed at a mobile terminal. digital assistants), etc. see figure 2 , the example includes:
[0085] 201. Packaging all public graphics library interfaces of different versions into the same graphics library interface, and encapsulating them in the graphics library public packaging layer, where the public graphics library interface is a graphics library interface other than the difference graphics library interface;
[0086] Specifically, firstly, all public graphics library interfaces of different versions are packaged into the same graphics library interface, such as the graphics libraries of versions V1.0, V2.1, and V2.2 of the Android system are all packaged ...
Embodiment 3
[0119] image 3 The embodiment of the present invention provides a graphics library call device. The execution subject of the embodiment of the present invention is an embedded graphics library call device, which is used to develop the operating system of the mobile terminal. See image 3 , the device consists of:
[0120] The first obtaining module 301 is used to obtain the calling request of the graphics library user, and the calling request includes the graphics library interface identifier;
[0121] The second acquisition module 302 is used to obtain the graphics library version identification of the mobile terminal when the graphics library interface corresponding to the graphics library interface identification is a difference graphics library interface;
[0122] The first calling module 303 is used to call the graphics library difference processing layer corresponding to the graphics library version ID according to the graphics library version ID;
[0123] The differe...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com