Processing

Please wait...

Settings

Settings

Goto Application

1. CN111882482 - Graphic block data read-write method, device and equipment and storage medium

Office
China
Application Number 202010662730.3
Application Date 10.07.2020
Publication Number 111882482
Publication Date 03.11.2020
Publication Kind A
IPC
G06T 1/60
GPHYSICS
06COMPUTING; CALCULATING OR COUNTING
TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
1General purpose image data processing
60Memory management
CPC
G06T 1/60
GPHYSICS
06COMPUTING; CALCULATING; COUNTING
TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
1General purpose image data processing
60Memory management
Applicants CHANGSHA JINGJIA MICROELECTRONICS CO., LTD.
长沙景嘉微电子股份有限公司
CHANGSHA JINGMEI INTEGRATED CIRCUIT DESIGN CO., LTD.
长沙景美集成电路设计有限公司
Inventors JIAO YONG
焦永
Agents 北京新知远方知识产权代理事务所(普通合伙) 11397
北京新知远方知识产权代理事务所(普通合伙) 11397
Title
(EN) Graphic block data read-write method, device and equipment and storage medium
(ZH) 图形分块数据读写方法、装置、设备及存储介质
Abstract
(EN) The embodiment of the invention provides a graphic block data read-write method, device and equipment and a storage medium, and the data write method comprises the steps: obtaining the primitive datain to-be-written graphic block data, wherein the primitive data comprises the attribute data of all attributes supported by a primitive; generating a first data set, wherein each element represents whether the primitive contains an attribute or not, and the contained attributes are effective attributes; generating a second data set, wherein each element is effective attribute data corresponding tothe effective attribute, and all the effective attribute data are continuously stored, wherein the arrangement sequence of the valid attribute data in the second data set is consistent with the arrangement sequence of the corresponding valid attributes in the first data set; generating a primitive data packet according to the first data set and the second data set, and writing the primitive datapacket into a memory. According to the graphic block data read-write method, device and equipment and the storage medium provided by the embodiment of the invention, the problem of relatively high data bandwidth occupancy rate between the GPU and the memory in a traditional scheme can be solved.
(ZH) 本申请实施例提供一种图形分块数据读写方法、装置、设备及存储介质,其中,数据写入方法包括:获取待写入图形分块数据中的各图元数据,图元数据包括图元支持的所有属性的属性数据;生成第一数据组,其中每一个元素表示图元是否含有一个属性;含有的属性为有效属性;生成第二数据组,其中每一个元素为有效属性对应的有效属性数据,各有效属性数据连续存储;有效属性数据在第二数据组中排列的顺序与对应有效属性在第一数据组中排列的顺序一致;根据第一数据组和第二数据组生成图元数据包,并将图元数据包写入存储器。本申请实施例提供的图形分块数据读写方法、装置、设备及存储介质能够解决传统方案中GPU和存储器之间的数据带宽占用率较高的问题。
Related patent documents