Lower-Level Graphics API - What Does It Mean?

Jun 2015

Lower-Level Graphics API - What Does It Mean?

They say that the new, upcoming generation of graphics API-s (like DirectX 12 and Vulkan) will be lower-level, closer to the GPU. You may wonder what does it exactly mean or what is the purpose of it? Let me explain that with a picture that I have made few months ago and already shown on my two presentations.

Row 1: Back in the early days of computer graphics (like on Atari, Commodore 64), there were only applications (green rectangle), communicating directly with graphics hardware (e.g. by setting hardware registers).

Row 2: Hardware and software became more complicated. Operating systems started to separate applications from direct access to hardware. To make applications working on variety of devices available on the market, some standards had to be defined. Device drivers appeared as a separate layer (red rectangle).

Graphics API (Application Programming Interface), like every interface, is just the means of communication - standardized, documented definition of functions and other stuff that is used on the application's side and implemented by the driver. Driver translates these calls to commands specific to particular hardware.

Row 3: As games became more complex, it was no longer convenient to call graphics API directly from game logic code. Another layer appeared, called game engine (yellow rectangle). It is essentially a comprehensive library that provides some higher-level objects (like an entity, asset, material, camera, light) and implements them (in its graphical part) using lower-level commands of graphics API (like mesh, texture, shader).

Row 4: This is where we are now. Games, as well as game engines constantly become more complex and expensive to make. Less and less game development studios make their own engine technology, more prefer to use existing, universal engines (like Unity, Unreal Engine) and just focus on gameplay. These engines recently became available for free and on very attractive licenses, so this trend affects both AAA, as well as indie and amateur game developers.

Graphics drivers became incredibly complex programs as well. You may not see it directly, but just take a look at the size of their installers. They are not games - they don't contain tons of graphics and music assets. So guess what is inside? That is a lot of code! They have to implement all API-s (DirectX 9, 10, 11, OpenGL). In addition to that, these API-s have to backward compatible and not necessarily reflect how modern GPU-s work, so additional logic needed for that can introduce some performance overhead or contain some bugs.

Row 5: The future, with new generation of graphics API-s. Note that the sum width of the bars is not smaller than in the previous row. (Maybe it should be a bit smaller - see comment below.) That is because according to the concept of accidental complexity and essential complexity from famous book No Silver Bullet, stuff that is really necessary has to be done somewhere anyway. So lower-level API means just that driver could be smaller and simpler, while upper layers will have more responsibility of manually managing stuff instead of automatic facilities provided by the driver (for example, there is no more DISCARD or NOOVERWRITE flag when mapping a resource in DirectX 12). It also means API is again closer to the actual hardware. Thanks to all that, the usage of GPU can be optimized better by knowing all higher-level details about specific application on the engine level.

Question is: Will that make graphics programming more difficult? Yes, it will, but these days it will affect mostly a small group of programmers working directly on game engines or just passionate about this stuff (like myself) and not the rest of game developers. Similarly, there may be a concern about potential fragmentation. Time will show which API-s will be more successful than the others, but in case none of them will become standard across all platforms (Vulkan is a good candidate) and GPU/OS vendors succeed in convincing developers to use their platform-specific ones, it will also complicate life only for these engine developers. Successful games have to be multiplatform anyway and modern game engines do good job in hiding many of differences between platforms, so they can do the same with graphics.

Comments (1) | Tags: gpu rendering directx | Author: Adam Sawicki | Share


