-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[NUI] Add View.OffScreenRendering property #6516
Conversation
Public API ChangedPlease follow the ACR process for the changed API below. Added: 4, Removed: 0, Changed: 0Added+ /// <since_tizen>12</since_tizen
+ Tizen.NUI.BaseComponents.View/OffScreenRenderingType
+ /// <since_tizen>12</since_tizen
+ static Tizen.NUI.BaseComponents.View/OffScreenRenderingType Tizen.NUI.BaseComponents.View/OffScreenRenderingType::None
+ /// <since_tizen>12</since_tizen
+ static Tizen.NUI.BaseComponents.View/OffScreenRenderingType Tizen.NUI.BaseComponents.View/OffScreenRenderingType::RefreshAlways
+ /// <since_tizen>12</since_tizen
+ static Tizen.NUI.BaseComponents.View/OffScreenRenderingType Tizen.NUI.BaseComponents.View/OffScreenRenderingType::RefreshOnce
Internal API ChangedAdded: 2, Removed: 0, Changed: 0Added+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.Binding.BindableProperty Tizen.NUI.BaseComponents.View::OffScreenRenderingProperty
+ /// <since_tizen>12</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Tizen.NUI.BaseComponents.View/OffScreenRenderingType Tizen.NUI.BaseComponents.View::OffScreenRendering()
|
e2bbcae
to
b64eab4
Compare
Internal API ChangedAdded: 5, Removed: 0, Changed: 0Added+ /// <since_tizen>12</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Tizen.NUI.BaseComponents.View/OffScreenRenderingType Tizen.NUI.BaseComponents.View::OffScreenRendering()
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Tizen.NUI.BaseComponents.View/OffScreenRenderingType
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.View/OffScreenRenderingType Tizen.NUI.BaseComponents.View/OffScreenRenderingType::None
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.View/OffScreenRenderingType Tizen.NUI.BaseComponents.View/OffScreenRenderingType::RefreshAlways
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.View/OffScreenRenderingType Tizen.NUI.BaseComponents.View/OffScreenRenderingType::RefreshOnce
|
b64eab4
to
3003aff
Compare
Internal API ChangedAdded: 5, Removed: 0, Changed: 0Added+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Tizen.NUI.BaseComponents.View/OffScreenRenderingType Tizen.NUI.BaseComponents.View::OffScreenRendering()
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Tizen.NUI.BaseComponents.View/OffScreenRenderingType
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.View/OffScreenRenderingType Tizen.NUI.BaseComponents.View/OffScreenRenderingType::None
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.View/OffScreenRenderingType Tizen.NUI.BaseComponents.View/OffScreenRenderingType::RefreshAlways
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.View/OffScreenRenderingType Tizen.NUI.BaseComponents.View/OffScreenRenderingType::RefreshOnce
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please make simple sample in future?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
As Eunki mentioned, adding a sample to use OffScreenRendering
would be great in the future.
Signed-off-by: jmm <[email protected]>
3003aff
to
c52f605
Compare
Internal API ChangedAdded: 5, Removed: 0, Changed: 0Added+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Tizen.NUI.BaseComponents.View/OffScreenRenderingType Tizen.NUI.BaseComponents.View::OffScreenRendering()
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Tizen.NUI.BaseComponents.View/OffScreenRenderingType
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.View/OffScreenRenderingType Tizen.NUI.BaseComponents.View/OffScreenRenderingType::None
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.View/OffScreenRenderingType Tizen.NUI.BaseComponents.View/OffScreenRenderingType::RefreshAlways
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.View/OffScreenRenderingType Tizen.NUI.BaseComponents.View/OffScreenRenderingType::RefreshOnce
|
Description of Change
Adding View property that enables/disables offscreen rendering.
The view draws at offscreen buffer as itself a root node(subtree). The cached result may reduce repetitive render calls by occasion.
User can define the draw's refresh rate(RefreshAlways or RefrashOnce), or disable offscreen rendering(None).
API Changes
The new property can be used as follows:
View.OffScreenRendering = View.OffScreenRenderingType.RefreshOnce