Changeset 54769 in vbox for trunk/src/VBox/HostServices
- Timestamp:
- Mar 16, 2015 12:06:30 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_cocoa_helper.m
r54768 r54769 743 743 @end 744 744 745 #ifndef IN_VMSVGA3D 745 746 @class DockOverlayView; 747 #endif 746 748 747 749 /** … … 768 770 GLuint m_FBOId; 769 771 772 #ifndef IN_VMSVGA3D 770 773 /** The corresponding dock tile view of this OpenGL view & all helper 771 774 * members. */ … … 775 778 GLfloat m_FBOThumbScaleY; 776 779 uint64_t m_msDockUpdateTS; 780 #endif 777 781 778 782 /** @name For clipping … … 832 836 - (void)vboxReshapeOnReparentPerform; 833 837 838 #ifndef IN_VMSVGA3D 834 839 - (void)createDockTile; 835 840 - (void)deleteDockTile; 841 #endif 836 842 837 843 - (void)makeCurrentFBO; … … 859 865 - (GLboolean)vboxNeedsEmptyPresent; 860 866 867 #ifndef IN_VMSVGA3D 861 868 - (NSView *)dockTileScreen; 862 869 - (void)reshapeDockTile; 870 #endif 863 871 - (void)cleanupData; 864 872 @end … … 904 912 905 913 914 #ifndef IN_VMSVGA3D 906 915 /** 907 916 * Dock overlay view class. … … 1059 1068 } 1060 1069 @end 1070 #endif /* !IN_VMSVGA3D */ 1061 1071 1062 1072 … … 1380 1390 COCOA_LOG_FLOW(("%s: self=%p\n", __PRETTY_FUNCTION__, (void *)self)); 1381 1391 1392 #ifndef IN_VMSVGA3D 1382 1393 [self deleteDockTile]; 1394 #endif 1383 1395 1384 1396 [self setGLCtx:nil]; … … 1652 1664 1653 1665 [self vboxReshapePerform]; 1666 #ifndef IN_VMSVGA3D 1654 1667 [self createDockTile]; 1668 #endif 1655 1669 1656 1670 /* have to rebind GL_TEXTURE_RECTANGLE_ARB as m_FBOTexId could be changed in updateFBO call */ … … 1677 1691 COCOA_LOG_FLOW(("%s: self=%p\n", __PRETTY_FUNCTION__, (void *)self)); 1678 1692 [self vboxReshapePerform]; 1693 #ifndef IN_VMSVGA3D 1679 1694 [self createDockTile]; 1695 #endif 1680 1696 COCOA_LOG_FLOW(("%s: returns\n", __PRETTY_FUNCTION__)); 1681 1697 } … … 1825 1841 - (void)vboxReshapePerform 1826 1842 { 1843 #ifndef IN_VMSVGA3D 1827 1844 COCOA_LOG_FLOW(("%s: self=%p - m_DockTileView=%p\n", __PRETTY_FUNCTION__, (void *)self, (void *)m_DockTileView)); 1845 #else 1846 COCOA_LOG_FLOW(("%s: self=%p\n", __PRETTY_FUNCTION__, (void *)self)); 1847 #endif 1828 1848 1829 1849 /* NOTE: Please consider the next naming convention for variables. … … 1893 1913 [[self window] setFrame:windowFrameSCS display:YES]; 1894 1914 1915 #ifndef IN_VMSVGA3D 1895 1916 /* Inform the dock tile view as well. */ 1896 1917 [self reshapeDockTile]; 1918 #endif 1897 1919 1898 1920 /* Make sure the context is updated accordingly. */ … … 1910 1932 COCOA_LOG_FLOW(("%s: returns\n", __PRETTY_FUNCTION__)); 1911 1933 } 1934 1935 #ifndef IN_VMSVGA3D 1912 1936 1913 1937 - (void)createDockTile … … 1944 1968 COCOA_LOG_FLOW(("%s: returns\n", __PRETTY_FUNCTION__)); 1945 1969 } 1970 1971 #endif /* !IN_VMSVGA3D */ 1946 1972 1947 1973 - (void)makeCurrentFBO … … 2662 2688 } 2663 2689 2690 #ifndef IN_VMSVGA3D 2691 2664 2692 - (NSView *)dockTileScreen 2665 2693 { … … 2712 2740 (int)newFrame.origin.y, (int)newFrame.size.width, (int)newFrame.size.height, (void *)pView)); 2713 2741 } 2742 2743 #endif /* !IN_VMSVGA3D */ 2714 2744 2715 2745 @end /* @implementation OverlayView */
Note:
See TracChangeset
for help on using the changeset viewer.