Kodi Community Forum

Full Version: where the algorithms are existing for getting dirty regions?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
As we know the, the XBMC is using various algorithms to get dirty regions for less usage of CPU and GPU.

There is four kind of algorithm according to this page (http://wiki.xbmc.org/index.php?title=HOW...ty_regions)

0 > Off
1 > Union
2 > Cost reduction
3 > Whole Screen

I want to know on which file, each algorithm is using. I want to get the full details about these algorithms.

Please help, I am very new for this.
Welcome to forums...

XBMC is developed at via git and is hosted in github, searching for DR over there revelas this https://github.com/xbmc/xbmc/search?q=di...ef=cmdform

happy hunting.
they are hidden in a file called DirtyRegionSolvers.cpp sitting in xbmc/guilib