AnsweredAssumed Answered

Sample Code for 10 Bit Color Depth Display

Question asked by greenmadrid on Mar 8, 2016
Latest reply on Aug 24, 2016 by benc

Summary: Looking for sample code for 10 bit color depth display


Hi, I am a beginner in graphics.


I would like to write a 10 bit color depth display program for Windows 10 64 bit application.


I referred to this page and downloaded the SDK for AMD FirePro.


Somehow the sample code in 'main.cpp' in the folder [samples]-[wgl-10bit] looks different to the sample codes written in the '10-bit.pdf' in [samples]-[wgl-10bit]-[doc].

I hope someone would not mind enlightening me with a sample code written in the '10-bit.pdf' or other sources available.


I tried some part of the code written in the '10-bit.pdf' but was not successful. I wrote an application which is able to draw from 0-1023 bit in grayscale, with adjustable grayscale level.

However, I was only able to display the image in 8-bit color depth. The change was onbly visible when I incremented the grayscale by 4 bit.

I am wondering whether I used the suitable color format and therefore would like to have a look of the suggested sample code.


Below is the specification which I used for my developed application.



CPU: Dell OptiPlex 980

Monitor: EIZO GX540 (using Display Port Interface)

Graphic Board: FirePro W4100



OS: Windows 10 Pro 64 bit

Graphic Board Driver Package Version: 15.201.2401-151104a-296716c-Retail_End_User (with 10 bit pixel format support enabled)

Open GL Version:


Thank you in advance.