Raspberry Pi 4 to Get OpenGL ES 3.1 Compute, Geometry ...

文章推薦指數: 80 %
投票人數:10人

The Raspberry Pi 4, with its powerful new Broadcom VideoCore-VI graphics processor, is set to get its first support for OpenGL ES 3.1 Compute and Geometry ... Projects× LoginSignup ProjectsProjectsNewsContestsEventsVideosWorkshops TheRaspberryPi4,withitspowerfulnewBroadcomVideoCore-VIgraphicsprocessor,issettogetitsfirstsupportforOpenGLES3.1ComputeandGeometryShadersinitsopensourcegraphicsdriver—thankstotheworkofoutgoingdeveloperEricAnholtandincomingmaintainerIgalia.TheRaspberryPI4'sSoCincludesapowerfulnewGPU-theVideoCore-VI.(📷:GarethHalfacree)TheVideoCore-VIGPUintheRaspberryPi4'sBroadcomBCM2711system-on-chipisthefirstnewgraphicsprocessorcorethelow-costfamilyofsingle-boardcomputershaseverenjoyed:allpreviousmodelshadfeaturedtheVideoCore-IVGPU,powerfulenoughwhenitlaunchedbutlaggingsomewhatbehindthestateofthearttoday.Newhardware,however,onlyworkswhenthere'ssoftwaresupport,andthedepartureofopengraphicsdriverdeveloperEricAnholtfromtheprojecttodevelopandmaintainsaidopengraphicsdriversleftRaspberryPifansconcernedthatdevelopmentcouldstall.WhenAnholtleft,however,hewasquicklyreplaced:theopensourcedriversarenowmaintainedbyIagoToral,AlejandroPiñeiro,andJoséCasanovaofopensourceconsultancyIgalia.Whiletheirworktakesplaceentirelypublicly-codecommitsaremadeontheupstreamMesaproject—ToralrecentlypennedanupdatefortheRaspberryPiBlogdetailingthestatusoftheproject.Thebiggestnews:theteamisworkingonafully-compliantOpenGLES3.1implementation,whichwillbringtheRaspberryPi4'sfirstsupportforComputeShaders—allowingtheVideoCore-VItoexecuteprogramswhicharenotlimitedtooperatingonmeshortexturedataandwhichsharethesamememoryspaceasotherOpenGLESprograms."CreditforthisgoestoEricAnholt,whodidalltheimplementationworkbeforeleaving–hejustnevergottothepointwhereitwasreadytobemerged,sowehavepickedupEric’soriginalwork,rebasedit,andworkedonbugfixestohaveafullyconformantimplementation,"Toralwrites."WearecurrentlyhardatworksquashingthelastfewbugsexposedbytheKhronosConformanceTestSuiteandwehopetobereadytomergethisfunctionalityinthenextmajorMesarelease,solookforwardtoit!"TheRaspberryPi4isthefirstmodeltosupportdual4kHDMIoutputs.(📷:GarethHalfacree)OnceComputeShadersupportisinplace,theteamhasanothertarget-currentlydescribedbyToralasbeing"inearlystagesofdevelopment":GeometryShaders,whichToralexplains"willbringtheV3Ddriveronestepclosertoexposingafullprogrammable3Dpipeline."Thepostcomeswithapotentiallyunwelcomeclarificationastotheproject'sfocus,however."TheVideoCore-VIGPUcandoOpenGLES3.2,butitcan’tdoOpenGL3.0,"Toralexplains,"sofuturefeatureworkwillfocusonOpenGLES"-theembedded-centricvariantoftheOpenGLAPI.Theissue:TheVideoCore-IVsupportsuptofourrendertargets,theminimumrequiredforOpenGLES-butbelowtheeightneededforOpenGL3.0support.Toralalsodetailsafewimprovementsalreadyavailableinthereleaseddriver:shadercompileroptimisationswhichhaveimprovedtheperformanceofseveraldifferentshaderworkloads,bugfixesandoptimisationsinthetransformfeedbackprocess,andtheimplementationofOpenGLLogicOperations—"anOpenGL2.0featurethatwassomehowmissingintheV3Ddriver,"Toralexplains.ThefullpostisnowavailableontheRaspberryPiblog.singleboardcomputerdevelopmentboardgraphicsGarethHalfacreeFollowFreelancejournalist,technicalauthor,hacker,tinkerer,erstwhilesysadmin.Forhire:freelance@halfacree.co.uk.LatestarticlesSponsoredarticlesRelatedarticlesLatestarticlesReadmoreRelatedarticles



請為這篇文章評分?