lnx.h File Reference

Contains all Linux-related functions exposed by ADL for Linux; 32bit and 64bit platforms. More...


Functions

int ADL_DesktopConfig_Get (int iAdapterIndex, int *lpDesktopConfig)
 Function to get the Desktop Configuration.
int ADL_DesktopConfig_Set (int iAdapterIndex, int iDesktopConfig)
 Function to set the Desktop Configuration.
int ADL_NumberOfDisplayEnable_Get (int iAdapterIndex, int *lpNumberOfDisplays)
 Function to retrieve the number of enabled displays.
int ADL_DisplayEnable_Set (int iAdapterIndex, int *lpDisplayIndexList, int iDisplayListSize, int bPersistOnly)
 Function to dynamically enable displays on a GPU.
int ADL_Display_IdentifyDisplay (int iAdapterIndex, int iDisplayIndex, int iDisplayControllerIndex, int iShow, int iDisplayNum, int iPosX, int iPosY)
 Function to set the desktop configuration.
int ADL_Display_LUTColor_Set (int iAdapterIndex, int iDisplayIndex, ADLGamma adlGamma)
 Function to set the current gamma value for a LUT (controller).
int ADL_Display_LUTColor_Get (int iAdapterIndex, int iDisplayIndex, ADLGamma *lpGammaCurrent, ADLGamma *lpGammaDefault, ADLGamma *lpGammaMin, ADLGamma *lpGammaMax)
 Function to get the current value of gamma for a LUT (controller).
int ADL_Adapter_XScreenInfo_Get (LPXScreenInfo lpXScreenInfo, int iInputSize)
 Function to retrieve all X Screen information for all OS-known adapters.
int ADL_Display_XrandrDisplayName_Get (int iAdapterIndex, int iDisplayIndex, char *lpXrandrDisplayName, int iBuffSize)
 Function to retrieve the name of the Xrandr display.
int ADL_Adapter_Tear_Free_Set (int iAdapter, int iRequested, int *pStatus)
 Set the requested tear free desktop setting.
int ADL_Adapter_Tear_Free_Get (int iAdapter, int *pDefault, int *pRequested, int *pStatus)
 Get the requested tear free desktop setting and current status.

Variables

int iNumAdapters
LPAdapterInfo lpAdapterInfo


Detailed Description

Contains all Linux-related functions exposed by ADL for Linux; 32bit and 64bit platforms.

Copyright (c) 2008 - 2009 Advanced Micro Devices, Inc. THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. This file contains all Linux-related ADL function exposed by ADL for Linux platforms. All functions in this file can be used as a reference to ensure the specific function pointers can be used by the appropriate runtime dynamic library loaders.


Variable Documentation

Examples:
Sample/main.c.


Copyright © 2009-2013 Advanced Micro Devices, Inc. All rights reserved.  AMD Developer