Re: Windows GTK+ 2.24.10: Cairo contexts not rendering to surface

2017-02-02 Thread Jeffrey Sheen
This behaviour is a result of an incompatibility between the Direct3D 9 API (DirectX SDK March 2009) and Cairo Graphics API (1.10.2). The following mailing list thread from 2006-10-16 details how creating a Direct3D 9 device alters the FPU to single-precision mode, and that this version of the

Re: Windows GTK+ 2.24.10: Cairo contexts not rendering to surface

2017-02-01 Thread Jeffrey Sheen
N.B. I have removed the original Stack Overflow question, and created a new question with this new information: http://stackoverflow.com/questions/41986105/idirect3d9createdevice-prevents-gtk-2-cairo-rendering On 1 February 2017 at 17:10, Jeffrey Sheen < jeffrey.shee...@alumni.imperial.ac.uk>

Re: Windows GTK+ 2.24.10: Cairo contexts not rendering to surface

2017-02-01 Thread Jeffrey Sheen
After trying different VS 2015 Solution configurations (and abundant breakpointing), I have established that it is not the .EXE->.LIB->Cairo API call structure that is breaking Cairo surface rendering in my project. The black test square can be rendered before, but not directly after, this D3D9

Re: Windows GTK+ 2.24.10: Cairo contexts not rendering to surface

2017-01-27 Thread Jeffrey Sheen
Thanks for taking a look Eric. The status value after all of the Cairo API calls are all "no error has occurred", in both the EXE implementation and LIB implementation, so no information there. I noticed this output during the execution of the EXE: 'Loaded

Re: Windows GTK+ 2.24.10: Cairo contexts not rendering to surface

2017-01-26 Thread Eric Cashon via gtk-list
Hi Jeffrey, I am probably not much help here. Your code works on Ubuntu16.04 and GTK2.24.30. It does seem strange that there isn't an error popping up someplace. Have you tried getting the status of that function to see if it returns an error? cairo_status_t status;

Re: Windows GTK+ 2.24.10: Cairo contexts not rendering to surface

2017-01-26 Thread Jeffrey Sheen
; >> On 25 January 2017 at 03:49, <fanc...@yahoo.com.tw> wrote: >> >>> Hi Jeff, >>> >>> >>> >>> Don’t add anything to the additional dependencies for your static lib. >>> You only need them for your dll’s and exe’s. This should avoid the &g

Re: Windows GTK+ 2.24.10: Cairo contexts not rendering to surface

2017-01-26 Thread Jeffrey Sheen
need them for your dll’s and exe’s. This should avoid the >> warnings. >> >> >> >> Hope this helps. >> >> >> >> With blessings, and cheers! >> >> 從 Windows 10 手機傳送 >> >> >> >> *寄件者**: *Jeffrey Sheen <jeffrey.

Re: Windows GTK+ 2.24.10: Cairo contexts not rendering to surface

2017-01-25 Thread Jeffrey Sheen
dll’s and exe’s. This should avoid the > warnings. > > > > Hope this helps. > > > > With blessings, and cheers! > > 從 Windows 10 手機傳送 > > > > *寄件者**: *Jeffrey Sheen <jeffrey.shee...@alumni.imperial.ac.uk> > *傳送時間**: *2017年1月25日 01:43 > *收件者**: *gtk

RE: Windows GTK+ 2.24.10: Cairo contexts not rendering to surface

2017-01-24 Thread Fan, Chun-wei via gtk-list
: Windows GTK+ 2.24.10: Cairo contexts not rendering to surface Dear list, I have raised an issue on the Cairo mailing list, who have referred me here. Your advice would be greatly appreciated. I'm trying to incorporate Pango-Cairo rendering into a cross-platform project. Windows XP is a target

Re: Windows GTK+ 2.24.10: Cairo contexts not rendering to surface

2017-01-24 Thread Andrea Giammarchi
I gotta ask: are these kind of announcement part of an hidden side of the WebKit project? https://twitter.com/webkit/status/823967381026263040 I'm on ArchLinux and GNOME with Web browser based on WebKitGTK+, and I'm not sure why 4/5 of that stuff isn't even close to be available. Is WebKit

Windows GTK+ 2.24.10: Cairo contexts not rendering to surface

2017-01-24 Thread Jeffrey Sheen
Dear list, I have raised an issue on the Cairo mailing list, who have referred me here. Your advice would be greatly appreciated. I'm trying to incorporate Pango-Cairo rendering into a cross-platform project. Windows XP is a target platform for the project, so I am building against the GTK+