aboutsummaryrefslogtreecommitdiff
path: root/layers/layers_config.cpp
AgeCommit message (Collapse)Author
2015-04-16Stage 1 of renameCourtney Goeltzenleuchter
TODO: re-enable glave build, advance API for glave v2: get rid of outdated code in tri introduced by rebase rename wsi_null.c (olv)
2015-03-03layers: if no settings file or call overrides make callback override logingJon Ashburn
Default debugAction in layers is to log based on variable init. Make the overrides work as follows: 1) app calls xglRegisterMsgCallback() 2) settings file 3) Glave (or app) calls to setlayerOption()
2015-02-25layer: Fixed options settings for generated layers, fixed typosMark Lobodzinski
Handling of non-zero default values now also fixed.
2015-02-25layers: Fix layer config file optionsMark Lobodzinski
Needed to end up with enums here, added this option.
2015-02-12Win: Attempt to keep from using Linux functions.Ian Elliott
This is a hopefully-temporary solution to prevent some of the problems of people breaking the Windows build while developing on Linux (or vice-versa). This uses macros of the names of Linux/Windows-specific functions in order to catch people who use those functions directly, instead of using the platform-compatibility-layer functions. In order to avoid problems with the layers #include'ing "loader_platform.h" before they #include system files (which can mess them up), I #include "loader_platform.h" twice. The 2nd time, it #define's the hopefully-temporary macros. Note: For some reason, we can't #define LoadLibrary(). It generates warnings on Windows.
2015-02-12Win: "layers_config.cpp" must #include "loader_platform.h"Ian Elliott
2015-02-12layers: Add ability to override layer settings from file with a callJon Ashburn
Add setLayerOption function call.
2015-02-04layers: Add utilities for layer configuration via settings file.Jon Ashburn
Layers can now call getLayerOption("<option name>") to get layer settings. File xgl_layer_settings.txt can be used to provide option and value pairs to configure a given layer. Add enums to xglLayer.h to provide a generic ACTION and LEVEl settings for options in the settings file.