[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog backend/render_handler.h
From: |
Udo Giacomozzi |
Subject: |
[Gnash-commit] gnash ChangeLog backend/render_handler.h |
Date: |
Fri, 20 Apr 2007 09:43:16 +0000 |
CVSROOT: /cvsroot/gnash
Module name: gnash
Changes by: Udo Giacomozzi <udog> 07/04/20 09:43:16
Modified files:
. : ChangeLog
backend : render_handler.h
Log message:
prototype for initTestBuffer()
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2946&r2=1.2947
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/render_handler.h?cvsroot=gnash&r1=1.33&r2=1.34
Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/gnash/gnash/ChangeLog,v
retrieving revision 1.2946
retrieving revision 1.2947
diff -u -b -r1.2946 -r1.2947
--- ChangeLog 20 Apr 2007 09:03:42 -0000 1.2946
+++ ChangeLog 20 Apr 2007 09:43:15 -0000 1.2947
@@ -1,3 +1,7 @@
+2007-04-20 Udo Giacomozzi <address@hidden>
+
+ * backend/render_handler.h: Prototype for initTestBuffer()
+
2007-04-20 Sandro Santilli <address@hidden>
* testsuite/: Makefile.am, FuzzyPixel.{cpp,h},
Index: backend/render_handler.h
===================================================================
RCS file: /cvsroot/gnash/gnash/backend/render_handler.h,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -b -r1.33 -r1.34
--- backend/render_handler.h 18 Apr 2007 17:04:56 -0000 1.33
+++ backend/render_handler.h 20 Apr 2007 09:43:16 -0000 1.34
@@ -17,7 +17,7 @@
//
//
-/* $Id: render_handler.h,v 1.33 2007/04/18 17:04:56 udog Exp $ */
+/* $Id: render_handler.h,v 1.34 2007/04/20 09:43:16 udog Exp $ */
#ifndef RENDER_HANDLER_H
#define RENDER_HANDLER_H
@@ -553,6 +553,25 @@
return true;
}
+
+
+ /// This is a special function used for testcases ONLY. It is used by
+ /// MovieTester to prepare the renderer for off-screen rendering
+ /// without any GUI. The renderer is responsible to do all required
+ /// steps so that rendering is possible after the call. This may mean
+ /// that the renderer allocates memory for the given stage size.
+ /// "width" and "height" are the desired size of the stage in pixels.
+ ///
+ /// The function returns false when the renderer is not able to do
+ /// off-screen rendering (default).
+ ///
+ /// Note the function may be called again afterwards, resizing the stage.
+ /// Any number of calls to this function is possible and the renderer
+ /// is responsible resize any buffer instead of wasting memory.
+ virtual bool initTestBuffer(unsigned width, unsigned height) {
+ return false;
+ }
+
/// Sets the x/y scale for the movie
virtual void set_scale(float /*xscale*/, float /*yscale*/) {
// nop
- [Gnash-commit] gnash ChangeLog backend/render_handler.h,
Udo Giacomozzi <=