/external/skia/src/gpu/ |
H A D | GrBuffer.h | 36 bool isCPUBacked() const { return SkToBool(fCPUData); } 84 bool isMapped() const { return SkToBool(fMapPtr); }
|
H A D | GrGpuResourceRef.cpp | 46 SkASSERT(SkToBool(fResource) == fOwnRef); 56 SkASSERT(SkToBool(fResource) == fOwnRef);
|
H A D | GrTextureProxyPriv.h | 23 bool isDeferred() const { return SkToBool(fTextureProxy->fDeferredUploader.get()); }
|
H A D | GrResourceProvider.h | 290 SkASSERT(SkToBool(fGpu) == SkToBool(fCache)); 291 return !SkToBool(fCache);
|
/external/skqp/src/gpu/ |
H A D | GrBuffer.h | 36 bool isCPUBacked() const { return SkToBool(fCPUData); } 84 bool isMapped() const { return SkToBool(fMapPtr); }
|
H A D | GrGpuResourceRef.cpp | 46 SkASSERT(SkToBool(fResource) == fOwnRef); 56 SkASSERT(SkToBool(fResource) == fOwnRef);
|
/external/skia/include/core/ |
H A D | SkPaint.h | 297 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 D | SkVertices.h | 86 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 D | SkPaint.h | 298 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 D | SkVertices.h | 86 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 D | GrVkCaps.h | 33 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 D | GrVkCaps.cpp | 216 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 D | GrGpuResource.h | 89 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 D | ShadowTest.cpp | 22 if (expectSuccess != SkToBool(verts)) { 27 if (expectSuccess != SkToBool(verts)) { 32 if (expectSuccess != SkToBool(verts)) { 37 if (expectSuccess != SkToBool(verts)) {
|
H A D | TextBlobCacheTest.cpp | 105 paint.setAntiAlias(SkToBool(aa)); 106 paint.setSubpixelText(SkToBool(subpixel)); 107 paint.setLCDRenderText(SkToBool(lcd)); 108 if (!SkToBool(lcd)) {
|
H A D | GrSurfaceTest.cpp | 117 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 D | DrawTextTest.cpp | 93 paint.setAntiAlias(SkToBool(flags & antiAliasFlag)); 94 paint.setSubpixelText(SkToBool(flags & subpixelFlag)); 95 paint.setLCDRenderText(SkToBool(flags & lcdFlag));
|
/external/skqp/include/gpu/ |
H A D | GrGpuResource.h | 89 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 D | ShadowTest.cpp | 22 if (expectSuccess != SkToBool(verts)) { 27 if (expectSuccess != SkToBool(verts)) { 32 if (expectSuccess != SkToBool(verts)) { 37 if (expectSuccess != SkToBool(verts)) {
|
H A D | TextBlobCacheTest.cpp | 105 paint.setAntiAlias(SkToBool(aa)); 106 paint.setSubpixelText(SkToBool(subpixel)); 107 paint.setLCDRenderText(SkToBool(lcd)); 108 if (!SkToBool(lcd)) {
|
H A D | GrSurfaceTest.cpp | 127 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 D | GrVkCaps.cpp | 212 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 D | GrGLCaps.h | 118 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 D | coloremoji.cpp | 108 if (SkToBool(makeLinear)) { 112 if (SkToBool(makeBlur) && SkToBool(makeGray)) { 116 } else if (SkToBool(makeBlur)) { 118 } else if (SkToBool(makeGray)) {
|
/external/skqp/gm/ |
H A D | coloremoji.cpp | 108 if (SkToBool(makeLinear)) { 112 if (SkToBool(makeBlur) && SkToBool(makeGray)) { 116 } else if (SkToBool(makeBlur)) { 118 } else if (SkToBool(makeGray)) {
|