diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h index 30003cd195..6b2c27a773 100644 --- a/include/gpu/GrContext.h +++ b/include/gpu/GrContext.h @@ -195,7 +195,7 @@ public: const SkSurfaceProps* surfaceProps = nullptr, SkBudgeted = SkBudgeted::kYes); - // Create a new draw context as above but have it backed by a deferred-style + // Create a new render target context as above but have it backed by a deferred-style // GrRenderTargetProxy rather than one that is backed by an actual GrRenderTarget sk_sp makeDeferredRenderTargetContext(SkBackingFit fit, int width, int height, diff --git a/tests/SRGBMipMapTest.cpp b/tests/SRGBMipMapTest.cpp index 073f667ca5..b22e0b94b7 100644 --- a/tests/SRGBMipMapTest.cpp +++ b/tests/SRGBMipMapTest.cpp @@ -119,7 +119,7 @@ DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS(SRGBMipMaps, reporter, ctxInfo) { GrTextureProvider* texProvider = context->textureProvider(); SkAutoTUnref texture(texProvider->createTexture(desc, SkBudgeted::kNo, texData, 0)); - // Create two draw contexts (L32 and S32) + // Create two render target contexts (L32 and S32) sk_sp srgbColorSpace = SkColorSpace::MakeNamed(SkColorSpace::kSRGB_Named); sk_sp l32RenderTargetContext = context->makeRenderTargetContext( SkBackingFit::kExact, rtS, rtS, kRGBA_8888_GrPixelConfig, nullptr);