[WASAPI] fix stream types and frequencies enumeration
[xbmc.git] / xbmc / guilib / IDirtyRegionSolver.h
blob6702d07db256f899b5304521e029eaaa37d8e982
1 /*
2 * Copyright (C) 2005-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
7 */
9 #pragma once
11 #include "DirtyRegion.h"
13 #define DIRTYREGION_SOLVER_FILL_VIEWPORT_ALWAYS 0
14 #define DIRTYREGION_SOLVER_UNION 1
15 #define DIRTYREGION_SOLVER_COST_REDUCTION 2
16 #define DIRTYREGION_SOLVER_FILL_VIEWPORT_ON_CHANGE 3
18 class IDirtyRegionSolver
20 public:
21 virtual ~IDirtyRegionSolver() = default;
23 // Takes a number of dirty regions which will become a number of needed rendering passes.
24 virtual void Solve(const CDirtyRegionList &input, CDirtyRegionList &output) = 0;