gdkgl-win32
- From: "Marc Flerackers" <mflerackers androme be>
- To: <gtk-devel-list redhat com>
- Subject: gdkgl-win32
- Date: Fri, 21 Apr 2000 18:11:59 +0200
I've rewritten gdkgl for win32 and added the features which where in the X11
version but missing from gdkgl-win32.
More specifically I added synchronization, bitmap fonts and offscreen pixmap
rendering.
I also added a gdk_gl_wait_gl (); call to the gdkfont example (right after
the gl drawing code). This makes sure all characters are drawn in win32.
All the other examples are working, except for simple, which prints
VENDOR: (null)
VERSION: (null)
EXTENSIONS: (null)
This is because in windows you have to have an opengl context initialized
before calling glGetString (); which is used in gdk_gl_get_info ();
A solution is placing the gdk_gl_get_info (); after the
gtk_widget_show(GTK_WIDGET(window)); call.
If you do this it prints
VENDOR: Microsoft Corporation
VERSION: 1.1.0
EXTENSIONS: GL_WIN_swap_hint GL_EXT_bgra GL_EXT_paletted_texture
(I only have a lousy software driver on my portable)
I hope someone with access can put this in cvs ^_^.
--
Marc Flerackers (mflerackers@androme.be)
Software Engineer
ANDROME NV
WetenschapsPark 4
B-3590 Diepenbeek - Belgium
Phone:+32(0)11-301330 Fax:+32(0)11-301331
BEGIN:VCARD
VERSION:2.1
N:Flerackers;Marc
FN:Marc Flerackers
ORG:ANDROME NV;Graphics and Animation
TITLE:Software Developer
TEL;WORK;VOICE:+32 (11) 301330
TEL;WORK;FAX:+32 (11) 301331
ADR;WORK:;;Wetenschapspark 4;Diepenbeek;;3590;Belgium
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Wetenschapspark 4=0D=0ADiepenbeek 3590=0D=0ABelgium
URL:
URL:http://www.androme.be
ROLE:Software Developer
EMAIL;PREF;INTERNET:mflerackers@androme.be
REV:20000330T100848Z
END:VCARD
gdkgl-win32.c
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]