OpenGL over X11/SSH

Mehmet Erol Sanliturk m.e.sanliturk at gmail.com
Fri Sep 23 02:17:54 UTC 2016


On Thu, Sep 22, 2016 at 7:01 PM, Shane Ambler <FreeBSD at 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


More information about the freebsd-questions mailing list