CSPspEmu.Core.Gpu.Impl.Opengl.OpenglGpuImpl.Transfer C# (CSharp) Method

Transfer() public method

public Transfer ( GpuStateStruct GpuState ) : void
GpuState GpuStateStruct
return void
        public override void Transfer(GpuStateStruct* GpuState)
        {
            Console.WriteLine("Transfer Not Implemented");
            //return;
            var TextureTransferState = GpuState->TextureTransferState;

            if (
                (TextureTransferState.DestinationAddress.Address == GpuState->DrawBufferState.Address) &&
                (TextureTransferState.DestinationLineWidth == GpuState->DrawBufferState.Width) &&
                (TextureTransferState.BytesPerPixel == GpuState->DrawBufferState.BytesPerPixel)
            )
            {
                //Console.Error.WriteLine("Writting to DrawBuffer");
                TransferToFrameBuffer(GpuState);
            }
            else
            {
                Console.Error.WriteLine("NOT Writting to DrawBuffer");
                TransferGeneric(GpuState);
                /*
                base.Transfer(GpuStateStruct);
                PrepareWrite(GpuStateStruct);
                {

                }
                PrepareRead(GpuStateStruct);
                */
            }
            Console.Error.WriteLine("GpuImpl.Transfer Not Implemented!! : {0}", GpuState->TextureTransferState.ToStringDefault());
        }