-
公开(公告)号:US20230334735A1
公开(公告)日:2023-10-19
申请号:US17721635
申请日:2022-04-15
Applicant: META PLATFORMS TECHNOLOGIES, LLC
Inventor: Nilanjan Goswami , Christopher James Goodman , Steve John Clohset , Kyle Durfee
Abstract: A method includes receiving a list of primitives covering a tile of an image, the image comprising content defined by the list of primitives, and for each primitive in the list: identifying, in the tile, pixels that are partially covered by the primitive, pixels that are fully uncovered by the primitive, and pixels that are fully covered by the primitive; computing, for each of the partially-covered pixels, a coverage weight indicating a proportion of the partially-covered pixel that is covered by the primitive; storing coverage data in a coverage buffer corresponding to the tile, the coverage data comprising the coverage weights of the partially-covered pixels, fully-uncovered indicators for the fully-uncovered pixels, and fully-covered indicators for the fully-covered pixels; and determining color information for the primitive in the tile based on the stored coverage data. And, aggregating the color information of the list of primitives in a color buffer for output.
-
公开(公告)号:US20230334736A1
公开(公告)日:2023-10-19
申请号:US17721653
申请日:2022-04-15
Applicant: META PLATFORMS TECHNOLOGIES, LLC
Inventor: Nilanjan Goswami , Christopher James Goodman , Siddartha Kavilipati , Kyle Durfee
CPC classification number: G06T11/40 , G06F17/12 , G06T11/203
Abstract: A method includes receiving instructions to render an image comprising content defined by a two-dimensional (2D) primitive; determining a portion of the 2D primitive covering a tile of multiple tiles of the image; generating an edge definition to represent an edge of the portion of the 2D primitive; and for each row of pixels within at least a portion of the tile containing the portion of the 2D primitive: identifying, based on the edge definition, a left-most pixel and right-most pixel in the row that intersect the edge; identifying, based on the left-most pixel and the right-most pixel, a set of first pixels in the row intersecting the edge; determining, for each first pixel in the set, a coverage weight indicating a proportion of the first pixel covered by the 2D primitive; and determining color information for the set of first pixels based on the associated coverage weights.
-
公开(公告)号:US20230334728A1
公开(公告)日:2023-10-19
申请号:US17721671
申请日:2022-04-15
Applicant: Meta Platforms Technologies, LLC
Inventor: Nilanjan Goswami , Christopher James Goodman , Kyle Durfee , Piyush Agarwal , Steve John Clohset
CPC classification number: G06T11/001 , G06T11/60 , G06T11/20
Abstract: A method includes receiving a source shape that is to be blended with a destination shape stored in a color buffer for an image; in response to determining that the source shape is associated with a blending mode that requires updates to pixels in the color buffer uncovered by the source shape: identifying empty tiles in the color buffer uncovered by the source shape and non-empty tiles in the color buffer covered by the source shape; for each of the empty tiles, sending instructions to clear pixel values associated with the empty tile in the color buffer; and for each of the non-empty tiles: identifying pixels of the non-empty tile that are covered by the destination shape but not the source shape; and sending instructions to clear pixel values associated with the pixels.
-
公开(公告)号:US20230334618A1
公开(公告)日:2023-10-19
申请号:US17721700
申请日:2022-04-15
Applicant: META PLATFORMS TECHNOLOGIES, LLC
Inventor: Nilanjan Goswami , Kyle Durfee , Sonal Pinto
Abstract: A method includes determining a sequence for compressing blocks of pixels in an image; compressing the blocks sequentially according to the sequence, wherein a first component of a first block is compressed by: selecting a variable-length mode from supported compression modes to compress the first component of the first block based on: determining that the first block is different from previously-compressed blocks compressed according to the sequence; determining that pixels within the first component are different; and determining that a bit length needed for compressing the first component using the variable-length mode is less than a bit length needed for representing the first component uncompressed; and generating a first compression of the first component of the first block using a symbol width selected based on magnitudes of delta values used for encoding the pixels within the first component of the first block.
-
-
-