1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-15 00:24:19 +00:00

linux window z-order fix; small change to make audio plugin host demo compile; fix for assembly language in graphics rendering on gcc.

This commit is contained in:
jules 2009-05-05 12:00:57 +00:00
parent 829f0c8dde
commit 7dd28c93e2
6 changed files with 22 additions and 6 deletions

View file

@ -1090,6 +1090,12 @@ public:
SubstructureRedirectMask | SubstructureNotifyMask,
&ev);
XWindowAttributes attr;
XGetWindowAttributes (display, windowH, &attr);
if (attr.override_redirect)
XRaiseWindow (display, windowH);
XSync (display, False);
handleBroughtToFront();

View file

@ -242,7 +242,7 @@
GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_OPTIMIZATION_LEVEL = 0;
PRODUCT_NAME = "Juce Plugin Host";
USER_HEADER_SEARCH_PATHS = "~/stuff/vstsdk2.4 $(inherited)";
USER_HEADER_SEARCH_PATHS = "~/SDKs/vstsdk2.4 $(inherited)";
ZERO_LINK = NO;
};
name = Debug;
@ -253,7 +253,7 @@
buildSettings = {
PRODUCT_NAME = "Juce Plugin Host";
SEPARATE_STRIP = YES;
USER_HEADER_SEARCH_PATHS = "~/stuff/vstsdk2.4 $(inherited)";
USER_HEADER_SEARCH_PATHS = "~/SDKs/vstsdk2.4 $(inherited)";
ZERO_LINK = NO;
};
name = Release;

View file

@ -78203,7 +78203,8 @@ static void blendRectRGB (uint8* pixels, const int w, int h, const int stride, c
__asm emms
#else
__asm__ __volatile__ (
"movq %[aaaa], %%mm1 \n"
"\tpush %%ebx \n"
"\tmovq %[aaaa], %%mm1 \n"
"\tmovq %[rgb0], %%mm2 \n"
"\tpxor %%mm7, %%mm7 \n"
".lineLoop2: \n"
@ -78231,6 +78232,7 @@ static void blendRectRGB (uint8* pixels, const int w, int h, const int stride, c
"\tadd %%edi, %%esi \n"
"\tdec %%ecx \n"
"\tjg .lineLoop2 \n"
"\tpop %%ebx \n"
"\temms \n"
: /* No output registers */
: [aaaa] "m" (aaaa), /* Input registers */
@ -262349,6 +262351,12 @@ public:
SubstructureRedirectMask | SubstructureNotifyMask,
&ev);
XWindowAttributes attr;
XGetWindowAttributes (display, windowH, &attr);
if (attr.override_redirect)
XRaiseWindow (display, windowH);
XSync (display, False);
handleBroughtToFront();

View file

@ -34273,7 +34273,7 @@ private:
device selection/sample-rate/latency controls.
To use an AudioDeviceManager, create one, and use initialise() to set it up. Then
call setAudioCallback() to register your audio callback with it, and use that to process
call addAudioCallback() to register your audio callback with it, and use that to process
your audio data.
The manager also acts as a handy hub for incoming midi messages, allowing a

View file

@ -62,7 +62,7 @@
device selection/sample-rate/latency controls.
To use an AudioDeviceManager, create one, and use initialise() to set it up. Then
call setAudioCallback() to register your audio callback with it, and use that to process
call addAudioCallback() to register your audio callback with it, and use that to process
your audio data.
The manager also acts as a handy hub for incoming midi messages, allowing a

View file

@ -225,7 +225,8 @@ static void blendRectRGB (uint8* pixels, const int w, int h, const int stride, c
__asm emms
#else
__asm__ __volatile__ (
"movq %[aaaa], %%mm1 \n"
"\tpush %%ebx \n"
"\tmovq %[aaaa], %%mm1 \n"
"\tmovq %[rgb0], %%mm2 \n"
"\tpxor %%mm7, %%mm7 \n"
".lineLoop2: \n"
@ -253,6 +254,7 @@ static void blendRectRGB (uint8* pixels, const int w, int h, const int stride, c
"\tadd %%edi, %%esi \n"
"\tdec %%ecx \n"
"\tjg .lineLoop2 \n"
"\tpop %%ebx \n"
"\temms \n"
: /* No output registers */
: [aaaa] "m" (aaaa), /* Input registers */