[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [47028] branches/soc-2012-swiss_cheese/ source/blender/editors/space_text/text_draw.c: Added GPU_STRING_MARKER calls to text_draw.c

Jason Wilkins Jason.A.Wilkins at gmail.com
Sat May 26 01:33:34 CEST 2012


Revision: 47028
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=47028
Author:   jwilkins
Date:     2012-05-25 23:33:34 +0000 (Fri, 25 May 2012)
Log Message:
-----------
Added GPU_STRING_MARKER calls to text_draw.c

Modified Paths:
--------------
    branches/soc-2012-swiss_cheese/source/blender/editors/space_text/text_draw.c

Modified: branches/soc-2012-swiss_cheese/source/blender/editors/space_text/text_draw.c
===================================================================
--- branches/soc-2012-swiss_cheese/source/blender/editors/space_text/text_draw.c	2012-05-25 23:31:55 UTC (rev 47027)
+++ branches/soc-2012-swiss_cheese/source/blender/editors/space_text/text_draw.c	2012-05-25 23:33:34 UTC (rev 47028)
@@ -53,6 +53,8 @@
 
 #include "BIF_gl.h"
 
+#include "GPU_utility.h"
+
 #include "ED_datafiles.h"
 #include "UI_interface.h"
 #include "UI_resources.h"
@@ -1916,6 +1918,8 @@
 	/* draw the text */
 	UI_ThemeColor(TH_TEXT);
 
+	GPU_STRING_MARKER("draw_text_main:begin");
+
 	BLF_draw_lock();
 
 	for (i = 0; y > 0 && i < st->viewlines && tmp; i++, tmp = tmp->next) {
@@ -1952,6 +1956,8 @@
 
 	BLF_draw_unlock();
 
+	GPU_STRING_MARKER("draw_text_main:end");
+
 	if (st->flags & ST_SHOW_MARGIN) {
 		UI_ThemeColor(TH_HILITE);
 




More information about the Bf-blender-cvs mailing list