1 /* 2 * Copyright 2011, Haiku, Inc. All Rights Reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Michael Lotz, mmlr@mlotz.ch 7 */ 8 #ifndef INTEL_FITTER_H 9 #define INTEL_FITTER_H 10 11 12 class PanelFitter { 13 public: 14 PanelFitter(int32 pipeIndex); 15 virtual ~PanelFitter(); 16 17 bool IsEnabled(); 18 void Enable(const display_mode& mode); 19 void Disable(); 20 21 private: 22 void _Enable(bool enable); 23 24 uint32 fRegisterBase; 25 }; 26 27 #endif // INTEL_FITTER_H 28