View Issue Details

IDProjectCategoryLast Update
0003609Valley 1Programming TodoJan 26, 2012 11:07 am
ReporterChris_McElligottPark Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Summary0003609: Look at simple culling based on the scrolling offsets and visual width for window scrolling.
DescriptionSince Unity doesn't seem to cull, it just visually crops, near as we can tell on performance.
TagsNo tags attached.
Internal WeightNew

Activities

keith.lamothe

Jun 30, 2011 11:54 am

administrator   ~0012629

For which displays? Do you just mean the gui in general?

Chris_McElligottPark

Jun 30, 2011 12:00 pm

administrator   ~0012630

This was actually a note based on the email I just sent you, so it doesn't include the context. But basically for any scrolling regions of windows, we can detect when there is a control that is 100% non-visible based on the current scrolling offsets and window size, and just skip making any Unity calls about those controls.

Given that unity apparently doesn't differentiate between onscreen and offscreen in terms of the performance impact, that's how we can get to having basically unlimited items in a scrolling window without having the impact being substantially larger than just drawing the stuff that is actually shown onscreen at that specific time.

Basically it's a more generalized implementation of the kind of custom culling logic that you're already doing on the achivements and stats windows in AI War.

Chris_McElligottPark

Jan 26, 2012 11:07 am

administrator   ~0018161

Done as part of the recent GUI revamp.

Issue History

Date Modified Username Field Change
Jun 30, 2011 11:52 am Chris_McElligottPark New Issue
Jun 30, 2011 11:52 am Chris_McElligottPark Status new => assigned
Jun 30, 2011 11:52 am Chris_McElligottPark Assigned To => Chris_McElligottPark
Jun 30, 2011 11:54 am keith.lamothe Note Added: 0012629
Jun 30, 2011 12:00 pm Chris_McElligottPark Note Added: 0012630
Jan 26, 2012 11:07 am Chris_McElligottPark Internal Weight => New
Jan 26, 2012 11:07 am Chris_McElligottPark Note Added: 0018161
Jan 26, 2012 11:07 am Chris_McElligottPark Status assigned => resolved
Jan 26, 2012 11:07 am Chris_McElligottPark Resolution open => fixed