Revision: 75637
          http://sourceforge.net/p/brlcad/code/75637
Author:   starseeker
Date:     2020-04-29 18:42:02 +0000 (Wed, 29 Apr 2020)
Log Message:
-----------
An embedded MGED dm has to be able to show the framebuffer as well - need to 
start thinking about how to manage that...

Modified Paths:
--------------
    brlcad/trunk/src/libdm/tests/tcl_img.cpp

Modified: brlcad/trunk/src/libdm/tests/tcl_img.cpp
===================================================================
--- brlcad/trunk/src/libdm/tests/tcl_img.cpp    2020-04-29 18:38:00 UTC (rev 
75636)
+++ brlcad/trunk/src/libdm/tests/tcl_img.cpp    2020-04-29 18:42:02 UTC (rev 
75637)
@@ -87,9 +87,15 @@
     std::uniform_int_distribution<int> *colors;
     std::uniform_int_distribution<int> *vals;
 
-    // The rendering memory used to actually generate the image contents.
+    // The rendering memory used to actually generate the DM scene contents.
     long buff_size;
     unsigned char *pixelPtr;
+
+    // The rendering memory used to actually generate the framebuffer contents.
+    long fb_buff_size;
+    int fb_width;
+    int fb_height;
+    unsigned char *fbpixel;
 };
 
 // Event container passed to routines triggered by events.

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to