Method for optimizing video memory space in texture discharge manner

A space and texture technology, applied in the field of electronics, can solve the problems of waste and large space, and achieve the effect of improving the utilization rate and optimizing the memory space.

Active Publication Date: 2012-09-05
FUJIAN STAR NET EVIDEO INFORMATION SYST CO LTD
View PDF3 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, using OpenGL to perform three-dimensional operations on images needs to be bound into textures. The size of the memory space that can be bound into textures in OpenGL can only be 2 n ×2 m (0≤n≤10, 0≤m≤10, 2 10 =1024), in practice, it is impossible for each picture to have a size of 2 n ×2 m of
if not 2 n ×2 m The size of the texture needs to be bound to it with a length and width no less than its 2 n ×2 m The video memory space can generate the available texture space, so a relatively large space is wasted

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 optimizing video memory space in texture discharge manner
  • Method for optimizing video memory space in texture discharge manner
  • Method for optimizing video memory space in texture discharge manner

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to describe in detail the technical content, structural features, achieved objectives and effects of the present invention, the following is a detailed description in conjunction with the embodiments and accompanying drawings.

[0031] See figure 1 , The present invention uses the method of texture layout to optimize the display memory space, and encapsulates part of the three-dimensional rendering functions in OpenGL ES into a graphics engine library, and each object in the graphics engine library corresponds to a video memory space for storing the drawn Texture content; the steps to obtain the object texture space include:

[0032] a. Apply for video memory space that meets the size of the texture bound into a texture and bind it into a texture;

[0033] b. Obtain a rectangular area from the video memory space that has been bound into a texture according to the size of the object, and the rectangular area cannot overlap with an area already occupied by other objects...

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 discloses a method for optimizing the video memory space in a texture discharge mode. Some of the three-dimensional rendering functions in OpenGL ES are encapsulated into a graphics engine library, and each object in the graphics engine library corresponds to a video memory space to store the drawn texture content. The process of obtaining the object texture space comprises the following steps of: a, applying for a video memory space with a size enough for binding into texture, and binding the video memory space into texture; b, obtaining a rectangular area from the video memory space bound into texture according to the size of the object, wherein the rectangular area can not be overlapped with the areas occupied by other objects; and c, storing the drawn texture content by each object corresponding to a rectangular area in a video memory space. In the invention, a video memory space is divided into multiple rectangular areas, and each rectangular area corresponds to an object and stores the texture content of the object, thus the utilization rate of the video memory space is greatly improved.

Description

Technical field [0001] The invention relates to the field of electronics, and in particular to a method for optimizing video memory space by using a texture layout method. Background technique [0002] OpenGL (Open Graphics Library, open graphics program function) is a convenient low-level graphics library for two-dimensional (2D) or three-dimensional (3D) images. OpenGLES (OpenGL for Embedded Systems) consists of a subset of desktop OpenGL, which is a subset of OpenGL 3D graphics API (Application Programming Interface, calling program programming functions). It is designed for embedded devices such as mobile phones, PDAs, and game consoles. It creates The underlying interaction function between software and graphics acceleration. Three-dimensional rendering technologies such as OpenGL ES are widely used in the development process of embedded software to meet the needs of digital entertainment products for rendering graphics, animation and other graphics, so that digital enterta...

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): G06F9/44G06F12/02
Inventor 汤周文
Owner FUJIAN STAR NET EVIDEO INFORMATION SYST 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