Re: [Interest] Cross platform accelerated instructions framework

2015-05-14 Thread Allan Sandfeld Jensen
On Thursday 14 May 2015, Nuno Santos wrote: Hi, Sorry if the title is not the most appropriated. I’m developing an app that will be target for iOS/Android/x86/x86_64 Since this is CPU intensive application I think that I will reach a point were assembly and vector instructions will be

Re: [Interest] Cross platform accelerated instructions framework

2015-05-14 Thread Keith Gardner
On Thu, May 14, 2015 at 6:39 AM Nuno Santos nunosan...@imaginando.pt wrote: Hi, Sorry if the title is not the most appropriated. I’m developing an app that will be target for iOS/Android/x86/x86_64 Since this is CPU intensive application I think that I will reach a point were assembly and

Re: [Interest] Cross platform accelerated instructions framework

2015-05-14 Thread René J . V . Bertin
On Thursday May 14 2015 14:52:45 Allan Sandfeld Jensen wrote: Alternatively use vector intrinsics, but the generic intrinsics are not that powerful. To put that in perspective: there's a yuv4xx conversion routine I once used, I think it's from FFmpeg, which has a hand-optimised SSE2 version

Re: [Interest] Dockwidgets as non-children

2015-05-14 Thread John Weeks
On 14 May 2015, at 8:43 am, Scott Aron Bloom sc...@towel42.com wrote: I have a request from a customer, he loves our docked layout.. However, there are times when he wants to undock a window, and just make it a peer window. Ie, not a child that is always on top of the mainwindow. Is

Re: [Interest] QProcess performance issues

2015-05-14 Thread René J . V . Bertin
On Thursday May 14 2015 07:59:41 Thiago Macieira wrote: On Thursday 14 May 2015 13:21:59 René J.V. Bertin wrote: I never noticed particular performance issues with the input this code was used with (2-4Gb max). Asynchronous writing? If you mean buffered, through standard stdio routines,

Re: [Interest] Cross platform accelerated instructions framework

2015-05-14 Thread René J . V . Bertin
On Thursday May 14 2015 16:55:35 René J.V. Bertin wrote: Audio being in essence 1D data (time series) it should be relatively easy to deploy template libraries that provide array/vector types the use optimised SIMD instructions internally. With those you should be able to do better than with

Re: [Interest] QProcess performance issues

2015-05-14 Thread Thiago Macieira
On Thursday 14 May 2015 13:21:59 René J.V. Bertin wrote: FWIW, I did something similar a couple of years back. I didn't use Qt, but good old popen(). I did modify the Win32 version that (IIRC) ships/ped with MSVC (I used the Express version) so that it didn't open a console window and could be

Re: [Interest] Cross platform accelerated instructions framework

2015-05-14 Thread Thiago Macieira
On Thursday 14 May 2015 14:52:45 Allan Sandfeld Jensen wrote: Alternatively use vector intrinsics, but the generic intrinsics are not that powerful. To write in a way that the compiler can auto-vectorize, write the CPU intensive work in simple inner loops without function calls (or only

[Interest] Dockwidgets as non-children

2015-05-14 Thread Scott Aron Bloom
I have a request from a customer, he loves our docked layout.. However, there are times when he wants to undock a window, and just make it a peer window. Ie, not a child that is always on top of the mainwindow. Is there any way to do this directly in Qt? Scott

Re: [Interest] Cross platform accelerated instructions framework

2015-05-14 Thread Nuno Santos
Thanks for all the insights so far. I confess i’m a newbie regarding performance optimisation. I’m writing a synthesiser. It’s computing audio on a real time basis and it’s already getting heavy for 8 voices of polyphony. It’s making an iPad 2 work on the limit which is not good, specially

Re: [Interest] QProcess performance issues

2015-05-14 Thread Thiago Macieira
On Thursday 14 May 2015 19:24:13 René J.V. Bertin wrote: On Thursday May 14 2015 07:59:41 Thiago Macieira wrote: On Thursday 14 May 2015 13:21:59 René J.V. Bertin wrote: I never noticed particular performance issues with the input this code was used with (2-4Gb max). Asynchronous

[Interest] Transparent QML Menu

2015-05-14 Thread Thomas Sevaldrud
Hi, I just wondered if it is possible to make a transparent Menu in QML? I have set up the background element in the MenuStyle as a semi-transparent rectangle, but it appears to be a white rectangle behind it that shows through. Thanks, Thomas. ___

[Interest] Qt 5.4.x Android and IOS screen orientation lock in code

2015-05-14 Thread mark diener
Hello: I was scanning the docs and stack exchange and everywhere and could not find an example of how to lock a screen to Portrait ONLY in Qt Code. I tried to lock my Galaxy S2 smartphone to portrait only by issuing: QScreen* gs = QGuiApplication::primaryScreen() ;

[Interest] iOS Objective-C callback block example connecting back to iOS Qt app?

2015-05-14 Thread Edward Sutton
Can anyone share an example on how to implement the asynchronous return of a result from an Objective-C callback block to Qt? For example, see the “successBlock:” below which gets called back asynchronously. self.PDFCreator = [NDHTMLtoPDF createPDFWithHTML:(NSString*)html

Re: [Interest] QProcess performance issues

2015-05-14 Thread René J . V . Bertin
On Thursday May 14 2015 13:38:12 Thiago Macieira wrote: No, I don't. I mean non-blocking writing. Well, non-blocking writing usually means that there's a buffer somewhere that allows the write call to return before everything is written to the destination media :) Anyway, I can't remember,

Re: [Interest] Qt 5.4.x Android and IOS screen orientation lock in code

2015-05-14 Thread Hamish Moffatt
On 15/05/15 08:59, mark diener wrote: Now, what will NOT work is setting values and Manifest.xml or Info.plist to universally prevent orientation changes on all IOS/ANDROID devices. I am only looking to lock to portrait on specific types of devices, not all IOS/ANDROID devices. No idea

Re: [Interest] Qt 5.4.x Android and IOS screen orientation lock in code

2015-05-14 Thread mark diener
Hamish: Why not IOS? I would say that if there is someone with a QT based SDK method already to go, I would prefer to do that. I reported my experiences with the 5.4.1 SDK as it stands right now, which means I do not know how to lock the screen to Portrait unless I venture onward to native

Re: [Interest] QProcess performance issues

2015-05-14 Thread René J . V . Bertin
On Wednesday May 13 2015 06:49:18 Thiago Macieira wrote: On Tuesday 12 May 2015 17:36:59 Matthew Woehlke wrote: After further testing, it seems that the problem is caused by writing to the process's stdin? Is there some issue with writing to a QProcess's input pipe on Windows? (We are

[Interest] Cross platform accelerated instructions framework

2015-05-14 Thread Nuno Santos
Hi, Sorry if the title is not the most appropriated. I’m developing an app that will be target for iOS/Android/x86/x86_64 Since this is CPU intensive application I think that I will reach a point were assembly and vector instructions will be needed for maximum performance. Since ARM and x86

Re: [Interest] Cross-platform font normalization best practice

2015-05-14 Thread René J . V . Bertin
On Thursday May 14 2015 12:06:51 Hamish Moffatt wrote: Alternatively, if you just want one font throughout, or mostly throughout, you can set it as your default font with QApplication::setFont(), then don't specify the font names at all in your style sheets. This is what we're doing here,

Re: [Interest] QProcess performance issues

2015-05-14 Thread Thiago Macieira
On Thursday 14 May 2015 23:51:46 René J.V. Bertin wrote: On Thursday May 14 2015 13:38:12 Thiago Macieira wrote: No, I don't. I mean non-blocking writing. Well, non-blocking writing usually means that there's a buffer somewhere that allows the write call to return before everything is