Searched refs:SkToBool (Results 26 - 50 of 417) sorted by relevance

1234567891011>>

/external/skia/src/gpu/
H A DGrBuffer.h36 bool isCPUBacked() const { return SkToBool(fCPUData); }
84 bool isMapped() const { return SkToBool(fMapPtr); }
H A DGrGpuResourceRef.cpp46 SkASSERT(SkToBool(fResource) == fOwnRef);
56 SkASSERT(SkToBool(fResource) == fOwnRef);
H A DGrTextureProxyPriv.h23 bool isDeferred() const { return SkToBool(fTextureProxy->fDeferredUploader.get()); }
H A DGrResourceProvider.h290 SkASSERT(SkToBool(fGpu) == SkToBool(fCache));
291 return !SkToBool(fCache);
/external/skqp/src/gpu/
H A DGrBuffer.h36 bool isCPUBacked() const { return SkToBool(fCPUData); }
84 bool isMapped() const { return SkToBool(fMapPtr); }
H A DGrGpuResourceRef.cpp46 SkASSERT(SkToBool(fResource) == fOwnRef);
56 SkASSERT(SkToBool(fResource) == fOwnRef);
/external/skia/include/core/
H A DSkPaint.h297 return SkToBool(this->getFlags() & kAntiAlias_Flag);
317 return SkToBool(this->getFlags() & kDither_Flag);
336 return SkToBool(this->getFlags() & kLinearText_Flag);
356 return SkToBool(this->getFlags() & kSubpixelText_Flag);
375 return SkToBool(this->getFlags() & kLCDRenderText_Flag);
394 return SkToBool(this->getFlags() & kEmbeddedBitmapText_Flag);
415 return SkToBool(this->getFlags() & kAutoHinting_Flag);
439 return SkToBool(this->getFlags() & kVerticalText_Flag);
460 return SkToBool(this->getFlags() & kFakeBoldText_Flag);
479 return SkToBool(thi
[all...]
H A DSkVertices.h86 bool hasColors() const { return SkToBool(this->colors()); }
87 bool hasTexCoords() const { return SkToBool(this->texCoords()); }
88 bool hasIndices() const { return SkToBool(this->indices()); }
/external/skqp/include/core/
H A DSkPaint.h298 return SkToBool(this->getFlags() & kAntiAlias_Flag);
318 return SkToBool(this->getFlags() & kDither_Flag);
337 return SkToBool(this->getFlags() & kLinearText_Flag);
357 return SkToBool(this->getFlags() & kSubpixelText_Flag);
376 return SkToBool(this->getFlags() & kLCDRenderText_Flag);
395 return SkToBool(this->getFlags() & kEmbeddedBitmapText_Flag);
416 return SkToBool(this->getFlags() & kAutoHinting_Flag);
440 return SkToBool(this->getFlags() & kVerticalText_Flag);
461 return SkToBool(this->getFlags() & kFakeBoldText_Flag);
480 return SkToBool(thi
[all...]
H A DSkVertices.h86 bool hasColors() const { return SkToBool(this->colors()); }
87 bool hasTexCoords() const { return SkToBool(this->texCoords()); }
88 bool hasIndices() const { return SkToBool(this->indices()); }
/external/skia/src/gpu/vk/
H A DGrVkCaps.h33 return SkToBool(ConfigInfo::kTextureable_Flag & fConfigTable[config].fOptimalFlags);
46 return SkToBool(ConfigInfo::kTextureable_Flag & fConfigTable[config].fLinearFlags);
50 return !withMSAA && SkToBool(ConfigInfo::kRenderable_Flag &
57 return SkToBool(ConfigInfo::kBlitDst_Flag & flags);
63 return SkToBool(ConfigInfo::kBlitSrc_Flag & flags);
H A DGrVkCaps.cpp216 fSampleShadingSupport = SkToBool(featureFlags & kSampleRateShading_GrVkFeatureFlag);
262 shaderCaps->fGeometryShaderSupport = SkToBool(featureFlags & kGeometryShader_GrVkFeatureFlag);
265 shaderCaps->fDualSourceBlendingSupport = SkToBool(featureFlags & kDualSrcBlend_GrVkFeatureFlag);
294 return SkToBool(VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT & props.optimalTilingFeatures);
331 if (SkToBool(VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT & vkFlags) &&
332 SkToBool(VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT & vkFlags)) {
336 if (SkToBool(VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT & vkFlags)) {
341 if (SkToBool(VK_FORMAT_FEATURE_BLIT_SRC_BIT & vkFlags)) {
345 if (SkToBool(VK_FORMAT_FEATURE_BLIT_DST_BIT & vkFlags)) {
442 return rt->numColorSamples() <= 1 && SkToBool(surfac
[all...]
/external/skia/include/gpu/
H A DGrGpuResource.h89 bool internalHasPendingRead() const { return SkToBool(fPendingReads); }
90 bool internalHasPendingWrite() const { return SkToBool(fPendingWrites); }
91 bool internalHasPendingIO() const { return SkToBool(fPendingWrites | fPendingReads); }
93 bool internalHasRef() const { return SkToBool(fRefCnt); }
/external/skia/tests/
H A DShadowTest.cpp22 if (expectSuccess != SkToBool(verts)) {
27 if (expectSuccess != SkToBool(verts)) {
32 if (expectSuccess != SkToBool(verts)) {
37 if (expectSuccess != SkToBool(verts)) {
H A DTextBlobCacheTest.cpp105 paint.setAntiAlias(SkToBool(aa));
106 paint.setSubpixelText(SkToBool(subpixel));
107 paint.setLCDRenderText(SkToBool(lcd));
108 if (!SkToBool(lcd)) {
H A DGrSurfaceTest.cpp117 REPORTER_ASSERT(reporter, SkToBool(tex) == ict,
118 "config:%d, tex:%d, isConfigTexturable:%d", config, SkToBool(tex), ict);
122 REPORTER_ASSERT(reporter, SkToBool(proxy.get()) ==
129 REPORTER_ASSERT(reporter, SkToBool(tex) == isRenderable,
130 "config:%d, tex:%d, isRenderable:%d", config, SkToBool(tex),
135 isRenderable = SkToBool(caps->getRenderTargetSampleCount(2, config));
136 REPORTER_ASSERT(reporter, SkToBool(tex) == isRenderable,
137 "config:%d, tex:%d, isRenderable:%d", config, SkToBool(tex),
H A DDrawTextTest.cpp93 paint.setAntiAlias(SkToBool(flags & antiAliasFlag));
94 paint.setSubpixelText(SkToBool(flags & subpixelFlag));
95 paint.setLCDRenderText(SkToBool(flags & lcdFlag));
/external/skqp/include/gpu/
H A DGrGpuResource.h89 bool internalHasPendingRead() const { return SkToBool(fPendingReads); }
90 bool internalHasPendingWrite() const { return SkToBool(fPendingWrites); }
91 bool internalHasPendingIO() const { return SkToBool(fPendingWrites | fPendingReads); }
93 bool internalHasRef() const { return SkToBool(fRefCnt); }
/external/skqp/tests/
H A DShadowTest.cpp22 if (expectSuccess != SkToBool(verts)) {
27 if (expectSuccess != SkToBool(verts)) {
32 if (expectSuccess != SkToBool(verts)) {
37 if (expectSuccess != SkToBool(verts)) {
H A DTextBlobCacheTest.cpp105 paint.setAntiAlias(SkToBool(aa));
106 paint.setSubpixelText(SkToBool(subpixel));
107 paint.setLCDRenderText(SkToBool(lcd));
108 if (!SkToBool(lcd)) {
H A DGrSurfaceTest.cpp127 REPORTER_ASSERT(reporter, SkToBool(tex) == ict,
128 "config:%d, tex:%d, isConfigTexturable:%d", config, SkToBool(tex), ict);
139 REPORTER_ASSERT(reporter, SkToBool(proxy.get()) ==
147 REPORTER_ASSERT(reporter, SkToBool(tex) == icr,
149 SkToBool(tex), icr);
154 REPORTER_ASSERT(reporter, SkToBool(tex) == icr,
155 "config:%d, tex:%d, isConfigRenderable(true):%d", config, SkToBool(tex),
/external/skqp/src/gpu/vk/
H A DGrVkCaps.cpp212 fSampleShadingSupport = SkToBool(featureFlags & kSampleRateShading_GrVkFeatureFlag);
258 shaderCaps->fGeometryShaderSupport = SkToBool(featureFlags & kGeometryShader_GrVkFeatureFlag);
261 shaderCaps->fDualSourceBlendingSupport = SkToBool(featureFlags & kDualSrcBlend_GrVkFeatureFlag);
290 return SkToBool(VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT & props.optimalTilingFeatures);
327 if (SkToBool(VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT & vkFlags) &&
328 SkToBool(VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT & vkFlags)) {
332 if (SkToBool(VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT & vkFlags)) {
337 if (SkToBool(VK_FORMAT_FEATURE_BLIT_SRC_BIT & vkFlags)) {
341 if (SkToBool(VK_FORMAT_FEATURE_BLIT_DST_BIT & vkFlags)) {
407 if (!SkToBool(ConfigInf
[all...]
/external/skqp/src/gpu/gl/
H A DGrGLCaps.h118 return SkToBool(fConfigTable[config].fFlags & ConfigInfo::kTextureable_Flag);
123 return SkToBool(fConfigTable[config].fFlags & ConfigInfo::kRenderableWithMSAA_Flag);
125 return SkToBool(fConfigTable[config].fFlags & ConfigInfo::kRenderable_Flag);
138 return SkToBool(fConfigTable[config].fFlags & ConfigInfo::kFBOColorAttachment_Flag);
142 return SkToBool(fConfigTable[config].fFlags & ConfigInfo::kCanUseTexStorage_Flag);
146 return SkToBool(fConfigTable[config].fFlags & ConfigInfo::kCanUseWithTexelBuffer_Flag);
226 return SkToBool(fConfigTable[config].fFlags & ConfigInfo::kVerifiedColorAttachment_Flag);
/external/skia/gm/
H A Dcoloremoji.cpp108 if (SkToBool(makeLinear)) {
112 if (SkToBool(makeBlur) && SkToBool(makeGray)) {
116 } else if (SkToBool(makeBlur)) {
118 } else if (SkToBool(makeGray)) {
/external/skqp/gm/
H A Dcoloremoji.cpp108 if (SkToBool(makeLinear)) {
112 if (SkToBool(makeBlur) && SkToBool(makeGray)) {
116 } else if (SkToBool(makeBlur)) {
118 } else if (SkToBool(makeGray)) {

Completed in 536 milliseconds

1234567891011>>