VirtualBox

Ignore:
Timestamp:
May 18, 2009 3:50:20 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
47438
Message:

removed long obsolete methods IFramebuffer::solidFill() and IFramebuffer::copyScreenBits()

Location:
trunk/src/VBox/Frontends/VBoxHeadless/VideoCapture
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxHeadless/VideoCapture/FFmpegFB.cpp

    r13644 r19798  
    599599}
    600600
    601 
    602 /**
    603  * Queries whether we support a given accelerated opperation.  Since we
    604  * do not have any way of performing accelerated operations, we always
    605  * return false in supported.
    606  *
    607  * @returns          COM status code
    608  * @param  operation The operation being queried
    609  * @retval supported Whether or not we support that operation
    610  */
    611 STDMETHODIMP FFmpegFB::OperationSupported(FramebufferAccelerationOperation_T operation,
    612                                                      BOOL *supported)
    613 {
    614     if (!supported)
    615         return E_POINTER;
    616     *supported = false;
    617     return S_OK;
    618 }
    619 
    620601/**
    621602 * Returns whether we like the given video mode.
     
    639620        return E_POINTER;
    640621    *supported = true;
    641     return S_OK;
    642 }
    643 
    644 /**
    645  * Since we currently do not have any way of doing this faster than
    646  * the VGA device, we simply false in handled.  Behaviour taken from
    647  * src/VBox/RDP/server/framebuffer.cpp.
    648  */
    649 STDMETHODIMP FFmpegFB::SolidFill(ULONG x, ULONG y, ULONG width,
    650                                  ULONG height, ULONG color, BOOL *handled)
    651 {
    652     LogFlow(("FFmpeg::SolidFill called.\n"));
    653     if (!handled)
    654         return E_POINTER;
    655     *handled = false;
    656     return S_OK;
    657 }
    658 
    659 /**
    660  * Since we currently do not have any way of doing this faster than
    661  * the VGA device, we simply false in handled.  Behaviour taken from
    662  * src/VBox/RDP/server/framebuffer.cpp.
    663  */
    664 STDMETHODIMP FFmpegFB::CopyScreenBits(ULONG xDst, ULONG yDst, ULONG xSrc,
    665                                       ULONG ySrc, ULONG width,
    666                                       ULONG height, BOOL *handled)
    667 {
    668     LogFlow(("FFmpeg::CopyScreenBits called.\n"));
    669     if (!handled)
    670         return E_POINTER;
    671     *handled = false;
    672622    return S_OK;
    673623}
  • trunk/src/VBox/Frontends/VBoxHeadless/VideoCapture/FFmpegFB.h

    r19340 r19798  
    105105                             ULONG bitsPerPixel, ULONG bytesPerLine,
    106106                             ULONG w, ULONG h, BOOL *finished);
    107     STDMETHOD(OperationSupported)(FramebufferAccelerationOperation_T operation, BOOL *supported);
    108107    STDMETHOD(VideoModeSupported)(ULONG width, ULONG height, ULONG bpp, BOOL *supported);
    109     STDMETHOD(SolidFill)(ULONG x, ULONG y, ULONG width, ULONG height,
    110                          ULONG color, BOOL *handled);
    111     STDMETHOD(CopyScreenBits)(ULONG xDst, ULONG yDst, ULONG xSrc, ULONG ySrc,
    112                               ULONG width, ULONG height, BOOL *handled);
    113108    STDMETHOD(GetVisibleRegion)(BYTE *rectangles, ULONG count, ULONG *countCopied);
    114109    STDMETHOD(SetVisibleRegion)(BYTE *rectangles, ULONG count);
Note: See TracChangeset for help on using the changeset viewer.

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