LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-03-2010, 02:39 PM   #1
csmartdalton
LQ Newbie
 
Registered: Sep 2010
Posts: 6

Rep: Reputation: 0
Use OpenGL without X?


I have an OpenGL app that generates images by rendering into an off-screen surface. I'd like to get it running on our Linux server, but the only way (that I know of) to initialize an OpenGL context is to create an X window and pass it to glX.

This is lame since I don't need any windows - just a render buffer. Is there any way I can get an OpenGL context on this server?
 
Old 09-04-2010, 10:19 AM   #2
14moose
Member
 
Registered: May 2010
Posts: 83

Rep: Reputation: Disabled
That's kind of like saying it's "lame" to require Windows (on MS Windows) or MacOS (on a Mac). X Windows is assumed to be the basic "graphics layer" for Linux, and there are any number of drivers that take advantage of hardware optimizations.

ANYWAY:

Google for "OpenGL linux frame buffer". You should find several alternatives; one or more of which might prove ideal for you.

If you're interested in programming OpenGL, and if you're relatively new to it, I *strongly* encourage you to give X a try - at least at first.

Otherwise, if you already have a working application, and just want to render Pretty Pictures as fast as possible - then you should be able to find some good alternatives with Google.

Good luck!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bad opengl performance with two or more OpenGL windows on nvidia drivers (GF 7600 GS) psokol Linux - Software 0 02-21-2009 10:40 AM
opengl window not having title bar-using freeglut for opengl programming in c++ ashjas Fedora 0 01-19-2008 02:46 AM
Overwrite Mesa OpenGL with ATI OpenGL Carl-Fredrik Slackware 12 10-01-2004 03:33 PM
Changing from MESA OpenGL to ATI OpenGL tillyoubreakit Linux - Hardware 19 10-07-2003 07:32 PM
OpenGL is needed by plib-1.7.0- but i have opengl ! qwijibow Linux - Newbie 0 08-05-2003 07:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration