blob: 4a329fd80e1846a7a4c65cfd3bbddce44baf1322 [file] [log] [blame]
/*
* Copyright 2022 Google LLC
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "include/core/SkCapabilities.h"
sk_sp<SkCapabilities> SkCapabilities::RasterBackend() {
static SkCapabilities* sCaps = [](){
SkCapabilities* caps = new SkCapabilities;
caps->fSkSLVersion = SkSL::Version::k100;
return caps;
}();
return sk_ref_sp(sCaps);
}