Searched refs:SkToBool (Results 101 - 125 of 417) sorted by relevance

1234567891011>>

/external/skqp/gm/
H A Dalphagradients.cpp66 draw_grad(canvas, r, gRec[i].fColor0, gRec[i].fColor1, SkToBool(doPreMul));
/external/skqp/src/core/
H A DSkVertices.cpp58 bool hasTexs = SkToBool(builderFlags & SkVertices::kHasTexCoords_BuilderFlag);
59 bool hasColors = SkToBool(builderFlags & SkVertices::kHasColors_BuilderFlag);
209 const bool hasTexs = SkToBool(packed & kHasTexs_Mask);
210 const bool hasColors = SkToBool(packed & kHasColors_Mask);
H A DSkTDPQueue.h48 SkDEBUGCODE(if (SkToBool(INDEX)) { *INDEX(fArray[0]) = -1; })
193 if (SkToBool(INDEX)) {
204 SkASSERT(!SkToBool(INDEX) || *INDEX(fArray[i]) == i);
/external/skqp/src/gpu/
H A DGrColorSpaceXform.h48 return SkToBool(xform) ? xform->fFlags : 0;
H A DGrGpuResourceRef.h149 explicit operator bool() const { return SkToBool(fResource); }
H A DGrMesh.h31 bool isIndexed() const { return SkToBool(fIndexBuffer.get()); }
32 bool isInstanced() const { return SkToBool(fInstanceBuffer.get()); }
33 bool hasVertexData() const { return SkToBool(fVertexBuffer.get()); }
/external/skqp/src/gpu/mock/
H A DGrMockCaps.h56 return SkToBool(tex.getMockTextureInfo());
/external/skqp/src/utils/
H A DSkBitSet.h46 return chunk && SkToBool(*chunk & mask);
/external/skqp/tests/
H A DProxyTest.cpp140 REPORTER_ASSERT(reporter, SkToBool(tex) == SkToBool(proxy));
172 REPORTER_ASSERT(reporter, SkToBool(tex) == SkToBool(proxy));
/external/skqp/tools/gpu/gl/
H A DGLTestContext.h28 bool isValid() const { return SkToBool(this->gl()); }
/external/skqp/tools/sk_app/android/
H A DRasterWindowContext_android.cpp25 bool isValid() override { return SkToBool(fNativeWindow); }
/external/skia/src/core/
H A DSkTDPQueue.h48 SkDEBUGCODE(if (SkToBool(INDEX)) { *INDEX(fArray[0]) = -1; })
193 if (SkToBool(INDEX)) {
204 SkASSERT(!SkToBool(INDEX) || *INDEX(fArray[i]) == i);
H A DSkPictureFlat.h154 return SkToBool((packed >> 4) & 1);
/external/skia/src/gpu/
H A DGrMesh.h31 bool isIndexed() const { return SkToBool(fIndexBuffer.get()); }
32 bool isInstanced() const { return SkToBool(fInstanceBuffer.get()); }
33 bool hasVertexData() const { return SkToBool(fVertexBuffer.get()); }
H A DGrProxyProvider.cpp221 if (SkToBool(flags & kRenderTarget_GrSurfaceFlag)) {
229 if (SkToBool(flags & kRenderTarget_GrSurfaceFlag)) {
646 if (SkToBool(kRenderTarget_GrSurfaceFlag & desc.fFlags)) {
647 if (SkToBool(renderTargetFlags & GrRenderTargetFlags::kMixedSampled)) {
650 if (SkToBool(renderTargetFlags & GrRenderTargetFlags::kWindowRectsSupport)) {
661 return sk_sp<GrTextureProxy>(SkToBool(kRenderTarget_GrSurfaceFlag & desc.fFlags) ?
678 SkASSERT(SkToBool(kRenderTarget_GrSurfaceFlag & desc.fFlags));
682 if (SkToBool(renderTargetFlags & GrRenderTargetFlags::kMixedSampled)) {
685 if (SkToBool(renderTargetFlags & GrRenderTargetFlags::kWindowRectsSupport)) {
H A DGrOpList.cpp56 return SkToBool(fTarget.get()->instantiate(resourceProvider));
H A DGrPaint.h83 fTrivial &= !SkToBool(xpFactory);
/external/skia/src/sfnt/
H A DSkOTUtils.cpp212 if (SkToBool(fsType.field.Restricted) || SkToBool(fsType.field.Bitmap)) {
215 if (SkToBool(fsType.field.NoSubsetting)) {
/external/skqp/src/sfnt/
H A DSkOTUtils.cpp212 if (SkToBool(fsType.field.Restricted) || SkToBool(fsType.field.Bitmap)) {
215 if (SkToBool(fsType.field.NoSubsetting)) {
/external/skia/tests/
H A DSurfaceTest.cpp107 REPORTER_ASSERT(reporter, can == SkToBool(surf), "ct: %d, can: %d, surf: %d",
108 colorType, can, SkToBool(surf));
116 REPORTER_ASSERT(reporter, can == SkToBool(surf), "ct: %d, can: %d, surf: %d",
117 colorType, can, SkToBool(surf));
122 REPORTER_ASSERT(reporter, can == SkToBool(surf), "ct: %d, can: %d, surf: %d",
123 colorType, can, SkToBool(surf));
136 REPORTER_ASSERT(reporter, can == SkToBool(surf), "ct: %d, can: %d, surf: %d",
137 colorType, can, SkToBool(surf));
144 REPORTER_ASSERT(reporter, can == SkToBool(surf),
145 "colorTypeSupportedAsSurface:%d, surf:%d, ct:%d", can, SkToBool(sur
[all...]
/external/skia/src/gpu/text/
H A DGrAtlasTextBlob.h128 bool hasDistanceField() const { return SkToBool(fTextType & kHasDistanceField_TextType); }
129 bool hasBitmap() const { return SkToBool(fTextType & kHasBitmap_TextType); }
425 bool drawAsDistanceFields() const { return SkToBool(fFlags & kDrawAsSDF_Flag); }
429 bool hasUseLCDText() const { return SkToBool(fFlags & kUseLCDText_Flag); }
433 bool isAntiAliased() const { return SkToBool(fFlags & kAntiAliased_Flag); }
437 bool hasWCoord() const { return SkToBool(fFlags & kHasWCoord_Flag); }
/external/skqp/src/gpu/text/
H A DGrAtlasTextBlob.h119 bool hasDistanceField() const { return SkToBool(fTextType & kHasDistanceField_TextType); }
120 bool hasBitmap() const { return SkToBool(fTextType & kHasBitmap_TextType); }
438 bool drawAsDistanceFields() const { return SkToBool(fFlags & kDrawAsSDF_Flag); }
442 bool hasUseLCDText() const { return SkToBool(fFlags & kUseLCDText_Flag); }
446 bool isAntiAliased() const { return SkToBool(fFlags & kAntiAliased_Flag); }
450 bool hasWCoord() const { return SkToBool(fFlags & kHasWCoord_Flag); }
/external/skia/include/private/
H A DGrSurfaceProxy.h163 return SkToBool(fPendingWrites | fPendingReads);
171 return SkToBool(fPendingWrites);
208 if (fTarget || !SkToBool(fLazyInstantiateCallback)) {
/external/skqp/include/private/
H A DGrSurfaceProxy.h152 return SkToBool(fPendingWrites | fPendingReads);
160 return SkToBool(fPendingWrites);
192 if (fTarget || !SkToBool(fLazyInstantiateCallback)) {
/external/skia/include/core/
H A DSkTLazy.h106 bool isValid() const { return SkToBool(fPtr); }

Completed in 658 milliseconds

1234567891011>>