WinG

In computing, WinG (pronounced Win Gee) is an application programming interface that was designed to provide faster graphics performance on Windows 3.x operating environments, and was initially positioned as a way to help game developers more easily port their DOS games to Microsoft Windows,[1] although it was quickly discontinued in favor of DirectX.

Background

WinG fixed two problems. The first problem that WinG fixed was that Windows 3.x did not support creating Device Contexts (DCs) based on device independent bitmaps, only actual display devices. One major limitation of the Graphics Device Interface (GDI) DCs was that they were write-only. Data, once written, could not be retrieved. The second problem was that all GDI drawing was implemented in the Windows 3.x video drivers. This included the drawing of bitmaps. Obviously performance of such routines varied across drivers.

Alex St. John, one of the creators of DirectX, said in a 2000 interview that,

WinG was a technology being built by Chris Hecker in the research group, and at the time it was one of the small Microsoft Skunkworks projects, very low profile and off-the-wall. Basically it was fixing broken Windows drivers to make them run faster and more acceptably. Using it, we were actually able to create a video API that could run DOOM almost as fast under Windows as it did in DOS.[2]

Microsoft announced WinG at the 1994 Game Developers Conference, demonstrating it with a port by id Software of Doom.[3] WinG was shipped on September 21, 1994.[4] WinG, while interesting, was still fundamentally based on drawing bitmaps in memory and outputting frames after the drawing was done. As a result, WinG was deprecated and DirectX was built. However, Windows NT 3.5 and Windows 95 introduced CreateDIBSection to provide support for creating DCs based on DIBs and video drivers also eventually improved.

Implementation

WinG introduced a new type of DC called a WinGDC,[5] which allowed programmers to both read and write to it directly using device-independent bitmaps (DIBs) with the wingdib.drv driver. Effectively, it gave programmers the ability to do with Windows what they'd been doing without hardware access limitations in DOS for years. Programmers could write DIBs to the WinGDC, yet would still have access to the individual bits of the image data. This meant that fast graphics algorithms could be written to allow fast scrolling, overdraw, dirty rectangles, double buffering, and other animation techniques. WinG also provided much better performance when blitting graphics data to physical graphics device memory. Since WinG used the DIB format, it was possible to mix original GDI API calls and WinG calls.[5]

WinG would also perform a graphics hardware/driver profiling test on the first execution of the program in order to determine the best way to draw DIBs. This test showed a window full of red curved lines, sections of which would wobble as performance was tested. Once WinG had determined the fastest calls that did not cause graphics corruption, a profile would be saved so that the test would not need to be performed again.

Support

WinG out-of-the-box support (i.e. as a separate API to Win32) was dropped in Windows 98 Second Edition (which integrated DirectX 6), as it did nothing but pass through to the Win32 APIs that it was wrapping (including CreateDIBSection). WinG DLLs were sometimes distributed with an application, at which point it merely became a matter of copying the files wing.dll, wing32.dll, wingde.dll, wingdib.drv and wingpal.wnd to the system32 directory (for 32 bit Windows) or SysWOW64 directory (for 64 bit Windows) to regain system-wide support.

List of applications using WinG API

See also

References

  1. ^ Hecker, Chris (1 June 1997). "A Whirlwind Tour of WinG". Gamasutra. Retrieved 2009-01-19.
  2. ^ Colayco, Bob (7 March 2000). "Alex St. John Interview". firingsquad.com. Archived from the original on 6 October 2009.
  3. ^ Wilson, Johnny L.; Brown, Ken; Lombardi, Chris; Weksler, Mike; Coleman, Terry (July 1994). "The Designer's Dilemma: The Eighth Computer Game Developers Conference". Computer Gaming World. pp. 26–31.
  4. ^ Eisler, Craig (February 20, 2006). "DirectX Then and Now (Part 1)". Craig's Musings. Archived from the original on 2012-07-11. Retrieved 2008-01-19.
  5. ^ a b "HOWTO: How to Mix GDI and WinG (MSKB125928)". Knowledge Base. Microsoft. Retrieved 2009-01-19.
  6. ^ Microsoft Return of Arcade 1996 review: RGB Classic Games

Read other articles:

Artikel ini bukan mengenai Stasiun Lespadangan atau Stasiun Padang. Singkatan stasiun ini bukan berarti Pertamina Gas Negara (PGN). Stasiun Padangan Padangan Tampak luar Stasiun Padangan, 2020LokasiJalan Stasiun PadanganPadangan, Padangan, Bojonegoro, Jawa Timur 62162IndonesiaKoordinat7°9′28.930″S 111°37′1.369″E / 7.15803611°S 111.61704694°E / -7.15803611; 111.61704694Koordinat: 7°9′28.930″S 111°37′1.369″E / 7.15803611°S 111.61704...

 

