diff options
Diffstat (limited to 'gfx/skia/skia/src/gpu/GrGpuFactory.h')
-rw-r--r-- | gfx/skia/skia/src/gpu/GrGpuFactory.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gfx/skia/skia/src/gpu/GrGpuFactory.h b/gfx/skia/skia/src/gpu/GrGpuFactory.h new file mode 100644 index 000000000..aecc2c170 --- /dev/null +++ b/gfx/skia/skia/src/gpu/GrGpuFactory.h @@ -0,0 +1,24 @@ +/* + * Copyright 2015 Google Inc. + * + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + +#ifndef GrGpuFactory_DEFINED +#define GrGpuFactory_DEFINED + +#include "GrTypes.h" + +class GrGpu; +class GrContext; +struct GrContextOptions; + +typedef GrGpu* (*CreateGpuProc)(GrBackendContext, const GrContextOptions& options, GrContext*); + +class GrGpuFactoryRegistrar { +public: + GrGpuFactoryRegistrar(int i, CreateGpuProc proc); +}; + +#endif |