Searched refs:kMaxTextures (Results 1 – 12 of 12) sorted by relevance
56 static constexpr int kMaxTextures = 4;111 TextureSampler fTextureSamplers[kMaxTextures];135 static constexpr int kMaxTextures = 4;177 TextureSampler fTextureSamplers[kMaxTextures];197 static constexpr int kMaxTextures = 4;251 TextureSampler fTextureSamplers[kMaxTextures];
225 SkASSERT(numProxies <= kMaxTextures); in GrDistanceFieldA8TextGeoProc()252 SkASSERT(numProxies <= kMaxTextures); in addNewProxies()286 sk_sp<GrTextureProxy> proxies[kMaxTextures] = { in TestCreate()522 SkASSERT(numProxies <= kMaxTextures); in GrDistanceFieldPathGeoProc()546 SkASSERT(numProxies <= kMaxTextures); in addNewProxies()581 sk_sp<GrTextureProxy> proxies[kMaxTextures] = { in TestCreate()839 SkASSERT(numProxies <= kMaxTextures); in GrDistanceFieldLCDTextGeoProc()867 SkASSERT(numProxies <= kMaxTextures); in addNewProxies()901 sk_sp<GrTextureProxy> proxies[kMaxTextures] = { in TestCreate()
24 static constexpr int kMaxTextures = 4;69 TextureSampler fTextureSamplers[kMaxTextures];
134 SkASSERT(numActiveProxies <= kMaxTextures); in GrBitmapTextGeoProc()166 SkASSERT(numActiveProxies <= kMaxTextures); in addNewProxies()201 sk_sp<GrTextureProxy> proxies[kMaxTextures] = { in TestCreate()
225 SkASSERT(numProxies <= kMaxTextures); in GrDistanceFieldA8TextGeoProc()252 SkASSERT(numProxies <= kMaxTextures); in addNewProxies()286 sk_sp<GrTextureProxy> proxies[kMaxTextures] = { in TestCreate()522 SkASSERT(numProxies <= kMaxTextures); in GrDistanceFieldPathGeoProc()546 SkASSERT(numProxies <= kMaxTextures); in addNewProxies()581 sk_sp<GrTextureProxy> proxies[kMaxTextures] = { in TestCreate()840 SkASSERT(numProxies <= kMaxTextures); in GrDistanceFieldLCDTextGeoProc()868 SkASSERT(numProxies <= kMaxTextures); in addNewProxies()902 sk_sp<GrTextureProxy> proxies[kMaxTextures] = { in TestCreate()
133 SkASSERT(numActiveProxies <= kMaxTextures); in GrBitmapTextGeoProc()165 SkASSERT(numActiveProxies <= kMaxTextures); in addNewProxies()200 sk_sp<GrTextureProxy> proxies[kMaxTextures] = { in TestCreate()
300 static constexpr int kMaxTextures = GrBitmapTextGeoProc::kMaxTextures; in onPrepareDraws() local301 GR_STATIC_ASSERT(GrDistanceFieldA8TextGeoProc::kMaxTextures == kMaxTextures); in onPrepareDraws()302 GR_STATIC_ASSERT(GrDistanceFieldLCDTextGeoProc::kMaxTextures == kMaxTextures); in onPrepareDraws()304 auto fixedDynamicState = target->makeFixedDynamicState(kMaxTextures); in onPrepareDraws()
321 static constexpr int kMaxTextures = GrDistanceFieldPathGeoProc::kMaxTextures; in onPrepareDraws() local322 GR_STATIC_ASSERT(GrBitmapTextGeoProc::kMaxTextures == kMaxTextures); in onPrepareDraws()325 flushInfo.fFixedDynamicState = target->makeFixedDynamicState(kMaxTextures); in onPrepareDraws()
297 static constexpr int kMaxTextures = GrBitmapTextGeoProc::kMaxTextures; in onPrepareDraws() local298 GR_STATIC_ASSERT(GrDistanceFieldA8TextGeoProc::kMaxTextures == kMaxTextures); in onPrepareDraws()299 GR_STATIC_ASSERT(GrDistanceFieldLCDTextGeoProc::kMaxTextures == kMaxTextures); in onPrepareDraws()303 target->detachAppliedClip(), kMaxTextures); in onPrepareDraws()
319 static constexpr int kMaxTextures = GrDistanceFieldPathGeoProc::kMaxTextures; in onPrepareDraws() local320 GR_STATIC_ASSERT(GrBitmapTextGeoProc::kMaxTextures == kMaxTextures); in onPrepareDraws()322 auto pipe = fHelper.makePipeline(target, kMaxTextures); in onPrepareDraws()