Esempio n. 1
0
 public void init(uint *input, Graphics _device)
 {
     _input  = input;
     _output = (uint *)Marshal.AllocHGlobal(sizeof(uint) * 600 * 480);
     NativeGDI.initHighSpeed(_device, 600, 480, _output, 0, 0);
     LibScanline.init(_input, _output);
 }
Esempio n. 2
0
 public void init(uint *input, Graphics _device)
 {
     _input      = input;
     _output_tmp = (uint *)Marshal.AllocHGlobal(sizeof(uint) * 256 * 3 * 240 * 3);
     _output     = (uint *)Marshal.AllocHGlobal(sizeof(uint) * 1792 * 1440);
     NativeGDI.initHighSpeed(_device, 1792, 1440, _output, 0, 0);
     HS_XBRz.initTable(256, 240);
     LibScanline.init(_output_tmp, _output);
 }