I should be clear here:

This crash happens in cocoa, and sometimes takes down programs other
than jqt! So it's rather clearly an issue that Apple would have to
solve (and the nature of this problem suggests that opengl development
on OSX is rather dismally constrained).

FYI,

-- 
Raul



On Mon, Jul 6, 2015 at 12:08 PM, Raul Miller <[email protected]> wrote:
> I rather consistently crash jqt when I try this.
>
> FYI,
>
> --
> Raul
>
>
>
> On Mon, Jul 6, 2015 at 10:26 AM, bill lam <[email protected]> wrote:
>> GLES_VERSION_jgles_ is 0
>> since osx is a desktop, not OpenGL ES
>>
>> GL_VERSION: 2.1 NVIDIA-10.0.43
>>
>> This may be a Qt issue.  You can try request a newer OpenGL version by
>> adding an optional parameter during wd'cc .. opengl' command, eg request
>> version 4.1, and see what will be version it will report in shader demo.
>>
>> pls see
>>> http://www.jsoftware.com/jwiki/Guides/JQtChildClasses
>> On Jul 6, 2015 9:29 PM, "Raul Miller" <[email protected]> wrote:
>>
>>> the search dialog only shows maybe 3 characters of the text you type
>>> in to search for, rendering it rather difficult to see. Resizing it
>>> (wider or taller) does nothing to alleviate this issue.
>>>
>>> GLES_VERSION_jgles_ is 0
>>>
>>> Shader demo works however, and emits this text:
>>>
>>> GL_VERSION: 2.1 NVIDIA-10.0.43 310.41.05f01
>>> GL_VENDOR: NVIDIA Corporation
>>> GL_RENDERER: NVIDIA GeForce GT 750M OpenGL Engine
>>> GL_SHADING_LANGUAGE_VERSION: 1.20
>>> #version 120
>>> #define lowp
>>> #define mediump
>>> #define highp
>>> attribute highp vec3 vertex;
>>> attribute lowp vec3 color;
>>> varying lowp vec4 v_color;
>>> uniform mat4 mvp;
>>> void main(void)
>>> {
>>>   gl_Position = mvp * vec4(vertex,1.0);
>>>   v_color = vec4(color,1.0);
>>> }
>>>
>>> #version 120
>>> #define lowp
>>> #define mediump
>>> #define highp
>>> varying lowp vec4 v_color;
>>> void main(void)
>>> {
>>>   gl_FragColor = v_color;
>>> }
>>>
>>> If I understand the standards properly, I guess this is correct. But
>>> that leaves the question: what opengl api implementation should I be
>>> using here? Does it make sense to avoid "deprecated" APIs if a
>>> mainstream system like OSX Yosemite offers nothing newer?
>>>
>>> Or am I overlooking an important issue?
>>>
>>> Thanks,
>>>
>>> --
>>> Raul
>>> ----------------------------------------------------------------------
>>> For information about J forums see http://www.jsoftware.com/forums.htm
>>>
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to