2 Copyright © 1995-2010, The AROS Development Team. All rights reserved.
5 Desc: Graphics function LoadView()
9 #include <aros/debug.h>
10 #include <graphics/view.h>
12 #include "graphics_intern.h"
13 #include "gfxfuncsupport.h"
14 /*****************************************************************************
17 #include <proto/graphics.h>
19 AROS_LH1(void, LoadView
,
22 AROS_LHA(struct View
*, view
, A1
),
25 struct GfxBase
*, GfxBase
, 37, Graphics
)
31 view - pointer to the View structure which contains the pointer to the
32 constructed coprocessor instructions list, or NULL
50 ******************************************************************************/
54 ObtainSemaphore(GfxBase
->ActiViewCprSemaphore
);
56 if (GfxBase
->ActiView
!= view
)
58 GfxBase
->ActiView
= view
;
59 DoViewFunction(view
, driver_LoadViewPorts
, GfxBase
);
62 ReleaseSemaphore(GfxBase
->ActiViewCprSemaphore
);