首页>
外国专利>
SYSTEM AND METHOD FOR REDUCING MEMORY FRAGMENTATION IN A DEVICE LACKING GRAPHICS MEMORY MANAGEMENT UNIT
SYSTEM AND METHOD FOR REDUCING MEMORY FRAGMENTATION IN A DEVICE LACKING GRAPHICS MEMORY MANAGEMENT UNIT
展开▼
机译:减少缺少图形存储器管理单元的存储器碎片的系统和方法
展开▼
页面导航
摘要
著录项
相似文献
摘要
Method for reducing memory fragmentation characterized in that it comprises the steps of: for each image in a source set of images (601) determining image size (602) in pixels and obtaining (603) a minimal total number of pixels for an aggregated surface by obtaining a sum of image sizes; factorizing (604) said sum of image sizes into a surface's width and height; allocating memory (702) for said surface (701); creating (703) a mapping between an image identifier and its location, width, height for each image associated with the surface; for each image, according to its offset in the surface, the two-dimensional space of the image is cast (704) to one dimension; knowing the casting formula between said one and two-dimensional spaces, copying each image to the surface (705).
展开▼