LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-24-2006, 02:56 PM   #1
don_pingu
Member
 
Registered: May 2003
Distribution: slackware-current
Posts: 34

Rep: Reputation: 15
Question Programming composite manager with Xgl


Hi,

I'm going to be developing an OpenGL composite manager. X programming documentation is decent enough (although the whole grabs thing and the solution for it still eludes me somewhat), but documentation for the new interesting stuff like Xgl and the Composite extension is very difficult to find.

I think I have sort of figured out how to at least get started (creating an overlay window, redirecting all other windows, draw their contents using opengl and capture all events and forward them to the correct window). The problem is, both my computers have recent ATI chips, which come with free crappy drivers (meaning no hw acceleration when composite extension is enabled). However it seems that it IS possible to get this to work using Xgl. I tested this with compiz and while I couldn't get any window decorations, it did seem hardware-accelerated to me.

It has proven to be difficult to find any good documentation on what exactly Xgl is/does, why and how this makes the composite extension + hardware acceleration possible on ATI, and what if anything I should do differently when writing a composite manager for it.

I'm also still a bit puzzled about how to solve the whole X grabs problem. I've tried looking at the compiz source code for both this and the Xgl stuff (couldn't find anything specific) but it's not documented, so I didn't learn too much from that.

Any help is greatly appreciated.
 
  


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
Suse 10.1 using xgl replaces good login manager starkes SUSE / openSUSE 2 06-02-2006 06:57 AM
Great video of XGL + Compiz window manager Genesee General 0 02-15-2006 12:54 PM
Composite manager crashes in X.org 6.9 with ATI card Kramer Linux - Software 3 12-09-2005 11:49 AM
Composite Manager Failure? What does this mean? pineapple SUSE / openSUSE 2 11-03-2005 04:59 PM
Trouble with Composite Manager??? rjohnson244 Linux - Software 2 05-20-2005 09:46 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:24 PM.

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