/*
 * Copyright (C) 2021 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#pragma once

/**
 * Verify if the provided vendor and version supports RenderEffect caching
 * behavior.
 *
 * Certain Open GL Driver implementations run into blocking scenarios
 * with Fence::waitForever without a corresponding signal to unblock
 * This happens during attempts to cache SkImage instances across frames
 * especially in circumstances using RenderEffect/SkImageFilter internally.
 * So detect the corresponding GL Vendor and driver version to determine if
 * caching SkImage instances across frames is supported.
 * See b/197263715 & b/193145089
 * @param vendor Vendor of the GL driver
 * @param version Version of the GL driver from the given vendor
 * @return True if a RenderEffect result can be cached across frames,
 * false otherwise
 */
bool supportsRenderEffectCache(const char* vendor, const char* version);
