Image rendering method and image rendering 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: 2014-03-05
GUANGDONG VTRON TECH CO LTD
View PDF3 Cites 15 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 image rendering device
  • Image rendering method and image rendering device
  • Image rendering method and image rendering 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

Disclosed are an image rendering method and an image rendering device. 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 objects, creating a swap thread, exchanging image data stored by a rear buffer to a front rear, and copying the rendered image data from the frame buffer objects to the rear buffer. According to the image rendering method and the image rendering device, the image rendering thread and the swap thread belong to different threads and can be executed concurrently, and blocking of a swap buffer of the swap thread does not affect image rendering of the image rendering thread, so that the frame rate of image rendering can be guaranteed; meanwhile, the image rendering thread is not blocked, and user's operations can be responded as soon as possible, so that 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 buffer mode: render the image to BBuffer, then Swap buffer, 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 ca...

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): G06F9/44
Inventor 荆建营
Owner GUANGDONG VTRON 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