![]() |
NAVTOR SDK
v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
|
Platform-dependent Scene Manager GL initialization helpers. More...
#include <base/inc/platform.h>#include <base/inc/interfaces/parameters/parameters_impl.h>#include <visualizationlayer/inc/vis_const.h>#include <visualizationlayer/inc/gl2d/gl2d_objects.h>#include <visualizationlayer/inc/gl2d/gl2d_texture_interface.h>#include <visualizationlayer/inc/gl2d/gl2d_thread_interface.h>#include <visualizationlayer/inc/gl2d/gl2d_ext_created_ctx_interface.h>#include <visualizationlayer/inc/vismangl/scene_manager_gl_interface.h>Go to the source code of this file.
Functions | |
| SDKResult | CreateSceneManagerGLInitialParameters (const std::wstring &name, SceneManagerGLType gl_type, const ISDKParametersSP &sharable_context, const sdk::gl2d::IGL2DExtCreatedGlCtxSP &ext_created_ctx, const ISceneManagerGLSP &scene_manager_gl, sdk::gl2d::GL2DTextureFormat texture_format, SDKUInt32 scene_width, SDKUInt32 scene_height, double resolution_dpm, SDKUInt64 flags, ISDKParametersSP &init_params) |
| Places scene manager initialization parameters into container which should be passed to Initialize method. More... | |
| SDKResult | CreateSceneManagerGLInitialParameters (const std::wstring &name, SceneManagerGLType gl_type, const ISDKParametersSP &sharable_context, sdk::gl2d::GL2DTextureFormat texture_format, SDKUInt32 scene_width, SDKUInt32 scene_height, double resolution_dpm, SDKUInt64 flags, ISDKParametersSP &init_params) |
| SDKResult | CreateSceneManagerGLInitialParameters (const std::wstring &name, SceneManagerGLType gl_type, const sdk::gl2d::IGL2DThreadSP &gl2d_thread, void *const get_gl_proc_addr, void *const gl_lib_handle, sdk::gl2d::GL2DTextureFormat texture_format, SDKUInt32 scene_width, SDKUInt32 scene_height, double resolution_dpm, SDKUInt64 flags, ISDKParametersSP &init_params) |
| Places scene manager initialization parameters into container which should be passed to Initialize method Given parameters are for external GL context, no internal GL contexts will be in use. More... | |
| ISDKParametersSP | WrapContext (SDKUInt64 ctx) |
Platform-dependent Scene Manager GL initialization helpers.
Copyright © The Navtor SDK 2011-2018. All Rights Reserved.
|
inline |
Places scene manager initialization parameters into container which should be passed to Initialize method.
| name | Name of the scene manager. |
| gl_type | see SceneManagerGLType. |
| sharable_context | Platform specific reference of an exiting GL context to share with. |
| ext_created_ctx | Own implementation of IGL2DExtCreatedGlCtx to create GL context by using external application API |
| scene_manager_gl | Earlier created scene manager GL instance |
| texture_format | Format of the scene texture. |
| scene_width | Scene width. |
| scene_height | Scene height. |
| resolution_dpm | DPM. |
| flags | Flags. |
|
inline |
| name | Name of the scene manager. |
| gl_type | see SceneManagerGLType. |
| sharable_context | Platform specific reference of an exiting GL context to share with. |
| texture_format | Format of the scene texture. |
| scene_width | Scene width. |
| scene_height | Scene height. |
| resolution_dpm | DPM. |
| flags | Flags. |
|
inline |
Places scene manager initialization parameters into container which should be passed to Initialize method Given parameters are for external GL context, no internal GL contexts will be in use.
| name | Name of the scene manager. |
| gl_type | see SceneManagerGLType. |
| gl2d_thread | Own implementation of IGL2DThread interface |
| get_gl_proc_addr | Pointer to appropriate xxxGetProcAddress method (wglGetProcAddress/eglGetProcAddress/glXGetProcAddressARB/OSMesaGetProcAddress/etc) |
| gl_lib_handle | Handle to appropriate OpenGL library (::GetModuleHandleA("opengl32.dll") for Windows, can be NULL for Linux) |
| texture_format | Format of the scene texture. |
| scene_width | Scene width. |
| scene_height | Scene height. |
| resolution_dpm | DPM. |
| flags | Flags. |
|
inline |
| ctx | Platform specific reference of an exiting GL context to share with. |