Hardware acceleration control method and system in view drafting

A technology of accelerated control and hardware acceleration, applied in program control design, program control device, 3D image processing, etc., can solve problems such as unable to use performance improvement, wrong pixel rendering, affecting user experience, etc., to improve user experience, Reduce the effect of abnormal or wrong pixel rendering

Inactive Publication Date: 2017-04-26
PHICOMM (SHANGHAI) CO LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since hardware acceleration does not support all 2D graphics drawing operations, for those using custom View drawing, turning on global hardware acceleration will have an impact, for example: abnormal or wrong pixels for invisible elements rendering
[0004] The existing technology solves this problem by not enabling global hardware acceleration, so as to avoid wrong pixel rendering, but this method cannot take advantage of the performance improvement that hardware acceleration can bring, which greatly affects the user experience

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
  • Hardware acceleration control method and system in view drafting
  • Hardware acceleration control method and system in view drafting
  • Hardware acceleration control method and system in view drafting

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the specific implementation manners of the present invention will be described below with reference to the accompanying drawings. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention, and those skilled in the art can obtain other accompanying drawings based on these drawings and obtain other implementations.

[0034] In order to make the drawing concise, each drawing only schematically shows the parts related to the present invention, and they do not represent the actual structure of the product. In addition, to make the drawings concise and easy to understand, in some drawings, only one of the components having the same structure or function is schematically shown, or only one of them is marked. Herein, "a" not only means "only one", but also means "more than one".

[0035] Hardware a...

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 hardware acceleration control method and system in view drafting. The method comprises the steps that S10) a view drafting control module is configured; S30) a version number of an application programming interface of a present Android system is obtained; S40) whether the version number of the application programming interface is within a restricted area is determined, and if YES, a step S50) is turned to; and S50) hardware acceleration is not started globally in view drafting. According to the system and method, whether global hardware acceleration is started can be selected automatically according to the practical version number of the application programming interface of the present Android system; and when global hardware acceleration is started, whether the size of a loaded bitmap file is included by a preset size is monitored in real time, whether hardware acceleration is stopped temporarily is decided by combining practical conditions, software rendering is used to realize view drafting, and the user experience is improved greatly.

Description

technical field [0001] The invention relates to the field of Android systems, in particular to a hardware acceleration control method and system in view drawing. Background technique [0002] Smart terminals are essential items in daily life. The Android system of smart terminals has a large user base, and users will use smart terminals to browse web pages, play games, and watch videos. In these processes, you will inevitably encounter the situation of loading bitmap files. The process of loading bitmap files is the drawing process of View. In order to ensure the effect of view drawing, the mechanism of off-screen rendering (Off-screen Rendering) will be used. , Off-screen rendering means that the GPU opens a new buffer outside the current screen buffer for rendering operations, and enabling hardware acceleration is the key to improving the off-screen rendering effect. [0003] In the era of Android 3.0, Android's 2D rendering pipeline (Pipeline) began to support hardware a...

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 Applications(China)
IPC IPC(8): G06T15/00G06F9/44
CPCG06T15/005G06F9/4411G06T2200/16
Inventor 吴亮
Owner PHICOMM (SHANGHAI) CO LTD
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