randr: unexport and document RROutputSetSubpixelOrder()
Not used by any external drivers, so no need to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
2214ebdc44
commit
55474ddf66
|
@ -35,6 +35,8 @@
|
|||
#endif
|
||||
#include "win.h"
|
||||
|
||||
#include "randr/randrstr_priv.h"
|
||||
|
||||
/*
|
||||
* Answer queries about the RandR features supported.
|
||||
*/
|
||||
|
|
|
@ -644,9 +644,6 @@ extern _X_EXPORT Bool
|
|||
extern _X_EXPORT Bool
|
||||
RROutputSetConnection(RROutputPtr output, CARD8 connection);
|
||||
|
||||
extern _X_EXPORT Bool
|
||||
RROutputSetSubpixelOrder(RROutputPtr output, int subpixelOrder);
|
||||
|
||||
extern _X_EXPORT Bool
|
||||
RROutputSetPhysicalSize(RROutputPtr output, int mmWidth, int mmHeight);
|
||||
|
||||
|
|
|
@ -334,4 +334,12 @@ int RROutputAddUserMode(RROutputPtr output, RRModePtr mode);
|
|||
*/
|
||||
int RROutputDeleteUserMode(RROutputPtr output, RRModePtr mode);
|
||||
|
||||
/*
|
||||
* Set subpixel order on given output
|
||||
*
|
||||
* @param output the output to set subpixel order on
|
||||
* @param order subpixel order value to set
|
||||
*/
|
||||
void RROutputSetSubpixelOrder(RROutputPtr output, int order);
|
||||
|
||||
#endif /* _XSERVER_RANDRSTR_PRIV_H_ */
|
||||
|
|
|
@ -19,8 +19,9 @@
|
|||
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
|
||||
* OF THIS SOFTWARE.
|
||||
*/
|
||||
#include <dix-config.h>
|
||||
|
||||
#include "randrstr.h"
|
||||
#include "randr/randrstr_priv.h"
|
||||
|
||||
#ifdef RANDR_10_INTERFACE
|
||||
static RRModePtr
|
||||
|
|
|
@ -287,15 +287,13 @@ RROutputSetConnection(RROutputPtr output, CARD8 connection)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
Bool
|
||||
RROutputSetSubpixelOrder(RROutputPtr output, int subpixelOrder)
|
||||
void RROutputSetSubpixelOrder(RROutputPtr output, int subpixelOrder)
|
||||
{
|
||||
if (output->subpixelOrder == subpixelOrder)
|
||||
return TRUE;
|
||||
return;
|
||||
|
||||
output->subpixelOrder = subpixelOrder;
|
||||
RROutputChanged(output, FALSE);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
Bool
|
||||
|
|
Loading…
Reference in New Issue