diff options
author | Jakob Bornecrantz <jakob@tungstengraphics.com> | 2008-06-24 13:09:43 +0200 |
---|---|---|
committer | Jakob Bornecrantz <jakob@tungstengraphics.com> | 2008-06-24 14:33:18 +0200 |
commit | 2d11411b19f725591e096b8a75dec94831d7bce7 (patch) | |
tree | e19e227f4ea0fceb7f43d1d3910f980b933f5913 /src/gallium/winsys/dri/intel/intel_screen.c | |
parent | e8af160b247a4cf60c82a3d0c63ec952aef22d96 (diff) |
i915: Moved screen creation to intel_be_device
Diffstat (limited to 'src/gallium/winsys/dri/intel/intel_screen.c')
-rw-r--r-- | src/gallium/winsys/dri/intel/intel_screen.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/gallium/winsys/dri/intel/intel_screen.c b/src/gallium/winsys/dri/intel/intel_screen.c index 1d61617ab5..809af2e553 100644 --- a/src/gallium/winsys/dri/intel/intel_screen.c +++ b/src/gallium/winsys/dri/intel/intel_screen.c @@ -198,10 +198,12 @@ intel_flush_frontbuffer( struct pipe_winsys *winsys, struct pipe_surface *surf, void *context_private) { - struct intel_context *intel = (struct intel_context *) context_private; - __DRIdrawablePrivate *dPriv = intel->driDrawable; + //struct intel_context *intel = (struct intel_context *) context_private; + //__DRIdrawablePrivate *dPriv = intel->driDrawable; - intelDisplaySurface(dPriv, surf, NULL); + assert((int)"Doesn't work currently" & 0); + + //intelDisplaySurface(dPriv, surf, NULL); } static boolean @@ -254,9 +256,9 @@ intelInitDriver(__DRIscreenPrivate * sPriv) (*glx_enable_extension) (psc, "GLX_SGI_make_current_read"); } - intel_be_init_device(&intelScreen->base, sPriv->fd); intelScreen->base.base.flush_frontbuffer = intel_flush_frontbuffer; intelScreen->base.base.get_name = intel_get_name; + intel_be_init_device(&intelScreen->base, sPriv->fd, intelScreen->deviceID); return GL_TRUE; } |