view src/graphics/ChangeLog @ 7837:57095ca98533

Make OpenGL tessellation combine callback robust against NULL vertex data.
author Michael Goffioul <michael.goffioul@gmail.com>
date Thu, 21 Feb 2008 15:22:16 +0100
parents caab78e7e377
children 0a2ba0053fbd
line wrap: on
line source

2008-02-21  Michael Goffioul  <michael.goffioul@gmail.com>

	* opengl/gl-render.cc (opengl_renderer::patch_tesselator::combine):
	Protect against NULL vertex data.

2008-02-21  Shai Ayal  <shaiay@users.sourceforge.net>

	* opengl/gl-render.cc: remove OpenGL includes
	* opengl/gl-render.h: add OpenGL includes
	* fltk_backend/fltk_backend.cc: remove OpenGL includes
	(__fltk_redraw__): put figure handle into the figure's
	__plot_stream__ property for later
	(fltk_backend::close_figure): use argument as figure handle to
	close

2008-02-20  Shai Ayal  <shaiay@users.sourceforge.net>

	* fltk_backend/Makefile.in: initial import

	* fltk_backend/fltk_backend.cc: initial import
	

2008-02-20  Michael Goffioul  <michael.goffioul@gmail.com>

	* opengl/gl-render.h (opengl_renderer::draw(patch)): New method to
	render patch objects.
	(class opengl_renderer::patch_tesselator): Forward declaration.
	* opengl/gl-render.cc (opengl_texture::create): Use RGB data format
	instead of RGBA.
	(class opengl_tesselator): New classes to abstract GLU tessellation
	process.
	(class opengl_renderer::patch_tesselator): New class to render opaque
	patch objects.
	(class vertex_data): New class to hold vertex data during tessellation
	of patch objects.
	(opengl_renderer::draw(patch)): New method to render patch objects (no
	transparency, no border, no marker yet).
	(opengl_renderer::draw(graphics_object)): Dispatch to it.

	* opengl/gl-render.cc (opengl_renderer::draw(patch)): Use patch color
	data and support face/vertex single color specification.

	* opengl/gl-render.cc (opengl_tesselator::begin_polygon): Set
	tessellation property also for non-filled polygons.
	(opengl_renderer::patch_tesselator::vertex): Protect against empty
	color matrices.
	(opengl_renderer::draw(patch)): Render patch border (no transparency
	yet).

2008-02-19  Michael Goffioul  <michael.goffioul@gmail.com>

	* opengl/gl-render.cc (opengl_texture::texture_rep::tex_coord,
	opengl_texture::tex_coord): New wrapper around glTexCoord2d.
	(opengl_renderer::draw(surface)): Use it for texturemap
	implementation.
	(opengl_renderer::draw(surface)): Fix indexing bug when creating clip
	matrix.
	(opengl_texture::operator=): Add assignment operator.
	(opengl_texture::create): New static opengl_texture creator.
	(opengl_texture::is_valid): New accessor.

2008-02-18  Michael Goffioul  <michael.goffioul@gmail.com>

	* opengl/gl-render.cc (class opengl_texture): New class to wrap
	texture operations in OpenGL.

2008-02-17  Michael Goffioul  <michael.goffioul@gmail.com>

	* opengl/gl-render.cc (opengl_renderer::draw(surface)): Set material
	color when rendering surface facets.

	* opengl/gl-render.cc (opengl_renderer::draw(surface)): Add rendering
	of mesh and markers.

2008-02-16  Michael Goffioul  <michael.goffioul@gmail.com>

	* opengl/gl-render.cc (opengl_renderer::draw(figure)): Initialize the
	OpenGL context correctly.
	(opengl_renderer::draw(surface)): Add missing glEnd call.

2008-02-14  Michael Goffioul  <michael.goffioul@gmail.com>

	* opengl/gl-render.h opengl/gl-render.cc: Add rendering
	interface for surface objects (actual implement still
	missing).

2008-06-04  Michael Goffioul  <michael.goffioul@gmail.com>

	* Makefile.in Makerules.in: Initial import
	* opengl/Makefile.in: Likewise.
	* opengl/gl-render.h opengl/gl-render.cc: Likewise.