Re: [gtk-vnc-devel] pointer moves... I couldn't get the gdk ones to work...



On Wed, Apr 09, 2008 at 10:05:54AM -0700, Rob Stoddard wrote:
> Here I did a bit of work to get the pointer motion from the server 
> working on the Tight encoding.   Rather than warp the mouse pointer 
> around, since that would cause problems on computers showing more than 
> one VNC, I created a quad for the mouse pointer and I move that 
> around.   The bonus is that the mouse pointer now scales properly as well.
> 
> I couldn't get the GDK side of things to work;  I am not familiar with 
> the workings of GDK at all...   I often wonder why there's a GDK side of 
> this widget now that OpenGL is working well. 

OpenGL works well..... *if*... your X server has hardware accelerated 
supported for OpenGL. On my ATI card without hardware accel in the driver
the plain GTK backend is noticably more responsive. Also OpenGL does not
play nicely with compositing (ie Compiz) unless you're lucky enough to
have a driver supported redirected direct rendering (which is basically
only the Intel driver in F9). So we need GDK around for quite a while yet

Dan
-- 
|: Red Hat, Engineering, Boston   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]