gimpcpuaccel

## gimpcpuaccel gimpcpuaccel — Functions to query and configure CPU acceleration. |

## Synopsis

    enum                GimpCpuAccelFlags;
    GimpCpuAccelFlags   gimp_cpu_accel_get_support          (void);
    void                gimp_cpu_accel_set_use              (gboolean use);

## Description

Functions to query and configure CPU acceleration.

## Details

### enum GimpCpuAccelFlags

    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;

### gimp_cpu_accel_get_support ()

    GimpCpuAccelFlags   gimp_cpu_accel_get_support          (void);

Query for CPU acceleration support.

Returns : | GimpCpuAccelFlags as supported by the CPU.

Since GIMP 2.4

### gimp_cpu_accel_set_use ()

    void                gimp_cpu_accel_set_use              (gboolean use);

This function is for internal use only.

`use` : | whether to use CPU acceleration features or not

Since GIMP 2.4