RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

GraphicsV 17 (changes)

Showing changes from revision #2 to #3: Added | Removed | Changed

GraphicsV
» GraphicsV 17

Graphics Vector (42)

Entry  
R4 Bits 0-23: 17 (reason code)
Bits 24-31: Driver number
Exit  
R0 Pointer to list of pixel formats
R1 Number of formats
R4 0
- All other registers preserved

Use

This call is used to read a full list of the pixel formats supported by the device. This call uses the NColour, ModeFlags and Log2BPP Mode Variable Numbers to describe the supported pixel formats. Each entry in the returned list a is a 3-word structure with the following format:

Word Value
0 NColour value
1 ModeFlags value ModeFlags value
2 Log2BPP value

Notes

See Valid Mode Variable Combinations for a list of all valid pixel formats currently understood by the OS.

This call should be used in preference to using GraphicsV 8 to read the supported pixel formats. However for backwards compatibility, drivers must ensure that GraphicsV 8 always returns a suitable value; i.e. just a mask of the VIDC20/RISC OS 3.5 compatible pixel formats that the driver supports.

See also

  • GraphicsV
  • Valid Mode Variable Combinations
Revised on September 17, 2016 23:16:17 by Timothy Baldwin (184)? (146.90.130.237)
Edit | Back in time (2 revisions) | Hide changes | History | Views: Print | Source | Linked from: Extended Framebuffer Format Specification, HAL Video API, GraphicsV, GraphicsV 8, HAL_VideoPixelFormatList

Search the Wiki

Social

Follow us on and

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

RISC OS IPR

RISC OS is an Open Source operating system owned by RISC OS Developments Ltd and licensed primarily under the Apache 2.0 license.

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2018 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys