Seperate some matrix operations to MatrixUtils
[platform/core/uifw/dali-core.git] / dali / internal / common / type-abstraction-enums.h
index ecd8544..e2ba0a6 100644 (file)
@@ -1,45 +1,81 @@
-#ifndef __DALI_INTERNAL_TYPE_ABSTRACTION_ENUMS_H__
-#define __DALI_INTERNAL_TYPE_ABSTRACTION_ENUMS_H__
+#ifndef DALI_INTERNAL_TYPE_ABSTRACTION_ENUMS_H
+#define DALI_INTERNAL_TYPE_ABSTRACTION_ENUMS_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.
-//
-
-
-//PUBLIC INCLUDES
-#include <dali/public-api/actors/renderable-actor.h>
-#include <dali/public-api/actors/blending.h>
-#include <dali/public-api/shader-effects/shader-effect.h>
+/*
+ * Copyright (c) 2022 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.
+ *
+ */
 
 // INTERNAL INCLUDES
+#include <dali/devel-api/actors/camera-actor-devel.h>
+#include <dali/devel-api/common/stage-devel.h>
+#include <dali/devel-api/rendering/renderer-devel.h>
 #include <dali/internal/common/type-abstraction.h>
-#include <dali/internal/event/effects/shader-declarations.h>
+#include <dali/public-api/rendering/renderer.h>
 
 namespace Dali
 {
-
 namespace Internal
 {
-
-template <> struct ParameterType< CullFaceMode > : public BasicType< CullFaceMode > {};
-template <> struct ParameterType< BlendingMode::Type > : public BasicType< BlendingMode::Type > {};
-template <> struct ParameterType< GeometryType > : public BasicType< GeometryType > {};
-template <> struct ParameterType< ShaderSubTypes > : public BasicType< ShaderSubTypes > {};
+template<>
+struct ParameterType<Dali::FaceCullingMode::Type> : public BasicType<Dali::FaceCullingMode::Type>
+{
+};
+template<>
+struct ParameterType<Dali::BlendMode::Type> : public BasicType<Dali::BlendMode::Type>
+{
+};
+template<>
+struct ParameterType<Dali::DepthWriteMode::Type> : public BasicType<Dali::DepthWriteMode::Type>
+{
+};
+template<>
+struct ParameterType<Dali::DepthTestMode::Type> : public BasicType<Dali::DepthTestMode::Type>
+{
+};
+template<>
+struct ParameterType<Dali::DepthFunction::Type> : public BasicType<Dali::DepthFunction::Type>
+{
+};
+template<>
+struct ParameterType<Dali::RenderMode::Type> : public BasicType<Dali::RenderMode::Type>
+{
+};
+template<>
+struct ParameterType<Dali::StencilFunction::Type> : public BasicType<Dali::StencilFunction::Type>
+{
+};
+template<>
+struct ParameterType<Dali::StencilOperation::Type> : public BasicType<Dali::StencilOperation::Type>
+{
+};
+template<>
+struct ParameterType<Dali::DevelStage::Rendering> : public BasicType<Dali::DevelStage::Rendering>
+{
+};
+template<>
+struct ParameterType<Dali::DevelRenderer::Rendering::Type> : public BasicType<Dali::DevelRenderer::Rendering::Type>
+{
+};
+template<>
+struct ParameterType<Dali::DevelCameraActor::ProjectionDirection> : public BasicType<Dali::DevelCameraActor::ProjectionDirection>
+{
+};
 
 } //namespace Internal
 
 } //namespace Dali
 
-#endif // __DALI_INTERNAL_TYPE_ABSTRACTION_ENUMS_H__
+#endif // DALI_INTERNAL_TYPE_ABSTRACTION_ENUMS_H