Revision: 45756
http://brlcad.svn.sourceforge.net/brlcad/?rev=45756&view=rev
Author: brlcad
Date: 2011-08-02 15:32:18 +0000 (Tue, 02 Aug 2011)
Log Message:
-----------
quell variable type warnings, stub in code for displaying progress during
raytrace ... which unfortunately kills render performance.
Modified Paths:
--------------
brlcad/trunk/src/rt/view.c
Modified: brlcad/trunk/src/rt/view.c
===================================================================
--- brlcad/trunk/src/rt/view.c 2011-08-02 13:27:59 UTC (rev 45755)
+++ brlcad/trunk/src/rt/view.c 2011-08-02 15:32:18 UTC (rev 45756)
@@ -186,6 +186,15 @@
int do_eol = 0;
unsigned char dist[8]; /* pixel distance (in IEEE format) */
+#if 0
+ RGBpixel white = {255, 255, 255};
+
+ bu_semaphore_acquire(BU_SEM_SYSCALL);
+ (void)fb_write(fbp, ap->a_x, ap->a_y, (unsigned char *)white, 1);
+ bu_semaphore_release(BU_SEM_SYSCALL);
+#endif
+
+
if (rpt_dist)
htond(dist, (unsigned char *)&(ap->a_dist), 1);
@@ -449,7 +458,6 @@
{
fastf_t tmp_value;
RGBpixel p;
- int npix;
/* Unbuffered mode -- update the framebuffer at each pixel */
@@ -1491,7 +1499,7 @@
/* On fully incremental mode, allocate the scanline as the total
size of the image */
if(full_incr_mode && !scanline){
- int y;
+ size_t y;
if (scanline)
free_scanlines(height, scanline);
scanline = alloc_scanlines(height);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits