Module CS/plugins/video/canvas/openglwin/

back to main page

Summary Period: 1999-05-06 to 2003-06-22

Modules

[root]/CS/plugins/video/canvas/openglwin

Lines Of Code


Total Lines Of Code: 1200 (2003-07-11 20:29)

Authors

Author Changes Lines of code Lines per change
Totals 197 (100.0%) 2494 (100.0%) 12.6
res2002 35 (17.8%) 767 (30.8%) 21.9
bdavis 6 (3.0%) 637 (25.5%) 106.1
jorrit 37 (18.8%) 275 (11.0%) 7.4
philwyett 26 (13.2%) 199 (8.0%) 7.6
thieber 16 (8.1%) 172 (6.9%) 10.7
sunshine 28 (14.2%) 132 (5.3%) 4.7
azverkan 1 (0.5%) 82 (3.3%) 82.0
norman 6 (3.0%) 52 (2.1%) 8.6
andy 13 (6.6%) 42 (1.7%) 3.2
wouter 4 (2.0%) 41 (1.6%) 10.2
malakai 4 (2.0%) 29 (1.2%) 7.2
andyz 13 (6.6%) 22 (0.9%) 1.6
matzebraun 3 (1.5%) 17 (0.7%) 5.6
groton 1 (0.5%) 16 (0.6%) 16.0
ab031ns 2 (1.0%) 6 (0.2%) 3.0
dentoid 1 (0.5%) 4 (0.2%) 4.0
mgeisse 1 (0.5%) 1 (0.0%) 1.0

Most Recent Commits

sunshine 2003-06-22 22:38

Eric Sunshine removed the unused, obsolete, and deprecated top-level <name>
node from the .csplugin files.

0 lines of code changed in:

groton 2003-06-22 14:51

Luca (groton@gmx.net) fixed a bug in awsLabel and a bug in glwin32 canvas.

16 lines of code changed in:

sunshine 2003-06-05 15:45

Eric Sunshine performed Phase Three of the elimination of the monolithic
scf.cfg:

-*- Eliminated the SCF information which was hardcoded in the .cpp files
of plugin modules, and which duplicated information in the external
.csplugin files.

-*- Plugin modules no longer maintain and export a monolithic class list.
Now, each factory implemented by the code is exported automatically.

-*- Added a new <implementation> child node to the <class> node in
.csplugin files. The value of this node is the name of the C++ class
which implements the SCF class. For instance, C++ class csVFS
implements crystalspace.kernel.vfs.

-*- Eliminated the following SCF macros which were related to exporting
SCF information from .cpp code and/or registering classes manually:

SCF_EXPORT_CLASS_TABLE
SCF_EXPORT_CLASS
SCF_EXPORT_CLASS_DEP
SCF_EXPORT_CLASS_TABLE_END
SCF_REGISTER_STATIC_CLASS_DEP

-*- Eliminated the following methods from iSCF:

RegisterStaticClass
RegisterClassList

-*- Plugin modules are now initialized/shutdown lazily as classes are
requested from them. The first time a class is requested, the plugin
is initialized. The plugin is shutdown after the last class instance
has been destroyed.

-*- Fixed bug in scf.h where SCF_PRINT_CALL_ADDRESS was not being enabled
for gcc 3.x.

-*- Fixed bug in win32.jam where GenerateExportDefs rule failed to ensure
that directory containing output file existed before creating file.
Also fixed bug where it failed to set up a dependency between the
input and output files.

-*- Still To-Do:

- Remove references to scf.cfg and scfreg from documentation. Also
document new .csplugin resources.

- Add platform-specific function to scan and locate plugins
automatically rather than using the ad-hoc approach inherited from
scanning for .scf files.

- Add platform-specific function to query a plugin's meta-information.
This should be used by SCF to do the raw extraction. Provide and
finalize API for higher-level clients to access meta-information.

- Augment static linking to work with the new facility. (Removal of
the hardcoded SCF information, has now broken static linking. It
worked until this time, even with all of the preceding changes.)

1 lines of code changed in:

res2002 2003-06-01 03:20

- made some minor optimizations to the movie recorder.
- added output of some statistics when a movie finished recording.
- improved the performance of GL screenshots. They now deal
directly with the data returned from glReadPixels() and thus need
less computations on the pixel data. They also come from a pool
now, which reduces the number of new/delete calls when many
screenshots are requested (i.e. when recording a movie.)

