View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0003609 | Valley 1 | Programming Todo | Jun 30, 2011 11:52 am | Jan 26, 2012 11:07 am | |
Reporter | Chris_McElligottPark | Assigned To | Chris_McElligottPark | ||
Status | resolved | Resolution | fixed | ||
Summary | 0003609: Look at simple culling based on the scrolling offsets and visual width for window scrolling. | ||||
Description | Since Unity doesn't seem to cull, it just visually crops, near as we can tell on performance. | ||||
Tags | No tags attached. | ||||
Internal Weight | New | ||||
|
For which displays? Do you just mean the gui in general? |
|
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. |
|
Done as part of the recent GUI revamp. |
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 |