I can reliably crash J by running:

clear'' NB. clear base locale
require 'graphics/gl2 api/gles'
coinsert 'jgl2 jgles'
testdlls=: 3 : 0
try.
 wd 'pc testopengl;minwh 10 10;cc g opengl;pclose'
 'OpenGL OK.'
catch.
 wdpclose 'testopengl'
 'OpenGL create context failed. OpenGL not available.'
end.
)

followed by a short pause and then

testdlls''

If I omit the initial (clear'') the crash does not occur.

   9!:14''
j803/2014-10-19-11:11:11

Please let me know if you cannot reproduce this crash using these steps.

Thanks,

-- 
Raul


On Sat, Mar 21, 2015 at 7:22 PM, bill lam <[email protected]> wrote:
> documentation in jwiki page
>
> http://www.jsoftware.com/jwiki/OpenGL%20ES
>
> Also api of opengl 1.3 or older have been removed from the latest addon
> update.
>
> Artifacts of opengl lab in labs addons have also been removed. If it still
> shows opengl labs, remove the whole labs addon and install again.
> On Mar 22, 2015 1:28 AM, "Raul Miller" <[email protected]> wrote:
>
>> I now realize you were speaking of api/gles
>>
>> I had been playing with webgl and was wondering what you needed to change.
>>
>> I've a fair bit of studying ahead of me.
>>
>> Thanks,
>>
>> --
>> Raul
>>
>>
>> On Sat, Mar 21, 2015 at 1:10 PM, bill lam <[email protected]> wrote:
>> > I updated opengl addon to opengl 4.5 and opengles 3.1.
>> > All 6 shaders should now be supported.  Interestingly
>> > opengles 3 supports compute shader but not tessellation
>> > or geometry.
>> >
>> > Untested because my of hardware limitation.
>> >
>> > Пт, 20 мар 2015, jprogramming написал(а):
>> >> An overview of opengl versions as I understand them:
>> >>
>> >> gl ES 3.0 gl4.3 is a pretty safe target.  flagship level 2013 android
>> devices supported and android 4.3.  Any current 4.4 $100 tablet would
>> likely support.  Older desktops/laptops.
>> >>
>> >> gl ES 3.1 gl 4.5 is the version that adds compute shaders officially,
>> though it was actually added in gl 4.3.  Nvidia has gl 4.5 drivers, ATI/AMD
>> is unclear, though some 7000 series cards (APUs are 7000 series) support
>> the 4.3 extention.  Android 5.0 and a higher end graphics chip (though low
>> end intel atoms work, though those devices don't have 5.0 yet) is needed.
>> Last year's high end, and current midrange android 5.0 mobile devices
>> should support it (when they get 5.0 apk).
>> >>
>> >>
>> >> ----- Original Message -----
>> >> From: Raul Miller <[email protected]>
>> >> To: Programming forum <[email protected]>
>> >> Cc:
>> >> Sent: Friday, March 20, 2015 9:28 AM
>> >> Subject: Re: [Jprogramming] Labs was Re: Plotting a 3D Ellipse
>> >>
>> >> Commonly used? That will depend on context.
>> >>
>> >> Compute Shaders could be useful for someone attempting to implement J
>> >> primitives (perhaps with reduced functionality or constrained domain
>> >> but increased performance) within OpenGL.
>> >>
>> >> Tessellation Control  (roughly equivalent to a scan on an array of up
>> >> to 120 vertices) and Tesselation Evaluation (roughly equivalent to
>> >> whatever on the result of the TC shader) shaders let you present
>> >> imagery which does not precisely fit the "polygonal" model of the
>> >> opengl data structures. (Smooth surfaces and hair-like structures are
>> >> two examples.)
>> >>
>> >> How much work is it to add support for a shader type?
>> >>
>> >> ...
>> >>
>> >> As for the incompatibility issues - that's going to take some work. We
>> >> will have to iterate on the effort here, with some things failing for
>> >> some people until we polish things up.
>> >>
>> >> Anyways, all of this will take some time. But I think it will be fun.
>> >> Or maybe useful.
>> >>
>> >> Thanks,
>> >>
>> >> --
>> >> Raul
>> >>
>> >> On Fri, Mar 20, 2015 at 2:06 AM, bill lam <[email protected]> wrote:
>> >> > Current opengl addon only supports vertex, fragment and geometry
>> shaders,
>> >> > please let us know what other shaders are commonly used and should be
>> >> > included.
>> >> >
>> >> > Also note that different versions of GLSL are incompatible. Your lab
>> may
>> >> > need to detect and run different versions depending on the target
>> computer.
>> >> > On Mar 20, 2015 1:23 PM, "Raul Miller" <[email protected]> wrote:
>> >> >
>> >> >> It looks like the J6 documentation on lab file format:
>> >> >> http://www.jsoftware.com/docs/help602/user/labs.htm has also been
>> >> >> dropped from J803
>> >> >>
>> >> >> So, ok, I at least have a starting point. I imagine I'll trip a few
>> >> >> more times when testing out whatever parts of opengl2/webgl J
>> >> >> implementations currently support. I'll check back in here after I
>> >> >> have (a) made some progress, and (b) feel like I need some more
>> >> >> orientation.
>> >> >>
>> >> >> Thanks,
>> >> >>
>> >> >> --
>> >> >> Raul
>> >> >>
>> >> >> On Fri, Mar 20, 2015 at 12:12 AM, robert therriault
>> >> >> <[email protected]> wrote:
>> >> >> > Raul,
>> >> >> >
>> >> >> > Labs can be created just using a text editor, but if you really
>> want to
>> >> >> use Author, I have created labs in 602 with Author and just moved
>> the lab
>> >> >> file created over to the lab folder in j802.
>> >> >> >
>> >> >> > Cheers, bob
>> >> >> >
>> >> >> > On Mar 19, 2015, at 9:09 PM, Brian Schott <[email protected]>
>> >> >> wrote:
>> >> >> >
>> >> >> >> It looks like the Author system has been omitted in j8 because of
>> the
>> >> >> >> following statement.
>> >> >> >>
>> >> >> >> ── (9 of 9) Lab Author ──────────────────────────────────────
>> >> >> >> The Lab Author system available from menu Studio|Author...
>> >> >> >> allows you to build or edit labs.
>> >> >> >>
>> >> >> >> To experiment, select Studio|Author... and open up the lab
>> >> >> >> system/author.ijt.
>> >> >> >> )
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >> --
>> >> >> >> (B=)
>> >> >> >>
>> ----------------------------------------------------------------------
>> >> >> >> 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
>> >> > ----------------------------------------------------------------------
>> >> > 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
>> >
>> > --
>> > regards,
>> > ====================================================
>> > GPG key 1024D/4434BAB3 2008-08-24
>> > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
>> > gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3
>> > ----------------------------------------------------------------------
>> > 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
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to