1 lines of code changed in:

jorrit 2003-05-29 08:07

Replaced NULL with 0.

25 lines of code changed in:

sunshine 2003-05-27 23:48

Eric Sunshine eliminated compilation warning in Win32 OpenGL canvas.

0 lines of code changed in:

sunshine 2003-05-26 09:49

Eric Sunshine performed Phase One of the elimination of the monolithic
scf.cfg:

-*- Plugin modules are now self-describing. This information can be
queried at run-time without having to actually load the module.

-*- The plugin maintainer now manages the plugin's meta-information in an
external .csplugin file, rather than hard-coding the information into
the plugin's source code. The mechanism by which the meta-information
is bound to the plugin is platform-dependent. Presently, all
platforms simply lay down the meta-information in a plain text file
alongside the plugin itself; with the same basename and extension
.csplugin. This may change in the future. For example, on MacOS/X,
the meta-information will probably be encapsulated within the plugin's
bundle wrapper.

-*- Plugin meta-information is now maintained in XML format. Here is an
example:

<?xml version="1.0"?>
<!-- gl3d.csplugin -->
<plugin>
<name>gl3d</name>
<scf>
<classes>
<class>
<name>crystalspace.graphics3d.opengl</name>
<description>OpenGL 3D graphics driver</description>
<requires>
<class>crystalspace.font.server.</class>
</requires>
</class>
</classes>
</scf>
</plugin>

-*- Since meta-information is now extensible, maintainers can choose to
publish supplementary information about plugins (in addition to the
SCF information already published). For example, image loading
plugins could publish "image indendification" information which would
allow the image loading multiplexor to selectively request image
loading plugins on-demand, rather than requesting all plugins
unconditionally, even if they are not needed. Here is an example of a
possible meta-information table for the PNG loader:

<?xml version="1.0"?>
<!-- cspngimg.csplugin -->
<plugin>
<name>cspngimg</name>
<scf>...</scf>
<imageloader>
<imagetype>
<class>crystalspace.graphic.image.io.png</class>
<identify>
<mimetype>image/png</mimetype>
<extension>png</extension>
<extension>PNG</extension>
<scan length="4" bytes="\0x89PNG"/>
</identify>
</imagetype>
</imageloader>
</plugin>

In this example, the PNG loader meta-information tells the multiplexor
several different ways to identify a PNG image: by checking file
extension, if available; by checking MIME type, if available; by
checking for the magic-string "\0x89PNG" in the raw image data. If
the multiplexor identifies the image as PNG, only then will it
actually request the PNG loader.

-*- Added the --meta-file directive to msvcgen.pl to allow specification
of the meta-information file for a module. The value of this option
is interpolated into template files via the new %metafile% variable.
msvcgen.mak now utilizes this flag with the value of the new
INC.PROJECT makefile variable. Augmented the MSVC6 and MSVC7 plugin
template files (plugin.tpl) to make use of %metafile%.

-*- Changed the file extension for plugins on MacOS/X from .csplugin to
.csbundle to avoid conflict with new meta-information resource which
uses the extension .csplugin.

-*- Still To-Do:

- Augment SCF to utilize the new meta-information resources, and to
understand the new XML format. Presently, these resources are
ignored at run-time.

- Add platform-specific function to scan and locate plugins
automatically, rather than relying upon a monolithic registry such
as scf.cfg.

- Add platform-specific function to query a plugin's meta-information.

- Eliminate the monolithic scf.cfg.

- Augment static linking to work with the new facility.

- Eliminate the hard-coded SCF registration information in each
plugin's source code.

18 lines of code changed in:

res2002 2003-05-22 18:03

- added resizing to the glwin32 canvas, fixed a typo and some
possible NULL pointer accesses in glcommon.

71 lines of code changed in:

res2002 2003-05-22 15:34

- made the following changes:
- Made several changes to the GL extensions manager to better
support WGL exts.
- Added support for multisample in OpenGL. So far, works on Win32
only, as some platform-specific initializations are required.
- Moved support for display refresh rate and vsync to common
canvas classes. That means that they read the requested settings
from the config; the actual application is still platform-
dependent and only implemented on Win32 so far.
- Added a GL configuration for ATI R300 (Radeon 9700/9700Pro.)

167 lines of code changed in:

res2002 2003-04-28 14:57

- made the following changes to the script-generated extension
manager (from scripts/python):
- extension to be used now must be explicitly requested via
Init<ext> () (e.g. InitGL_ARB_multitexture ())
- only check once for every extension
- emit names of functions not found
- use of extensions can be enabled/disabled via config.
- changed the OpenGL canvases to use the extension manager (to ease
use of OpenGL extensions)

6 lines of code changed in:

sunshine 2003-04-27 11:33

Eric Sunshine made the following changes:

-*- Modified configure.ac so that it emits a SRCDIR property to
config.mak. This value represents the --srcdir argument given to the
configure script (or "." if --srcdir is omitted). This points at the
directory containing the CS source code (which may differ from the
build directory, which is typically the current working directory).

-*- Modified makefiles and build scripts throughout the project so that
they respect $(SRCDIR). This allows the project to be built in a
directory other than the source directory, thus it is possible to
place the source directory on a readonly filesystem (such as a
CD-ROM), or to share a single NFS-mounted source directory among
different builds, where each build inhabits its own directory. For
example, if CS resides at /home/CS and you wish to build the project
in /home/build:

% cd /home/build
% ../CS/configure
% make -k all
% make install

(Note that the Jam-base build system already supports this build
paradigm.)

-*- Modified configure.ac so that it emits EXTENSIVE_MEMDEBUG to
config.mak since this variable is used by Makefile.in for the
`showconfig' target.

-*- Modified configure.ac so that it emits MONITOR_MAKEFILE_CACHE when the
value is either "yes" or "no", instead of emitting it only when the
value is "yes". This was necessary because CS/mk/cache.mak prints the
value of this variable as part of $(SYSMODIFIER).

6 lines of code changed in:

res2002 2003-04-23 16:52

- added a facility to thje glwin32 canvas to check whether
hardware acceleration is present. Usage is: PerformExtension
("hardware_accelerated", &hasAccel) where hasAccel is a bool.

10 lines of code changed in:

matzebraun 2003-04-08 20:21

added the Jamfiles

15 lines of code changed in:

dentoid 2003-02-26 23:07

Made the following changes related to the new renderer.
- Fixed a bug in mtex plugin causing crashes at shutdown
- Fixed an erroneous buffer release in the renderer causing VAR
to crash. VAR still doesn't release buffer correctly, and can't
be used yet.
- Made the windows GL canvas force alpha in framebuffer when using
new renderer. Probably something similar needs to be done in
other canvases.
- Fixed some errors in shader loading. Shaders wasn't prepared
correctly.
- Added possibility to override blendmode per shader pass, and a new
blendmode in new renderer. (DESTALPHAADD)
- Added two example PPL-shaders. They both need some special
attenuationmaps and material setup.
- Fixed a bug in genmesh anonymous stream loading.

4 lines of code changed in:

jorrit 2003-02-15 07:57

- Added 'openglcanvas' target which compiles the OpenGL canvas
relevant for the given OS (similar to 'softcanvas').
- Make 'walkall' will now compile the OpenGL renderer instead of
the software renderer.

1 lines of code changed in:

philwyett 2003-02-07 15:12

- Fixed framerate problem if run fs after windowed.

- Code cleanup

39 lines of code changed in:

philwyett 2003-02-07 13:13

Hack to get -fs switch working again under Windows.

Note to Self: Revisit and check whole plugin before 0.96r003.

1 lines of code changed in:

sunshine 2003-01-30 12:06

Eric Sunshine fixed problem in the various OpenGL renderer and canvas
plugins in which GL.LFLAGS was being applied to the `ar' invocation for
static builds.

5 lines of code changed in:

jorrit 2003-01-20 11:08

- Andrew Craig fixed a problem with unreleased references in the
Windows OpenGL canvas. RestoreDisplayMode() set is_open to false
but this prevented the superclass Close() to properly do the
cleanup. In addition fixed the call to the parent Close() so that
it calls csGraphics2DGLCommon::Close() instead of
csGraphics2D::Close().

1 lines of code changed in:

res2002 2003-01-06 18:18

- removed ChangeDisplaySettings() from win32.cpp
- added code to glwin32 canvas to prevent unnecessary mode switches,
as inspired by Ben Thomas <ben.thomas@wickedstudios.com>. DirectX
seems to be smart enough to avoid them on its own.

102 lines of code changed in:

(122 more)


Generated by StatCvs v0.2-dev