Panda3D
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Protected Attributes | Friends
eglGraphicsPipe Class Reference

This graphics pipe represents the interface for creating OpenGL ES graphics windows on an X-based (e.g. More...

#include "eglGraphicsPipe.h"

Inheritance diagram for eglGraphicsPipe:
GraphicsPipe TypedReferenceCount TypedObject ReferenceCount MemoryBase MemoryBase

List of all members.

Public Member Functions

 eglGraphicsPipe (const string &display=string())
virtual TypeHandle force_init_type ()
X11_Display * get_display () const
 Returns a pointer to the X display associated with the pipe: the display on which to create the windows.
X11_Cursor get_hidden_cursor ()
 Returns an invisible Cursor suitable for assigning to windows that have the cursor_hidden property set.
XIM get_im () const
 Returns the input method opened for the pipe, or NULL if the input method could not be opened for some reason.
virtual string get_interface_name () const
 Returns the name of the rendering interface associated with this GraphicsPipe.
virtual PreferredWindowThread get_preferred_window_thread () const
 Returns an indication of the thread in which this GraphicsPipe requires its window processing to be performed: typically either the app thread (e.g.
X11_Window get_root () const
 Returns the handle to the root window on the pipe's display.
int get_screen () const
 Returns the X screen number associated with the pipe.
virtual TypeHandle get_type () const

Static Public Member Functions

static TypeHandle get_class_type ()
static void init_type ()
 This function is declared non-inline to work around a compiler bug in g++ 2.96.
static PT (GraphicsPipe) pipe_constructor()

Public Attributes

Atom _net_wm_state
Atom _net_wm_state_above
Atom _net_wm_state_add
Atom _net_wm_state_below
Atom _net_wm_state_fullscreen
Atom _net_wm_state_remove
Atom _net_wm_window_type
Atom _net_wm_window_type_fullscreen
Atom _net_wm_window_type_splash
Atom _wm_delete_window

Static Public Attributes

static LightReMutex _x_mutex

Protected Member Functions

virtual PT (GraphicsOutput) make_output(const string &name

Protected Attributes

virtual const
FrameBufferProperties const
WindowProperties int
GraphicsEngine
engine
virtual const
FrameBufferProperties
fb_prop
virtual const
FrameBufferProperties const
WindowProperties int 
flags
virtual const
FrameBufferProperties const
WindowProperties int
GraphicsEngine
GraphicsStateGuardian
gsg
virtual const
FrameBufferProperties const
WindowProperties int
GraphicsEngine
GraphicsStateGuardian
GraphicsOutput
host
virtual const
FrameBufferProperties const
WindowProperties int
GraphicsEngine
GraphicsStateGuardian
GraphicsOutput int bool & 
precertify
virtual const
FrameBufferProperties const
WindowProperties int
GraphicsEngine
GraphicsStateGuardian
GraphicsOutput int 
retry
virtual const
FrameBufferProperties const
WindowProperties
win_prop

Friends

class eglGraphicsBuffer
class eglGraphicsPixmap
class eglGraphicsWindow

Detailed Description

This graphics pipe represents the interface for creating OpenGL ES graphics windows on an X-based (e.g.

Unix) client.

Definition at line 52 of file eglGraphicsPipe.h.


Member Function Documentation

X11_Display * eglGraphicsPipe::get_display ( ) const [inline]

Returns a pointer to the X display associated with the pipe: the display on which to create the windows.

Definition at line 23 of file eglGraphicsPipe.I.

Referenced by eglGraphicsBuffer::open_buffer(), and eglGraphicsWindow::open_window().

X11_Cursor eglGraphicsPipe::get_hidden_cursor ( ) [inline]

Returns an invisible Cursor suitable for assigning to windows that have the cursor_hidden property set.

Definition at line 67 of file eglGraphicsPipe.I.

Referenced by eglGraphicsWindow::open_window(), and eglGraphicsWindow::set_properties_now().

XIM eglGraphicsPipe::get_im ( ) const [inline]

Returns the input method opened for the pipe, or NULL if the input method could not be opened for some reason.

Definition at line 56 of file eglGraphicsPipe.I.

Referenced by eglGraphicsWindow::open_window().

string eglGraphicsPipe::get_interface_name ( ) const [virtual]

Returns the name of the rendering interface associated with this GraphicsPipe.

This is used to present to the user to allow him/her to choose between several possible GraphicsPipes available on a particular platform, so the name should be meaningful and unique for a given platform.

Implements GraphicsPipe.

Definition at line 168 of file eglGraphicsPipe.cxx.

GraphicsPipe::PreferredWindowThread eglGraphicsPipe::get_preferred_window_thread ( ) const [virtual]

Returns an indication of the thread in which this GraphicsPipe requires its window processing to be performed: typically either the app thread (e.g.

X) or the draw thread (Windows).

Reimplemented from GraphicsPipe.

Definition at line 193 of file eglGraphicsPipe.cxx.

X11_Window eglGraphicsPipe::get_root ( ) const [inline]

Returns the handle to the root window on the pipe's display.

Definition at line 44 of file eglGraphicsPipe.I.

Referenced by eglGraphicsPixmap::open_buffer(), and eglGraphicsWindow::open_window().

int eglGraphicsPipe::get_screen ( ) const [inline]

Returns the X screen number associated with the pipe.

Definition at line 33 of file eglGraphicsPipe.I.

Referenced by eglGraphicsBuffer::open_buffer(), eglGraphicsPixmap::open_buffer(), and eglGraphicsWindow::open_window().

static void eglGraphicsPipe::init_type ( ) [inline, static]

This function is declared non-inline to work around a compiler bug in g++ 2.96.

Making it inline seems to cause problems in the optimizer.

Reimplemented from GraphicsPipe.

Definition at line 125 of file eglGraphicsPipe.h.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations