| Index: dm/DMGpuSupport.h
|
| diff --git a/dm/DMGpuSupport.h b/dm/DMGpuSupport.h
|
| index 6a59558f55b8e1c7abc964b896042bcb1322f4e6..4ea17372515cd68dafb64a0f0633b52dd684a24e 100644
|
| --- a/dm/DMGpuSupport.h
|
| +++ b/dm/DMGpuSupport.h
|
| @@ -27,13 +27,12 @@ static const bool kGPUDisabled = false;
|
| static inline SkSurface* NewGpuSurface(GrContextFactory* grFactory,
|
| GrContextFactory::GLContextType type,
|
| GrContextFactory::GLContextOptions options,
|
| - GrGLStandard gpuAPI,
|
| SkImageInfo info,
|
| int samples,
|
| bool useDIText) {
|
| uint32_t flags = useDIText ? SkSurfaceProps::kUseDeviceIndependentFonts_Flag : 0;
|
| SkSurfaceProps props(flags, SkSurfaceProps::kLegacyFontHost_InitType);
|
| - return SkSurface::NewRenderTarget(grFactory->get(type, gpuAPI, options), SkSurface::kNo_Budgeted,
|
| + return SkSurface::NewRenderTarget(grFactory->get(type, options), SkSurface::kNo_Budgeted,
|
| info, samples, &props);
|
| }
|
|
|
| @@ -93,7 +92,6 @@ static const bool kGPUDisabled = true;
|
| static inline SkSurface* NewGpuSurface(GrContextFactory*,
|
| GrContextFactory::GLContextType,
|
| GrContextFactory::GLContextOptions,
|
| - GrGLStandard,
|
| SkImageInfo,
|
| int,
|
| bool) {
|
|
|