• Home
  • Raw
  • Download

Lines Matching +full:no +full:- +full:ct

4  * Use of this source code is governed by a BSD-style license that can be
16 void testing_only_texture_test(skiatest::Reporter* reporter, GrContext* context, SkColorType ct, in testing_only_texture_test() argument
22 SkImageInfo ii = SkImageInfo::Make(kWidth, kHeight, ct, kPremul_SkAlphaType); in testing_only_texture_test()
28 const GrCaps* caps = context->priv().caps(); in testing_only_texture_test()
30 GrColorType grCT = SkColorTypeToGrColorType(ct); in testing_only_texture_test()
32 GrBackendFormat backendFormat = context->defaultBackendFormat(ct, renderable); in testing_only_texture_test()
44 backendTex = context->priv().createBackendTexture(&expectedPixels, 1, in testing_only_texture_test()
47 backendTex = context->createBackendTexture(kWidth, kHeight, ct, SkColors::kTransparent, in testing_only_texture_test()
51 // createBackendTexture will fill the texture with 0's if no data is provided, so in testing_only_texture_test()
60 caps->supportedReadPixelsColorType(grCT, backendTex.getBackendFormat(), grCT); in testing_only_texture_test()
67 wrappedProxy = context->priv().proxyProvider()->wrapRenderableBackendTexture( in testing_only_texture_test()
71 wrappedProxy = context->priv().proxyProvider()->wrapBackendTexture( in testing_only_texture_test()
77 auto surfaceContext = context->priv().makeWrappedSurfaceContext(std::move(wrappedProxy), grCT, in testing_only_texture_test()
81 bool result = surfaceContext->readPixels({grCT, kPremul_SkAlphaType, nullptr, kWidth, kHeight}, in testing_only_texture_test()