Enum DirectRenderingGLView.BackendMode

    Definition

    Namespace:
    Tizen.NUI.BaseComponents
    Assembly:
    Tizen.NUI.dll

    Enumeration for backend mode

    public enum DirectRenderingGLView.BackendMode

    Fields

    Name Description
    DirectRendering

    DirectRendering mode executes GL code within DALi graphics pipeline but creates isolated context hence it doesn't alter any DALi rendering state. When Renderer is about to be drawn, the callback will be executed and the custom code "injected" into the pipeline. This allows rendering directly to the surface rather than offscreen.

    DirectRenderingThread

    DirectRenderingThread mode executes GL code on separate thread and then blits the result within DALi graphics commands stream. The mode is logically compatible with the EglImageOffscreenRendering.

    EglImageOffscreenRendering

    EglImageOffscreenRendering mode executes GL code in own thread and renders to the offscreen NativeImage (EGL) buffer. This backend will render in parallel but has higher memory footprint and may suffer performance issues due to using EGL image.

    UnsafeDirectRendering

    UnsafeDirectRendering mode executes GL code within DALi graphics pipeline WITHOUT isolating the GL context so should be used with caution! The custom rendering code is executed within current window context and may alter the GL state. This mode is considered unsafe and should be used only when drawing on main GL context is necessary!

    When Renderer is about to be drawn, the callback will be executed and the custom code "injected" into the pipeline. This allows rendering directly to the surface rather than offscreen.

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<DirectRenderingGLView.BackendMode>(DirectRenderingGLView.BackendMode, string)
    Extensions.LoadFromXaml<DirectRenderingGLView.BackendMode>(DirectRenderingGLView.BackendMode, string)
    Extensions.LoadFromXaml<DirectRenderingGLView.BackendMode>(DirectRenderingGLView.BackendMode, Type)
    Extensions.LoadFromXamlFile<DirectRenderingGLView.BackendMode>(DirectRenderingGLView.BackendMode, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX