Home
last modified time | relevance | path

Searched refs:asKey (Results 1 – 21 of 21) sorted by relevance

/external/skqp/src/gpu/
DGrProgramDesc.h50 const uint32_t* asKey() const { in asKey() function
74 const uint32_t* aKey = this->asKey();
75 const uint32_t* bKey = that.asKey();
DGrProgramDesc.cpp46 GR_STATIC_ASSERT(1 == sizeof(caps.configTextureSwizzle(config).asKey())); in sampler_key()
48 caps.configTextureSwizzle(config).asKey() << kSamplerOrImageTypeKeyBits | in sampler_key()
250 header->fOutputSwizzle = shaderCaps.configOutputSwizzle(config).asKey(); in Build()
DGrSwizzle.h49 constexpr uint8_t asKey() const { return fKey; } in asKey() function
DGrFragmentProcessor.cpp187 b->add32(fSwizzle.asKey()); in SwizzleOutput()
/external/skia/src/gpu/
DGrProgramDesc.h46 const uint32_t* asKey() const { in asKey() function
70 const uint32_t* aKey = this->asKey();
71 const uint32_t* bKey = that.asKey();
DGrProgramDesc.cpp46 GR_STATIC_ASSERT(2 == sizeof(caps.configTextureSwizzle(config).asKey())); in sampler_key()
48 caps.configTextureSwizzle(config).asKey() << kSamplerOrImageTypeKeyBits | in sampler_key()
244 header->fOutputSwizzle = shaderCaps.configOutputSwizzle(renderTarget->config()).asKey(); in Build()
DGrSwizzle.h49 constexpr uint16_t asKey() const { return fKey; } in asKey() function
DGrFragmentProcessor.cpp189 b->add32(fSwizzle.asKey()); in SwizzleOutput()
/external/skia/src/gpu/mtl/
DGrMtlResourceProvider.h63 return SkOpts::hash_fn(desc.asKey(), desc.keyLength(), 0); in operator()
/external/skia/src/gpu/gl/
DGrGLTexture.h48 uint32_t fSwizzleKey = GrSwizzle::RGBA().asKey();
DGrGLGpu.h333 return SkOpts::hash_fn(desc.asKey(), desc.keyLength(), 0); in operator()
DGrGLGpu.cpp3055 newNonSamplerParams.fSwizzleKey = swizzle.asKey(); in bindTexture()
3056 if (setAll || swizzle.asKey() != oldNonSamplerParams.fSwizzleKey) { in bindTexture()
/external/skqp/src/gpu/gl/
DGrGLTexture.h48 uint32_t fSwizzleKey = GrSwizzle::RGBA().asKey();
DGrGLGpu.h325 return SkOpts::hash_fn(desc.asKey(), desc.keyLength(), 0); in operator()
DGrGLGpu.cpp3042 newNonSamplerParams.fSwizzleKey = swizzle.asKey(); in bindTexture()
3043 if (setAll || swizzle.asKey() != oldNonSamplerParams.fSwizzleKey) { in bindTexture()
/external/skia/src/gpu/vk/
DGrVkPipelineStateBuilder.cpp193 sk_sp<SkData> key = SkData::MakeWithoutCopy(desc->asKey(), desc->shaderKeyLength()); in storeShadersInCache()
286 sk_sp<SkData> key = SkData::MakeWithoutCopy(desc->asKey(), desc->shaderKeyLength()); in finalize()
DGrVkResourceProvider.h218 return SkOpts::hash_fn(desc.asKey(), desc.keyLength(), 0); in operator()
/external/skqp/src/gpu/vk/
DGrVkPipelineStateBuilder.cpp193 sk_sp<SkData> key = SkData::MakeWithoutCopy(desc->asKey(), desc->shaderKeyLength()); in storeShadersInCache()
285 sk_sp<SkData> key = SkData::MakeWithoutCopy(desc->asKey(), desc->shaderKeyLength()); in finalize()
DGrVkResourceProvider.h211 return SkOpts::hash_fn(desc.asKey(), desc.keyLength(), 0); in operator()
/external/skqp/src/gpu/gl/builders/
DGrGLProgramBuilder.cpp50 sk_sp<SkData> key = SkData::MakeWithoutCopy(desc->asKey(), desc->keyLength()); in CreateProgram()
179 sk_sp<SkData> key = SkData::MakeWithoutCopy(desc()->asKey(), desc()->keyLength()); in storeShaderInCache()
/external/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.cpp50 sk_sp<SkData> key = SkData::MakeWithoutCopy(desc->asKey(), desc->keyLength()); in CreateProgram()
221 sk_sp<SkData> key = SkData::MakeWithoutCopy(desc()->asKey(), desc()->keyLength()); in storeShaderInCache()