Kisenosato Yutaka稀勢の里 寛Informasi PersonalLahirYutaka Hagiwara3 Juli 1986 (umur 37)Ibaraki, JepangTinggi187 cm (6 ft 1+1⁄2 in)[1]Berat175 kg (386 pon; 27,6 st)[2]WebsiteTagonoura stable websiteKarierStableTagonouraPeringkat sekarangYokozunaDebutMaret 2002Peringkat tertinggiYokozuna (Januari 2017)Kejuaraan1 (Makuuchi)1 (Makushita)Penghargaan KhususOutstanding Performance (5)Fighting Spirit (3)Technique (1)Bintang Emas3Hakuhō (2...

 

Si ce bandeau n'est plus pertinent, retirez-le. Cliquez ici pour en savoir plus. Cet article ne cite pas suffisamment ses sources (janvier 2016). Si vous disposez d'ouvrages ou d'articles de référence ou si vous connaissez des sites web de qualité traitant du thème abordé ici, merci de compléter l'article en donnant les références utiles à sa vérifiabilité et en les liant à la section « Notes et références » En pratique : Quelles sources sont attendues ? Co...

4th and 6th Prime Minister of Great Britain, 1754–56 and 1757–62 The Duke of Newcastle redirects here. For other holders of the title, see Duke of Newcastle. His GraceThe Duke of NewcastleKG PC FRSPortrait by William Hoare, c. 1750Prime Minister of Great BritainIn office29 June 1757 – 26 May 1762MonarchsGeorge IIGeorge IIIPreceded byThe Duke of DevonshireSucceeded byThe Earl of ButeIn office16 March 1754 – 11 November 1756MonarchGeorge IIPreceded byHenry Pelh...

 

Not to be confused with Actinium fluoride. Acetyl fluoride Names Preferred IUPAC name Acetyl fluoride Systematic IUPAC name Ethanoyl fluoride Other names Methylcarbonyl fluoride Identifiers CAS Number 557-99-3 N 3D model (JSmol) Interactive image ChEBI CHEBI:191932 ChemSpider 10731 Y ECHA InfoCard 100.008.354 PubChem CID 11204 UNII SFP6JT54SF Y CompTox Dashboard (EPA) DTXSID3060326 InChI Key: JUCMRTZQCZRJDC-UHFFFAOYSA-N YInChI=1S/C2H3FO/c1-2(3)4/h1H3 SMILES FC(=O)C Pr...

 

Building complex in Mong Kok, Hong Kong Langham PlaceThe office and hotel, Langham Place, Hong KongGeneral informationStatusCompletedTypeCommercial officesArchitectural styleModernismLocation8 Argyle StreetMong Kok, Hong KongCoordinates22°19′5.35″N 114°10′5.11″E / 22.3181528°N 114.1680861°E / 22.3181528; 114.1680861Construction started1999; 25 years ago (1999)Completed2004; 20 years ago (2004)OpeningDecember 2004;...

RGS17 التراكيب المتوفرة بنك بيانات البروتينOrtholog search: PDBe RCSB قائمة رموز معرفات بنك بيانات البروتين 1ZV4 المعرفات الأسماء المستعارة RGS17, RGS-17, RGSZ2, h, regulator of G-protein signaling 17, regulator of G protein signaling 17 معرفات خارجية الوراثة المندلية البشرية عبر الإنترنت 607191 MGI: MGI:1927469 HomoloGene: 8242 GeneCards: 26575 علم الو�...

 

周處除三害The Pig, The Snake and The Pigeon正式版海報基本资料导演黃精甫监制李烈黃江豐動作指導洪昰顥编剧黃精甫主演阮經天袁富華陳以文王淨李李仁謝瓊煖配乐盧律銘林孝親林思妤保卜摄影王金城剪辑黃精甫林雍益制片商一種態度電影股份有限公司片长134分鐘产地 臺灣语言國語粵語台語上映及发行上映日期 2023年10月6日 (2023-10-06)(台灣) 2023年11月2日 (2023-11-02)(香�...

 

City in North Dakota, United StatesLisbon, North DakotaCityRansom County Courthouse in LisbonMotto: A Place to Call Home!Location of Lisbon, North DakotaCoordinates: 46°26′19″N 97°41′03″W / 46.43861°N 97.68417°W / 46.43861; -97.68417CountryUnited StatesStateNorth DakotaCountyRansomFounded1880Government • MayorTim MeyerArea[1] • Total2.29 sq mi (5.94 km2) • Land2.29 sq mi (5.94 k...

مقاطعة سانتياغو دي كوبا مقاطعات كوبا   موقع مقاطعة سانتياغو دي كوبا الإحداثيات 20°01′11″N 75°48′50″W / 20.0198°N 75.8139°W / 20.0198; -75.8139   [1] تاريخ التأسيس 3 يوليو 1976  تقسيم إداري  البلد كوبا العاصمة سانتياغو دي كوبا التقسيمات الإدارية بالما سوريانوسان لويس , سا�...

 

Ermita de Santa Isabel Monumento histórico LocalizaciónPaís México MéxicoDivisión Estado de YucatánSubdivisión MéridaDirección Calle 66 sur, Centro histórico de MéridaCoordenadas 20°57′26″N 89°37′46″O / 20.957126, -89.629555Información religiosaCulto Iglesia católicaUso Abierta al cultoEstatus CapillaAdvocación Isabel de HungríaDeclaración Monumento histórico Historia del edificioConstrucción Siglo XVIIIDatos arquitectónicosTipo ErmitaEstilo ...

 

German politician (AfD) You can help expand this article with text translated from the corresponding article in German. (December 2022) Click [show] for important translation instructions. View a machine-translated version of the German article. Machine translation, like DeepL or Google Translate, is a useful starting point for translations, but translators must revise errors as necessary and confirm that the translation is accurate, rather than simply copy-pasting machine-translated tex...

Resolusi 1161Dewan Keamanan PBBGunung Kigali di ibukota Rwanda KigaliTanggal9 April 1998Sidang no.3.870KodeS/RES/1161 (Dokumen)TopikSituasi di RwandaRingkasan hasil15 mendukungTidak ada menentangTidak ada abstainHasilDiadopsiKomposisi Dewan KeamananAnggota tetap Tiongkok Prancis Rusia Britania Raya Amerika SerikatAnggota tidak tetap Bahrain Brasil Kosta Rika Gabon Gambia Jepang Kenya Portugal Slovenia Swedia ...

 

JurataRailway StationJurata railway stationGeneral informationLocationJurata, Pomeranian VoivodeshipPolandOperated byPKP Polskie Linie KolejoweLine(s)213: Reda–Hel railwayPlatforms1Tracks1HistoryRebuilt2015ElectrifiednoLocationJurataLocation within Poland Jurata railway station is a railway stop serving the town of Jurata, in the Pomeranian Voivodeship, Poland. The station is located on the Reda–Hel railway. The train services are operated by Przewozy Regionalne. The station used to be kn...

 

Douglas XB-19 adalah pesawat bomber terbesar dibangun untuk Amerika Serikat Army Air Corps sampai 1946. Ini pada awalnya diberi sebutan XBLR-2 (XBLR- menunjukkan Eksperimental Bomber, Long Range). Referensi Pranala luar Wikimedia Commons memiliki media mengenai Douglas XB-19. Encyclopedia of American aircraft Diarsipkan 2009-01-21 di Wayback Machine. USAF Museum description of B-19 USAF Museum description of B-19A Popular Science, October 1940, Uncle Sam Builds Europe and Back Warplane The W...

Pour les articles homonymes, voir Chan. Tanya ChanTanya Chan en 2017.FonctionsMembre du Conseil législatif de Hong Kong6th Legislative Council of Hong Kong (en)Île de Hong Kong (en)depuis le 1er octobre 2016Membre du Conseil législatif de Hong Kong4th Legislative Council of Hong Kong (en)Île de Hong Kong (en)17 mai 2010 - 30 septembre 2012Membre du Conseil législatif de Hong Kong4th Legislative Council of Hong Kong (en)Île de Hong Kong (en)1er octobre 2008 - 28 janvier 2010Central and ...

 

Emperor of Japan from 1926 to 1989 This article is about the emperor of Japan. For other uses, see Hirohito (disambiguation). Emperor Shōwa 昭和天皇 Formal portrait, 1935Emperor of JapanReign25 December 1926 – 7 January 1989Enthronement10 November 1928PredecessorTaishōSuccessorAkihitoSesshō of JapanRegency25 November 1921 – 25 December 1926MonarchTaishōBornHirohito, Prince Michi(迪宮裕仁親王)(1901-04-29)29 April 1901Tōgū Palace, Aoyama, Tokyo, JapanDied7 January 1989(1989-...

 

Aprilia RS-GPAleix Espargaró su RS-GP al Gran Premio di Germania 2021Costruttore Aprilia TipoPrototipo da competizione Produzionedal 2015 Sostituisce laAprilia RS Cube Modelli similiSuzuki GSX-RRDucati DesmosediciHonda RC213VYamaha YZR-M1KTM RC16 Manuale L'Aprilia RS-GP è un prototipo di motocicletta da competizione realizzata dalla casa motociclistica italiana Aprilia dal 2015, per gareggiare nella classe MotoGP del motomondiale. La RS-GP segna il ritorno ufficiale di Aprilia Raci...

Japan House of Representatives constituency Iwate 1st DistrictParliamentary constituencyfor the Japanese House of RepresentativesNumbered map of Iwate Prefecture single-member districtsPrefectureIwateProportional DistrictTohokuElectorate278,860Current constituencyCreated1994SeatsOnePartyCDPRepresentativeTakeshi Shina (2007–)Created fromIwate's 1st medium-sized districtMunicipalitiesThe city of Morioka, town of Shiwa and town of Yahaba Iwate 1st district (岩手[県第]1区, Iwate[-ken dai-]...

 

此條目没有列出任何参考或来源。 (2019年3月14日)維基百科所有的內容都應該可供查證。请协助補充可靠来源以改善这篇条目。无法查证的內容可能會因為異議提出而被移除。 日語寫法日語原文甲斐国假名かいのくに平文式罗马字Kai no kuni 甲斐國(日语:甲斐国〔甲斐國〕/かいのくに〔かひのくに〕 Kainokuni */?),是日本古代的令制國之一,屬東海道,亦稱為甲州(...