Font Size: a A A

Design And Implementation Of Memory Object Manager In The 3D Engine

Posted on:2019-05-14Degree:MasterType:Thesis
Country:ChinaCandidate:T LuanFull Text:PDF
GTID:2428330566470841Subject:Computer system architecture
Abstract/Summary:PDF Full Text Request
In recent years,with China's industrial upgrading,the importance of the 3D engine's simulation function in the industry has increased.Life cycle and resource management have always been a problem in the industry in complex programs including 3D engines.This article is faced to the objects' finalizing resources in 3D engines.The framework is proposed and implemented with GC algorithms to help our team with 3D engine developing.The project is faced to programmers completing the recycling of objectholding resources for objects with complex reference relationships,which is constructed with the standard C++17 code,providing a non-intrusive interface in the form of header files.The subject is oriented toward the release of objects with complex reference relationships in the business logic of the 3D engine,for example,the object finder in the script interpreter.The project is made up by modules,including memory allocator,pointer evaluators,recyclers,and pointer wrappers.These modules provide two sets of interfaces for developers with different requirements: pointer-based high-level interface and low-level interface based on memory allocator wrappers.In the 3D engine engineering,with the interfaces provided by the project,developers were likely to construct managed objects without modifying their existing classes.They can apply interfaces provided by this project into creating objects or allocate memory to complete the recycling of the circular reference object and fulfill the execution of the destructive action.The results of program execution represent that under the environment of introducing a certain degree of overhead,this project can effectively achieve the implementation of the recycling and destructive behavior of circular-reference objects.
Keywords/Search Tags:Three-Dimensional Graphics engine, Garbage Collection, Memory Management
PDF Full Text Request
Related items