Bullet screen rendering method and device, computer equipment and storage medium

A technology of barrage and rendering instructions, applied in the computer field, can solve the problems of barrage playback stuck, low barrage rendering efficiency, and long time of the main thread callback function, so as to improve fluency, avoid processor overload, and ease playback. Caton's effect

Inactive Publication Date: 2020-08-25
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, when a large number of bullet chatting needs to be drawn, it takes a long time to wait for the main thread callback function, and it is necessary to call the drawing inst

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
  • Bullet screen rendering method and device, computer equipment and storage medium
  • Bullet screen rendering method and device, computer equipment and storage medium
  • Bullet screen rendering method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] In order to make the purpose, technical solution and advantages of the present application clearer, the implementation manners of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0038] The "plurality" mentioned herein means two or more. "And / or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and / or B may indicate: A exists alone, A and B exist simultaneously, and B exists independently. The character " / " generally indicates that the contextual objects are an "or" relationship.

[0039] First of all, the nouns involved in the embodiments of this application are introduced:

[0040] 1) bitmap

[0041] Bitmap, also known as raster image or dot matrix image, is an image represented by an array of pixels. The dots can be arranged and colored differently to form patterns. Photos taken with a digital camera, pictures sc...

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 embodiment of the invention discloses a bullet screen rendering method and device, computer equipment and a storage medium, and belongs to the technical field of computers. The method comprises the following steps: acquiring target bullet screens within a target duration; drawing the target bullet screens in the same bitmap to obtain target bitmaps; uploading target textures corresponding to the target bitmaps to a video memory, wherein the target textures comprise barrage textures corresponding to the target bullet screens; and in response to the bullet screens refreshing signal, rendering the barrage texture in the target texture by calling a rendering instruction in the graphic program interface. According to the embodiment of the invention, the target barrage is drawn in the samebitmap; a primary texture uploading instruction is called to upload the target texture to a video memory; the texture uploading frequency is reduced, in the whole barrage rendering process, batch bullet screen rendering can be achieved only by calling the rendering instruction once, processor overload caused by frequent calling of the rendering instruction is avoided, the situation that playing isnot smooth when the number of bullet screens is large is relieved, and the bullet screen playing fluency is improved.

Description

technical field [0001] The embodiments of the present application relate to the field of computer technology, and in particular, to a bullet chatting rendering method, device, computer equipment, and storage medium. Background technique [0002] Barrage refers to the commentary subtitles that pop up on the video screen at a specific moment when watching a video on the Internet. Playing bullet chat while the video is playing can create the feeling of interacting with other viewers in real time. [0003] In related technologies, in the process of rendering bullet chatting by computer equipment, in order to achieve the effect of bullet chatting moving on the screen, it usually needs to use the main thread to perform function callback, so as to render each bullet chatting at different positions in the screen display multiple times. [0004] However, when a large number of bullet chatting needs to be drawn, it takes a long time to wait for the main thread callback function, and ...

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
IPC IPC(8): H04N21/4788H04N21/431H04N21/435
CPCH04N21/4312H04N21/435H04N21/4788
Inventor 王海亮
Owner TENCENT TECH (SHENZHEN) 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