95009aeeb0
into a usable function - this has some coding style issues I did not care to fix. * _AddBaseMode() now computes the mode in case it is not present in the list yet. * This should help with bug #7787. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42420 a95241bf-73f2-0310-859d-f6bbb57e9c96
26 lines
467 B
C
26 lines
467 B
C
/*
|
|
* Copyright 2011, Axel Dörfler, axeld@pinc-software.de.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _COMPUTE_DISPLAY_TIMING_H
|
|
#define _COMPUTE_DISPLAY_TIMING_H
|
|
|
|
|
|
#include <Accelerant.h>
|
|
#include <GraphicsDefs.h>
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
status_t compute_display_timing(uint32 width, uint32 height, float refresh,
|
|
bool interlaced, display_timing* timing);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
|
|
#endif /* _COMPUTE_DISPLAY_TIMING_H */
|