LinuxQuestions.org
Review your favorite Linux distribution.
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 01-25-2012, 01:44 AM   #1
manasij7479
LQ Newbie
 
Registered: Jan 2012
Location: Kolkata@India
Distribution: Fedora
Posts: 3

Rep: Reputation: Disabled
Low level GUI Programming on Wayland


I want to make a simplistic C++ gui library as my first 'big' project.

I was originally planning to learn the X server's api for this and making up class layers over it, but decided against it because of all the hype about Wayland replacing it in a few years.
But after looking around for a while,I couldn't find much information about its roots.
(The best I found was a faq answer:
What is the drawing api ? ...Whatever you want it to be.)
My question is that what exactly does it mean ?
Do I get access to some video memory...framebuffer...to do as I wish ? ..or would I have to resort to using routines provided by the graphics card driver ?

(Lol..You can see my level of confusion on this topic.)
 
Old 01-26-2012, 05:11 PM   #2
kareempharmacist
Member
 
Registered: Jan 2012
Location: Cairo, Egypt
Distribution: MX Linux, Ubuntu 18.04
Posts: 336

Rep: Reputation: 42
http://www.x.org/wiki/Documentation


http://xcb.freedesktop.org/tutorial/


google for "linux x programming"

I hope this will help ..waiting for you reply
 
Old 01-26-2012, 06:54 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
I want to make a simplistic C++ gui library as my first 'big' project.
is the project to MAKE a GUI ?
if not and you only need to use one

then fedora has a bunch of tools in the base repos

gnome
---
has GTK & Glade

KDE
--
has QT Develop & QT4 Designer
 
1 members found this post helpful.
Old 01-26-2012, 09:38 PM   #4
manasij7479
LQ Newbie
 
Registered: Jan 2012
Location: Kolkata@India
Distribution: Fedora
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by kareempharmacist View Post
http://www.x.org/wiki/Documentation


http://xcb.freedesktop.org/tutorial/


google for "linux x programming"

I hope this will help ..waiting for you reply
Well, my post was to to avoid the X server.
 
Old 01-26-2012, 09:41 PM   #5
manasij7479
LQ Newbie
 
Registered: Jan 2012
Location: Kolkata@India
Distribution: Fedora
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
is the project to MAKE a GUI ?
if not and you only need to use one

then fedora has a bunch of tools in the base repos

gnome
---
has GTK & Glade

KDE
--
has QT Develop & QT4 Designer
No.. this is to make a (shared) library to give a simple interface for GUI programming... (I know Qt and can easily see that *a lot* of people would appreciate a library with a simpler design (sacrificing some flexibility) )
 
Old 01-26-2012, 11:46 PM   #6
Nominal Animal
Senior Member
 
Registered: Dec 2010
Location: Finland
Distribution: Xubuntu, CentOS, LFS
Posts: 1,723
Blog Entries: 3

Rep: Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948
Quote:
Originally Posted by manasij7479 View Post
But after looking around for a while,I couldn't find much information about [Waylands] roots.
Maybe This Phoronix article from November 2010 helps.

Quote:
Originally Posted by manasij7479 View Post
Do I get access to some video memory...framebuffer...to do as I wish ? ..or would I have to resort to using routines provided by the graphics card driver ?
Both, a framebuffer device, and OpenGL ES 2.0 acceleration. See the OpenGL ES 2.0 Reference card (PDF!) for an overview of the facilities it provides.
 
  


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
Low level programming? andrw123 Programming 15 09-20-2008 10:23 PM
problem with low level i/o programming serial port xatzipol Programming 3 12-17-2005 05:37 AM
Low Level Serial Port Programming novice_din Programming 2 02-08-2005 10:13 PM
c++ graphics programming (low level) solar_neutrino Programming 3 07-27-2003 10:36 PM
low level formatting? hyperpimp Linux - Newbie 16 04-13-2002 12:35 AM

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

All times are GMT -5. The time now is 07:57 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