2010-06-21 10:36:46 -04:00
|
|
|
/*
|
|
|
|
* Cogl
|
|
|
|
*
|
|
|
|
* An object oriented GL/GLES Abstraction/Utility Layer
|
|
|
|
*
|
|
|
|
* Copyright (C) 2010 Intel Corporation.
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
OPT (HANDLE,
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Cogl Tracing"),
|
2010-06-21 10:36:46 -04:00
|
|
|
"ref-counts",
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("CoglObject references"),
|
|
|
|
N_("Debug ref counting issues for CoglObjects"))
|
2010-06-21 10:36:46 -04:00
|
|
|
OPT (SLICING,
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Cogl Tracing"),
|
2010-06-21 10:36:46 -04:00
|
|
|
"slicing",
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Trace Texture Slicing"),
|
|
|
|
N_("debug the creation of texture slices"))
|
2010-06-21 10:36:46 -04:00
|
|
|
OPT (ATLAS,
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Cogl Tracing"),
|
2010-06-21 10:36:46 -04:00
|
|
|
"atlas",
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Trace Atlas Textures"),
|
|
|
|
N_("Debug texture atlas management"))
|
2010-06-21 10:36:46 -04:00
|
|
|
OPT (BLEND_STRINGS,
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Cogl Tracing"),
|
2010-06-21 10:36:46 -04:00
|
|
|
"blend-strings",
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Trace Blend Strings"),
|
|
|
|
N_("Debug CoglBlendString parsing"))
|
2010-06-21 10:36:46 -04:00
|
|
|
OPT (JOURNAL,
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Cogl Tracing"),
|
2010-06-21 10:36:46 -04:00
|
|
|
"journal",
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Trace Journal"),
|
|
|
|
N_("View all the geometry passing through the journal"))
|
2010-06-21 10:36:46 -04:00
|
|
|
OPT (BATCHING,
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Cogl Tracing"),
|
2010-06-21 10:36:46 -04:00
|
|
|
"batching",
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Trace Batching"),
|
|
|
|
N_("Show how geometry is being batched in the journal"))
|
2010-06-21 10:36:46 -04:00
|
|
|
OPT (MATRICES,
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Cogl Tracing"),
|
2010-06-21 10:36:46 -04:00
|
|
|
"matrices",
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Trace matrices"),
|
|
|
|
N_("Trace all matrix manipulation"))
|
2010-06-21 10:36:46 -04:00
|
|
|
/* XXX we should replace the "draw" option its very hand wavy... */
|
|
|
|
OPT (DRAW,
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Cogl Tracing"),
|
2010-06-21 10:36:46 -04:00
|
|
|
"draw",
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Trace Misc Drawing"),
|
|
|
|
N_("Trace some misc drawing operations"))
|
2010-06-21 10:36:46 -04:00
|
|
|
OPT (PANGO,
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Cogl Tracing"),
|
2010-06-21 10:36:46 -04:00
|
|
|
"pango",
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Trace Pango Renderer"),
|
|
|
|
N_("Trace the Cogl Pango renderer"))
|
2010-06-21 10:36:46 -04:00
|
|
|
OPT (TEXTURE_PIXMAP,
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Cogl Tracing"),
|
2010-06-21 10:36:46 -04:00
|
|
|
"texture-pixmap",
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Trace CoglTexturePixmap backend"),
|
|
|
|
N_("Trace the Cogl texture pixmap backend"))
|
2010-06-21 10:36:46 -04:00
|
|
|
OPT (RECTANGLES,
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Visualize"),
|
2010-06-21 10:36:46 -04:00
|
|
|
"rectangles",
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Outline rectangles"),
|
|
|
|
N_("Add wire outlines for all rectangular geometry"))
|
2010-11-16 08:06:08 -05:00
|
|
|
OPT (WIREFRAME,
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Visualize"),
|
2010-11-16 08:06:08 -05:00
|
|
|
"wireframe",
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Show wireframes"),
|
|
|
|
N_("Add wire outlines for all geometry"))
|
2010-06-21 10:36:46 -04:00
|
|
|
OPT (DISABLE_BATCHING,
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Root Cause"),
|
2010-06-21 10:36:46 -04:00
|
|
|
"disable-batching",
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Disable Journal batching"),
|
|
|
|
N_("Disable batching of geometry in the Cogl Journal."))
|
2010-06-21 10:36:46 -04:00
|
|
|
OPT (DISABLE_VBOS,
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Root Cause"),
|
2010-06-21 10:36:46 -04:00
|
|
|
"disable-vbos",
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Disable GL Vertex Buffers"),
|
|
|
|
N_("Disable use of OpenGL vertex buffer objects"))
|
2010-06-21 10:36:46 -04:00
|
|
|
OPT (DISABLE_PBOS,
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Root Cause"),
|
2010-06-21 10:36:46 -04:00
|
|
|
"disable-pbos",
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Disable GL Pixel Buffers"),
|
|
|
|
N_("Disable use of OpenGL pixel buffer objects"))
|
2010-06-21 10:36:46 -04:00
|
|
|
OPT (DISABLE_SOFTWARE_TRANSFORM,
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Root Cause"),
|
2010-06-21 10:36:46 -04:00
|
|
|
"disable-software-transform",
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Disable software rect transform"),
|
|
|
|
N_("Use the GPU to transform rectangular geometry"))
|
2010-06-21 10:36:46 -04:00
|
|
|
OPT (DUMP_ATLAS_IMAGE,
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Cogl Specialist"),
|
2010-06-21 10:36:46 -04:00
|
|
|
"dump-atlas-image",
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Dump atlas images"),
|
|
|
|
N_("Dump texture atlas changes to an image file"))
|
2010-06-21 10:36:46 -04:00
|
|
|
OPT (DISABLE_ATLAS,
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Root Cause"),
|
2010-06-21 10:36:46 -04:00
|
|
|
"disable-atlas",
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Disable texture atlasing"),
|
|
|
|
N_("Disable use of texture atlasing"))
|
2011-03-30 11:39:38 -04:00
|
|
|
OPT (DISABLE_SHARED_ATLAS,
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Root Cause"),
|
2011-03-30 11:39:38 -04:00
|
|
|
"disable-shared-atlas",
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Disable sharing the texture atlas between text and images"),
|
|
|
|
N_("When this is set the glyph cache will always use a separate texture "
|
|
|
|
"for its atlas. Otherwise it will try to share the atlas with images."))
|
2010-06-21 10:36:46 -04:00
|
|
|
OPT (DISABLE_TEXTURING,
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Root Cause"),
|
2010-06-21 10:36:46 -04:00
|
|
|
"disable-texturing",
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Disable texturing"),
|
|
|
|
N_("Disable texturing any primitives"))
|
2010-06-21 10:36:46 -04:00
|
|
|
OPT (DISABLE_ARBFP,
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Root Cause"),
|
2010-06-21 10:36:46 -04:00
|
|
|
"disable-arbfp",
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Disable arbfp"),
|
|
|
|
N_("Disable use of ARB fragment programs"))
|
2010-11-24 12:29:00 -05:00
|
|
|
OPT (DISABLE_FIXED,
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Root Cause"),
|
2010-11-24 12:29:00 -05:00
|
|
|
"disable-fixed",
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Disable fixed"),
|
|
|
|
N_("Disable use of the fixed function pipeline backend"))
|
2010-06-21 10:36:46 -04:00
|
|
|
OPT (DISABLE_GLSL,
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Root Cause"),
|
2010-06-21 10:36:46 -04:00
|
|
|
"disable-glsl",
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Disable GLSL"),
|
|
|
|
N_("Disable use of GLSL"))
|
2010-06-21 10:36:46 -04:00
|
|
|
OPT (DISABLE_BLENDING,
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Root Cause"),
|
2010-06-21 10:36:46 -04:00
|
|
|
"disable-blending",
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Disable blending"),
|
|
|
|
N_("Disable use of blending"))
|
2010-11-05 10:55:46 -04:00
|
|
|
OPT (DISABLE_NPOT_TEXTURES,
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Root Cause"),
|
2010-11-05 10:55:46 -04:00
|
|
|
"disable-npot-textures",
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Disable non-power-of-two textures"),
|
|
|
|
N_("Makes Cogl think that the GL driver doesn't support NPOT textures "
|
|
|
|
"so that it will create sliced textures or textures with waste instead."))
|
2010-11-10 09:02:31 -05:00
|
|
|
OPT (DISABLE_SOFTWARE_CLIP,
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Root Cause"),
|
2010-11-10 09:02:31 -05:00
|
|
|
"disable-software-clip",
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Disable software clipping"),
|
|
|
|
N_("Disables Cogl's attempts to clip some rectangles in software."))
|
2010-06-21 10:36:46 -04:00
|
|
|
OPT (SHOW_SOURCE,
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Cogl Tracing"),
|
2010-06-21 10:36:46 -04:00
|
|
|
"show-source",
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Show source"),
|
|
|
|
N_("Show generated ARBfp/GLSL source code"))
|
2010-06-21 10:36:46 -04:00
|
|
|
OPT (OPENGL,
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Cogl Tracing"),
|
2010-06-21 10:36:46 -04:00
|
|
|
"opengl",
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Trace some OpenGL"),
|
|
|
|
N_("Traces some select OpenGL calls"))
|
2010-06-21 10:36:46 -04:00
|
|
|
OPT (OFFSCREEN,
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Cogl Tracing"),
|
2010-06-21 10:36:46 -04:00
|
|
|
"offscreen",
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Trace offscreen support"),
|
|
|
|
N_("Debug offscreen support"))
|
2010-12-03 07:01:18 -05:00
|
|
|
OPT (DISABLE_BLENDING,
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Root Cause"),
|
2010-12-03 07:01:18 -05:00
|
|
|
"disable-program-caches",
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Disable program caches"),
|
|
|
|
N_("Disable fallback caches for arbfp and glsl programs"))
|
2011-01-20 09:41:51 -05:00
|
|
|
OPT (DISABLE_FAST_READ_PIXEL,
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Root Cause"),
|
2011-01-20 09:41:51 -05:00
|
|
|
"disable-fast-read-pixel",
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Disable read pixel optimization"),
|
|
|
|
N_("Disable optimization for reading 1px for simple "
|
|
|
|
"scenes of opaque rectangles"))
|
2011-01-24 11:36:56 -05:00
|
|
|
OPT (CLIPPING,
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Cogl Tracing"),
|
2011-01-24 11:36:56 -05:00
|
|
|
"clipping",
|
2011-09-10 04:52:48 -04:00
|
|
|
N_("Trace clipping"),
|
|
|
|
N_("Logs information about how Cogl is implementing clipping"))
|