Method for dynamically controlling frame rate of game

A dynamic control and game technology, applied in the direction of program control devices, etc., can solve the problem of reduced frame rate of rendering

Active Publication Date: 2013-05-01
BAIDU COM TIMES TECH (BEIJING) CO LTD
View PDF4 Cites 32 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The technical problem to be solved by the present invention is to reduce redundant picture rendering by dynamically controlling the frame rate, so that the frame rate of rendering can be reduced to the greatest extent while the picture is kept smooth.

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 for dynamically controlling frame rate of game
  • Method for dynamically controlling frame rate of game
  • Method for dynamically controlling frame rate of game

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] see figure 2 , a method for dynamically controlling the frame rate of a game, comprising the steps of:

[0034] Step 1, the first function call entry is set, for example, the first function call entry can be customized as Process (), and the first function call entry is a function call entry for performing logic processing; the second function call entry is set, For example, the second function call entry can be customized as Render(), and the second function call entry is a function call entry for performing screen rendering; each time the first function call entry is called, the game logic is processed once, and each call Once the second function entry is made, the screen is refreshed and the screen is rendered once;

[0035] Step 2. The game calls the first function call entry once, executes the logic processing of the game once, and records the running time;

[0036] Step 3. Analyze all the places that will affect the rendering content and the rendering frame rat...

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 for dynamically controlling a frame rate of a game. The method comprises the following steps of: separating logic processing from the picture rendering frame rate; counting the requirements of the current game for the rendering frame rate after calling a call entry of a first function every time; determining whether to immediately call a call entry of a second function or not, as well as the time interval for calling the call entry of the first function or the call entry of the second function next time; suspending the program, re-determining whether to call the call entry of the first function or not during a next re-operating process according to the recorded time of calling the call entry of the first function; and re-countering the requirements of the game for the rendering frame rate, so that the dynamic control over the picture rendering frame rate is realized. According to the method disclosed by the invention, the picture rendering is only carried out while being needed, so that an occupancy rate of a CPU (Central Processing Unit) is greatly reduced on the condition of ensuring the normal response speed and picture fluency, thereby reducing the consumption of electric quantity of a battery.

Description

【Technical field】 [0001] The invention relates to a method for dynamically controlling the game frame rate. 【Background technique】 [0002] As the configuration of smart phones is getting higher and higher, the market share is getting higher and higher, and more and more games are developed for mobile platforms. People can turn on their mobile phones to enjoy the fun of games anytime and anywhere, but playing games on mobile phones, It is easy to generate heat, and the battery power decreases rapidly, which affects the normal use of the mobile phone. Once the power is exhausted, communication cannot be performed. [0003] The implementation principle of mobile game screens is the same as that of movies. The screen is refreshed at a fixed frame rate per unit of time. Every time the screen is refreshed, the screen must be rendered once. In games on personal computers, the frame rate is generally around 30~75. The disadvantage of using a fixed frame rate is that when the game...

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 BAIDU COM TIMES TECH (BEIJING) 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