2016-03-29 09:32:55
beautiful www.pradaoutlet.com.co things www.christianlouboutinoutlet.net.co to www.nikemercurial.in.net read www.rosherun.org.uk more, look www.babyliss-pro.us.com for www.pumaonline-shop.de a www.cheap-nike-shoes.net long www.adidas-schuhe-online.de time, www.longchampoutlet.com.co I www.kate-spade.in.net felt airmax.misblackfriday.com closer www.raybans-sunglassesoutlet.in.net to www.nikestore.com.de reality www.adidas--canada.ca very www.louis-vuitton-australia.com.au far away, www.nike-rosherun.nl life www.michael-kors-canada-outlet.ca is www.uggboots.com.de short, if www.toms-shoes.net.co put www.nike-roshe-run.com.es too www.rolex-watch.me.uk much www.ghdhair-straighteners.co.uk time is www.rayban.org.es spent www.michaelkorsbags.us.org on www.coco-chanel.com.de practical www.mmoncler-outlet.com things, really www.chiflatiron.net.co is www.coachblackfriday.com a waste www.ralph-laurenoutlet.ca of www.prada-shoes.com.co life, www.lululemon-australia.com.au but www.rayban.com.de some www.toms--outlet.com.co things, but if www.louisvuitton.so the www.swarovski-crystal.us.com raw www.oakley-sunglasses.mex.com flavor, www.tomsshoes-outlet.us.com leisure www.coach-factoryoutlet.net.co goods www.converse-shoesoutlet.com for gossip, www.cheapjerseys.com.co so www.cheapmichaelkors.us.org I www.tiffany-und-co.de love www.adidasshoes.top romantic www.coach-purseoutlet.net dreamer, www.abercrombie-kids.us.com but supra.shoesoutlet.us.com I www.coach-factory.in.net love www.michael-kors-outlet.us.org real life.Day www.maccosmetics.gr.com in www.rolex-watches.us.com a www.katespadeoutlet.gb.net hurry, www.lauren-ralph.co.uk took www.chanel-bags.com.co all the www.ray-banocchiali.it joy www.nike-shoesoutlet.us.com and sadness, www.mizuno-running.net a www.swarovski-online-shop.de lot www.timberlandshoes.net.co of www.airmax-90.org things, www.mcm-handbags.org not www.mcmsworldwide.com enough time www.uggs-onsale.net to www.chi-flatiron.us.com recall, www.cheapuggboots.us.com Chaoyang July, www.michael-kors-australia.com.au early www.pandora-charms-canada.ca June www.juicycouture.com.co already covered uggaustralia.misblackfriday.com confused. www.beats-headphone.com.co Season removed, www.polos-ralphlauren.us.com landscape www.mkoutletonline.us.com transformation, www.tommy-hilfiger-online-shop.de the www.michaelkorsoutletonline-sale.us.com so-called www.canadagooses-2016.com forever www.the-north-face.ca always www.burberryoutlet2016.us.com far-fetched, www.ralphlaurenoutletonline.us.org time, www.hermesbags.jp.net not www.coachoutletstore-online.com.co to be www.ferragamoshoes.in.net squandered, www.nike-air-max.ca the www.nike-maxfr.com true www.michaelkors.com.se meaning www.swarovski--uk.me.uk of www.cheaprayban.com.co life www.nikefree-run.org.uk is www.asics-outlet.us.com to www.guccishoes.com.co enjoy www.converse.com.de the good www.guccihandbags.net.co in the www.bcbg-dresses.com flat, www.abercrombie-hollister.nl I www.airjordans.us Dimei www.tiffanyandco-canada.ca fireworks, www.michael-kors-outlet-online.us.org also read www.omega-watches.us.com the www.bottegaveneta-bagsoutlet.com leisure, www.ralphlaurenepolo.com with www.omegarelojes.es a touch www.adidas-superstar.nl of www.replicarolex-watches.us.com ink, www.ralphlaurenpolos.in.net painting www.handbagsoutlet.net.co a www.replica-watches.com.co thin www.kate-spade.gb.net clear www.northfaceoutlet.com.co Huan, www.valentino-shoesoutlet.us.com look lush www.converse-shoes.net green, www.adidas.com.se covered with www.oakleyoutlet-online.us.com mottled www.abercrombie-and-fitch.us.com wall. www.michaelkorsoutlet-online.ar.com This www.burberry2016.co.uk July, www.montres-pascher.fr I kept www.mcm-bags.in.net the www.louisvuitton.jp.net book's www.nike-tnrequinpascher.fr swoosh; www.hogan.com.de this www.michaelkors.so July, I www.retro-jordans.com dream www.rayban-wayfarer.in.net in www.mcmhandbags.com.co Lijiang; www.louis-vuittonoutletcanada.ca this www.jordanrelease-dates.us.com July, www.tory-burchshoesoutlet.net and www.coco-chanels.us.com has www.nike-schuhe.com.de been www.michael-kors.com.co well, www.canada-goosesjackets.us.com not www.marc-jacobs.us.com made sad.If www.truereligion-outlet.us.org you www.hermesbirkin-bag.net can www.thomas-sabo.com.de do www.pandorajewellery.com.au if www.instylers.us.com a www.maccosmetics.net.co light www.weddingdressesuk.org.uk breeze www.polo-ralph-lauren.de right www.moncler-outlet.us.org woman, placed www.pumashoes.in.net in www.nike-air-max.com.au the www.toryburchoutlet-sale.us.com text www.tiffany-andco.com.au soul, airhuarache.shoesoutlet.us.com written imprint www.cheap-baseballbats.net of www.nikeair-max.es life, www.eyeglassesonline.us.com write www.oakleys-sunglasses.us.com thin cool and www.new-balance-schuhe.de clear www.nikeshoesoutlet.org.uk Huan, www.rayban.co.nl occasionally www.tomsoutlet-online.com write www.thenorth-faces.co.uk love, www.nike-air-force.de but www.nike-air-max.com.se never give www.longchamps.us.com love, www.vans-schuhe.com.de keep www.salvatoreferragamo.in.net a www.louis-vuittonblackfriday.com clear www.salomon-schuhe.com.de gel www.tiffany-jewelry.net Bay, look www.jordan-shoes.com.co for www.pandora.com.de a www.tnf-jackets.us.com parts of www.woolrich-clearance.com the peace, www.bcbg-max-azria.ca the www.tocoachoutlet.com joy www.thenorthfacejackets.net.co and www.louboutin.jp.net sorrow www.vans-shoes.net of www.coachoutletstore.net.co all www.oakleysunglasses-cheap.in.net his www.burberry-outlet.net.co writings, www.polo-outlets.com.co and www.coach-outletonline.net.co text www.ugg-boots.us.org only www.oakley-sunglasses-canada.ca affair www.airhuarache.co.uk has nothing to www.air-max.com.de do www.ralphlauren-polos.co.uk with www.christianlouboutin.org.uk the www.cheap-jordans.net other.Morning www.chanelhandbags.net.in time, www.iphone-cases.net.co with www.ralphlaurenoutlet.us.com a www.christianlouboutinshoesoutlet.org tranquil www.thejoreseproject.com and www.hollister.us.org contented www.ralphs-lauren.co.uk Zen www.ralphlaurenoutletonline.in.net cloud www.nikefree-run.net water, www.uggsoutlet.com.co eyes closed, www.bebeclothing.in.net the www.newbalance.com.es heart www.pandorajewelry.top distant www.levisjeans.com.co exile, www.new-balance.ca Wind www.designerhandbagsoutlet.net.co and www.beatsbydrdre.co.com Smoke www.prada-handbags.com.co curl www.michael-kors-handbags.us.com in www.scarpe-hoganoutlets.it the www.yoga-pants.ca mountains, www.toryburch-sandals.in.net such www.toms-shoesoutlet.net as www.true-religion.com.co Dai, www.rolexwatches-canada.ca ups www.nikefactory.org and www.basketballshoes.com.co downs, www.mk-outlet.us.com indeed, www.uhren-shop.com.de like airmax.shoesoutlet.us.com a www.the-northface.net.co thread, www.tommy-hilfiger.com.de the ups www.ghd-hairstraightener.net and downs www.horloges-rolex.nl of www.cheap-oakleyglasses.us.com life, www.oakley.com.de with www.ugg-bootsclearance.com long www.burberry-handbagsoutlet.com.co Qingyuan . www.nike-air-max.us Flowers www.insanity-workout.us.com followed www.lululemonoutlet.gb.net the www.nike.org.es road, www.yoga-pants.net.co facing www.tommy-hilfigeroutlet.com the www.ralph-lauren.com.au sun www.ralphlaurenoutlet-online.us.com slowly www.vans-shoes.co.uk forward, www.adidas.org.es then the www.ugg-boots-australia.com.au mind www.hollisterclothingstore.org is www.guccishoes-uk.co.uk calm, www.louis--vuitton.org.uk quiet www.pandora-charms.org.uk as www.air-huarache.co.uk the www.nike-huarache.nl lake, www.ray-ban-outlet.us.com the www.swarovskijewelry.com.co water www.ralphslauren-outlet.co.uk peach, www.giuseppezanotti.com.co flower www.gucci-outletstore.com with www.michael-korshandbags.org.uk water, www.newoutletonlinemall.com just www.giuseppe-zanotti.net like www.jordanretro.org the fate www.nike-skor.com.se of www.abercrombie-fitchsale.com this world, www.newbalance-outlet.org do www.celine-bags.org not www.outlet-burberry.net.co ask www.rayban-sunglasses.us.org why, www.abercrombieand-fitch.ca regardless www.oakley.org.es of www.converse.net.co come and go, www.longchamp.com.co only www.gucci-shoes.net flowers www.oakleys-glasses.us.com need www.toryburchsale.com.co to www.supra-shoes.org remember www.ugg-australia.com.de Lu www.coachhandbags2016.us.com Qing, www.hollister-clothing.in.net Yue www.rayban-sunglassesoutlet.co.uk possessor of the www.uggsaustralia.com.co green www.tommy-hilfiger.co.nl heart, cool count. www.cheapshoes.com.co Sunlight www.rosheruns.us penetration www.nike-schoenen.co.nl mist, www.ugg-uggboots.net alluding www.airmax-2015.org on www.michael-kors-taschen.com.de the www.polooutlets-store.com lake, the water www.soccer-shoes.us.com green, www.tiffanyand-co.net.co clear, sparkling, www.guccishoes.in.net on www.tommyhilfigeroutlet.in.net the www.bottega-veneta.us.com beach, www.louisvuitton-outlets.us there www.harrods-london.co.uk are www.truereligionjeans.net.co birds flying www.nike-shoes-canada.ca over www.truereligion-outlet.com.co from www.michael-kors.com.es time www.nikeair--max.fr to www.uggboots.net.co time, www.swarovski-australia.com.au the www.burberrys-outlet2016.com sky www.fashionclothes.us.com blue www.gucci-taschen-outlet.de and www.raybans.us.org empty, www.thomas-sabos.org.uk with www.rolexwatchesforsale.us.com a www.louisvuitton-outlet.com.co quiet www.nikefree5.net life www.beatsbydre.com.co after ups www.oakley--sunglasses.com.au and www.longchamphandbagsoutlet.net downs, www.longchamp-bags.us.com this time www.burberry-outletstore.net the www.the-northface.com.co heart www.lululemoncanada.ca is www.abercrombie-fitchs.us.com close www.burberryoutlet-canada.ca to www.newbalance-shoes.org nature, www.burberrys-outlet.co.uk without www.pulseras-pandora.com.es the www.coachoutlet-online.com.co slightest www.toms-outlets.us.com ripples, www.uggs.in.net content www.zxcoachoutlet.com with www.marcjacobs.us.com this www.nikerosherun.us quiet and www.louisvuittons.com.co peaceful. www.nike-free-run.de An end, www.oakleysunglass-outlet.net wins www.cheap-michaelkors.com the www.timberlandbootsoutlet.us.com snow www.tommy-hilfiger-canada.ca lotus, www.christianlouboutinshoes.jp.net world www.p90xworkout.us.com clarity, www.hollisters-canada.ca years www.the-northfacejackets.us.com of www.michael--kors.us.com silence, www.hollisteronlineshop.com.de the heart www.nike--freerun.co.uk is www.cheap-raybans.com also www.wedding--dresses.ca safe.Time, www.cheapoakley-sunglasses.com very www.nikeskos.dk long. www.cheapjerseys.us.org I www.nikestore.us know, www.christian-louboutinshoes.com.co I www.soccer-shoesoutlet.com can www.michaelkors-uk.org.uk stay www.ray-bansunglasses.net in my www.hermes-outlet.com.co mind www.oakleyoutlet.ar.com there www.reebok.com.de are www.louis-vuitton-taschen.com.de limitations, www.calvin-kleins.us.com not the www.nike-air-max.com.de majority, www.michaelkors-outlet-online.com.co can www.replica-handbags.net.co only www.burberrybags-outlet.com rely www.michaeljordan.com.de on nike.shoesoutlet.us.com these www.pradahandbags.net.co words www.juicycoutureoutlet.net.co to www.nfl-jersey.us.com memory.Time, www.coach-factoryyoutletonline.net is www.tomsoutletonline.net very www.beats-by-dre.com.co short. www.longchamp.com.de I www.christian-louboutin-shoes.ca understand, www.burberry-handbags2016.in.net you www.edhardy.us.org can www.ralphlauren-polos.com.co never www.eyeglassframes.in.net forget www.jimmy-choos.com so www.adidas-superstar.de little, www.jimmy-chooshoes.com so www.christian--louboutin.in.net I www.uggs.co.nl was www.michaelkors.co.nl in www.guccioutlet-sale.in.net such www.cheapoakley-sunglasses.in.net a www.prada.com.de manner so www.nike-roshe-run.de as www.longchamp-handbagsoutlet.us.com to leave www.burberryoutlet-sale.in.net some more.Youth, is very www.toms-shoes.com.co long. www.barbour-factory.com In www.swarovskicanada.ca life, www.burberry-outletonlinesale.in.net shiny www.montblanc--pens.in.net people, www.michaelkorsoutlet.ar.com in www.ugg-boots.ca fact, www.nike-airmaxinc.co.uk that www.tommyhilfiger.net.co a www.designer-handbagsoutlet.us.com figure, www.asicsgels.de how www.ralph-laurens.org.uk the passage of www.mcmbags.net time, www.tiffany-andco.us.com or www.ralphlaurenonlineshop.de the www.barbour-jacketsoutlet.com whole www.poloralphlaurenoutlet.net.co dazzling www.hollister-abercrombie.com.se Love.Youth, is www.ray--ban.ca very www.burberryonlineshop.de short. www.michael-kors.net.co In www.oakley-outletstore.in.net life, www.ferragamo.com.co flickering www.thenorthface.com.de days www.timberlands-paschere.fr


Post comment

Nick *
Your name or nickname
Your contact information (optional, will not be shown)
Text *
Content of your comment
Calculate *
(* - required field)
STAT NO AD [Stat] [Admin] [STAT NO AD] [pub] [Mirror] Copyright © 2004-2017 Adam Sawicki
Copyright © 2004-2017 Adam Sawicki