svgtopt/VGRenderer/SWVG/src/SWOpenVGRendererImpl.cpp
changeset 26 796196dd6e68
parent 0 d46562c3d99d
child 39 1902ade171ab
equal deleted inserted replaced
21:4c62338e03c8 26:796196dd6e68
    15  *
    15  *
    16 */
    16 */
    17 
    17 
    18 #include "SWOpenVGRendererImpl.h"
    18 #include "SWOpenVGRendererImpl.h"
    19 #include "SWVGSurfaceImpl.h"
    19 #include "SWVGSurfaceImpl.h"
       
    20 #include "swopenvgtargetsurfaceimpl.h"
    20 
    21 
    21 #include <VG/vgu.h>
    22 #include <VG/vgu.h>
    22 
    23 
    23 const TUint CSWOpenVGRendererImpl::KMAJOR_VERSION = 1;
    24 const TUint CSWOpenVGRendererImpl::KMAJOR_VERSION = 1;
    24 const TUint CSWOpenVGRendererImpl::KMINOR_VERSION = 0;
    25 const TUint CSWOpenVGRendererImpl::KMINOR_VERSION = 0;
    75 
    76 
    76 void CSWOpenVGRendererImpl::ToggleReset()
    77 void CSWOpenVGRendererImpl::ToggleReset()
    77     {
    78     {
    78     }
    79     }
    79 
    80 
    80 MVGSurfaceImpl* CSWOpenVGRendererImpl::CreateVGSurfaceL(TInt /*aOption*/)
    81 MVGSurfaceImpl* CSWOpenVGRendererImpl::CreateVGSurfaceL(TInt aOption)
    81     {
    82     {
    82     return CSWVGSurfaceImpl::NewL();
    83     if(aOption)
       
    84         return CSWVGSurfaceImpl::NewL();
       
    85     else
       
    86         return CSWVGTargetSurfaceImpl::NewL(); //M2G: Enable rendering on target buffer.
    83     }
    87     }