gallium: extend pipe_context::flush for it to accept an END_OF_FRAME flag
[mesa.git] / src / gallium / state_trackers / egl / common / native_helper.c
index ebe5144b36799819fab79c5b712f05c37c38ee76..99259b816c0eb847cf6cb4b346af0a4754b862d6 100644 (file)
@@ -352,7 +352,7 @@ resource_surface_flush(struct resource_surface *rsurf,
    if (!pipe)
       return FALSE;
 
-   pipe->flush(pipe, &fence);
+   pipe->flush(pipe, &fence, 0);
    if (fence == NULL)
       return FALSE;
 
@@ -398,7 +398,7 @@ native_display_copy_to_pixmap(struct native_display *ndpy,
 
       u_box_origin_2d(src->width0, src->height0, &src_box);
       pipe->resource_copy_region(pipe, dst, 0, 0, 0, 0, src, 0, &src_box);
-      pipe->flush(pipe, NULL);
+      pipe->flush(pipe, NULL, 0);
 
       memset(&ctrl, 0, sizeof(ctrl));
       ctrl.natt = natt;