View rendering method, device, electronic device and storage medium

A technology of view and storage, applied in the view rendering device and the field of view rendering, which can solve the problems of poor compatibility of view rendering and high learning cost

Active Publication Date: 2021-01-26
BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF16 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present disclosure provides a view rendering method, a view rendering device, an electronic device and a storage medium, so as to at least solve the technical problems of poor view rendering compatibility and high learning costs in related technologies

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
  • View rendering method, device, electronic device and storage medium
  • View rendering method, device, electronic device and storage medium
  • View rendering method, device, electronic device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0060] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0061] It should be noted that the terms "first" and "second" in the specification and claims of the present disclosure and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein can be practiced in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consi...

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 present disclosure relates to a view drawing method, device, electronic device, and storage medium. The method includes: creating a preset base class inherited from the view control base class, wherein the preset base class has an interface for realizing the view drawing function; When the target view is detected, the preset base class has an interface that implements the view drawing function, and an asynchronous thread is started. The asynchronous thread creates a bitmap context based on the preset base class, so that the drawing operation of the target view is performed asynchronously in the bitmap context; After the drawing operation of the target view is completed, a picture is generated from the context of the bitmap; the picture is displayed through the main thread. In this embodiment, when the preset base class is created, the preset base class is set to have an interface for realizing the view drawing function, an asynchronous thread can be started, and the drawing operation on the target view can be executed asynchronously in the context of the bitmap of the asynchronous thread. Moreover, the created preset base class inherits from the view control base class, and programmers do not need to recode to build the logic of drawing the view.

Description

technical field [0001] The present disclosure relates to the technical field of image processing, and in particular to a view rendering method, a view rendering device, electronic equipment and a storage medium. Background technique [0002] The view drawing function is the basic function of the application in the iOS system. In the iOS system, the view drawing operation is mainly performed on the main thread. When the view is complex, the main thread will be blocked, which will cause the application to freeze and affect the user experience. [0003] In order to overcome the above problems in the related art, a scheme of transferring the view drawing operation to an asynchronous thread for execution is proposed, but the process and logic of the view drawing operation in the related art are very different from the process and logic of the iOS system’s own view drawing operation, requiring programming Personnel rewrite a large amount of code to achieve, the learning cost is hi...

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): G06T15/20
CPCG06T15/20
Inventor 李杨威任童童
Owner BEIJING DAJIA INTERNET INFORMATION TECH 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