Symbian platform (C++)
SDK native APIs, runtime and tooling
Loading...
Searching...
No Matches
symbian::api::display Namespace Reference

Namespaces

namespace  internal
 

Classes

struct  DisplayGeometry
 Primary display geometry reported by the native HAL. More...
 
class  Gles2Texture
 
class  Gles2TexturePresenter
 
struct  Gles2TextureSampling
 
struct  Gles2Viewport
 
struct  GlesContextFormat
 Minimum channel and depth bits requested from the EGL driver. More...
 
struct  GlesFrameMetrics
 Timing counters for EGL presentation on one window. More...
 
class  GlesRectBatch
 Batches ordered solid-color UI rectangles into GLES2 draw calls. More...
 
class  GlesWindowContext
 Owns an OpenGL ES context and EGL surface for a WindowSurface. More...
 
struct  NativeDisplayReading
 
struct  Rgb565Frame
 A live RGB565 bitmap view owned by its WindowSurface. More...
 
struct  Rgb565FrameWriter
 
struct  ScreenCapture
 A point-in-time copy of the primary display in little-endian RGB565. More...
 
struct  WindowFrameMetrics
 Optional per-window presentation counters for device comparisons. More...
 
struct  WindowInput
 
struct  WindowRect
 
struct  WindowSize
 
class  WindowSurface
 Owns one Window Server window, its requests and optional RGB565 frame. More...
 
struct  WindowSurfaceOptions
 Options applied before a native window becomes visible. More...
 
struct  WindowTextLine
 

Enumerations

enum class  TextureRotation { k0 , kClockwise90 , k180 , kClockwise270 }
 
enum class  PointerAction { kMove , kDown , kUp }
 
enum class  DisplayRotation { k0 , k90 , k180 , k270 }
 
enum class  WindowInputKind {
  kPointerMove , kPointerDown , kPointerUp , kKeyDown ,
  kKeyUp , kFocusGained , kFocusLost , kCloseRequested ,
  kDisplayChanged
}
 
enum class  WindowKey {
  kUnknown , kEscape , kBackspace , kLeft ,
  kRight , kUp , kDown , kEnter ,
  kSelect
}
 

Functions

absl::StatusOr< DisplayGeometry > ReadPrimaryDisplayGeometry ()
 Query primary HAL geometry without a Window Server connection.
 
absl::StatusOr< bool > ReadTouchscreenPresence ()
 Whether the native HAL reports a direct screen digitiser.
 
absl::StatusOr< Gles2Viewport > AspectFillViewport (int surface_width, int surface_height, int image_width, int image_height)
 
absl::StatusOr< Gles2Viewport > AspectFitViewport (int surface_width, int surface_height, int image_width, int image_height)
 
void SymbianDeviceReadPrimaryDisplay (NativeDisplayReading *absl_nullable reading)
 
int SymbianDeviceReadTouchscreenPresence (int *absl_nonnull present)
 
absl::StatusOr< ScreenCapture > CapturePrimaryScreen ()
 
absl::Status SendPrimaryPointerEvent (PointerAction action, int x, int y)
 Inject one primary-display pointer event at physical pixel coordinates.
 

Enumeration Type Documentation

◆ DisplayRotation

Enumerator
k0 
k90 
k180 
k270 

◆ PointerAction

Enumerator
kMove 
kDown 
kUp 

◆ TextureRotation

Enumerator
k0 
kClockwise90 
k180 
kClockwise270 

◆ WindowInputKind

Enumerator
kPointerMove 
kPointerDown 
kPointerUp 
kKeyDown 
kKeyUp 
kFocusGained 
kFocusLost 
kCloseRequested 
kDisplayChanged 

◆ WindowKey

Enumerator
kUnknown 
kEscape 
kBackspace 
kLeft 
kRight 
kUp 
kDown 
kEnter 
kSelect 

Function Documentation

◆ AspectFillViewport()

absl::StatusOr< Gles2Viewport > symbian::api::display::AspectFillViewport ( int  surface_width,
int  surface_height,
int  image_width,
int  image_height 
)

◆ AspectFitViewport()

absl::StatusOr< Gles2Viewport > symbian::api::display::AspectFitViewport ( int  surface_width,
int  surface_height,
int  image_width,
int  image_height 
)

◆ CapturePrimaryScreen()

absl::StatusOr< ScreenCapture > symbian::api::display::CapturePrimaryScreen ( )

◆ ReadPrimaryDisplayGeometry()

absl::StatusOr< DisplayGeometry > symbian::api::display::ReadPrimaryDisplayGeometry ( )

Query primary HAL geometry without a Window Server connection.

This is a snapshot, not an orientation-change subscription. Use a worker when the event thread must stay responsive.

◆ ReadTouchscreenPresence()

absl::StatusOr< bool > symbian::api::display::ReadTouchscreenPresence ( )

Whether the native HAL reports a direct screen digitiser.

◆ SendPrimaryPointerEvent()

absl::Status symbian::api::display::SendPrimaryPointerEvent ( PointerAction  action,
int  x,
int  y 
)

Inject one primary-display pointer event at physical pixel coordinates.

◆ SymbianDeviceReadPrimaryDisplay()

void symbian::api::display::SymbianDeviceReadPrimaryDisplay ( NativeDisplayReading *absl_nullable  reading)

◆ SymbianDeviceReadTouchscreenPresence()

int symbian::api::display::SymbianDeviceReadTouchscreenPresence ( int *absl_nonnull  present)