From owner-freebsd-questions@freebsd.org Fri Sep 23 02:17:54 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 98359BE6C10 for ; Fri, 23 Sep 2016 02:17:54 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-yw0-x236.google.com (mail-yw0-x236.google.com [IPv6:2607:f8b0:4002:c05::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 53A351BE2 for ; Fri, 23 Sep 2016 02:17:54 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: by mail-yw0-x236.google.com with SMTP id g192so105584023ywh.1 for ; Thu, 22 Sep 2016 19:17:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=wrprCXhGJPkcJ9wUMBv6/AkLCFEDWvmbTP+o4Yjyny8=; b=siHJJGyb6jcYGbZMppqrd5wEBXT1IIm6dF1tO/oK4u2DxUPEBwla12aigY7vWBrXJ8 lUp/RbDymBfjf+OV/LOWpR51lHlUf5ubi08czRPPLhPvj+rbG0uWPVDQF8XK8RkQEyT1 o+3YWzxE+L5LIF3iL3OWNafMnE1ymIV1QKrFt/6nuHfzjvlC8VZ6FNddWod2IjXT78n6 7qNsIG2tKlFe4P9FXCqfDH4hurjGI4IBqFERmLDlfQVy2zg+xWqj23uxEHLKwtjRfjXw T0ZYwa2872tUecrLqXSKQkztc7hkp3kv9VaRy4tAIczRwCPuaxrw1bJ6cwyQ5TKIsvSm GbIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=wrprCXhGJPkcJ9wUMBv6/AkLCFEDWvmbTP+o4Yjyny8=; b=BfO8GxwsrmJ7n6DCnsFQu9iCJNjVZMRvh+U716efnoI4vgMTnnDD7R8bHplDGghbYc 15enRRooPZyBHCqsrf6twQ7IvNrm5TPv4bGY8JRMNBzKxK5lGHgKdSDvylOrWLaABgAP z0D6DX+aPHv31xVbMKydVck7yXfSHo3a6teSrBckLPc9PE6u7jk2+jiQEYUumnaM35fB uBWTIaM9P9fZuVKieJ9KudARC10k3X+4sxRaR1iZ/B5Wcnq8OAX46kLxKLta8hVrl9zr pH0WiaRWltgZ+tpw0ZLDtCXWbdnk+sdGGjcYeb3KYWzMsNozYAowbfX6Mm23rHQsta0w B/gQ== X-Gm-Message-State: AE9vXwOBsgtkMRqEbC3x04KYjNr5d+W5/aQ055bVKPHNxQQwBU9IWBOiqAXR8h8moJCAFZRrCfWIYdQw5ZQ4Pw== X-Received: by 10.129.85.73 with SMTP id j70mr3940119ywb.123.1474597073520; Thu, 22 Sep 2016 19:17:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.88.214 with HTTP; Thu, 22 Sep 2016 19:17:53 -0700 (PDT) In-Reply-To: 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> From: Mehmet Erol Sanliturk Date: Thu, 22 Sep 2016 19:17:53 -0700 Message-ID: Subject: Re: OpenGL over X11/SSH To: Shane Ambler Cc: Andrea Venturoli , "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Sep 2016 02:17:54 -0000 On Thu, Sep 22, 2016 at 7:01 PM, Shane Ambler 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