Displaying 7 results from an estimated 7 matches for "window_id".
2006 Jun 30
6
using rjs
Hi
I am relatively new to ruby on rails. I want to use this javascript
bundle:
http://prototype-window.xilinus.com/index.html
How would I call those functions in an rjs file?
example:
win = new Window(''window_id'', {title: "Sample", top:100, left:350})
win.getContent().innerHTML = "<h1>Hello world !!</h1>";
win.setDestroyOnClose();
win.showCenter();
Thanks
--
Posted via http://www.ruby-forum.com/.
2017 Feb 08
2
OpenGL context switching with Noveau
...duces
bitmaps at 25 fps rate. I am dumping the bitmaps to openGL using pixel
buffer objects (PBOs) and textures.
Each time when uploading a PBO and later on, when showing the texture,
each (multi)process needs to change to its own context by performing the
GLX call
glXMakeCurrent(display_id, window_id, context_id)
So there is quite a bit of context switching going on..! If there are
30 windows, that's > 750 context switches per second. I am able to pull
this off with intel and ati graphics cards, but not with any nvidia card
(tried a few of them), neither with the proprietary driver...
2008 Oct 31
0
Desktop-operations in Metacity and Compiz.
...opinions.
The tests area:
TEST1: Get number of desktops.
TEST2: Get desktop names.
TEST3: Get the current desktop number.
TEST4: Move to the last desktop, sleep(2) and come back.
TEST5: Get the desktop number for a spesific Window ID.
(Requires you to modify the code (in TEST5) and change the window_id= to
a correct value. Use xwininfo command to find out window-id for any
window you like), then recompile and run.
The test code (desk-test.c) is available from
http://www.futuredesktop.org/tmp/desk-test.c
Compile it:
gcc `pkg-config --cflags --libs gtk+-2.0` -lX11 -Wall desk-test.c -o
desk-test...
2006 Jun 12
6
Prototype Window Class v0.85
Hi
I just want to annouce a new release of my Prototype Window Class
with a new website with full documentation and new samples (I hope
it''s easier to understand now :)).
http://prototype-window.xilinus.com/
Thanks again to all of you guys for your help.
Seb
PS Dj T, have you finished your Rails plugin?
2017 Feb 08
1
OpenGL context switching with Noveau
...bitmaps to openGL using pixel buffer
>> objects (PBOs) and textures.
>>
>> Each time when uploading a PBO and later on, when showing the texture, each
>> (multi)process needs to change to its own context by performing the GLX call
>>
>> glXMakeCurrent(display_id, window_id, context_id)
>>
>> So there is quite a bit of context switching going on..! If there are 30
>> windows, that's > 750 context switches per second. I am able to pull this
>> off with intel and ati graphics cards, but not with any nvidia card (tried a
>> few of t...
2017 Feb 08
0
OpenGL context switching with Noveau
...rate. I am dumping the bitmaps to openGL using pixel buffer
> objects (PBOs) and textures.
>
> Each time when uploading a PBO and later on, when showing the texture, each
> (multi)process needs to change to its own context by performing the GLX call
>
> glXMakeCurrent(display_id, window_id, context_id)
>
> So there is quite a bit of context switching going on..! If there are 30
> windows, that's > 750 context switches per second. I am able to pull this
> off with intel and ati graphics cards, but not with any nvidia card (tried a
> few of them), neither with t...
2006 Jul 17
0
Is there an example of using "Prototype Window Class'' with rails?
I feel like a bit of an idiot asking this but does anyone have an
example of http://prototype-window.xilinus.com/index.html being used
in rails. Should I try and feed it through page.call using rjh.
Like this:
page.call (''win = new Window("window_id", {className: "mac_os_x",
title: "Sample", width:200, height:150});win.getContent().innerHTML =
"<h1>Hello world !!</h1>";win.setDestroyOnClose();win.showCenter();'')
I think I am missing something really obvious.