[Lazarus] Get TOpenGLControl as Bitmap

2015-10-15 Thread Aradeonas
Hi, This question is probably for Mattias. Is there any way to get what I draw on TOpenGLControl as a bitmap result like an screenshot from this component? I want it to make a blur effected of it and then paint it again on the control so I get a blurred view of whatever is in control. Regards,

Re: [Lazarus] Get TOpenGLControl as Bitmap

2015-10-15 Thread Reimar Grabowski
On Thu, 15 Oct 2015 03:39:10 -0700 Aradeonas wrote: > Im using BGRABitmap and it work great with OpenGL but I needed to get > the bitmap, do the blur and made texture and again paint it with OpenGL. > Is there any better other way? Yes. Render your scene to a texture.

Re: [Lazarus] EditorToolBarOptions nodes demaged

2015-10-15 Thread FreeMan
I upgrade to r50070 then remove damaged lines, and readd old style values in environmentoptions.xml but same result. some buttons deleted, added some sperate lines -) I removed all defined "desktop"s from menu, then from "editor toolbar settings" --> "restore default" reset IDE result is, After

Re: [Lazarus] EditorToolBarOptions nodes demaged

2015-10-15 Thread Juha Manninen
On Thu, Oct 15, 2015 at 3:30 PM, FreeMan wrote: > I upgrade to r50070 then remove damaged lines, and readd old style values in > environmentoptions.xml but same result... You still have not explained what was the original problem you encountered. Did some of your

Re: [Lazarus] Get TOpenGLControl as Bitmap

2015-10-15 Thread Andrea Mauri
See subject "copy from Topenglcontext" in lazarus mailing list (http://lists.lazarus.freepascal.org/pipermail/lazarus/2014-June/087414.html). I got the proper answer from corps...@web.de Actually I use the following code, it works: Var dim: Array[0..3] Of Integer; c: Array Of Array[0..3]

Re: [Lazarus] EditorToolBarOptions nodes demaged

2015-10-15 Thread Ondrej Pokorny
On 15.10.2015 14:30, FreeMan wrote: I upgrade to r50070 then remove damaged lines, and readd old style values in environmentoptions.xml but same result. some buttons deleted, added some sperate lines -) I removed all defined "desktop"s from menu, then from "editor toolbar settings" -->

Re: [Lazarus] Get TOpenGLControl as Bitmap

2015-10-15 Thread Reimar Grabowski
On Thu, 15 Oct 2015 04:56:02 -0700 Aradeonas wrote: > It looks good. Is there any implementation of it in Delphi or > FreePascal? I don't know. Ask google or follow one of the C tutorials. R. -- ___ Lazarus mailing list

[Lazarus] EditorToolBarOptions nodes demaged

2015-10-15 Thread FreeMan
r50058-50059 change "EditorToolBarOptions" node's values in environmentoptions.xml after: before:

Re: [Lazarus] Get TOpenGLControl as Bitmap

2015-10-15 Thread Mattias Gaertner
On Thu, 15 Oct 2015 02:59:10 -0700 Aradeonas wrote: >[...] > This question is probably for Mattias. Is there any way to get what I > draw on TOpenGLControl as a bitmap result like an screenshot from this > component? I want it to make a blur effected of it and then paint

Re: [Lazarus] Get TOpenGLControl as Bitmap

2015-10-15 Thread Aradeonas
Im using BGRABitmap and it work great with OpenGL but I needed to get the bitmap, do the blur and made texture and again paint it with OpenGL. Is there any better other way? Regards, Ara -- http://www.fastmail.com - IMAP accessible web-mail -- ___

Re: [Lazarus] Get TOpenGLControl as Bitmap

2015-10-15 Thread Aradeonas
@AndreaMauri what unit it needs to run? For example what unit it needs for glGetIntegerv? Regards, Ara -- http://www.fastmail.com - Same, same, but different... -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] WinCE call for testers

2015-10-15 Thread JB
I use massively WinCE devices, with Barcodes and RFID readers. I have Lazarus/FPC applications running on many devices. José Benedito Consulting Systems Development c ont...@jbsolucoes.net www.jbsolucoes.net skype: s...@jbsolucoes.net hangouts: josebened...@gmail.com

Re: [Lazarus] Get TOpenGLControl as Bitmap

2015-10-15 Thread Andrea Mauri
glGetIntegerv uses GL unit Il 15/10/2015 13:49, Aradeonas ha scritto: @AndreaMauri what unit it needs to run? For example what unit it needs for glGetIntegerv? Regards, Ara -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Get TOpenGLControl as Bitmap

