Module CS/plugins/video/renderer/null/

back to main page

Summary Period: 2000-06-26 to 2003-06-22

Modules

[root]/CS/plugins/video/renderer/null

Lines Of Code


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

Authors

Author Changes Lines of code Lines per change
Totals 185 (100.0%) 2510 (100.0%) 13.5
andyz 29 (15.7%) 1911 (76.1%) 65.8
jorrit 67 (36.2%) 263 (10.5%) 3.9
sunshine 38 (20.5%) 174 (6.9%) 4.5
matzebraun 12 (6.5%) 68 (2.7%) 5.6
philwyett 9 (4.9%) 34 (1.4%) 3.7
mgeisse 16 (8.6%) 31 (1.2%) 1.9
miklby 5 (2.7%) 11 (0.4%) 2.2
res2002 3 (1.6%) 6 (0.2%) 2.0
ab031ns 2 (1.1%) 6 (0.2%) 3.0
wouter 1 (0.5%) 3 (0.1%) 3.0
norman 2 (1.1%) 2 (0.1%) 1.0
azverkan 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:

sunshine 2003-06-05 15:46

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:

jorrit 2003-05-29 08:07

Replaced NULL with 0.

19 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:

sunshine 2003-04-27 11:34

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).

9 lines of code changed in:

matzebraun 2003-04-08 20:21

added the Jamfiles

12 lines of code changed in:

jorrit 2003-03-25 11:40

- Changed API of OpenPortal() to accept a G3DPolygonDFP instead
of a 2D polygon. I need z-information.
- First version of OpenGL implementation of OpenPortal().
- Added CS_PORTAL_FLOAT option for portals. This will enable the
portal to use the new OpenPortal() code.
- Added <float> flag to the portal loading code to enable this new
flag. Currently this new feature is not yet working properly.
Needs more testing and fixing.
- Optimized the polygon drawing structures in graph3d.h a little.

1 lines of code changed in:

jorrit 2003-03-24 14:46

Added iGraphics3D->OpenPortal() and ClosePortal(). These new
functions (currently unimplemented) will be used for more specialized
portal clipping where a portal wants to restrict drawing to a
certain area AND also keep current Z-buffer contents into account.

6 lines of code changed in:

matzebraun 2003-01-27 20:47

updated and fixed null 3d renderer and canvas

4 lines of code changed in:

ab031ns 2002-12-23 22:26

Renamed/corrected header defines to CS coding-style.

6 lines of code changed in:

jorrit 2002-10-18 15:29

- Removed 8-bit support from the line renderer.
- Moved iTextureManager->FindRGB() to iGraphics2D where it belongs.
- Additionally removed iTextureManager->SetPalette(), ResetPalette(),
and ReserveColor().
- Renamed csColorQuantizer::RGB() to DoRGB() to avoid a conflict
with a define.

0 lines of code changed in:

jorrit 2002-10-18 13:43

Also removed 8-bit support from the internal AWS renderer
and from the null3d renderer. For some reason it doesn't look
like the null renderer needs 8-bit display support :-)

6 lines of code changed in:

jorrit 2002-10-17 17:14

- Started work on software implementation of SetRenderTarget().
To support this added the ability to generate inverse palettes
in software renderer textures. An inverse palette basically
transforms a truecolor color (15 or 16 bit) to a palette index
which is suitable for that texture (in the software renderer
every texture has its own 8-bit palette).
Other than this the SetRenderTarget() is currently not yet
operational.
- Put the csQuantizeBla() functions in a new csColorQuantizer
class. This ensures that it is now possible to use multiple
instances of the csColorQuantizer by eliminating the use
of global variables.

13 lines of code changed in:

jorrit 2002-10-16 12:27

- csProcTexture is now able to use the new SetRenderTarget() system.
And it seems to work fine. Converted all current proc textures
that inherit from csProcTexture to the new system.
- Added 'persistent' flag to SetRenderTarget(). If that flag is given
then the original texture will be copied in BeginDraw() so that
the previous contents is preserved. If that flag is not given
then the previous contents is ignored and it is assumed you fully
update the texture yourselves.
- simplept works nicer than ever with the new SetRenderTarget() system.
- Completely removed the old procedural texture implementation from
both the software and OpenGL renderers.
- Here is a summary on the status of the new procedural texture system.
- Software renderer procedural textures are TOTALLY broken. This
needs to be redone again.
- Simplept works VERY well in OpenGL (very fast and very nice
looking).
- The pixel drawing procedural textures (flame, plasma, dots,
water, ...) are slower in OpenGL then they were before.
The reason is that drawing a pixel in OpenGL is a LOT
slower than in software renderer. To solve this problem
I will add new API functions to either draw series of
pixels or else to blit memory areas to the screen (or
texture).
- For some reason I cannot render at vertical line 0.
i.e. a g2d->DrawPixel (i,0,color) will do nothing. That
means that one line of the procedural texture will remain
whatever contents the screen has at that moment.
I have no clue on how to solve this yet.

1 lines of code changed in:

jorrit 2002-10-14 13:06

Added SetRenderTarget() and GetRenderTarget() to the
iGraphics3D API. Also added default (empty) implementations
to all renderers. This will be used for the new procedural
texture design.

3 lines of code changed in:

sunshine 2002-10-13 20:17

Eric Sunshine made the following changes:

-*- Eliminated a slew of compilation warnings throughout the project.

-*- Modified the makefiles so that, on Unix platforms, the X11-related
plugins are built only if the configuration phase discovered the
presence of X11, and the OpenGL-related plugins are built only if the
configuration phase discovered OpenGL.

2 lines of code changed in:

sunshine 2002-10-01 09:55

Eliminated compilation warnings.

2 lines of code changed in:

jorrit 2002-09-12 14:19

More csPtr changes.

10 lines of code changed in:

jorrit 2002-09-10 14:34

Replaced csPtr<iBla> (NULL) with NULL everywhere since that is
cleaner and works just as well.

1 lines of code changed in:

jorrit 2002-09-09 09:31

- iTextureManager->RegisterTexture() and RegisterMaterial()
now return csPtr. This also fixes several ref counting bugs
throughout CS with regards to this.
- Fixed iso engine so it now incref()'s the given texture
handle in an iso material.
- Engine material and texture wrappers now use csRef's to keep
track of their internal image/handle/texture references.

4 lines of code changed in:

(81 more)


Generated by StatCvs v0.2-dev