projects
/
platform
/
core
/
uifw
/
dali-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Tizen] Implement partial update
[platform/core/uifw/dali-core.git]
/
dali
/
internal
/
event
/
actors
/
camera-actor-impl.h
diff --git
a/dali/internal/event/actors/camera-actor-impl.h
b/dali/internal/event/actors/camera-actor-impl.h
index
dc017f8
..
2e1e747
100644
(file)
--- a/
dali/internal/event/actors/camera-actor-impl.h
+++ b/
dali/internal/event/actors/camera-actor-impl.h
@@
-2,7
+2,7
@@
#define DALI_INTERNAL_CAMERA_ACTOR_H
/*
#define DALI_INTERNAL_CAMERA_ACTOR_H
/*
- * Copyright (c) 201
8
Samsung Electronics Co., Ltd.
+ * Copyright (c) 201
9
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.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-154,9
+154,8
@@
public:
/**
* @copydoc Dali::CameraActor::SetPerspectiveProjection()
/**
* @copydoc Dali::CameraActor::SetPerspectiveProjection()
- * @param[in] stereoBias The frustum horizontal and vertical offset for stereoscopic cameras
*/
*/
- void SetPerspectiveProjection( const Size& size
, const Vector2& stereoBias = Vector2::ZERO
);
+ void SetPerspectiveProjection( const Size& size );
/**
* @copydoc Dali::CameraActor::SetOrthographicProjection(const Vector2& size);
/**
* @copydoc Dali::CameraActor::SetOrthographicProjection(const Vector2& size);
@@
-196,6
+195,13
@@
public:
*/
const SceneGraph::Camera* GetCamera() const;
*/
const SceneGraph::Camera* GetCamera() const;
+ /**
+ * Rotate the projection.
+ * It is used in case that the target buffer direction is different from the window direction.
+ * @param [in] rotationAngle The rotation angle
+ */
+ void RotateProjection( int rotationAngle );
+
public: // properties
/**
public: // properties
/**
@@
-235,14
+241,19
@@
private:
/**
* @copydoc Dali::Internal::Actor::OnInitialize()
*/
/**
* @copydoc Dali::Internal::Actor::OnInitialize()
*/
- v
irtual void OnInitialize()
;
+ v
oid OnInitialize() override
;
+ /**
+ * @copydoc Dali::Internal::Actor::OnStageConnectionInternal()
+ */
+ void OnStageConnectionInternal() override;
private: // Data
const SceneGraph::Camera* mSceneObject; ///< Not owned
Vector3 mTarget;
private: // Data
const SceneGraph::Camera* mSceneObject; ///< Not owned
Vector3 mTarget;
+ Vector2 mCanvasSize;
Dali::Camera::Type mType;
Dali::Camera::ProjectionMode mProjectionMode;
float mFieldOfView;
Dali::Camera::Type mType;
Dali::Camera::ProjectionMode mProjectionMode;
float mFieldOfView;