Searched refs:SkASSERT (Results 1 - 25 of 1030) sorted by relevance

1234567891011>>

/external/skia/src/gpu/gl/mesa/
H A DGrGLCreateMesaInterface.cpp15 SkASSERT(nullptr == ctx);
16 SkASSERT(OSMesaGetCurrentContext());
/external/skia/src/gpu/gl/nacl/
H A DSkCreatePlatformGLContext_nacl.cpp11 SkASSERT(!shareContext);
/external/skia/src/gpu/
H A DGrGpuResourceRef.cpp25 SkASSERT(fResource);
45 SkASSERT(!fPendingIO);
46 SkASSERT(SkToBool(fResource) == fOwnRef);
55 SkASSERT(!fPendingIO);
56 SkASSERT(SkToBool(fResource) == fOwnRef);
71 SkASSERT(!fPendingIO);
72 SkASSERT(fResource);
91 SkASSERT(fOwnRef);
92 SkASSERT(fPendingIO);
112 SkASSERT(fOwnRe
[all...]
H A DGrInvariantOutput.cpp14 SkASSERT(0 == fValidFlags || kRGBA_GrColorComponentFlags == fValidFlags);
16 SkASSERT(this->colorComponentsAllEqual());
21 SkASSERT(fNonMulStageFound || fWillUseInputColor);
H A DGrRectanizer_pow2.cpp25 SkASSERT(row->fRowHeight == 0 || row->fRowHeight == height);
43 SkASSERT(row->fRowHeight == height);
44 SkASSERT(row->canAddWidth(width, this->width()));
48 SkASSERT(row->fLoc.fX <= this->width());
49 SkASSERT(row->fLoc.fY <= this->height());
50 SkASSERT(fNextStripY <= this->height());
H A DGrPathRenderer.h67 SkASSERT(!path.isInverseFillType());
92 SkASSERT(fShaderCaps);
93 SkASSERT(fViewMatrix);
94 SkASSERT(fPath);
95 SkASSERT(fStroke);
96 SkASSERT(!fPath->isEmpty());
135 SkASSERT(fTarget);
136 SkASSERT(fResourceProvider);
137 SkASSERT(fPipelineBuilder);
138 SkASSERT(fViewMatri
[all...]
H A DGrResourceCache.cpp121 SkASSERT(resource);
122 SkASSERT(!this->isInCache(resource));
123 SkASSERT(!resource->wasDestroyed());
124 SkASSERT(!resource->isPurgeable());
150 SkASSERT(!resource->cacheAccess().isExternal());
159 SkASSERT(this->isInCache(resource));
191 SkASSERT(!back->wasDestroyed());
197 SkASSERT(!top->wasDestroyed());
201 SkASSERT(!fScratchMap.count());
202 SkASSERT(!fUniqueHas
[all...]
H A DGrTexture.cpp48 SkASSERT(!SkToBool(fDesc.fFlags & kRenderTarget_GrSurfaceFlag));
49 SkASSERT(textureSize <= WorseCaseSize(fDesc));
57 SkASSERT(0 != (fDesc.fFlags & kRenderTarget_GrSurfaceFlag));
58 SkASSERT(fDesc.fSampleCnt == this->asRenderTarget()->numColorSamples());
60 SkASSERT(0 == (fDesc.fFlags & kRenderTarget_GrSurfaceFlag));
61 SkASSERT(0 == fDesc.fSampleCnt);
102 SkASSERT(static_cast<int>(desc.fConfig) < (1 << 6));
103 SkASSERT(desc.fSampleCnt < (1 << 8));
104 SkASSERT(flags < (1 << 10));
105 SkASSERT(static_cas
[all...]
H A DGrMemoryPool.cpp35 SkASSERT(0 == fAllocationCnt);
36 SkASSERT(fHead == fTail);
37 SkASSERT(0 == fHead->fLiveCount);
52 SkASSERT(nullptr == fTail->fNext);
58 SkASSERT(kAssignedMarker == fTail->fBlockSentinal);
59 SkASSERT(fTail->fFreeSize >= size);
81 SkASSERT(kAssignedMarker == allocData->fSentinal);
84 SkASSERT(kAssignedMarker == block->fBlockSentinal);
94 SkASSERT(prev);
99 SkASSERT(fTai
[all...]
H A DGrNonAtomicRef.h25 SkASSERT((0 == fRefCnt || 1 == fRefCnt));
33 SkASSERT(fRefCnt > 0);
38 SkASSERT(fRefCnt > 0);
/external/skia/src/gpu/vk/
H A DGrVkProgramDataManager.cpp27 SkASSERT(GrGLSLShaderVar::kNonArray == uniformInfo.fVariable.getArrayCount() ||
43 SkASSERT(uni.fType == kFloat_GrSLType);
44 SkASSERT(GrGLSLShaderVar::kNonArray == uni.fArrayCount);
45 SkASSERT(GrVkUniformHandler::kUniformBufferDescSet == uni.fSetNumber);
50 SkASSERT(GrVkUniformHandler::kFragBinding == uni.fBinding);
54 SkASSERT(sizeof(float) == 4);
62 SkASSERT(uni.fType == kFloat_GrSLType);
63 SkASSERT(arrayCount > 0);
64 SkASSERT(arrayCount <= uni.fArrayCount ||
66 SkASSERT(GrVkUniformHandle
[all...]
H A DGrVkResource.h87 SkASSERT(fRefCnt > 0);
97 SkASSERT(fRefCnt > 0);
98 SkASSERT(gpu);
109 SkASSERT(fRefCnt > 0);
120 SkASSERT(fRefCnt > 0);
143 SkASSERT(0 == fRefCnt);
156 SkASSERT(0 == fRefCnt);
/external/skia/include/core/
H A DSkMask.h60 SkASSERT(kBW_Format == fFormat);
61 SkASSERT(fBounds.contains(x, y));
62 SkASSERT(fImage != NULL);
71 SkASSERT(kA8_Format == fFormat);
72 SkASSERT(fBounds.contains(x, y));
73 SkASSERT(fImage != NULL);
83 SkASSERT(kLCD16_Format == fFormat);
84 SkASSERT(fBounds.contains(x, y));
85 SkASSERT(fImage != NULL);
96 SkASSERT(kARGB32_Forma
[all...]
/external/skia/src/core/
H A DSkDebug.cpp15 SkASSERT((int8_t)x == x);
20 SkASSERT((uint8_t)x == x);
25 SkASSERT((int16_t)x == x);
30 SkASSERT((uint16_t)x == x);
35 SkASSERT((int32_t)x == x);
40 SkASSERT((uint32_t)x == x);
45 SkASSERT((int)x == x);
50 SkASSERT((unsigned)x == x);
55 SkASSERT((size_t)x == x);
H A DSkSpanProcs.cpp20 SkASSERT(count > 0);
22 SkASSERT(src.addr32(x + count - 1, y));
30 SkASSERT(count > 0);
32 SkASSERT(src.addr32(x + count - 1, y));
40 SkASSERT(count > 0);
42 SkASSERT(src.addr64(x + count - 1, y));
63 SkASSERT(!paint.getColorFilter());
64 SkASSERT(0xFF == paint.getAlpha());
68 SkASSERT(!paint.getColorFilter());
69 SkASSERT(
[all...]
H A DSkRegionPriv.h17 SkASSERT(((value) == SkRegion::kRunTypeSentinel) == isSentinel)
28 SkASSERT(curr[0] < curr[1]);
29 SkASSERT(curr[1] < SkRegion::kRunTypeSentinel);
66 SkASSERT(count >= SkRegion::kRectRegionRuns);
81 SkASSERT(yspancount > 0);
82 SkASSERT(intervalCount > 1);
91 SkASSERT(fRefCnt == 1);
125 SkASSERT(runs[0] < SkRegion::kRunTypeSentinel);
128 SkASSERT(runs[2 + intervals * 2] == SkRegion::kRunTypeSentinel);
132 SkASSERT(
[all...]
H A DSkFilterProc.h24 SkASSERT(table);
35 SkASSERT(table);
46 SkASSERT(table);
54 SkASSERT(row);
69 SkASSERT(table);
80 SkASSERT(table);
88 SkASSERT(row);
103 SkASSERT(table);
117 SkASSERT(table);
128 SkASSERT(tabl
[all...]
H A DSkUtils.cpp25 SkASSERT(c <= 0xF7); // otherwise leading byte is too big (more than 4 bytes)
26 SkASSERT((c & 0xC0) != 0x80); // can't begin with a middle char
38 SkASSERT(utf8);
54 SkASSERT(utf8 || 0 == byteLength);
67 SkASSERT(utf8);
88 SkASSERT(ptr && *ptr);
110 SkASSERT(ptr && *ptr);
158 SkASSERT(utf8 == nullptr || orig == SkUTF8_ToUnichar(utf8));
165 SkASSERT(src);
170 SkASSERT(!SkUTF16_IsLowSurrogat
[all...]
/external/skia/src/effects/gradients/
H A DSkClampRange.h40 SkASSERT(fCount0 >= 0);
41 SkASSERT(fCount1 >= 0);
42 SkASSERT(fCount2 >= 0);
43 SkASSERT(fCount0 + fCount1 + fCount2 == count);
H A DSkClampRange.cpp41 SkASSERT(dx > 0);
42 SkASSERT(count >= 0);
51 SkASSERT(n >= 0);
52 SkASSERT(n <= count);
69 SkASSERT(count > 0);
126 SkASSERT(fCount0 >= 0);
127 SkASSERT(fCount0 <= count);
130 SkASSERT(fx >= 0);
131 SkASSERT(fCount0 == 0 || (fx - dx) < 0);
133 SkASSERT(fCount
[all...]
/external/skia/src/gpu/gl/glx/
H A DGrGLCreateNativeInterface_glx.cpp16 SkASSERT(nullptr == ctx);
17 SkASSERT(glXGetCurrentContext());
/external/skia/tests/
H A DGrDrawTargetTest.cpp19 SkASSERT(!result.isEmpty());
21 SkASSERT(!shaderResult.isEmpty());
/external/skia/include/private/
H A DSkWeakRefCnt.h65 SkASSERT(fWeakCnt == 1);
77 SkASSERT(fWeakCnt > 0);
102 SkASSERT(fRefCnt > 0);
103 SkASSERT(fWeakCnt > 0);
113 SkASSERT(fWeakCnt > 0);
/external/skia/src/animator/
H A DSkOperand.h36 SkTypedArray* getArray() { SkASSERT(fType == SkType_Array); return fOperand.fArray; }
37 SkDisplayable* getDisplayable() { SkASSERT(fType == SkType_Displayable); return fOperand.fDisplayable; }
38 SkADrawable* getDrawable() { SkASSERT(fType == SkType_Drawable); return fOperand.fDrawable; }
39 int32_t getS32(SkAnimateMaker* maker) { SkASSERT(fType == SkType_Int || fType == SkType_Boolean ||
41 SkMSec getMSec() { SkASSERT(fType == SkType_MSec); return fOperand.fMSec; }
42 SkScalar getScalar() { SkASSERT(fType == SkType_Float); return fOperand.fScalar; }
43 SkString* getString() { SkASSERT(fType == SkType_String); return fOperand.fString; }
/external/skia/src/utils/mac/
H A DSkStream_mac.cpp17 SkASSERT(info);
22 SkASSERT(info);
24 SkASSERT(stream->getMemoryBase() == addr);
25 SkASSERT(stream->getLength() == size);
32 SkASSERT(info);
41 SkASSERT(info);
47 SkASSERT(info);

Completed in 676 milliseconds

1234567891011>>