Unlock instant, AI-driven research and patent intelligence for your innovation.

Texture data generation method and device, storage medium and device

A technology of texture data and frame data, applied in the field of texture data generation, can solve the problem of large memory overhead and achieve the effect of saving memory overhead

Active Publication Date: 2019-07-23
TENCENT TECH (SHENZHEN) CO LTD
View PDF9 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present application provides a texture data generation method, device, storage medium and equipment, which are used to solve the problem of large memory overhead when creating multiple rendering engines and multiple shared JS contexts to generate multiple texture data at the same time

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
  • Texture data generation method and device, storage medium and device
  • Texture data generation method and device, storage medium and device
  • Texture data generation method and device, storage medium and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the following will further describe the embodiments of the present application in detail in conjunction with the accompanying drawings.

[0044] The architecture of the rendering system will be introduced first.

[0045] Please refer to figure 1 , the rendering system in this embodiment includes JS code 101 , front-end common library 102 , rendering engine 103 and operating system platform 104 .

[0046] JS code 101 is a code for embodying business implementation logic. For example, the JS code 101 may indicate rendering effects such as drawing a circular pattern, a triangular pattern, and the like.

[0047] The front-end public library 102 is some basic class library, which can be called by the JS code 101 .

[0048] The rendering engine 103 is a JS script rendering engine, which loads the JS code 101 on the operating system platform of the termina...

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 texture data generation method and device, a storage medium and a device, and belongs to the technical field of computers. The method is applied to a rendering engine, the rendering engine comprises a rendering kernel and at least two rendering engine interfaces, and the method comprises the steps of creating a shared JS context, wherein the shared JS context is used for providing a running environment of a JS code segment; for each rendering engine interface in the at least two rendering engine interfaces, obtaining a JS code segment by the rendering engine interface, and sending the JS code segment to the rendering kernel; and for each JS code segment, using the rendering kernel to render the JS code segment based on the shared JS context to obtain the texture data corresponding to the JS code segment. The embodiment of the invention can save the memory cost.

Description

technical field [0001] The embodiments of the present application relate to the field of computer technology, and in particular to a method, device, storage medium and equipment for generating texture data. Background technique [0002] The graphical interface displayed on the terminal may be obtained by rendering texture data, and the texture data is obtained by rendering the JavaScript code segment after the rendering engine loads the JavaScript (JS for short) code segment. For example, if the graphical interface is a sticker that can respond to the user's gesture operation, the texture data of the sticker can be generated, and then the sticker can be displayed on the video or image. For example, the stickers include a "does it look good" question and "yes" and "no" options. [0003] In related technologies, when generating texture data, a rendering engine and a shared JS context (JSContext) may be created, a JS code segment is loaded by the rendering engine, and texture ...

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): G06F8/38
CPCG06F8/38
Inventor 段庆龙
Owner TENCENT TECH (SHENZHEN) CO LTD