Method and device for graphic rendering on mobile device

A technology for graphics rendering and mobile devices, applied in the field of graphics rendering, can solve problems such as troublesome update, and achieve the effect of simple update, efficient development, and no installation required

Active Publication Date: 2014-04-09
ALIBABA GRP HLDG LTD
View PDF5 Cites 55 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the game client program needs to be installed after downloading, and it is troublesome to update

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
  • Method and device for graphic rendering on mobile device
  • Method and device for graphic rendering on mobile device
  • Method and device for graphic rendering on mobile device

Examples

Experimental program
Comparison scheme
Effect test

application example 1

[0106] refer to figure 2 , which shows a schematic flowchart of a method for rendering graphics in a browser on a mobile device in this application, which may specifically include:

[0107] Step 201, the browser loads a URL (Uniform Resource Locator, Uniform ResourceLocator) or UUID (Universally Unique Identifier);

[0108] Thereby, the HTML+JavaScript code can be obtained, wherein the JavaScript code includes the API interface encapsulated by this application;

[0109] The browser kernel has a request module for the HTTP (hypertext transfer protocol, hypertext transport protocol) protocol, and codes are requested through this request module. The specific process is that when you use a URL to visit the website, the browser can get the index.html homepage entry page through the URL, then execute this page, and load the required resources and JavaScript code at the same time. For this application, it is only necessary to directly execute the JavaScript code obtained by the br...

application example 2

[0119] refer to image 3 , which shows a schematic flowchart of a method for running a game program on a mobile device according to the present application, which may specifically include:

[0120] Step 301, the player opens the game market from the mobile device;

[0121] It is equivalent to launching an independent program on the mobile device.

[0122] Step 302, the player browses the game market, finds a game of interest, and clicks on the corresponding icon;

[0123] Step 303, the game market searches for the corresponding game ID for the icon clicked by the player;

[0124] Step 304, the game market searches the game ID's entry code or entry file main. js;

[0125] main. js is the entry code part of the game development developed by the game manufacturer or the game free developer who cooperates with the game manufacturer; main. js includes the API interface of createCanvas, getContext and other initialization rendering functions, which can be used to initialize th...

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 method and a device for graphic rendering on a mobile device. The method includes acquiring a JavaScript code of a graphic application program; executing the JavaScript code in an analysis engine; calling a rendering function acquired by the analysis to perform graphic rendering on a rendering target. The JavaScript code includes an API (application program interface) corresponding to an OPENGL (open graphics library)-based rendering function, and the pattern of the API follows the HTML5 (hypertext markup language 5) Canvas standard. The execution process of the JavaScript code includes using the analysis engine to analyze the API as the corresponding OPENGL-based rendering function when the API in the JavaScript code is executed. By the method and the device, speed of graphic rendering on the mobile device can be increased.

Description

technical field [0001] The present application relates to the technical field of graphics rendering, in particular to a method and device for graphics rendering on a mobile device. Background technique [0002] At present, the applications on mobile devices are becoming more and more abundant, and the display of these applications is becoming more and more complex, and the graphics rendering of these applications is inseparable from graphics rendering. For example, the graphics display of web games on mobile devices cannot be separated from graphics rendering. Graphics rendering is the conversion of an object-based high-level description into a graphic image displayed on some display device. For example, graphics rendering occurs during the process of converting a mathematical model of a three-dimensional object or scene into a bitmap graphics. Another example of graphics rendering is the conversion of HTML (Hypertext Markup Language) files into graphics displayed on a com...

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
CPCG06F9/45529G06T1/00G06F9/4445G06F9/452
Inventor 刘胡笳陶俊杰朱文祥王明建
Owner ALIBABA GRP HLDG 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