delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/10/10/15:16:33

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:from:date:message-id:subject:to
:content-type; q=dns; s=default; b=nvYy2HwJHptP8SPvLdlA3qk8Y5DLn
dYQZktHbzIaI+08yo/hbyTkG+ECRZowvFDTYQTnnS8E3J9ugdOEZt8uqBiDCmyPW
AbvVyHAJ7SV6HdWnXZrr5Rg9WAQdnOj9EbamCAnCtxfk+6EKE35lP2S+32Ud4+Fv
/U6moG8CmNrOsw=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:from:date:message-id:subject:to
:content-type; s=default; bh=nfnPxYCuzREAt/r729yrQSPIF5M=; b=fAK
FAMvH8NH3yrEiGVpmwdOL1dS3k6MVEUCU1ABB4yFkGZ3l6zgZrdGGalIRNlI3xhY
TopHgZZm/PilAPjTcJnW7xKFQqn4gxnQkmEm6JMLseR1qCAwOvr20lcvARTJ9rN5
jVBTbk10//iJ2HEMLJ4GQQcAZXIuTG2EwFbcpwOg=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=laptop, graphics, widgets, menu
X-HELO: mail-yw1-f45.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=hY3TVP4bX2e74qdEAgaIF+vR+mOdTyeJQqBowXEDyFc=; b=FbcYlGIwk0XkGSsfn2mJQ/S6+pyt9PViSsEL5VIuZMB0X5p9EycgYxZHdkhtX0v18y ZoHThS95xQ56Iwd+OKSX8YSURW5YNQ4Vk5QYX6O74mDTH76yMWTBX0Yd7ijz9JbNh8DY 9q4/oQsYQxbqN2yBOsQZJQY5DuSUbWheGKmsHvVbf+oUHdKL7ZxPN++sgVLaJcPazuwp rSfzJebZRWlqld4WjUpvGh9fktu3P7h0hh7Y5TOC72ZkRGIztwQtse8fSrhWhyDE4HTk tj2upXHmlofJ5IlUfGy+e+GrvPWJkehHmr4uLwYwp6wPcb+F+pwvZWbn3AEWntYrS0AI Tkwg==
MIME-Version: 1.0
From: Chris Marshall <devel DOT chm DOT 01 AT gmail DOT com>
Date: Wed, 10 Oct 2018 12:15:17 -0700
Message-ID: <CAPTtex+HUf7-4+vF+dVRRhRBgPOT3H+a2B8nUGPp+Oj5FFZgxw@mail.gmail.com>
Subject: opengl render size too small in X11 window
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

Dear Cygwin-

Using cygwin X11 under windows 10 with a high dpi display (3840x2160)
laptop resulted in far too small font and widgets using -multiwindow for
the XWin option.  If I set the windows setting display resolution to
1920x1080 and following the suggestion for the ~/.Xresources file from
https://stackoverflow.com/questions/42211564/cygwin-xwin-scaling-broken-when-using-windows-scaling-on-high-resolution-displa
I was able keep windows, widgets, and title/menu bars at a reasonable size
for reading.

However, when I display some OpenGL graphics content (using a FreeGLUT
window), then the visible OpenGL rendered area is about 2/3 the apparent
widget area of the X11 window.  If I try the same in a non-multiwindow Xwin
session then the rendered area is correct.  This problem is even worse if I
try with the full screen resolution.  At the moment I think I have narrowed
it down to the -multiwindow support for OpenGL contexts.

This is with a couple of versions of the freeglut libraries with no effect
and the current cygwin and cygwin X Server.

Thanks,
Chris

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019