#define DALI_INTEGRATION_CORE_H
/*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2019 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.
// INTERNAL INCLUDES
#include <dali/public-api/common/dali-common.h>
-#include <dali/public-api/common/view-mode.h>
#include <dali/integration-api/context-notifier.h>
#include <dali/integration-api/core-enumerations.h>
#include <dali/integration-api/resource-policies.h>
namespace Integration
{
-
class Core;
class GestureManager;
class GlAbstraction;
class GlSyncAbstraction;
class PlatformAbstraction;
+class Processor;
class RenderController;
class SystemOverlay;
struct Event;
bool needsPostRender :1; ///< True if post-render is required to be run.
};
-/**
- * Interface to enable classes to be processed after the event loop. Classes are processed
- * in the order they are registered.
- */
-class DALI_CORE_API Processor
-{
-public:
- /**
- * @brief Run the processor
- */
- virtual void Process() = 0;
-
-protected:
- virtual ~Processor() { }
-};
-
/**
* Integration::Core is used for integration with the native windowing system.
SystemOverlay& GetSystemOverlay();
/**
- * Set the stereoscopic 3D view mode
- * @param[in] viewMode The new view mode
- */
- void SetViewMode( ViewMode viewMode );
-
- /**
- * Get the current view mode
- * @return The current view mode
- * @see SetViewMode.
- */
- ViewMode GetViewMode() const;
-
- /**
- * Set the stereo base (eye seperation) for stereoscopic 3D
- * @param[in] stereoBase The stereo base (eye seperation) for stereoscopic 3D (mm)
- */
- void SetStereoBase( float stereoBase );
-
- /**
- * Get the stereo base (eye seperation) for stereoscopic 3D
- * @return The stereo base (eye seperation) for stereoscopic 3D (mm)
- */
- float GetStereoBase() const;
-
- /**
* @brief Register a processor
*
* Note, Core does not take ownership of this processor.