2015-10-15 Thread Aradeonas
> Yes. Render your scene to a texture. Render a full screen quad > textured with your scene texture using a blur shader (or two shaders > (a horizontal and a vertical one) as it's faster). For details google > "opengl gaussian blur" or "opengl post-processing". > > R. It looks good. Is there any

Re: [Lazarus] EditorToolBarOptions nodes demaged

2015-10-15 Thread Ondrej Pokorny
On 15.10.2015 12:05, FreeMan wrote: r50058-50059 change "EditorToolBarOptions" node's values in environmentoptions.xml after: before:

Re: [Lazarus] WinCE call for testers

2015-10-15 Thread Koenraad Lelong
Op 15-10-15 om 10:20 schreef patspiper: Hi, The bug reporting/testing/fixing cycle for WinCE has been severely impacted by the ever dwindling number of WinCE users. I therefore ask all interested users to identify themselves so that we are able to communicate more closely in order to test/apply

Re: [Lazarus] EditorToolBarOptions nodes demaged

2015-10-15 Thread Ondrej Pokorny
On 15.10.2015 12:31, FreeMan wrote: In r50059 toolbarconfig.pas procedure TIDEToolBarOptionsBase.SaveButtonNames(XMLConfig: TXMLConfig; SubPath: String); .. XMLConfig.SetDeleteValue(SubPath + 'Button' + IntToStr(I+1) + '/Name', ButtonNames[I], ''); has only this line, but loadbuttonnames

Re: [Lazarus] Get TOpenGLControl as Bitmap

2015-10-15 Thread Aradeonas
> glGetIntegerv uses GL unit Very tiny name! Thank you for your helps. Regards, Ara -- http://www.fastmail.com - Same, same, but different... -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Request for review patch #27921

2015-10-15 Thread patspiper
On 15/10/15 09:04, LacaK wrote: Dňa 14.10.2015 o 22:56 patspiper napísal(a): On 13/10/15 09:28, LacaK wrote: Hi, I am not sure if this is proper maillist to write this kind of request. Can please somebody review patch in bug report http://bugs.freepascal.org/view.php?id=27921 and if no

[Lazarus] WinCE call for testers

2015-10-15 Thread patspiper
Hi, The bug reporting/testing/fixing cycle for WinCE has been severely impacted by the ever dwindling number of WinCE users. I therefore ask all interested users to identify themselves so that we are able to communicate more closely in order to test/apply provided patches, especially that

Re: [Lazarus] WinCE call for testers

2015-10-15 Thread Sven Barth
Am 15.10.2015 10:20 schrieb "patspiper" : > > Hi, > > The bug reporting/testing/fixing cycle for WinCE has been severely impacted by the ever dwindling number of WinCE users. I therefore ask all interested users to identify themselves so that we are able to communicate more

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-15 Thread Mark Morgan Lloyd
Bo Berglund wrote: On Wed, 14 Oct 2015 19:48:14 -0300, Flávio Etrusco wrote: On Wed, Oct 14, 2015 at 5:58 PM, Bo Berglund wrote: On Mon, 12 Oct 2015 23:13:53 +0300, Juha Manninen wrote: $ time make clean bigide

Re: [Lazarus] WinCE call for testers

2015-10-15 Thread Frederic Da Vitoria
2015-10-15 11:15 GMT+02:00 Sven Barth : > Am 15.10.2015 10:20 schrieb "patspiper" : > > > > Hi, > > > > The bug reporting/testing/fixing cycle for WinCE has been severely > impacted by the ever dwindling number of WinCE users. I therefore ask all

[Lazarus] Fwd: Re: EditorToolBarOptions nodes demaged

2015-10-15 Thread FreeMan
On 15.10.2015 16:03, Ondrej Pokorny wrote: Tell us namely what buttons disappeared. Maybe it was on purpose. I removed some buttons. Now only commands from MainIDE and SourceEditor are available as buttons - but all of them should be. So tell us what you miss. Ondrej -) Click to

Re: [Lazarus] Building and starting Lazarus on Raspberry Pi2 with Raspbian Jessie

2015-10-15 Thread Mark Morgan Lloyd
Bo Berglund wrote: Error in EditorMacroScript The package EditorMacroScript (pascalscript macros) has detected a problem and was deactivated. The package failed its selftest with the message: "Failed getstr2 [Ext p: "456" / Got: "abc"]" If you're compiling trunk and get something like this,

[Lazarus] Type helper now work with CodeTools?

2015-10-15 Thread Anthony Walter
I just noticed this improvement. Lazarus now correctly provides code insight on type helpers. See image: http://cache.getlazarus.org/images/lazarus-type-helper-insight.png When did this get added? Many thanks for implementing this feature! -- ___

Re: [Lazarus] Type helper now work with CodeTools?

2015-10-15 Thread Anthony Walter
Well I found bugs with it which cause CodeTools will throw an access violations in the IDE. bug 28860 if a type helper in another unit has a property, the second attempt to use code insight throws an access violation Screenshot:

[Lazarus] Building and starting Lazarus on Raspberry Pi2 with Raspbian Jessie

