Unit 'agraphics' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#amunits]

MrgCop

Merge together coprocessor instructions.

Declaration

Source position: agraphics.pas line 2353

function MrgCop(

  view: pView

):LongWord;

Arguments

view

  

A pointer to the view structure to prepare

Function result

MrgCop() will return an error if there is not enough memory, or for some reason MrgCop() did not need to make any copper lists. Check MCOP_* for error codes

Description

Merge together the display, color, sprite and user coprocessor instructions into a single coprocessor instruction stream. This essentially creates a per-display-frame program for the coprocessor. This function MrgCop is used, for example, by the graphics animation routines which effectively add information into an essentially static background display. This changes some of the user or sprite instructions, but not those which have formed the basic display in the first place. When all forms of coprocessor instructions are merged together, you will have a complete per- frame instruction list for the coprocessor.

Restrictions: Each of the coprocessor instruction lists MUST be internally sorted in min to max Y-X order. The merge routines depend on this!

If the given view is already on display, changes appear immediately.

On non Amiga Systems it only prepares the View for being displayed.

See also

InitVPort

  

Initialize ViewPort structure.

MakeVPort

  

Generate display copper list for a viewport.

LoadView

  

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

RethinkDisplay

  

Grand manipulation of the entire Intuition display.


Documentation generated on: 2021-07-30