• Quick Start
  • Booting
  • Platform
  • Portals
  • References
    • API Reference TOI3
    • IIP Reference
  • Resources
ARRIS Enterprises, Inc. Confidential Information

Graphics Configuration

It is possible to configure portal applications graphics differently depending on your requirements, hardware restrictions etc. You might want to use full-fledged HD graphics or you might want to use as little memory as possible for legacy STBs.

Information Service objects

Information Service objects to control the portal applications:

  • cfg.portal.renderingbuffer.width (1280)
  • cfg.portal.renderingbuffer.height (720)

They specify the effective size of the screen in pixels. This will affect the layout of browser portals that use absolute positioning. An example boot image configuration file to set information service objects values might look like this:


  kreatv-option-is-default::cfg.portal.renderingbuffer.width=1920
  kreatv-option-is-default::cfg.portal.renderingbuffer.height=1080

Graphics settings

It is essentially important to configure graphics backend settings because rendering graphics in the portal applications depends on them.

Scenarios

In the following sections, a few typical scenarios of application graphics configurations are listed.

Full HD Graphics Scenario

In this scenario graphics is rendered in HD resolution. Memory size accounts for the various buffers needed, but may need to be higher depending on the needs of the UI.


  kreatv-option-is-default::cfg.portal.renderingbuffer.width=1920
  kreatv-option-is-default::cfg.portal.renderingbuffer.height=1080

  kreatv-option-graphics::compositor_buffer_size=1920x1080
  kreatv-option-graphics::memory_size=32400

SD Graphics Scenario

This scenario is aimed at reducing the amount of memory needed for graphics to a bare minimum. Both the rendering buffer and compositor surface are fixed to a low resolution, e.g., 720x576 which is suitable for SD outputs. Memory size is left unset to use a value that the system roughly calculates for you.


  kreatv-option-is-default::cfg.portal.renderingbuffer.width=720
  kreatv-option-is-default::cfg.portal.renderingbuffer.height=576

  kreatv-option-graphics::compositor_buffer_size=720x576

Development tips

The following tips can help to develop a portal that would effectively work using KreaTV graphics stack:

  • Portal Design Overview
  • Images
  • Performance

5.0.1

Copyright (c) 2016 ARRIS Enterprises, LLC. All Rights Reserved. ARRIS Enterprises, LLC. Confidential Information.