Share to: share facebook share twitter share wa share telegram print page

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:

Irisosaurus Periode Jura Awal, Hettangian PreЄ Є O S D C P T J K Pg N ↓ Restorasi kerangkaTaksonomiKerajaanAnimaliaFilumChordataKelasReptiliaOrdoSaurischiaGenusIrisosaurus lbs Irisosaurus adalah sebuah genus punah dari dinosaurus sauropodomorfa Sauropodiformes,[1] dari Formasi Fengjiahe di Tiongkok. Spesies tipenya, Irisosaurus yimenensis secara resmi dideskripsikan pada 2020.[1][2] Genus tersebut adalah takson saudara dari Mussaurus. Referensi ^ a b Claire Peyre …

Kulon Progo KulonprogoKabupatenTranskripsi bahasa daerah • Hanacarakaꦏꦸꦭꦺꦴꦤ꧀ꦥꦿꦒSearah jarum jam dari atas : Waduk Sermo, Puncak Moyeng Girimulyo, Patung Nyi Ageng Serang di Wates LambangJulukan: West ProgBumi MenorehMotto: ꦲꦩꦩꦪꦸꦲꦪꦸꦤꦶꦁꦧꦮꦤHamemayu hayuning bawana(Jawa) Memperindah keindahan dunia[[File:{{{peta}}}|250px|Peta]]PetaKulon ProgoPetaTampilkan peta IndonesiaKulon ProgoKulon Progo (Indonesia)Tampilkan peta Ind…

Odoacre Silique datant de 477 figurant Odoacre tête nue et sans insigne, British Museum. Titre Patrice d'Italie 476 – 493(17 ans) Prédécesseur Romulus Augustule ou Julius Nepos (selon les auteurs) Successeur Théodoric le Grand (Roi des Ostrogoths) Biographie Date de naissance v.  433 Lieu de naissance Pannonie, Empire Romain d'Occident Date de décès 16 mars 493 Lieu de décès Ravenne Nature du décès assassinat Sépulture Ravenne (?) Père Édecon Fratrie Hunulf Conjoint Suni…

Nam-gu 남구Distrik non-otonomTranskripsi Korea • Hanja南區 • Revised RomanizationNam-gu • McCune-ReischauerNam-guNegaraKorea SelatanRegionYeongnamProvinsiGyeongsang UtaraKotaPohangPembagian administratif7 dong, 3 eup, 4 myeonLuas • Total393,02 km2 (15,175 sq mi)Populasi (2012) • Total253.670[1] • Kepadatan645/km2 (1,670/sq mi) • DialekGyeongsangSitus webnamgu.ipohang.org …

Town in Rhode Island, United StatesNorth Providence, Rhode IslandTownFatima HospitalLocation in Providence County and the state of Rhode Island.Coordinates: 41°51′36″N 71°27′23″W / 41.86000°N 71.45639°W / 41.86000; -71.45639CountryUnited StatesStateRhode IslandCountyProvidenceGovernment • TypeMayor-council • MayorCharles A. Lombardi • Town CouncilSteven Loporchio (D)Ronald Baccala, Jr. (D)Stefano Famiglietti (D)Dino P. Autie…

Weather station and military facility in Nunavut, Canada This article is about the community in Canada's far north. For the island community on the west coast of British Columbia, see Alert Bay. Weather station and signals intelligence base in Nunavut, CanadaAlertWeather station and signals intelligence baseThe main CFS Alert complex from the south, May 2016Motto: Inuit Nunangata Ungata (Beyond the Inuit Land)AlertShow map of NunavutAlertShow map of CanadaCoordinates: 82°30′N 62°22′W&…

Regional play-by-play radio network The Ohio State Sports Network from Learfield  TypeRadio networkCountryUnited StatesHeadquartersColumbus, OhioBroadcast areaOhioWest VirginiaOwnerIMG CollegeAffiliation(s)Ohio State BuckeyesTegna, Inc.Affiliates62, including 2 flagshipsOfficial websiteohiostatebuckeyes.com/sportsnetwork/ The Ohio State Sports Network from Learfield is an American radio network consisting of 62 radio stations which carry coverage of Ohio State Buckeyes football and men…

BrainMapsContentDescriptionInteractive zoomable high-resolution digital brain atlasData typescapturedNeuroanatomy, HistologyOrganismsincludes: Man, monkey, cat, mouse, opossum, goldfish, platypus, dog, owl, chicken, rat, and moreAccessWebsitehttp://brainmaps.org/MiscellaneousLicenseAll image dataset is copyrighted to their respective owners, if none indicated, to the UC Regents Davis campus.[1] Nissl stained, Chlorocebus aethiops brain at BrainMaps.org. a: choosing from some hundreds of …

شون سولومون   معلومات شخصية الميلاد 24 أكتوبر 1945 (79 سنة)  لوس أنجلوس  مواطنة الولايات المتحدة  عضو في الأكاديمية الوطنية للعلوم،  والأكاديمية الأمريكية للفنون والعلوم  الحياة العملية المدرسة الأم معهد كاليفورنيا للتقنية  المهنة أستاذ جامعي  مجال العمل عل…

