OpenGL support without X window


I have one non-x86 board in that i am using AMD graphic card. Now my question is that i want to use OpenGL on frame buffer without x window.
I want to run opengl application on console. Is it possible ?

Does openGL work without X window ?