how to get surface screen-shot in spice-server

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

 



Hi, spice gurus:
   I am a spice developer in my company which devle with desktop cloud computing.
   In spice-0.12.4 we can get surface screen-shot in red_worker.c by adding this line in red_process_commands():
       surface_flush(worker, surface_id, &rect);
   Function surface_flush flush undraw image to surface, then we get the screen-shot by reading surface address.
  
   But in spice-0.14.3 we can not get proper screen-shot, by adding this line in red_process_display():
             display_channel_current_flush(worker->display_channel, surface_id);
   We get screen-shot that flicker with white bars, I do not know why.
  
   Much appreciation for any reply!

regards
Frank






Name Position
Organization:
Address:
Telephone:
Cellphone:
二维码

扫描该二维码,可以将电子名片迅速保存到手机 使用帮助



 

BEGIN:VCARD
VERSION:3.0
N:;Name;;;
FN:Name
TITLE:Position
ORG:Organization\:
ADR;TYPE=PREF:;Address\:;;;;;
TEL;TYPE=CELL,VOICE:Cellphone:
TEL;TYPE=VOICE:Telephone:
EMAIL;TYPE=PREF,INTERNET:franklee1973@xxxxxxx
END:VCARD
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]