Coastal landform in the U.S. state of Oregon Cascade HeadIUCN category V (protected landscape/seascape)Cascade HeadLocationTillamook County, Oregon, United StatesNearest cityLincoln CityCoordinates45°03′24″N 124°00′17″W / 45.05666667°N 124.00472222°W / 45.05666667; -124.00472222Area37,162 acres (150.39 km2)Established1966OwnerNature Conservancy Cascade Head is a headland and 102,110-acre (41,320 ha) UNESCO biosphere reserve and United States For…

Dáil Éireann Majelis IrlandiaDáil Éireann ke-33JenisJenisMajelis rendah dari Oireachtas PimpinanCeann ComhairleSeán Ó Fearghaíl, FF sejak 10 Maret 2016 Leas-Ceann ComhairleCatherine Connolly, Ind sejak 23 Juli 2020 TaoiseachSimon Harris, FG sejak 9 April 2024 TánaisteMicheál Martin, FF sejak 17 Desember 2022 Pemimpin OposisiMary Lou McDonald, SF sejak 27 Juni 2020 KomposisiAnggota160Partai & kursiPemerintah (80)   Fianna Fáil (36)   Fine Gael (33) …

Municipality in Colón, HondurasTrujilloMunicipalityTrujillo Cathedral SealTrujilloCoordinates: 15°55′N 86°00′W / 15.917°N 86.000°W / 15.917; -86.000Country HondurasDepartmentColónGovernment • MayorHéctor MendozaArea • Municipality955 km2 (369 sq mi)Population (2023 projection)[1] • Municipality71,106 • Density74/km2 (190/sq mi) • Urban31,464 Trujillo is a city, wit…

This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Pretty Little Head song – news · newspapers · books · scholar · JSTOR (April 2018) (Learn how and when to remove this message) 1986 single by Paul McCartneyPretty Little HeadUK front coverSingle by Paul McCartneyfrom the album Press to Play B-sideWrite Away (…

هذه المقالة عن المجموعة العرقية الأتراك وليس عن من يحملون جنسية الجمهورية التركية أتراكTürkler (بالتركية) التعداد الكليالتعداد 70~83 مليون نسمةمناطق الوجود المميزةالبلد  القائمة ... تركياألمانياسورياالعراقبلغارياالولايات المتحدةفرنساالمملكة المتحدةهولنداالنمساأسترالياب…

2020年夏季奥林匹克运动会波兰代表團波兰国旗IOC編碼POLNOC波蘭奧林匹克委員會網站olimpijski.pl(英文)(波兰文)2020年夏季奥林匹克运动会(東京)2021年7月23日至8月8日(受2019冠状病毒病疫情影响推迟,但仍保留原定名称)運動員206參賽項目24个大项旗手开幕式:帕维尔·科热尼奥夫斯基(游泳)和马娅·沃什乔夫斯卡(自行车)[1]闭幕式:卡罗利娜·纳亚(皮划艇)[2…

2020年夏季奥林匹克运动会波兰代表團波兰国旗IOC編碼POLNOC波蘭奧林匹克委員會網站olimpijski.pl(英文)(波兰文)2020年夏季奥林匹克运动会(東京)2021年7月23日至8月8日(受2019冠状病毒病疫情影响推迟,但仍保留原定名称)運動員206參賽項目24个大项旗手开幕式:帕维尔·科热尼奥夫斯基(游泳)和马娅·沃什乔夫斯卡(自行车)[1]闭幕式:卡罗利娜·纳亚(皮划艇)[2…

Species of primate found in South East Asia Sunda slow loris[1] Conservation status Endangered  (IUCN 3.1)[2] CITES Appendix I (CITES)[3] Scientific classification Domain: Eukaryota Kingdom: Animalia Phylum: Chordata Class: Mammalia Order: Primates Suborder: Strepsirrhini Family: Lorisidae Genus: Nycticebus Species: N. coucang Binomial name Nycticebus coucang(Boddaert, 1785) Sunda slow loris range Synonyms[1][6][7] Bradylemur tardigr…

Artikel ini membutuhkan rujukan tambahan agar kualitasnya dapat dipastikan. Mohon bantu kami mengembangkan artikel ini dengan cara menambahkan rujukan ke sumber tepercaya. Pernyataan tak bersumber bisa saja dipertentangkan dan dihapus.Cari sumber: Badgerys Creek, New South Wales – berita · surat kabar · buku · cendekiawan · JSTOR (Juni 2008) Badgerys CreekSydney, New South WalesJumlah penduduk721 (2006)Kode pos2555Letak51 km (32 mi) sebelah…

Військово-музичне управління Збройних сил України Тип військове формуванняЗасновано 1992Країна  Україна Емблема управління Військово-музичне управління Збройних сил України — структурний підрозділ Генерального штабу Збройних сил України призначений для плануван…

مارين ميرسين (بالفرنسية: Marin Mersenne)‏    معلومات شخصية الميلاد 8 سبتمبر 1588 [1][2][3]  الوفاة 1 سبتمبر 1648 (59 سنة) [1][2][3][4]  باريس[1][5][3]  سبب الوفاة سلاح أبيض،  وخراج الرئة  مواطنة فرنسا  الحياة العملية المدرسة الأم جامعة باري…

Kembali kehalaman sebelumnya