| Index: dm/DMSrcSink.cpp
|
| diff --git a/dm/DMSrcSink.cpp b/dm/DMSrcSink.cpp
|
| index 6e039236aad48872c6db23c340fea4a06d32d999..17b7cea0390d46b88b38248a513272c394b9c624 100644
|
| --- a/dm/DMSrcSink.cpp
|
| +++ b/dm/DMSrcSink.cpp
|
| @@ -790,13 +790,11 @@ DEFINE_bool(gpuStats, false, "Append GPU stats to the log for each GPU task?");
|
|
|
| GPUSink::GPUSink(GrContextFactory::GLContextType ct,
|
| GrContextFactory::GLContextOptions options,
|
| - GrGLStandard gpuAPI,
|
| int samples,
|
| bool diText,
|
| bool threaded)
|
| : fContextType(ct)
|
| , fContextOptions(options)
|
| - , fGpuAPI(gpuAPI)
|
| , fSampleCount(samples)
|
| , fUseDIText(diText)
|
| , fThreaded(threaded) {}
|
| @@ -830,8 +828,7 @@ Error GPUSink::draw(const Src& src, SkBitmap* dst, SkWStream*, SkString* log) co
|
| const SkImageInfo info =
|
| SkImageInfo::Make(size.width(), size.height(), kN32_SkColorType, kPremul_SkAlphaType);
|
| SkAutoTUnref<SkSurface> surface(
|
| - NewGpuSurface(&factory, fContextType, fContextOptions, fGpuAPI, info, fSampleCount,
|
| - fUseDIText));
|
| + NewGpuSurface(&factory, fContextType, fContextOptions, info, fSampleCount, fUseDIText));
|
| if (!surface) {
|
| return "Could not create a surface.";
|
| }
|
|
|