[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


   NAME
       LoadView -- Use a (possibly freshly created) coprocessor instruction
                   list to create the current display.

   SYNOPSIS
       LoadView( view )
                  A1

        void LoadView( struct view * );

   FUNCTION
        Install a new view to be displayed during the next display
        refresh pass.
       Coprocessor instruction list has been created by
       initvport(), makevport(), and mrgcop().

   INPUTS
       view - a pointer to the view structure which contains the
       pointer to the constructed coprocessor instructions list, or NULL.

   RESULT
        If the view pointer is non-null, the new view is displayed,
        according to your instructions.  The vertical blank routine
        will pick this pointer up and direct the copper to start
        displaying this view.

        If the view pointer is null, no view is displayed.

   NOTE
        Even though a LoadView(NULL) is performed, display DMA will still be
        active.  Sprites will continue to be displayed after a LoadView(NULL)
        unless an OFF_SPRITE is subsequently performed.

   BUGS

   SEE ALSO
       initvport() makevport() mrgcop() intuition/rethinkdisplay()
        graphics/view.h