blob: 180f264d96413fda8a4fa99d44ed1d3314e6759e [file] [log] [blame]
/*
* 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;
typedef GrGpu* (*CreateGpuProc)(GrBackendContext, GrContext*);
class GrGpuFactoryRegistrar {
public:
GrGpuFactoryRegistrar(int i, CreateGpuProc proc);
};
#endif