]> git.cworth.org Git - apitrace/blobdiff - retrace/glretrace.hpp
stash: Trace and replay of glx-tfp works
[apitrace] / retrace / glretrace.hpp
index 7441b56938e22481e0110b181b74b7de81a55c98..1f5f451a750a03d975943e006786442a2f724b26 100644 (file)
@@ -88,6 +88,35 @@ createContext(Context *shareContext = 0);
 bool
 makeCurrent(trace::Call &call, glws::Drawable *drawable, Context *context);
 
+void
+createWindow(glws::Drawable *drawable);
+
+void
+destroyWindow(glws::Drawable *drawable);
+
+glws::Drawable *
+createPixmap(unsigned width, unsigned height, unsigned depth);
+
+glws::Drawable *
+createGLPixmap(GLXFBConfig fbconfig, glws::Drawable *pixmap,
+               unsigned width, unsigned height, int *attrib_list);
+
+void
+bindTexImage(glws::Drawable *drawable, int buffer);
+
+void
+releaseTexImage(glws::Drawable *drawable, int buffer);
+
+void
+copySubBuffer(glws::Drawable *drawable, int x, int y, int width, int height);
+
+void
+putImageData(glws::Drawable *drawable, char *data,
+             int width, int height, int depth,
+             int bits_per_pixel, int bytes_per_line, int byte_order);
+
+GLXFBConfig
+chooseConfig(int *attrib_list);
 
 void
 checkGlError(trace::Call &call);