Page shader code debugging method and device

A technology of page coloring and debugging method, which is applied in the direction of program control device, instrument, network data retrieval, etc. It can solve the problems of unable to debug webGL shader code, unable to debug shader code, reducing the efficiency of web page development, etc.

Active Publication Date: 2017-08-11
ADVANCED NEW TECH CO LTD
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The webGL shader code needs to be written in strings, and these codes will be loaded into the GPU for execution during the development process, so the shader code cannot be debugged
[0006] Obviously, during the web page development process, the webGL shader code in the job cannot be debugged, which reduces the web page development efficiency

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
  • Page shader code debugging method and device
  • Page shader code debugging method and device
  • Page shader code debugging method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to enable those skilled in the art to better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described The embodiments are only some of the embodiments of the present application, but not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.

[0028] figure 1 It is a method flowchart of an embodiment of a page shader code debugging method described in this application. Although the present application provides the method operation steps or device structures as shown in the following embodiments or accompanying drawings, more or less operation steps may be included in the metho...

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 invention provides a page shader code debugging method and device. The method comprises the steps that when a debugging mode is triggered, a simulated shader of an original shader is loaded; debugging of web-end original shader code parameters is performed in the simulated shader; and in the debugging process, the debugged original shader code parameters in the simulated shader are converted into a string corresponding to the original shader according to preset conversion rules. According to all embodiments, solutions to web-end shader debugging are provided, and the shader debugging effect can be greatly improved.

Description

technical field [0001] The present application belongs to the technical field of page data processing, and in particular relates to a page shader code debugging method and device. Background technique [0002] With the rapid development of computer technology and the continuous improvement of user needs, the 3D display technology of web pages is now more and more concerned by developers. [0003] The web end generally refers to various web browsers on terminal devices such as PCs, mobile phones, and tablets, through which pages in web pages can be browsed. At present, various 3D page effects can be realized on the web side, which can enrich the content of the page display and improve the display effect. In the current prior art, the development of 3D graphics on the web needs to use the webGL technology. WebGL is a 3D drawing standard. WebGL can provide hardware 3D accelerated rendering for HTML5Canvas, so that Web developers can use the system graphics card to display 3D ...

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/455G06F17/30G06T15/00
CPCG06F9/45529G06T15/005G06F16/957
Inventor 董晓庆
Owner ADVANCED NEW 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