Changeset 48726 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu.c
- Timestamp:
- Sep 27, 2013 10:19:54 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu.c
r48356 r48726 698 698 } 699 699 700 #ifdef DEBUG_misha 701 # define CR_DBG_DUMP_VISIBLE_REGIONS 702 #endif 703 704 #ifdef CR_DBG_DUMP_VISIBLE_REGIONS 705 static void renderspuDbgDumpVisibleRegion(GLint win, GLint cRects, const GLint *pRects) 706 { 707 GLint i; 708 const RTRECT *pRtRects = (const RTRECT *)((const void*)pRects); 709 710 crInfo("Window %d, Vidible Regions%d", win, cRects); 711 for (i = 0; i < cRects; ++i) 712 { 713 crInfo("%d: (%d,%d), (%d,%d)", i, pRtRects[i].xLeft, pRtRects[i].yTop, pRtRects[i].xRight, pRtRects[i].yBottom); 714 } 715 crInfo("======"); 716 } 717 #endif 718 700 719 static void RENDER_APIENTRY 701 720 renderspuWindowVisibleRegion(GLint win, GLint cRects, const GLint *pRects) … … 703 722 WindowInfo *window; 704 723 CRASSERT(win >= 0); 724 725 #ifdef CR_DBG_DUMP_VISIBLE_REGIONS 726 renderspuDbgDumpVisibleRegion(win, cRects, pRects); 727 #endif 728 705 729 window = (WindowInfo *) crHashtableSearch(render_spu.windowTable, win); 706 730 if (window) { … … 708 732 } 709 733 else { 710 cr Debug("Render SPU: Attempt to set VisibleRegion for invalid window (%d)", win);734 crWarning("Render SPU: Attempt to set VisibleRegion for invalid window (%d)", win); 711 735 } 712 736 }
Note:
See TracChangeset
for help on using the changeset viewer.