Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Image rendering method and device

An image rendering and image data technology, applied in the field of image rendering, can solve problems such as slow response to user operations, aggravated slow response to operation, and inability to guarantee image rendering frame rate, etc., to achieve the effect of reducing operation delay and ensuring frame rate

Active Publication Date: 2017-01-18
GUANGDONG VTRON TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the display refresh frame rate is 60FPS (Frames Per Second), in the worst case, the Swap buffer will be blocked for 16ms, which is enough to cause the next rendering cycle to block, resulting in slow response to user operations
In addition, all the loops are serial. Once the previous loop is stuck for a long time, the subsequent rendering will be delayed accordingly, exacerbating the problem of slow response operation, and the frame rate of image rendering cannot be guaranteed.

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
  • Image rendering method and device
  • Image rendering method and device
  • Image rendering method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] At first the terms used in the present invention are briefly explained below:

[0024] 1. FBO (Frame buffer object, frame buffer object): a temporary buffer for image rendering, all image data can be drawn to this buffer to form a two-dimensional raster image.

[0025] 2. FBuffer: Once the image data is copied to this buffer, the user can see the final image drawn on the display.

[0026] 3. BBuffer: Image data is temporarily drawn to this buffer. In the present invention, the image data of the FBO is copied to the buffer.

[0027] 4. Swap buffer: exchange BBuffer image data to FBuffer, so that users can see the image. When the vertical synchronization is enabled, the exchange is performed after the vertical synchronization signal; when the vertical synchronization is not enabled, the exchange is performed immediately without blocking.

[0028] The specific implementation of the image rendering method of the present invention will be described in detail below in conj...

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

A method and device for image rendering, the method includes the steps of: creating at least two frame buffer objects; creating an image rendering thread, rendering image data to the frame buffer object; creating a swap thread, storing the back buffer The image data is exchanged to the front buffer, and the rendered image data is copied from the framebuffer object to the back buffer. In the above image rendering method and device, the image rendering thread and the swap thread belong to different threads and can be executed concurrently. The blocking of the Swap buffer of the swap thread will not affect the image rendering of the image rendering thread, so the frame rate of image rendering can be guaranteed. At the same time, since the image rendering thread is not blocked, it can respond to the user's operation as quickly as possible, so the operation delay can be reduced.

Description

technical field [0001] The present invention relates to the technical field of image display, in particular to an image rendering method and device. Background technique [0002] At present, there are roughly two processes for rendering and displaying images: [0003] (1) Turn on vertical synchronization and use double buffering mode: in response to the user's image operation, render the image to BBuffer (Back Buffer, back buffer), then Swap buffer, copy the image to FBuffer (Front Buffer) so that the user can see the image, So cycle. [0004] (2) Do not enable vertical synchronization, and use double buffering mode: render the image to BBuffer, then Swapbuffer, copy the image to FBuffer so that the user can see the image, and so on. [0005] In these two ways, the process seems to be the same, but in (2), because the vertical synchronization is not turned on, it will cause horizontal tearing of the image; in (1), because the vertical synchronization is turned on, it will ...

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/44
Inventor 荆建营
Owner GUANGDONG VTRON TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products