Eric Anholt e...@anholt.net writes:
Yeah, these seem like sensible changes, but I think I'll save them for
later. I don't think it would help with the glamor_egl private, because
the problem there is that you're doing initialization work and storing
stuff before there's a screen to attach
Eric Anholt e...@anholt.net writes:
+struct glamor_context {
+/** Either an EGLDisplay or an Xlib Display */
+void *display;
+
+/** Either a GLXContext or an EGLContext. */
+void *ctx;
+
+/** The EGLSurface we should MakeCurrent to */
+void *drawable;
+
+
The GLX side just gets the context from the current state. That's
also something I want to do for EGL, so that the making a context is
separate from initializing glamor, but I think I need the modesetting
driver in the server before I think about hacking on that more.
The previous code was