VirtualBox

Changeset 45526 in vbox for trunk/src/VBox/GuestHost


Ignore:
Timestamp:
Apr 12, 2013 4:48:28 PM (12 years ago)
Author:
vboxsync
Message:

crOpenGL/OSX: do not rely on presense of GL_EXT_framebuffer_blit

Location:
trunk/src/VBox/GuestHost/OpenGL
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/include/cr_blitter.h

    r45507 r45526  
    139139}
    140140
     141VBOXBLITTERDECL(void) CrBltCheckUpdateViewport(PCR_BLITTER pBlitter);
     142
    141143VBOXBLITTERDECL(void) CrBltLeave(PCR_BLITTER pBlitter);
    142144VBOXBLITTERDECL(int) CrBltEnter(PCR_BLITTER pBlitter, const CR_BLITTER_CONTEXT *pRestoreCtxInfo, const CR_BLITTER_WINDOW *pRestoreMural);
  • trunk/src/VBox/GuestHost/OpenGL/util/blitter.cpp

    r45509 r45526  
    601601}
    602602
     603void CrBltCheckUpdateViewport(PCR_BLITTER pBlitter)
     604{
     605    RTRECTSIZE DstSize = {pBlitter->CurrentMural.width, pBlitter->CurrentMural.height};
     606    crBltCheckSetupViewport(pBlitter, &DstSize, false);
     607}
     608
    603609void CrBltBlitTexMural(PCR_BLITTER pBlitter, const VBOXVR_TEXTURE *pSrc, const RTRECT *paSrcRects, const RTRECT *paDstRects, uint32_t cRects, uint32_t fFlags)
    604610{
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette