New issue
Advanced search Search tips

Issue 818118 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Cache device_layer_quad to avoid doing math

Project Member Reported by xing...@intel.com, Mar 2 2018

Issue description

For all TileDrawQuads within the same layer, they share a common
device_layer_quad and use_aa. So caching device_layer_quad and use_aa save
the effort to do the math and aa decision making for the coming TileDrawQuads
in the same layer.

Because TileDrawQuads from the same layer share the same SharedQuadState. We can
cache previous_shared_quad_state_ to decide if layer switches.


BTW, one thing confused me is, when calculating ShouldAntialiasQuad, device_layer_quad is used. But why not use quad's rect or visible rect instead?
 

Comment 1 by xing...@intel.com, Mar 2 2018

Description: Show this description

Comment 2 by xing...@intel.com, Mar 2 2018

Cc: yang...@intel.com

Sign in to add a comment