68478eab4b
but couldn't release immediately since they depended on virtual GPU features which were not yet publicly released in any products. This checkin moves those features from our internal repository to the open source repository. Future development on these tests and examples will take place directly in the open source repository. The primary feature added by this patch is 'Screen Object', a new dynamic display management extension supported by Workstation 7.0 and Fusion 3.0. See the README for a quick explanation.
21 lines
306 B
C
21 lines
306 B
C
/*
|
|
* "Null" SVGA example.
|
|
*
|
|
* This is a trivial SVGA test which just switches video modes and
|
|
* halts the CPU.
|
|
*/
|
|
|
|
#include "intr.h"
|
|
#include "svga.h"
|
|
|
|
int
|
|
main(void)
|
|
{
|
|
Intr_Init();
|
|
Intr_SetFaultHandlers(SVGA_DefaultFaultHandler);
|
|
SVGA_Init();
|
|
SVGA_SetMode(1024, 768, 32);
|
|
|
|
return 0;
|
|
}
|