2015-10-15 Thread Bo Berglund
I am creating this thread to move away my Lazarus build questions from the thread I was in recently, where it is really OT. I was able to build both FPC (3.1.1 trunk from svn) and Lazarus (v 1.5 svn 50023 trunk from svn) using the writeup in this webpage:

Re: [Lazarus] Building and starting Lazarus on Raspberry Pi2 with Raspbian Jessie

2015-10-15 Thread Bo Berglund
On Thu, 15 Oct 2015 21:26:33 +, Mark Morgan Lloyd wrote: >If you're compiling trunk and get something like this, the first thing >to do is check whether somebody's just fixed it. It's very much a >"movable feast" and it's difficult to know at which point's

Re: [Lazarus] Fwd: Re: EditorToolBarOptions nodes demaged

2015-10-15 Thread Mattias Gaertner
On Thu, 15 Oct 2015 20:01:58 +0200 Ondrej Pokorny wrote: > On 15.10.2015 18:33, Ondrej Pokorny wrote: > > On 15.10.2015 16:31, FreeMan wrote: > >> Problem not just this damages. I can not add "Build ( Shift + F9)" in > >> toolbar still. I wrote this, in last my mail. > > > >

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-15 Thread Mark Morgan Lloyd
Bo Berglund wrote: On Thu, 15 Oct 2015 09:13:19 +, Mark Morgan Lloyd wrote: $ sudo mv old_directory_name new_directory_name I did: sudo mv /usr/local/share/lazarus /usr/local/share/lazarus_old $ sudo rm -r directory_name or even $ sudo rm -rf

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-15 Thread Mattias Gaertner
On Thu, 15 Oct 2015 20:46:23 +0200 Marco van de Voort wrote: > On Tue, Oct 13, 2015 at 10:39:11AM +0200, Mattias Gaertner wrote: > > > I wrote about it in forum (thread "dead computer") and hoped somebody > > > would > > > measure the time in a really fast machine. How fast are

Re: [Lazarus] WinCE call for testers

2015-10-15 Thread LacaK
Same in our company. We use Motorola mobile computers with WinCE 5 and WinCE6 and we compile native applications for them. (So WinCE support is for us very important) -Laco. I use massively WinCE devices, with Barcodes and RFID readers. I have Lazarus/FPC applications running on many devices.

Re: [Lazarus] Fwd: Re: EditorToolBarOptions nodes demaged

2015-10-15 Thread Ondrej Pokorny
On 15.10.2015 16:31, FreeMan wrote: Problem not just this damages. I can not add "Build ( Shift + F9)" in toolbar still. I wrote this, in last my mail. Ok, I see that The "Build" button cannot be added. I can confirm the bug and will check why it happens. I am sorry but I won't study the

Re: [Lazarus] Fwd: Re: EditorToolBarOptions nodes demaged

2015-10-15 Thread Ondrej Pokorny
On 15.10.2015 18:51, FreeMan wrote: Thank you, next time just write problem or screenshot I don't care what but it has to be simply understandable. E.g. in the last email you wrote down the old list and the new list. Instead you should have checked what buttons are missing in the new list

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-15 Thread Bo Berglund
On Thu, 15 Oct 2015 09:13:19 +, Mark Morgan Lloyd wrote: >$ sudo mv old_directory_name new_directory_name I did: sudo mv /usr/local/share/lazarus /usr/local/share/lazarus_old >$ sudo rm -r directory_name > >or even > >$ sudo rm -rf directory_name What is

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-15 Thread Bo Berglund
On Wed, 14 Oct 2015 19:48:14 -0300, Flávio Etrusco wrote: >On Wed, Oct 14, 2015 at 5:58 PM, Bo Berglund wrote: >> On Mon, 12 Oct 2015 23:13:53 +0300, Juha Manninen >> wrote: >> >> $ time make clean bigide >> >> I have

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-15 Thread Marco van de Voort
On Tue, Oct 13, 2015 at 10:39:11AM +0200, Mattias Gaertner wrote: > > I wrote about it in forum (thread "dead computer") and hoped somebody would > > measure the time in a really fast machine. How fast are they nowadays? > > For example i7-3770 CPU @ 3.40GHz on Linux/Ubuntu 64bit: > > fpc 2.6.4:

Re: [Lazarus] Request for review patch #27921

2015-10-15 Thread Bart
On 10/14/15, patspiper wrote: >> Can please somebody review patch in bug report >> http://bugs.freepascal.org/view.php?id=27921 and if no objections >> commit them. > > The patch doesn't work on my WinCE device. I would like Bart to test > your patch as well to gather more

Re: [Lazarus] Fwd: Re: EditorToolBarOptions nodes demaged

2015-10-15 Thread Ondrej Pokorny
On 15.10.2015 18:33, Ondrej Pokorny wrote: On 15.10.2015 16:31, FreeMan wrote: Problem not just this damages. I can not add "Build ( Shift + F9)" in toolbar still. I wrote this, in last my mail. Ok, I see that The "Build" button cannot be added. I can confirm the bug and will check why it