4 #if defined(HAVE_CONFIG_H)
15 // This is created by the user to create custom PBuffers and by VFrame.
16 // Uses the window currently bound by BC_WindowBase::enable_opengl to
18 // Must be called synchronously.
22 BC_PBuffer(int w
, int h
);
28 // Must be called after BC_WindowBase::enable_opengl to make the PBuffer
29 // the current drawing surface. Call BC_WindowBase::enable_opengl
30 // after this to switch back to the window.
33 GLXPbuffer
get_pbuffer();
37 // Called by constructor
38 void new_pbuffer(int w
, int h
);
42 GLXContext gl_context
;
57 // c-file-style: "linux"