Supercharge Your Innovation With Domain-Expert AI Agents!

A graphic display method and device compatible with android applications running on linux

A graphics display and graphics technology, applied in the computer field, can solve problems such as the inability to normally complete the graphics display function and the incompatibility of GPU physical devices, so as to reduce the consumption of system resources and improve the efficiency.

Active Publication Date: 2021-05-28
北京技德系统技术有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The main technical problem to be solved by the present invention is that when the Android application runs in the Linux system in a container mode, due to the large difference between the Android graphics display and the Linux graphics display mechanism, the graphics display function cannot be completed normally. problem, and the incompatibility problem due to different types of GPU physical devices, a kind of graphics display method and device compatible with Android operating system on Linux is proposed, which can unify the graphics display mechanism of Android and Linux, and according to the current system Different GPU types of graphics cards in the environment adopt different strategies to complete the entire process of graphics display, so as to achieve the purpose of integrated graphics display, and compared with a single strategy, it can reduce the consumption of system resources and improve the efficiency of graphics display

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
  • A graphic display method and device compatible with android applications running on linux
  • A graphic display method and device compatible with android applications running on linux
  • A graphic display method and device compatible with android applications running on linux

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] The implementation steps of the present invention are specifically described below through two application scenarios under the condition that the GPU hardware type of the Linux system can support the graphics library required by the Android application.

[0045] Application scenario one:

[0046] figure 2 It is a flow chart of a graphic display method compatible with running Android applications on Linux provided by the embodiment of the present invention. It can be seen from the figure that in the method of this embodiment, the steps are as follows:

[0047] S1: Determine whether the Android side of the container supports the GPU hardware type by the graphics drawing control process. Specifically, the steps are as follows:

[0048] 1.1: After Linux is started, the Graphic Controller process of the graphics drawing control module in JStack is automatically started as the core controller for the entire graphics compatible display; Graphic Controller will obtain the cur...

Embodiment 2

[0089] Furthermore, as an implementation of the methods shown in the above embodiments, another embodiment of the present invention also provides a graphics display device compatible with running an Android operating system on Linux. This device embodiment corresponds to the foregoing method embodiment. For the convenience of reading, this device embodiment does not repeat the details in the foregoing method embodiment one by one, but it should be clear that the device in this embodiment can correspond to the foregoing method implementation. Everything in the example. In the device of this embodiment, there are following modules:

[0090] One: the graphics drawing control module Graphic Controller (corresponding to the graphics drawing control process in implementation 1), obtains the current Linux system GPU hardware type, judges whether Android supports the described current Linux system GPU hardware type, if so, starts the first drawing module, If otherwise, start the seco...

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 discloses a graphic display method and device compatible with running Android applications on Linux, and belongs to the field of basic computer software. The method includes: judging whether Android supports the current GPU hardware type, if so, directly importing the graphics drawn in the Android into the DRI of Linux for synthesis and then sending it to display, otherwise directly converting the Android graphics library OpenGL ES into Linux OpenGL library interface, and then call the GPU through the Linux DRM to draw, synthesize and send graphics; in addition, it also solves the situation that the old graphics card does not support the application graphics library through the method of graphics soft acceleration. The invention solves the display problem caused by different types of GPU hardware for Android applications running on the Linux system. According to different types of GPUs in the current system environment, different strategies are adopted to complete the entire process of graphic display, so as to achieve Integrate the purpose of graphic display, and compared with a single strategy, it can reduce the consumption of system resources and improve the efficiency of graphic display.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a display method and device for fused graphics in the field of Linux-compatible Android operation. Background technique [0002] Generally speaking, the graphics display mechanism of Android is completed inside the Android system. In order to solve the graphics display problem on embedded devices with weaker GPU capabilities, Android uses an embedded graphics GPU and an OpenGL ES graphics display interface library. . image 3 It shows the graphics display mechanism of Android. Specifically, the graphics display of Android is to complete the overall drawing process of graphics drawing through SurfaceFlinger in Android. SurfaceFlinger is a control unit. For the graphics layer that needs to be displayed by the upper layer application, SurfaceFlinger will choose The corresponding display device calls the OpenGL ES graphics library interface through the EGL interface to complete the...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/445G06F9/451
CPCG06F9/44505G06F9/44536G06F9/451
Inventor 姚宏亮唐宏伟周剑张耀斌
Owner 北京技德系统技术有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More