Date: Thu, 22 Sep 2016 19:17:53 -0700 From: Mehmet Erol Sanliturk <m.e.sanliturk@gmail.com> To: Shane Ambler <FreeBSD@shaneware.biz> Cc: Andrea Venturoli <ml@netfence.it>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: OpenGL over X11/SSH Message-ID: <CAOgwaMsqXnGUSR4dBi-5zKcWwRh5HCHShMnrLKPqnd224amXcg@mail.gmail.com> In-Reply-To: <e0480b58-725d-0a08-6daf-89e0f3619774@ShaneWare.Biz> References: <2deff892-7ac3-e3e2-92fe-27e95f089ea0@netfence.it> <20160922051741.5092ccae.freebsd@edvax.de> <15ee2107-8cdc-8d1a-4bb5-2765587453b0@netfence.it> <20160922093225.92c833cc.freebsd@edvax.de> <36548c08-36a7-bd2c-05e7-e783838dd707@netfence.it> <e0480b58-725d-0a08-6daf-89e0f3619774@ShaneWare.Biz>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 22, 2016 at 7:01 PM, Shane Ambler <FreeBSD@shaneware.biz> wrote: > On 22/09/2016 17:25, Andrea Venturoli wrote: > >> On 09/22/16 09:32, Polytropon wrote: >> >> An option in some port? >>>> >>> >>> Probably yes. >>> >> >> I checked graphics/libGL, but it has no options. >> Any other hint? >> > > Not sure this will actually help but it may give a clue as to how to > patch the app you are trying to run. > > A few days ago there was a commit to blender that enabled the use of > software opengl render on OSX when older cards are in place that don't > support the required openGL version. > > https://developer.blender.org/rBe12f5b699d5a2eea045b584ebc7264bddcfb994d > > I don't know much about GL programming but it sounds like the app can > choose if GL provides the required features (or gl version?) to run > which may include hardware acceleration, this appears to be decided at > the time the GLContext is created. > > -- > FreeBSD - the place to B...Software Developing > > Shane Ambler > > _______________________________________________ > > For OpenGL programming the following can be done : At the beginning , during starting OpenGL : Check whether there is a graphics facility ( either a graphics card or a suitable CPU combined with hardware enabled OpenGL processing ) : If such a facility exists , use this facility by calling hardware based OpenGL processing routines ( fast computations and displays ) , else call software enabled OpenGL processing routines instead of giving an error message and stop or crash ( slow computations and displays ) . This is also an addition to my previous message in this thread where I forgot to mention above possibility . If the above structure is used , the program will be suitable to be executed in any computer conforming its range of CPU whether it has hardware based OpenGL facility or not . Mehmet Erol Sanliturk
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOgwaMsqXnGUSR4dBi-5zKcWwRh5HCHShMnrLKPqnd224amXcg>