forked from tdz/gtkglext
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog.pre-1-0
1726 lines (1232 loc) · 58.8 KB
/
ChangeLog.pre-1-0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2003-05-14 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* ==== Released 1.0.0 ====
* configure.in: Version 1.0.0, Binary age 0, interface age 0.
* Makefile.am (EXTRA_DIST):
* ChangeLog.pre-1-0: pre-1.0 ChangeLog is renamed.
2003-05-13 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* gdk/x11/gdkglconfig-x11.c (gdk_gl_config_new_common):
* gdk/x11/gdkglquery-x11.c (_gdk_x11_gl_print_glx_info):
* gdk/x11/gdkglprivate-x11.h: Clean up debug routines.
2003-05-14 Alif Wahid <awah005@users.sourceforge.net>
* examples/viewlw.c: added a "key_press_event" handler for
allowing the user to zoom in/out using the +/- keys. Also now
need to drag down with the middle mouse-button for zooming
in and drag up for zooming out (previously this was the other
way around and that was counter-intuitive).
2003-05-13 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* gdk/win32/gdkglfont-win32.c
(gdk_gl_font_use_pango_font_for_display): Removed unnecessary
parameter check.
2003-05-14 Alif Wahid <awah005@users.sourceforge.net>
* examples/template.c: minor improvement of console printouts in
key_press_event, map_event and unmap_event signal handlers.
2003-05-13 Alif Wahid <awah005@users.sourceforge.net>
* examples/coolwave.c:
* examples/rotating-square.c:
* examples/template.c:
* examples/viewlw.c: Updated my e-mail address.
* examples/coolwave.c (button_press_event): Fixed a bug concerning
the improper functioning of zooming drag with the middle
mouse-button. The beginning x and y coordinates were not being set
properly, so each new zooming drag started from the previous drag
and as a result wasn't going anywhere.
2003-05-13 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* gdk/win32/gdkglfont-win32.c
(gdk_gl_font_use_pango_font_for_display):
Cleaned duplicated code.
* gdk/x11/gdkglfont-x11.c (gdk_gl_font_use_pango_font_common)
(gdk_gl_font_use_pango_font)
(gdk_gl_font_use_pango_font_for_display):
Cleaned duplicated code.
* gdk/gdkglprivate.h:
* gdk/gdkglquery.c (_gdk_gl_print_gl_info):
* gdk/x11/gdkglpixmap-x11.c
(gdk_gl_pixmap_impl_x11_make_context_current):
* gdk/x11/gdkglwindow-x11.c
(gdk_gl_window_impl_x11_make_context_current):
* gdk/win32/gdkglpixmap-win32.c
(gdk_gl_pixmap_impl_win32_make_context_current):
* gdk/win32/gdkglwindow-win32.c
(gdk_gl_window_impl_win32_make_context_current):
Print OpenGL info on debug.
* gdk/x11/gdkglconfig-x11.c (gdk_gl_config_new_common): Print
server GLX info on debug.
2003-05-12 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* gdk/gdkglconfig.c (gdk_gl_config_new_by_mode_common)
(gdk_gl_config_new_by_mode, gdk_gl_config_new_by_mode_for_screen):
Cleaned duplicated code.
2003-05-11 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* gtkglext.spec.in: Remove lib*.la.bak files.
Removed LDFLAGS setting.
* README:
* configure.in: Removed --disable-standard-rgb-cmap configure
option.
* gdk/x11/gdkglconfig-x11.c (gdk_gl_config_get_std_rgb_colormap):
If _gdk_gl_config_no_standard_colormap is TRUE, don't try to find
a standard RGB colormap.
* gdk/gdkglprivate.h:
* gdk/gdkglconfig.c: Added _gdk_gl_config_no_standard_colormap
global variable.
* gdk/gdkglinit.c (gdk_gl_parse_args): Added
GDK_GL_NO_STANDARD_COLORMAP environment variable and
--gdk-gl-no-standard-colormap option. These disable GdkGLExt
library to find a standard RGB colormap using
XmuLookupStandardColormap().
* gdk/x11/gdkglcontext-x11.c (_gdk_x11_gl_context_new):
If _gdk_gl_context_force_indirect flag is set TRUE, creates
indirect rendering context.
* gdk/gdkglprivate.h:
* gdk/gdkglcontext.c: Added _gdk_gl_context_force_indirect global
variable.
* gdk/gdkglinit.c (gdk_gl_parse_args): Added GDK_GL_FORCE_INDIRECT
environment variable and --gdk-gl-force-indirect option. These
enable application users to force GdkGLExt library to use indirect
rendering context.
2003-05-10 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* examples/Makefile.am:
* examples/Makefile.mingw:
* examples/Makefile.msc:
* examples/share-lists.c: Added new display list sharing example.
2003-05-09 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* gdk/Makefile.am:
* gtk/Makefile.am: Don't install g[dt]kglprivate.h.
* gtk/gtkglext.def: Removed gtk_gl_widget_install_toplevel_cmap.
* gtk/gtkglprivate.h:
* gtk/gtkglinit.c (gtk_gl_parse_args):
* gtk/gtkglwidget.c: Renamed gtk_gl_widget_install_toplevel_cmap
to _gtk_gl_widget_install_toplevel_cmap.
* docs/reference/gtkglext/running.sgml:
* gtk/gtkglinit.c (gtk_gl_parse_args): Changed
--install-gl-colormap option to --gtk-gl-install-colormap.
* gtk/gtkglwidget.c (gtk_gl_widget_parent_set): Don't try to set
toplevel window's colormap if it is already realized.
* gtk/gtkglwidget.c (gtk_widget_set_gl_capability): Use
g_signal_connect_after() to connect "style_set" signal handler.
* gdk/win32/gdkglquery-win32.c (gdk_gl_get_proc_address): Check
whether given proc_name has "glu" prefix.
2003-05-08 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* gdk/win32/gdkglwindow-win32.c (gdk_gl_window_new): Check whether
given window has its own private DC. If private DC is used,
GdkGLWindow continues using the HDC which is obtained first.
* gdk/win32/gdkglwindow-win32.h (struct _GdkGLWindowImplWin32):
Added need_release_dc flag. This flag is set FALSE if private DC
is used, TRUE otherwise.
(GDK_GL_WINDOW_IMPL_WIN32_HDC_RELEASE): Call ReleaseDC() and set
impl->hdc NULL only if need_release_dc is TRUE.
2003-05-08 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* README:
* configure.in: Added --disable-standard-rgb-cmap configure
option to avoid XmuLookupStandardColormap() bug on Solaris 2.4 and
2.5.
* gdk/x11/gdkglconfig-x11.c (gdk_gl_config_get_std_rgb_colormap):
Don't try to find a standard RGB colormap if_DISABLE_STANDARD_RGB_CMAP
is defined.
* configure.in: Added $(GDKGLEXT_WIN_EXTRA_DEFS) for
target-specific extra macro definitions.
* gdk/x11/Makefile.am (INCLUDES):
* gdk/win32/Makefile.am (INCLUDES): Added $(GDKGLEXT_WIN_EXTRA_DEFS).
2003-05-07 C.J. Collier <listmail@colliertech.org>
* gdk/gdkglwindow.c (gdk_window_unset_gl_capability)
(gdk_window_get_gl_window):
* gdk/gdkglpixmap.c (gdk_pixmap_unset_gl_capability)
(gdk_pixmap_get_gl_pixmap): Fixed typo in the documentation.
2003-05-07 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* configure.in: Suppress linker warnings on IRIX.
* gdk/x11/gdkgloverlay-x11.c: Don't use XSGIFastInternAtom() if
_DISABLE_SGI_FAST_ATOMS is defined.
* README:
* gdk/x11/Makefile.am:
* configure.in: Added --disable-sgi-fast-atoms configure option.
2003-05-05 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* Version 0.99.1
* configure.in: Bumped version.
2003-05-04 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* gdk/gdkgltypes.h:
* gdk/gdkglquery.h: GdkGLProc typedef is moved into gdkgltypes.h.
* gdk/x11/gdkglconfig-x11.c (gdk_gl_config_get_attrib): Clean up
the code. Fixed the document.
2003-05-03 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* gdk/win32/gdkglpixmap-win32.c
(gdk_gl_pixmap_impl_win32_make_context_current):
* gdk/win32/gdkglwindow-win32.c
(gdk_gl_window_impl_win32_make_context_current): Clean up and
simplify the code. Don't check the current rendering context, and
simply call wglMakeCurrent().
* gdk/win32/gdkglcontext-win32.c: Include gdkglconfig-win32.h.
* gdk/x11/gdkglpixmap-x11.c
(gdk_gl_pixmap_impl_x11_make_context_current)
(gdk_gl_pixmap_impl_x11_swap_buffers):
* gdk/x11/gdkglwindow-x11.c
(gdk_gl_window_impl_x11_make_context_current)
(gdk_gl_window_impl_x11_swap_buffers): Clean up and simplify the
code. Don't check the current rendering context, and simply call
glXMakeCurrent().
2003-05-02 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* gdk/gdkglinit.c (gdk_gl_parse_args): Supress "unused variable"
warning.
* gdk/win32/gdkglquery-win32.c:
* gdk/win32/gdkglconfig-win32.c:
* gdk/win32/gdkglcontext-win32.c:
* gdk/win32/gdkglpixmap-win32.c:
* gdk/win32/gdkglwindow-win32.c: Fixed type checks
* gdk/x11/gdkglquery-x11.c:
* gdk/x11/gdkglconfig-x11.c:
* gdk/x11/gdkglcontext-x11.c:
* gdk/x11/gdkglpixmap-x11.c:
* gdk/x11/gdkglwindow-x11.c: Fixed type checks
2003-05-02 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* gdk/win32/gdkglquery-win32.c (gdk_gl_get_proc_address): Returns
immediately if proc_address is found.
2003-05-01 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* gdk/x11/gdkglquery-x11.c (gdk_gl_get_proc_address): Rewritten.
* gdk/win32/gdkglwindow-win32.c (gdk_gl_window_impl_win32_make_context_current)
(gdk_gl_window_impl_win32_swap_buffers):
* gdk/x11/gdkglwindow-x11.c (gdk_gl_window_impl_x11_make_context_current)
(gdk_gl_window_impl_x11_swap_buffers): Do nothing if given
GdkGLWindow is already destroyed.
* gdk/win32/gdkglpixmap-win32.c (gdk_gl_pixmap_impl_win32_make_context_current)
(gdk_gl_pixmap_impl_win32_swap_buffers):
* gdk/x11/gdkglpixmap-x11.c (gdk_gl_pixmap_impl_x11_make_context_current)
(gdk_gl_pixmap_impl_x11_swap_buffers): Do nothing if given
GdkGLPixmap is already destroyed.
* gdk/win32/gdkglprivate-win32.h:
* gdk/x11/gdkglprivate-x11.h: Added IS_DESTROYED() macros.
2003-05-01 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* gdk/win32/gdkglcontext-win32.c (gdk_gl_context_copy):
* gdk/x11/gdkglcontext-x11.c (gdk_gl_context_copy): Check whether
given GdkGLContext has a valid GLXContext (or HGLRC).
* gtk/gtkglwidget.c (struct GLWidgetPrivate):
(gtk_widget_set_gl_capability): Added need_unrealize flag.
(gtk_gl_widget_realize, gtk_gl_widget_unrealize): Call
gdk_window_unset_gl_capability() if private->need_unrealize flag
is set.
2003-04-30 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* configure.in: Don't check gtk-doc version if --enable-gtk-doc
option is not specified. Removed unused HAVE_DOCBOOK and
HAVE_SGML2HTML conditionals.
* gtk/gtkglwidget.c (gtk_widget_set_gl_capability): Use
g_signal_connect_after() instead of g_signal_connect() to connect
"realize" signal handler.
* examples/low-level.c (main):
* examples/simple.c (main):
* examples/simple-mixed.c (main):
* examples/font.c (main):
* examples/shapes.c (main):
* examples/gears.c (main):
* examples/logo.c (main):
* examples/multiarb.c (main):
* examples/coolwave.c (create_window):
* examples/rotating-square.c (create_window):
* examples/template.c (create_window): Use g_signal_connect_after()
instead of g_signal_connect() to connect "realize" signal handler.
2003-04-29 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* gdk/x11/gdkglwindow-x11.c (_gdk_gl_window_destroy): Fixed Typo.
2003-04-28 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* Version 0.99.0
* configure.in: Bumped version.
* gtkglext.nsi.in: Changed default installation directory.
Fixed Uninstaller section. Output gtkglext-env.sh file.
Output gtkglext-env.bat batch file.
2003-04-26 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* examples/low-level.c (main):
* examples/simple.c (main):
* examples/simple-mixed.c (main):
* examples/color.c (main):
* examples/font.c (main):
* examples/gears.c (main):
* examples/multiarb.c (main):
* examples/viewlw.c (show_lwobject):
* examples/rotating-square.c (create_window):
* examples/coolwave.c (create_window):
* examples/template.c (create_window): Don't set resize_mode
GTK_RESIZE_IMMEDIATE on Win32.
* gdk/win32/gdkglconfig-win32.c (gdk_gl_config_setup_pfd):
Added. This function tries to construct PFD for both windows and
bitmaps.
(gdk_gl_config_new_common): Use gdk_gl_config_setup_pfd().
2003-04-25 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* gdk/win32/gdkglquery-win32.c (gdk_gl_get_proc_address): Use
Win32 API instead of GModule.
* gdk/x11/gdkglquery-x11.c (gdk_gl_get_proc_address): Modified to
open the GdkGLExt shared library file. Now it works well with
python binding.
* gtk/gtkglwidget.c (struct GLWidgetPrivate): Added glcontext
field, and quark_gl_context quark data is no longer used.
(gtk_widget_get_gl_context): Use private->glcontext.
(gtk_gl_widget_destroy, gtk_widget_set_gl_capability): Connect
"destroy" signal hander to destroy the GdkGLContext explicitly.
* gdk/gdkglcontext.[ch] (gdk_gl_context_destroy): Added.
* gdk/win32/gdkglcontext-win32.c (_gdk_gl_context_destroy): Added.
(gdk_gl_context_impl_win32_finalize): Use _gdk_gl_context_destroy()
to release WGL resources.
* gdk/x11/gdkglcontext-x11.c (_gdk_gl_context_destroy): Added.
(gdk_gl_context_impl_x11_finalize): Use _gdk_gl_context_destroy()
to release GLX resources.
* gdk/gdkglwindow.[ch] (gdk_gl_window_destroy): Added.
* gdk/gdkglwindow.c (gdk_window_unset_gl_capability): Destroy
OpenGL resources explicitly.
* gdk/win32/gdkglwindow-win32.c (_gdk_gl_window_destroy): Added.
(gdk_gl_window_impl_win32_finalize): Use _gdk_gl_window_destroy()
to release WGL resources.
* gdk/x11/gdkglwindow-x11.c (_gdk_gl_window_destroy): Added.
(gdk_gl_window_impl_x11_finalize): Use _gdk_gl_window_destroy() to
release GLX resources.
* gdk/gdkglpixmap.[ch] (gdk_gl_pixmap_destroy): Added.
* gdk/gdkglpixmap.c (gdk_pixmap_unset_gl_capability): Destroy
OpenGL resources explicitly.
* gdk/win32/gdkglpixmap-win32.c (_gdk_gl_pixmap_destroy): Added.
(gdk_gl_pixmap_impl_win32_finalize): Use _gdk_gl_pixmap_destroy()
to release WGL resources.
* gdk/x11/gdkglpixmap-x11.c (_gdk_gl_pixmap_destroy): Added.
(gdk_gl_pixmap_impl_x11_finalize): Use _gdk_gl_pixmap_destroy()
to release GLX resources.
2003-04-23 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* gdk/win32/gdkglcontext-win32.c (gdk_gl_context_new_common):
* gdk/x11/gdkglcontext-x11.c (gdk_gl_context_new_common): Don't
set impl->gldrawable on construction. It should be set if the
context is attached to a drawable.
* gdk/win32/gdkglcontext-win32.c (gdk_gl_context_impl_win32_finalize):
* gdk/x11/gdkglcontext-x11.c (gdk_gl_context_impl_x11_finalize):
Release the current context whether is_foreign is TRUE or not.
* gdk/win32/gdkglcontext-win32.c (gdk_gl_context_impl_win32_finalize):
* gdk/win32/gdkglwindow-win32.c (gdk_gl_window_impl_win32_finalize):
* gdk/win32/gdkglpixmap-win32.c (gdk_gl_pixmap_impl_win32_finalize):
Call glFinish() before destruction.
* gdk/x11/gdkglcontext-x11.c (gdk_gl_context_impl_x11_finalize):
* gdk/x11/gdkglwindow-x11.c (gdk_gl_window_impl_x11_finalize):
* gdk/x11/gdkglpixmap-x11.c (gdk_gl_pixmap_impl_x11_finalize):
Call glXWaitGL() before destruction.
2003-04-18 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* gdk/x11/gdkglpixmap-x11.c (gdk_gl_pixmap_impl_x11_finalize):
* gdk/x11/gdkglwindow-x11.c (gdk_gl_window_impl_x11_finalize):
* gdk/win32/gdkglpixmap-win32.c (gdk_gl_pixmap_impl_win32_finalize):
* gdk/win32/gdkglwindow-win32.c (gdk_gl_window_impl_win32_finalize):
Release the current context on destruction.
2003-04-17 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* Makefile.am:
* gdk/Makefile.am:
* gdk/GL/Makefile.am:
* gdk/x11/Makefile.am:
* gdk/win32/Makefile.am:
* gtk/Makefile.am:
* m4macros/Makefile.am:
* docs/Makefile.am:
* docs/reference/Makefile.am:
* docs/reference/gtkglext/Makefile.am:
* examples/Makefile.am: Removed 'files' target which is not used.
* Makefile.am ($(pkgconfig_DATA)):
* m4macros/Makefile.am ($(m4data_DATA)):
* gdk/Makefile.am (stamp-gdkglext-config-h): Changed to use
$(top_builddir)/config.status instead of ../config.status.
2003-04-16 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* examples/pixmap-mixed.c (configure_event):
* examples/pixmap.c (configure_event): Dan't call gtk_main_quit()
if gtk_main_level() == 0 when context instantiation fails.
2003-04-15 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* gtk/Makefile.am (install-libtool-import-lib)
(uninstall-libtool-import-lib):
* gdk/Makefile.am (install-libtool-import-lib)
(uninstall-libtool-import-lib): Removed. Now MinGW import
libraries are installed by libtool.
* Makefile.am: Removed AUTOMAKE_OPTIONS.
* gdk/Makefile.am: Use './config.status gdk/gdkglext-config.h' to
update gdkglext-config.h.
* configure.in: Modified to follow the latest autoconf's
configure.in style.
Now use new versions of GNU autotools.
- autoconf 2.54 or above
- automake 1.7 or above
- libtool 1.5 or above
* autogen.sh: Use libtool-1.5 and automake-1.7.
* configure.in: Use autoconf 2.54 or above.
* Makefile.am: Use automake-1.7.
2003-04-10 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* gdk/x11/gdkglcontext-x11.c (gdk_gl_context_impl_x11_finalize)
(gdk_gl_context_new_common, _gdk_gl_context_set_gl_drawable):
Weak ref impl->gldrawable.
* gdk/win32/gdkglcontext-win32.c (gdk_gl_context_impl_win32_finalize)
(gdk_gl_context_new_common, _gdk_gl_context_set_gl_drawable):
Weak ref impl->gldrawable.
* gtk/gtkglwidget.c (struct GLWidgetParam): Renamed to
GLWidgetPrivate.
(gtk_widget_set_gl_capability, gtk_gl_widget_realize)
(gtk_gl_widget_configure_event, gtk_gl_widget_unrealize):
Pass private data to the signal handlers, and don't use
g_object_get_qdata().
(struct GLWidgetPrivate): Added is_realized flag.
(gtk_gl_widget_realize, gtk_gl_widget_configure_event)
(gtk_gl_widget_unrealize): Use is_realized flag to reduce
unnecessary function call.
2003-04-10 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* gtk/gtkglwidget.c (gtk_gl_widget_configure_event): Don't
disconnect this "configure_event" handler to re-realize
OpenGL-capable DrawingArea.
2003-04-04 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* gdk/win32/gdkglpixmap-win32.c
(gdk_gl_pixmap_impl_win32_make_context_current): Removed
unnecessary sync_gdk() call.
2003-03-30 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* examples/*.c: Include windows.h on Win32 platform.
* gdk/gdkglglext.h:
* gdk/win32/gdkglwglext.h: Include windows.h on Win32 platform.
2003-03-19 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* configure.in:
* Makefile.am:
* gtkglext.nsi.in: Added NSIS script for Win32 binary installer.
2003-03-17 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* Version 0.7.1
2003-03-14 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* gdk/win32/gdkglprivate-win32.h (GDK_GL_PIXMAP_IMPL_WIN32_HDC_GET)
(GDK_GL_PIXMAP_IMPL_WIN32_HDC_RELEASE): Moved into gdkglpixmap-win32.h.
* gdk/win32/gdkglprivate-win32.h (GDK_GL_WINDOW_IMPL_WIN32_HDC_GET)
(GDK_GL_WINDOW_IMPL_WIN32_HDC_RELEASE): Moved into gdkglwindow-win32.h.
* gdk/win32/gdkglwindow-win32.c
(gdk_gl_window_impl_win32_make_context_current): Don't release DC.
With some graphics card, DC owned by rendering thread will be
needed. (reported by Bill Souliotis)
* gdk/win32/gdkgldrawable-win32.c (gdk_win32_gl_drawable_hdc_get)
(gdk_win32_gl_drawable_hdc_release): Use new HDC_GET() and
HDC_RELEASE() macros defined in gdkglprivate-win32.h.
* gdk/win32/gdkglpixmap-win32.c (_gdk_win32_gl_pixmap_hdc_get)
(_gdk_win32_gl_pixmap_hdc_release): Removed. Use new HDC_GET() and
HDC_RELEASE() macros defined in gdkglprivate-win32.h.
* gdk/win32/gdkglwindow-win32.c (_gdk_win32_gl_window_hdc_get)
(_gdk_win32_gl_window_hdc_release): Removed. Use new HDC_GET() and
HDC_RELEASE() macros defined in gdkglprivate-win32.h.
* gdk/win32/gdkglprivate-win32.h: Added new HDC_GET() and
HDC_RELEASE() macro.
2003-03-10 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* gtk/gtkglwidget.c (gtk_widget_set_gl_capability)
(gtk_gl_widget_style_set): If "style_set" signal is emitted, set a
background of "None" on window to avoid AIX X server crash.
2003-03-08 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* examples/*.c (toggle_animation): Call gtk_widget_queue_draw() if
animation is turned off.
* autogen.sh: Added libtoolize --force.
* examples/*.c: Set top-level window's resize_mode to
GTK_RESIZE_IMMEDIATE and reallocate_redraws to TRUE.
* examples/low-level.c (configure_event, expose_event): wait_gdk()
is unnecessary.
* gdk/win32/gdkglwindow-win32.c
(gdk_gl_window_impl_win32_gl_drawable_interface_init): Set
iface->gl_begin to gdk_gl_window_impl_win32_make_context_current.
* gdk/x11/gdkglwindow-x11.c
(gdk_gl_window_impl_x11_gl_drawable_interface_init): Set
iface->gl_begin to gdk_gl_window_impl_x11_make_context_current.
* gdk/x11/gdkglpixmap-x11.c
(gdk_gl_pixmap_impl_x11_gl_drawable_interface_init): Set
iface->gl_begin to gdk_gl_pixmap_impl_x11_make_context_current.
* gdk/x11/gdkglwindow-x11.c (gdk_gl_window_impl_x11_gl_begin):
_gdk_gl_drawable_impl_x11_wait_gdk() is unnecessary.
2003-03-08 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* gdk/gdkglwindow.c (gdk_window_set_gl_capability): Unset
window's background pixmap explicitly to avoid AIX X server crash.
(reported and solved by Bill Souliotis)
2003-03-04 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* gdk/x11/gdkglglxext.h: Added #ifndef directive to disable
GLX*SGIX typedef.
* gdk/gdkglconfig.c (gdk_gl_config_is_double_buffered): Returns
FALSE if as_single_mode is TRUE.
* gdk/gdkglinit.h:
* gdk/gdkglinit.c:
* gtk/gtkglinit.h:
* gtk/gtkglinit.c: Use int* and char*** for args.
* gdk/gdkglshapes.h:
* gdk/gdkglshapes.c: Don't use GLtypes in API.
2003-02-24 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* gdk/GL/Makefile.am: Fixed header installation problem.
* gtkglext.spec.in:
* configure.in: Re-enabled configure to build static libraries as
default.
2003-02-23 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* configure.in: Use AM_PATH_GLIB_2_0 and AM_PATH_GTK_2_0 macros
for testing GTK libraries.
* m4macros/gtkglext.m4: Added AC_GTKGLEXT_SUPPORTS_MULTIHEAD macro
for checking whether GtkGLExt supports multihead.
* configure.in:
* Makefile.am:
* m4macros/Makefile.am:
* m4macros/gtkglext.m4: Added AM_PATH_GTKGLEXT_1_0 macro for
checking GtkGLExt library.
2003-02-13 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* gdk/gdkgltokens.h (enum GdkGLBufferMask): Fixed comma at end of
enumerator list. (reported by Thomas Zimmermann)
2003-02-12 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* gdk/win32/gdkglconfig-win32.c (_gdk_win32_gl_print_pfd): Print
PFD_SWAP_LAYER_BUFFERS bit state.
* gdk/win32/gdkglwin32.h: Define PFD_SWAP_LAYER_BUFFERS (MinGW's
wingdi.h bug).
* examples/wglinfo.c:
* examples/Makefile.am:
* examples/Makefile.msc:
* examples/Makefile.mingw: Added wglinfo.c provided by OpenGL.org.
2003-01-30 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* Version 0.7.0
* gtk/gtkglwidget.c (gtk_widget_set_gl_capability)
(gl_param_destroy): Weak ref glparam->share_list.
2003-01-29 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* gdk/gdkglconfig.[ch] (gdk_gl_config_get_layer_plane): Added.
* gdk/gdkglconfig.[ch] (gdk_gl_config_get_n_sample_buffers):
Added.
* gdk/x11/gdkglconfig-x11.c (gdk_gl_config_init_attrib):
* gdk/win32/gdkglconfig-win32.c (gdk_gl_config_init_attrib):
* gdk/gdkglconfig.h (struct _GdkGLConfig): Removed is_multisample
flag and added n_sample_buffers member.
* gdk/gdkglconfig.[ch] (gdk_gl_config_get_n_aux_buffers): Added.
* gdk/x11/gdkglconfig-x11.c (gdk_gl_config_init_attrib):
* gdk/win32/gdkglconfig-win32.c (gdk_gl_config_init_attrib):
* gdk/gdkglconfig.h (struct _GdkGLConfig): Added n_aux_buffers
member.
* gdk/x11/gdkglconfig-x11.c (gdk_gl_config_init_attrib):
* gdk/win32/gdkglconfig-win32.c (gdk_gl_config_init_attrib):
* gdk/gdkglconfig.h (struct _GdkGLConfig): Removed is_luminance
flag.
* gtk/gtkglwidget.c (gtk_widget_set_gl_capability)
(gl_param_destroy): Added and unref glparam->glconfig.
* gtk/gtkglwidget.c (gtk_widget_set_gl_capability)
(gtk_widget_get_gl_config): Removed quark_gl_config and use
quark_gl_param qdata.
* gtk/Makefile.am (gtkglext_c_sources):
* gtk/gtkglwidgetparam.[ch]: Removed.
* gtk/gtkglwidget.c (gtk_widget_set_gl_capability): Don't use
GBoxed GLWidgetParam.
(param_destroy): Removed.
* gdk/x11/gdkglpixmap-x11.c (gdk_gl_pixmap_new):
* gdk/win32/gdkglpixmap-win32.c (gdk_gl_pixmap_new):
* gdk/gdkglpixmap.c (gdk_gl_pixmap_finalize): Weak ref
glpixmap->drawable.
* gdk/x11/gdkglwindow-x11.c (gdk_gl_window_new):
* gdk/win32/gdkglwindow-win32.c (gdk_gl_window_new):
* gdk/gdkglwindow.c (gdk_gl_window_finalize): Weak ref
glwindow->drawable.
* gdk/gdkglconfig.h (GdkGLConfigMode): Removed
GDK_GL_MODE_LUMINANCE bit mask (it will not be supported in
gtkglext-1.0).
* examples/coolwave.c (realize):
* gdk/gdkglglext.c:
* gdk/win32/gdkglwglext.c:
* gdk/x11/gdkglglxext.c:
* gdk/win32/gdkglquery-win32.c (gdk_gl_get_proc_address):
* gdk/x11/gdkglquery-x11.c (gdk_gl_get_proc_address):
* gdk/gdkglquery.h: Renamed gdk_gl_query_get_proc_address() to
gdk_gl_get_proc_address().
2003-01-28 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* gdk/x11/gdkglx.h:
* gdk/x11/gdkglconfig-x11.c (gdk_x11_gl_config_is_mesa_glx):
Added.
* gdk/win32/gdkglcontext-win32.c (gdk_gl_context_get_colormap):
* gdk/x11/gdkglcontext-x11.c (gdk_gl_context_get_colormap):
* gdk/gdkglcontext.h: Removed gdk_gl_context_get_colormap() function.
* gdk/win32/gdkglwindow-win32.c (gdk_win32_gl_window_make_context_current):
* gdk/x11/gdkglwindow-x11.c (gdk_x11_gl_window_make_context_current):
* gdk/win32/gdkglpixmap-win32.c (gdk_win32_gl_pixmap_make_context_current):
* gdk/x11/gdkglpixmap-x11.c (gdk_x11_gl_pixmap_make_context_current):
* gdk/win32/gdkglcontext-win32.c
(_gdk_gl_context_set_gl_drawable_read):
* gdk/x11/gdkglcontext-x11.c
(_gdk_gl_context_set_gl_drawable_read): Comment out. Currently unused.
* gdk/gdkgldrawable.c (gdk_gl_drawable_get_current): Use
gdk_gl_context_get_gl_drawable().
* gdk/x11/gdkglcontext-win32.c
* gdk/x11/gdkglcontext-x11.c
* gdk/gdkglcontext.c (gdk_gl_context_get_gl_drawable): Moved into
gdkglcontext-(x11|win32).c.
* gdk/x11/gdkglcontext-win32.c
* gdk/x11/gdkglcontext-x11.c
* gdk/gdkglcontext.c (gdk_gl_context_class_init): Removed
gldrawable* properties.
(gdk_gl_context_set_property, gdk_gl_context_get_property): Removed.
* gdk/x11/gdkglcontext-win32.h (struct _GdkGLContextImplWin32):
* gdk/x11/gdkglcontext-x11.h (struct _GdkGLContextImplX11):
* gdk/gdkglcontext.h (struct _GdkGLContext): Moved gldrawable*
members into struct _GdkGLContextImpl(X11|Win32).
* gdk/win32/gdkglwindow-win32.c (gdk_gl_window_impl_win32_constructor)
(gdk_gl_window_impl_win32_init): Removed.
(gdk_gl_window_new): Rewritten.
* gdk/win32/gdkglpixmap-win32.c (gdk_gl_pixmap_impl_win32_constructor)
(gdk_gl_pixmap_impl_win32_init): Removed.
(gdk_gl_pixmap_new): Rewritten.
* gdk/x11/gdkglwindow-x11.c (gdk_gl_window_impl_x11_set_property)
(gdk_gl_window_impl_x11_get_property): Removed.
(gdk_gl_window_new): Rewritten.
* gdk/gdkglwindow.c (gdk_gl_window_set_property)
(gdk_gl_window_get_property): Removed.
(_gdk_gl_window_is_double_buffered, _gdk_gl_window_get_gl_config):
Moved into gdkglwindow-x11.c.
* gdk/gdkglwindow.h (struct _GdkGLWindow):
* gdk/x11/gdkglpixmap-x11.c (gdk_gl_pixmap_new): Rewritten.
* gdk/gdkglpixmap.c (gdk_gl_pixmap_set_property)
(gdk_gl_pixmap_get_property): Removed.
* gdk/x11/gdkglpixmap-x11.c (gdk_gl_pixmap_impl_x11_set_property)
(gdk_gl_pixmap_impl_x11_get_property): Removed.
* gdk/gdkglpixmap.c (_gdk_gl_pixmap_is_double_buffered)
(_gdk_gl_pixmap_get_gl_config): Moved into gdkglpixmap-x11.c.
* gdk/gdkglpixmap.h (struct _GdkGLPixmap): Removed glconfig member.
* gdk/win32/gdkglcontext-win32.c (gdk_gl_context_impl_win32_set_property)
(gdk_gl_context_impl_win32_get_property): Removed.
(gdk_gl_context_new_common): Rewritten.
* gdk/x11/gdkglcontext-x11.c (gdk_gl_context_new_common):
Rewritten.
* gdk/x11/gdkglcontext-x11.c (gdk_gl_context_impl_x11_constructor)
(gdk_gl_context_impl_x11_set_property)
(gdk_gl_context_impl_x11_get_property): Removed.
* gdk/gdkglcontext.c (gdk_gl_context_get_gl_config)
(gdk_gl_context_get_share_list, gdk_gl_context_is_direct)
(gdk_gl_context_get_render_type, gdk_gl_context_get_colormap):
Moved into gdkglcontext-x11.c
* gdk/gdkglcontext.c (gdk_gl_context_class_init)
(gdk_gl_context_set_property, gdk_gl_context_finalize):
* gdk/gdkglcontext.h (struct _GdkGLContext): Removed private
members (glconfig, share_list, is_direct, and render_type).
* gdk/win32/gdkglconfig-win32.c (gdk_gl_config_impl_win32_constructor)
(gdk_gl_config_impl_win32_set_property)
(gdk_gl_config_impl_win32_get_property): Removed.
(gdk_gl_config_new_common)
(gdk_win32_gl_config_new_from_pixel_format): Rewritten.
* gdk/x11/gdkglconfig-x11.c (gdk_gl_config_new_common)
(gdk_x11_gl_config_new_from_visualid_common): Rewritten.
* gdk/gdkglconfig.h (struct _GdkGLConfigClass): Removed get_attrib
member.
(struct _GdkGLConfig): Removed private members (screen, colormap,
depth).
* gdk/gdkglconfig.c (gdk_gl_config_get_screen)
(gdk_gl_config_get_attrib, gdk_gl_config_get_colormap)
(gdk_gl_config_get_visual, gdk_gl_config_get_depth): Moved into
gdkglconfig-(x11|win32).c
(gdk_gl_config_set_property, gdk_gl_config_get_property)
(gdk_gl_config_class_init): Removed.
* gdk/x11/gdkglconfig-x11.c (gdk_gl_config_impl_x11_constructor)
(gdk_gl_config_impl_x11_set_property)
(gdk_gl_config_impl_x11_get_property): Removed.
2003-01-25 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* gdk/win32/gdkglcontext-win32.h (struct _GdkGLContextImplWin32):
Removed is_constructed flag.
* gdk/win32/gdkglcontext-win32.c (gdk_gl_context_impl_win32_init)
(gdk_gl_context_impl_win32_constructor): Removed.
(gdk_gl_context_new_common): Removed unnecessary g_object_new()
object instantiation check.
* gdk/win32/gdkglconfig-win32.h (struct _GdkGLConfigImplWin32):
Removed is_constructed flag.
* gdk/win32/gdkglconfig-win32.c (gdk_gl_config_impl_win32_init):
Removed.
(gdk_gl_config_impl_win32_constructor, gdk_gl_config_new_common)
(gdk_win32_gl_config_new_from_pixel_format): Removed unnecessary
g_object_new() object instantiation check.
* gdk/x11/gdkglwindow-x11.h (struct _GdkGLWindowImplX11): Removed
is_constructed flag.
* gdk/x11/gdkglwindow-x11.c (gdk_gl_window_impl_x11_constructor):
(gdk_gl_window_impl_x11_init): Removed.
(gdk_gl_window_impl_x11_class_init): Added glxwindow property.
(gdk_gl_window_new): Construct by using glxwindow property.
* gdk/x11/gdkglpixmap-x11.h (struct _GdkGLPixmapImplX11): Removed
is_constructed flag.
* gdk/x11/gdkglpixmap-x11.c (gdk_gl_pixmap_impl_x11_constructor)
(gdk_gl_pixmap_impl_x11_init): Removed.
(gdk_gl_pixmap_impl_x11_class_init): Added glxpixmap property.
(gdk_gl_pixmap_new): Create GLXPimxpa in gdk_gl_pixmap_new()
instead of gdk_gl_pixmap_impl_x11_constructor().
* gdk/x11/gdkglconfig-x11.h (struct _GdkGLConfigImplX11): Removed
is_constructed flag.
* gdk/x11/gdkglconfig-x11.c (gdk_gl_config_new_common)
(gdk_x11_gl_config_new_from_visualid_common): Removed unnecessary
g_object_new() object instantiation check.
(gdk_gl_config_impl_x11_init): Removed.
* gdk/x11/gdkglcontext-x11.h (struct _GdkGLContextImplX11):
Removed is_constructed flag.
* gdk/x11/gdkglcontext-x11.c (gdk_gl_context_new_common): Removed
unnecessary g_object_new() object instantiation check.
(gdk_gl_context_impl_x11_init): Removed.
* gdk/x11/gdkglglxext.h: Added GLX_SGIX_fbconfig specific typedef.
* configure.in: Added checks for GLX_SGIX_fbconfig specific type
definitions.
Added check for __GLXextFuncPtr typedef in SGI's glxext.h.
2003-01-24 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* configure.in: Modified X11 library dependencies.
Additional SGI's GLU checks.
Modified Win32 library dependencies.
(Bugs item #672485, Jussi Laako)
* gdk/x11/gdkglglxext.h: Suppress 'redefined' warnings on Solaris 8.
* gdk/x11/gdkglglxext.h: typedef GLXPbufferSGIX for some platforms
which provide GLX_SGIX_pbuffer support without GLXPbufferSGIX type
definition.
* configure.in: Check GLXPbufferSGIX typedef for some platforms
which have bad GLX headers (Solaris 8, etc.).
2003-01-23 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* gdk/x11/gdkglconfig-x11.c: Use macros defined in config.h.
* configure.in: Modified Xmu library checks.
Modified gdk_x11_colormap_foreign_new check.
2003-01-22 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* examples/pixmap-mixed.c (configure_event):
* examples/pixmap.c (configure_event):
* examples/low-level.c (realize): Modified for new
gdk_gl_context_new() function.
* gtk/gtkglwidget.c (gtk_widget_create_gl_context): Modified for
new gdk_gl_context_new() function.
* gdk/win32/gdkglprivate-win32.h:
* gdk/win32/gdkglcontext-win32.c (_gdk_win32_gl_context_new):
* gdk/x11/gdkglprivate-x11.h:
* gdk/x11/gdkglcontext-x11.c (_gdk_x11_gl_context_new):
* gdk/gdkgldrawable.h (struct _GdkGLDrawableClass):
* gdk/gdkglcontext.[ch] (gdk_gl_context_new): Removed glconfig
argument.
2003-01-21 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* examples/shapes.c:
* examples/logo.c:
* examples/gears.c:
* examples/coolwave.c:
* gdk/gdkglshapes.c (doughnut): Use G_PI instead of M_PI.
* gdk/gdkglpixmap.c (gl_pixmap_destroy):
* gdk/gdkglwindow.c (gl_window_destroy): Removed.
* gtk/gtkglwidget.c (gtk_widget_create_gl_context): Added.
(gtk_widget_gl_realize, gtk_widget_get_gl_context): GL context is
created by gtk_widget_get_gl_context() instead of
gtk_widget_gl_realize().
2003-01-08 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* gdk/gdkglconfig.c (gdk_gl_config_new_internal)
(gdk_gl_config_new_by_mode, gdk_gl_config_new_by_mode_for_screen):
* gdk/gdkglconfig.h: Fixed display mode bit mask.
2003-01-08 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* gdk/gdkgltokens.h: Cleanup.
2003-01-07 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* gdk/gdkgltokens.h: Removed tokens seemed unnecessary.
2002-12-24 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* setup-gtkglext.sh: Added.
2002-12-22 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* Version 0.6.1
* gdk/x11/gdkglcontext-x11.c (gdk_gl_context_remove):
* gdk/win32/gdkglcontext-win32.c (gdk_gl_context_remove):
Set gl_context_ht NULL if hash table is destroyed.
* gdk/win32/gdkglcontext-win32.c
(gdk_win32_gl_context_foreign_new):
* gdk/win32/gdkglconfig-win32.c (gdk_gl_config_new)
(gdk_gl_config_new_for_screen):
* gdk/x11/gdkglcontext-x11.c (gdk_x11_gl_context_foreign_new):
* gdk/x11/gdkglconfig-x11.c (gdk_gl_config_new)
(gdk_gl_config_new_for_screen)
(gdk_x11_gl_config_new_from_visualid_for_screen): Added function
argument checks.
2002-12-22 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* gdk/x11/gdkglconfig-x11.c (gdk_gl_config_new)
(gdk_gl_config_new_for_screen)
(gdk_x11_gl_config_new_from_visualid)
(gdk_x11_gl_config_new_from_visualid_for_screen): Cleanup
duplicated code.
* gdk/win32/gdkglconfig-win32.c (gdk_gl_config_new)
(gdk_gl_config_new_for_screen): Cleanup duplicated code.
2002-12-21 Naofumi Yasufuku <naofumi@users.sourceforge.net>
* gdk/win32/gdkglcontext-win32.c (_gdk_win32_gl_context_new)
(gdk_gl_context_impl_win32_constructor): wglCreateContext() call
was moved into _gdk_win32_gl_context_new().
(gdk_win32_gl_context_foreign_new): Added.
* gdk/win32/gdkglconfig-win32.c
(gdk_win32_gl_config_new_from_pixel_format): Added
* gdk/win32/gdkglconfig-win32.c (gdk_gl_config_new)
(gdk_gl_config_new_for_screen)
(gdk_gl_config_impl_win32_constructor): Rewritten. Now PFD
construction routines ware moved into config_new*().
* gdk/x11/gdkglcontext-x11.c (_gdk_x11_gl_context_new)
(gdk_gl_context_impl_x11_constructor): glXCreateContext() call was