File indexing completed on 2025-03-09 03:52:04
0001 /* ============================================================ 0002 * 0003 * This file is a part of digiKam project 0004 * https://www.digikam.org 0005 * 0006 * Date : 2007-02-11 0007 * Description : a tool to show image using an OpenGL interface. 0008 * 0009 * SPDX-FileCopyrightText: 2007-2008 by Markus Leuthold <kusi at forum dot titlis dot org> 0010 * SPDX-FileCopyrightText: 2008-2024 by Gilles Caulier <caulier dot gilles at gmail dot com> 0011 * 0012 * SPDX-License-Identifier: GPL-2.0-or-later 0013 * 0014 * ============================================================ */ 0015 0016 #ifndef DIGIKAM_GLVIEWER_PLUGIN_GLVIEWER_GLOBAL_H 0017 #define DIGIKAM_GLVIEWER_PLUGIN_GLVIEWER_GLOBAL_H 0018 0019 // Uncomment this line to enable performance checks. 0020 //#define PERFORMANCE_ANALYSIS 0021 0022 /// Images cache settings. Keep in mind that one cache entry takes 20MB for a 5mpix pic 0023 #define CACHESIZE 4 0024 #define EMPTY 99999 0025 0026 namespace DigikamGenericGLViewerPlugin 0027 { 0028 0029 enum OGLstate 0030 { 0031 oglOK, 0032 oglNoRectangularTexture, 0033 oglNoContext 0034 }; 0035 0036 } // namespace DigikamGenericGLViewerPlugin 0037 0038 #endif // DIGIKAM_GLVIEWER_PLUGIN_GLVIEWER_GLOBAL_H