X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=adaptors%2Fbase%2Fenvironment-variables.h;h=234ce3ca341f4107a42fe52c7c7d63f5c27992ec;hb=62911dcd069b5cfebc0f2589621cd1620e570997;hp=d109e4ceaf29a3f0147898ade411ff7e9464622e;hpb=be94d5bdff577bdaf7374365a9680c4212ed9a3c;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/adaptors/base/environment-variables.h b/adaptors/base/environment-variables.h index d109e4c..234ce3c 100644 --- a/adaptors/base/environment-variables.h +++ b/adaptors/base/environment-variables.h @@ -1,21 +1,22 @@ -#ifndef __DALI_INTERNAL_ADAPTOR_ENVIRONMENT_VARIABLES_H__ -#define __DALI_INTERNAL_ADAPTOR_ENVIRONMENT_VARIABLES_H__ - -// -// Copyright (c) 2014 Samsung Electronics Co., Ltd. -// -// Licensed under the Flora License, Version 1.0 (the License); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://floralicense.org/license/ -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an AS IS BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// +#ifndef DALI_INTERNAL_ADAPTOR_ENVIRONMENT_VARIABLES_H +#define DALI_INTERNAL_ADAPTOR_ENVIRONMENT_VARIABLES_H + +/* + * Copyright (c) 2017 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ namespace Dali { @@ -26,7 +27,79 @@ namespace Internal namespace Adaptor { -#define DALI_ENV_LOG_PERFORMANCE "DALI_LOG_PERFORMANCE" +/** + * What performance statistics are logged out to dlog + * see StatisticsLogOptions in performance-interface.h for values + */ +#define DALI_ENV_LOG_PERFORMANCE_STATS "DALI_LOG_PERFORMANCE_STATS" + +/** + * How frequent in seconds to log out performance statistics + */ +#define DALI_ENV_LOG_PERFORMANCE_STATS_FREQUENCY "DALI_LOG_PERFORMANCE_STATS_FREQ" + +/** + * Where timestamped events for update/render/event and custom events + * are output. + * see TimeStampOutput in performance-interface.h for values + */ +#define DALI_ENV_PERFORMANCE_TIMESTAMP_OUTPUT "DALI_PERFORMANCE_TIMESTAMP_OUTPUT" + +/** + * Allow control and monitoring of DALi via the network + */ +#define DALI_ENV_NETWORK_CONTROL "DALI_NETWORK_CONTROL" + +// environment variable for enabling/disabling fps tracking +#define DALI_ENV_FPS_TRACKING "DALI_FPS_TRACKING" + +#define DALI_ENV_UPDATE_STATUS_INTERVAL "DALI_UPDATE_STATUS_INTERVAL" + +#define DALI_ENV_OBJECT_PROFILER_INTERVAL "DALI_OBJECT_PROFILER_INTERVAL" + +#define DALI_ENV_LOG_PAN_GESTURE "DALI_LOG_PAN_GESTURE" + +#define DALI_ENV_PAN_PREDICTION_MODE "DALI_PAN_PREDICTION_MODE" + +#define DALI_ENV_PAN_PREDICTION_AMOUNT "DALI_PAN_PREDICTION_AMOUNT" + +#define DALI_ENV_PAN_MAX_PREDICTION_AMOUNT "DALI_PAN_MAX_PREDICTION_AMOUNT" + +#define DALI_ENV_PAN_MIN_PREDICTION_AMOUNT "DALI_PAN_MIN_PREDICTION_AMOUNT" + +#define DALI_ENV_PAN_PREDICTION_AMOUNT_ADJUSTMENT "DALI_PAN_PREDICTION_AMOUNT_ADJUSTMENT" + +#define DALI_ENV_PAN_SMOOTHING_MODE "DALI_PAN_SMOOTHING_MODE" + +#define DALI_ENV_PAN_SMOOTHING_AMOUNT "DALI_PAN_SMOOTHING_AMOUNT" + +#define DALI_ENV_PAN_MINIMUM_DISTANCE "DALI_PAN_MINIMUM_DISTANCE" + +#define DALI_ENV_PAN_MINIMUM_EVENTS "DALI_PAN_MINIMUM_EVENTS" + +#define DALI_GLES_CALL_TIME "DALI_GLES_CALL_TIME" + +#define DALI_GLES_CALL_ACCUMULATE "DALI_GLES_CALL_ACCUMULATE" + +#define DALI_WINDOW_WIDTH "DALI_WINDOW_WIDTH" + +#define DALI_WINDOW_HEIGHT "DALI_WINDOW_HEIGHT" + +#define DALI_WINDOW_NAME "DALI_WINDOW_NAME" + +#define DALI_WINDOW_CLASS_NAME "DALI_WINDOW_CLASS_NAME" + +#define DALI_THREADING_MODE "DALI_THREADING_MODE" + +#define DALI_REFRESH_RATE "DALI_REFRESH_RATE" + +#define DALI_ENV_MULTI_SAMPLING_LEVEL "DALI_MULTI_SAMPLING_LEVEL" + +#define DALI_ENV_MAX_TEXTURE_SIZE "DALI_MAX_TEXTURE_SIZE" + +#define DALI_ENV_INDICATOR_VISIBLE_MODE "DALI_INDICATOR_VISIBLE_MODE" + +#define DALI_RENDER_TO_FBO "DALI_RENDER_TO_FBO" } // namespace Adaptor @@ -34,4 +107,4 @@ namespace Adaptor } // namespace Dali -#endif // __DALI_INTERNAL_ADAPTOR_ENVIRONMENT_VARIABLES_H__ +#endif // DALI_INTERNAL_ADAPTOR_ENVIRONMENT_VARIABLES_H