Imported Upstream version 2.3.9
This commit is contained in:
133
devel-docs/libgimpbase/html/libgimpbase-gimpcpuaccel.html
Normal file
133
devel-docs/libgimpbase/html/libgimpbase-gimpcpuaccel.html
Normal file
@ -0,0 +1,133 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>gimpcpuaccel</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
|
||||
<link rel="up" href="libgimpbase.html" title="Part I. GIMP Base Library">
|
||||
<link rel="prev" href="libgimpbase-gimpchecks.html" title="gimpchecks">
|
||||
<link rel="next" href="libgimpbase-gimpdatafiles.html" title="gimpdatafiles">
|
||||
<meta name="generator" content="GTK-Doc V1.6 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
<link rel="part" href="libgimpbase.html" title="Part I. GIMP Base Library">
|
||||
<link rel="index" href="ix01.html" title="Index">
|
||||
<link rel="index" href="ix02.html" title="Index of new symbols in GIMP 2.2">
|
||||
<link rel="index" href="ix03.html" title="Index of new symbols in GIMP 2.4">
|
||||
<link rel="index" href="ix04.html" title="Index of deprecated symbols">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
||||
<tr valign="middle">
|
||||
<td><a accesskey="p" href="libgimpbase-gimpchecks.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
||||
<td><a accesskey="u" href="libgimpbase.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
||||
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
||||
<th width="100%" align="center">GIMP Base Library Reference Manual</th>
|
||||
<td><a accesskey="n" href="libgimpbase-gimpdatafiles.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
||||
</tr>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#top_of_page" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#desc" class="shortcut">Description</a></nobr></td></tr>
|
||||
</table>
|
||||
<div class="refentry" lang="en">
|
||||
<a name="libgimpbase-gimpcpuaccel"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2><span class="refentrytitle"><a name="top_of_page"></a>gimpcpuaccel</span></h2>
|
||||
<p>gimpcpuaccel — </p>
|
||||
</td>
|
||||
<td valign="top" align="right"></td>
|
||||
</tr></table></div>
|
||||
<div class="refsynopsisdiv">
|
||||
<a name="synopsis"></a><h2>Synopsis</h2>
|
||||
<pre class="synopsis">
|
||||
|
||||
|
||||
|
||||
enum <a href="libgimpbase-gimpcpuaccel.html#GimpCpuAccelFlags">GimpCpuAccelFlags</a>;
|
||||
<a href="libgimpbase-gimpcpuaccel.html#GimpCpuAccelFlags">GimpCpuAccelFlags</a> <a href="libgimpbase-gimpcpuaccel.html#gimp-cpu-accel-get-support">gimp_cpu_accel_get_support</a>
|
||||
(void);
|
||||
void <a href="libgimpbase-gimpcpuaccel.html#gimp-cpu-accel-set-use">gimp_cpu_accel_set_use</a> (gboolean use);
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="desc"></a><h2>Description</h2>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="details"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2531318"></a><h3>
|
||||
<a name="GimpCpuAccelFlags"></a>enum GimpCpuAccelFlags</h3>
|
||||
<a class="indexterm" name="id2531329"></a><pre class="programlisting">typedef enum
|
||||
{
|
||||
GIMP_CPU_ACCEL_NONE = 0x0,
|
||||
|
||||
/* x86 accelerations */
|
||||
GIMP_CPU_ACCEL_X86_MMX = 0x80000000,
|
||||
GIMP_CPU_ACCEL_X86_3DNOW = 0x40000000,
|
||||
GIMP_CPU_ACCEL_X86_MMXEXT = 0x20000000,
|
||||
GIMP_CPU_ACCEL_X86_SSE = 0x10000000,
|
||||
GIMP_CPU_ACCEL_X86_SSE2 = 0x08000000,
|
||||
GIMP_CPU_ACCEL_X86_SSE3 = 0x02000000,
|
||||
|
||||
/* powerpc accelerations */
|
||||
GIMP_CPU_ACCEL_PPC_ALTIVEC = 0x04000000
|
||||
} GimpCpuAccelFlags;
|
||||
</pre>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2534474"></a><h3>
|
||||
<a name="gimp-cpu-accel-get-support"></a>gimp_cpu_accel_get_support ()</h3>
|
||||
<a class="indexterm" name="id2534488"></a><pre class="programlisting"><a href="libgimpbase-gimpcpuaccel.html#GimpCpuAccelFlags">GimpCpuAccelFlags</a> gimp_cpu_accel_get_support
|
||||
(void);</pre>
|
||||
<p>
|
||||
Query for CPU acceleration support.</p>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody><tr>
|
||||
<td>
|
||||
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> <a href="libgimpbase-gimpcpuaccel.html#GimpCpuAccelFlags"><span class="type">GimpCpuAccelFlags</span></a> as supported by the CPU.
|
||||
|
||||
</td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<p>Since GIMP 2.4
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2534540"></a><h3>
|
||||
<a name="gimp-cpu-accel-set-use"></a>gimp_cpu_accel_set_use ()</h3>
|
||||
<a class="indexterm" name="id2534554"></a><pre class="programlisting">void gimp_cpu_accel_set_use (gboolean use);</pre>
|
||||
<p>
|
||||
This function is for internal use only.</p>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
<div class="variablelist"><table border="0">
|
||||
<col align="left" valign="top">
|
||||
<tbody><tr>
|
||||
<td>
|
||||
<span class="term"><em class="parameter"><code>use</code></em> :</span></td>
|
||||
<td> whether to use CPU acceleration features or not
|
||||
</td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<p>Since GIMP 2.4
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user