Configuration for drawable surfaces and windows. More...
#include <kanzi/core/legacy/debug/kzs_error.hpp>
#include <kanzi/core.ui/coreui_api.hpp>
#include <kanzi/core.ui/graphics/color_workflow.hpp>
Classes | |
struct | kzsSurfaceConfigurationNativeFunctions |
struct | KzsSurfaceProperties |
Properties for a surface. More... | |
Namespaces | |
kanzi | |
Easing functions that require external dependencies for calculation. | |
Macros | |
#define | KZS_SURFACE_ATTRIBUTE_FORMAT_RGB_565 |
RGB565 format. More... | |
#define | KZS_SURFACE_ATTRIBUTE_FORMAT_RGBA_8888 |
RGBA8888 format. More... | |
#define | KZS_SURFACE_ATTRIBUTE_HEIGHT |
Height attribute. More... | |
#define | KZS_SURFACE_ATTRIBUTE_IMAGE_PRESERVED |
Is image preserved over frames. More... | |
#define | KZS_SURFACE_ATTRIBUTE_MATCH_FORMAT |
Match format (color format) attribute. More... | |
#define | KZS_SURFACE_ATTRIBUTE_NONE |
Ends the array specification. More... | |
#define | KZS_SURFACE_ATTRIBUTE_TEXTURE_LEVEL |
Texture level. More... | |
#define | KZS_SURFACE_ATTRIBUTE_WIDTH |
Width attribute. More... | |
#define | KZS_SURFACE_PROPERTY_DONT_CARE |
Indicates that the implementation can choose any value for a surface property. More... | |
#define | KZS_SURFACE_TARGET_NATIVE_ANDROID |
Native android surface target. More... | |
#define | KZS_SURFACE_TARGET_NATIVE_PIXMAP |
Native pixmap target. More... | |
#define | KZS_SURFACE_TARGET_TEXTURE_2D |
Texture2D target. More... | |
Typedefs | |
typedef void(* | kzsGLProcPointer) () |
Pointer to GL function. More... | |
typedef kzsError(* | kzsSurfaceConfigurationGetSurfaceNativeFunctionsFunction) (const struct KzsSurfaceConfigurationNative *configurationNative, struct kzsSurfaceNativeFunctions *functions) |
typedef kzsError(* | kzsSurfaceConfigurationNativeCreateFunction) (const struct KzsDesktop *desktop, const struct KzsSurfaceProperties *surfaceProperties, struct KzsSurfaceConfigurationNative **out_configurationNative) |
Creates a native surface configuration. More... | |
typedef kzsError(* | kzsSurfaceConfigurationNativeDestroyFunction) (struct KzsSurfaceConfigurationNative *configurationNative) |
Deletes a native surface configuration and frees all memory allocated for it. More... | |
typedef int(* | kzsSurfaceConfigurationNativeGetPriorityFunction) (const struct KzsSurfaceConfigurationNative *configurationNative) |
Get priority. More... | |
typedef kanzi::SwapBehavior(* | kzsSurfaceConfigurationNativeGetSwapBehavior) (const struct KzsSurfaceConfigurationNative *configurationNative) |
Enumerations | |
enum | kanzi::GraphicsContextAPI { kanzi::GraphicsContextAPI::Unspecified, kanzi::GraphicsContextAPI::WGL, kanzi::GraphicsContextAPI::EGL, kanzi::GraphicsContextAPI::GLX } |
Graphics context API for a surface. More... | |
enum | kanzi::SurfaceClientAPI { kanzi::SurfaceClientAPI::Unspecified, kanzi::SurfaceClientAPI::OpenGLES, kanzi::SurfaceClientAPI::OpenVG, kanzi::SurfaceClientAPI::OpenGL } |
Client graphics API for a surface. More... | |
enum | kanzi::SwapBehavior { kanzi::SwapBehavior::Unspecified, kanzi::SwapBehavior::Copy, kanzi::SwapBehavior::Exchange } |
Configuration for drawable surfaces and windows.
Copyright 2008-2017 by Rightware. All rights reserved.
#define KZS_SURFACE_PROPERTY_DONT_CARE |
Indicates that the implementation can choose any value for a surface property.
#define KZS_SURFACE_TARGET_NATIVE_ANDROID |
Native android surface target.
#define KZS_SURFACE_TARGET_NATIVE_PIXMAP |
Native pixmap target.
#define KZS_SURFACE_TARGET_TEXTURE_2D |
Texture2D target.
#define KZS_SURFACE_ATTRIBUTE_WIDTH |
Width attribute.
#define KZS_SURFACE_ATTRIBUTE_HEIGHT |
Height attribute.
#define KZS_SURFACE_ATTRIBUTE_MATCH_FORMAT |
Match format (color format) attribute.
#define KZS_SURFACE_ATTRIBUTE_IMAGE_PRESERVED |
Is image preserved over frames.
#define KZS_SURFACE_ATTRIBUTE_NONE |
Ends the array specification.
#define KZS_SURFACE_ATTRIBUTE_FORMAT_RGBA_8888 |
RGBA8888 format.
#define KZS_SURFACE_ATTRIBUTE_FORMAT_RGB_565 |
RGB565 format.
#define KZS_SURFACE_ATTRIBUTE_TEXTURE_LEVEL |
Texture level.
typedef void(* kzsGLProcPointer) () |
Pointer to GL function.
typedef kzsError(* kzsSurfaceConfigurationGetSurfaceNativeFunctionsFunction) (const struct KzsSurfaceConfigurationNative *configurationNative, struct kzsSurfaceNativeFunctions *functions) |
typedef kzsError(* kzsSurfaceConfigurationNativeCreateFunction) (const struct KzsDesktop *desktop, const struct KzsSurfaceProperties *surfaceProperties, struct KzsSurfaceConfigurationNative **out_configurationNative) |
Creates a native surface configuration.
typedef kzsError(* kzsSurfaceConfigurationNativeDestroyFunction) (struct KzsSurfaceConfigurationNative *configurationNative) |
Deletes a native surface configuration and frees all memory allocated for it.
typedef int(* kzsSurfaceConfigurationNativeGetPriorityFunction) (const struct KzsSurfaceConfigurationNative *configurationNative) |
Get priority.
typedef kanzi::SwapBehavior(* kzsSurfaceConfigurationNativeGetSwapBehavior) (const struct KzsSurfaceConfigurationNative *configurationNative) |
struct KzsSurfaceProperties kzsSurfaceGetDefaultProperties | ( | void | ) |
Gets default properties for surface.
kzsError kzsSurfacePropertiesLog | ( | const struct KzsSurfaceProperties * | properties, |
kzString | prefix | ||
) |
Logs the surface properties with info log level.
kzsError kzsSurfaceConfigurationCreate | ( | const struct KzsDesktop * | desktop, |
const struct KzsSurfaceProperties * | surfaceProperties, | ||
struct KzsSurfaceConfiguration ** | out_configuration | ||
) |
Creates a configuration for surfaces for a windows.
kzsError kzsSurfaceConfigurationDestroy | ( | struct KzsSurfaceConfiguration * | configuration | ) |
Deletes a surface configuration and frees all memory allocated for it.
kzsError kzsSurfaceConfigurationGetSurfaceNativeFunctions | ( | const struct KzsSurfaceConfiguration * | configuration, |
struct kzsSurfaceNativeFunctions * | functions | ||
) |
kanzi::SurfaceClientAPI kzsSurfaceConfigurationGetSurfaceClientAPI | ( | const struct KzsSurfaceConfiguration * | configuration | ) |
kanzi::SurfaceColorSpace kzsSurfaceConfigurationGetColorSpace | ( | const struct KzsSurfaceConfiguration * | configuration | ) |
kanzi::GraphicsContextAPI kzsSurfaceConfigurationGetContextAPI | ( | const struct KzsSurfaceConfiguration * | configuration | ) |
const struct KzsSurfaceConfigurationNative* kzsSurfaceConfigurationGetNative | ( | const struct KzsSurfaceConfiguration * | configuration | ) |
Gets native portion of a surface configuration.
kanzi::SwapBehavior kzsSurfaceConfigurationGetSwapBehavior | ( | const struct KzsSurfaceConfiguration * | configuration | ) |
int kzsSurfaceConfigurationGetPriority | ( | const struct KzsSurfaceConfiguration * | configuration | ) |
Get priority.