• Dmitry Matveev's avatar
    Merge pull request #12674 from dmatveev:gapi_upd270918 · 2c6ab654
    Dmitry Matveev authored
    * Update G-API code base to 27-Sep-18
    
    Changes mostly improve standalone build support
    
    * G-API code base update 28-09-2018
    
    * Windows/Documentation warnings should be fixed
    * Fixed stability issues in Fluid backend
    * Fixed precompiled headers issues in G-API source files
    
    * G-API code base update 28-09-18 EOD
    
    * Fixed several static analysis issues
    * Fixed issues found when G-API is built in a standalone mode
    2c6ab654
gcompoundbackend.cpp 660 Bytes
// This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html.
//
// Copyright (C) 2018 Intel Corporation


#include "precomp.hpp"

#include "opencv2/gapi/gcompoundkernel.hpp" // compound::backend()

#include "api/gbackend_priv.hpp"
#include "compiler/gislandmodel.hpp" // GIslandExecutable

cv::gapi::GBackend cv::gapi::compound::backend()
{
    // A pointer to dummy Priv is used to uniquely identify backends
    static cv::gapi::GBackend this_backend(std::make_shared<cv::gapi::GBackend::Priv>());
    return this_backend;
}