OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:GrAssert
(Results
1 - 25
of
93
) sorted by null
1
2
3
4
/external/skia/src/gpu/
gr_unittests.cpp
36
GrAssert
(index == (int) i);
38
GrAssert
(index < 0);
60
GrAssert
(keyA.compare(keyA2) == 0);
61
GrAssert
(keyA.getHash() == keyA2.getHash());
64
GrAssert
(keyA.compare(keyA2) == 0);
65
GrAssert
(keyA.getHash() == keyA2.getHash());
69
GrAssert
(keyA.compare(keyB) < 0);
70
GrAssert
(keyA.getHash() != keyB.getHash());
GrRectanizer.h
26
GrAssert
(width >= 0);
27
GrAssert
(height >= 0);
GrBinHashKey.h
55
GrAssert
(GrIsALIGN4(KEY_SIZE));
76
GrAssert
(fIsValid && key.fIsValid);
81
GrAssert
(key.fIsValid);
86
GrAssert
(key.fIsValid);
91
GrAssert
(fIsValid);
96
GrAssert
(fIsValid);
GrMemoryPool.cpp
33
GrAssert
(0 == fAllocationCnt);
34
GrAssert
(fHead == fTail);
35
GrAssert
(0 == fHead->fLiveCount);
50
GrAssert
(NULL == fTail->fNext);
54
GrAssert
(fTail->fFreeSize >= size);
83
GrAssert
(prev);
88
GrAssert
(fTail == block);
109
GrAssert
(!(reinterpret_cast<intptr_t>(block) % kAlignment));
125
GrAssert
(block);
129
GrAssert
(prev == block->fPrev)
[
all
...]
GrRectanizer.cpp
50
GrAssert
(height >= MIN_HEIGHT_POW2);
87
GrAssert
(row->fRowHeight == 0 || row->fRowHeight == height);
105
GrAssert
(row->fRowHeight == height);
106
GrAssert
(row->canAddWidth(width, this->width()));
110
GrAssert
(row->fLoc.fX <= this->width());
111
GrAssert
(row->fLoc.fY <= this->height());
112
GrAssert
(fNextStripY <= this->height());
GrRectanizer_fifo.cpp
50
GrAssert
(height >= MIN_HEIGHT_POW2);
87
GrAssert
(row->fRowHeight == 0 || row->fRowHeight == height);
105
GrAssert
(row->fRowHeight == height);
106
GrAssert
(row->canAddWidth(width, this->width()));
110
GrAssert
(row->fLoc.fX <= this->width());
111
GrAssert
(row->fLoc.fY <= this->height());
112
GrAssert
(fNextStripY <= this->height());
GrDrawState.cpp
153
GrAssert
(check_layout(vertexLayout));
189
GrAssert
(check_layout(vertexLayout));
214
GrAssert
(check_layout(vertexLayout));
226
GrAssert
(check_layout(vertexLayout));
243
GrAssert
(check_layout(vertexLayout));
268
GrAssert
(check_layout(vertexLayout));
326
GrAssert
(check_layout(vertexLayout));
350
GrAssert
(coordIndex < kMaxTexCoords);
351
GrAssert
(check_layout(vertexLayout));
357
GrAssert
(stageIdx < GrDrawState::kNumStages)
[
all
...]
GrRedBlackTree.h
199
GrAssert
(*this != fTree->end());
204
GrAssert
(*this != fTree->begin());
381
GrAssert
(1 == fCount);
390
GrAssert
(NULL != x);
391
GrAssert
(kRed_Color == x->fColor);
393
GrAssert
(!(NULL != gp && NULL == p));
395
GrAssert
(NULL == p || p->fChildren[pc] == x);
396
GrAssert
(NULL == gp || gp->fChildren[gpc] == p);
404
GrAssert
(NULL != gp);
406
GrAssert
(kBlack_Color == gp->fColor)
[
all
...]
GrTexture.cpp
71
GrAssert
(fRenderTarget->asTexture() == this);
72
GrAssert
(fDesc.fFlags & kRenderTarget_GrTextureFlagBit);
85
GrAssert
(!this->isSetFlag((GrTextureFlags) kReturnToCache_FlagBit));
102
GrAssert
(0 != (fDesc.fFlags & kRenderTarget_GrTextureFlagBit));
105
GrAssert
(0 != (fDesc.fFlags & kNoStencil_GrTextureFlagBit));
107
GrAssert
(0 == (fDesc.fFlags & kNoStencil_GrTextureFlagBit));
110
GrAssert
(fDesc.fSampleCnt == this->asRenderTarget()->numSamples());
112
GrAssert
(0 == (fDesc.fFlags & kRenderTarget_GrTextureFlagBit));
113
GrAssert
(0 == (fDesc.fFlags & kNoStencil_GrTextureFlagBit));
114
GrAssert
(0 == fDesc.fSampleCnt)
[
all
...]
GrBufferAllocPool.cpp
32
GrAssert
(NULL != gpu);
99
GrAssert
(0 == fPreallocBuffersInUse);
122
GrAssert
(!fBlocks.empty());
125
GrAssert
(buf->lockPtr() == fBufferPtr);
127
GrAssert
(fCpuData.get() == fBufferPtr);
130
GrAssert
(fBlocks.empty() || !fBlocks.back().fBuffer->isLocked());
134
GrAssert
(!fBlocks[i].fBuffer->isLocked());
139
GrAssert
(bytes || unusedBlockAllowed);
142
GrAssert
(bytesInUse == fBytesInUse);
144
GrAssert
((fBytesInUse && !fBlocks.empty()) |
[
all
...]
GrResourceCache.cpp
31
GrAssert
(resource);
42
GrAssert
(fResource);
43
GrAssert
(fResource->getCacheEntry() == this);
126
GrAssert
(kAccountFor_BudgetBehavior == behavior);
142
GrAssert
(kAccountFor_BudgetBehavior == behavior);
203
GrAssert
(NULL == resource->getCacheEntry());
208
GrAssert
(!fPurging);
349
GrAssert
(fExclusiveList.countEntries() == fClientDetachedCount);
350
GrAssert
(countBytes(fExclusiveList) == fClientDetachedBytes);
355
GrAssert
(fEntryCount == fClientDetachedCount)
[
all
...]
GrTextStrike.cpp
49
GrAssert
(NULL == fTail);
78
GrAssert
(index >= 0);
89
GrAssert
(!fHead);
90
GrAssert
(!fTail);
92
GrAssert
(fHead == fTail);
94
GrAssert
(fHead != fTail);
103
GrAssert
(count == count2);
111
GrAssert
(count == count2);
179
GrAssert
(glyph);
180
GrAssert
(scaler)
[
all
...]
GrPlotMgr.h
56
GrAssert
((unsigned)x < (unsigned)fDim.fX);
57
GrAssert
((unsigned)y < (unsigned)fDim.fY);
62
GrAssert
((unsigned)x < (unsigned)fDim.fX);
63
GrAssert
((unsigned)y < (unsigned)fDim.fY);
GrStencilAndCoverPathRenderer.cpp
17
GrAssert
(NULL != context);
18
GrAssert
(NULL != context->getGpu());
27
GrAssert
(gpu->getCaps().pathStencilingSupport());
55
GrAssert
(!path.isInverseFillType());
64
GrAssert
(!antiAlias);
65
GrAssert
(!stroke.isHairlineStyle());
68
GrAssert
(drawState->getStencil().isDisabled());
GrGpu.cpp
68
GrAssert
(NULL == fQuadIndexBuffer || !fQuadIndexBuffer->isValid());
69
GrAssert
(NULL == fUnitSquareVertexBuffer ||
87
GrAssert
(NULL == fQuadIndexBuffer || !fQuadIndexBuffer->isValid());
88
GrAssert
(NULL == fUnitSquareVertexBuffer ||
99
GrAssert
(NULL != resource);
100
GrAssert
(this == resource->getGpu());
106
GrAssert
(NULL != resource);
107
GrAssert
(this == resource->getGpu());
132
GrAssert
(NULL != tex->asRenderTarget());
143
GrAssert
(NULL == rt->getStencilBuffer())
[
all
...]
GrTextureAccess.cpp
45
GrAssert
(NULL != texture);
46
GrAssert
(strlen(swizzle) >= 1 && strlen(swizzle) <= 4);
57
GrAssert
(NULL != texture);
58
GrAssert
(strlen(swizzle) >= 1 && strlen(swizzle) <= 4);
67
GrAssert
(NULL != texture);
77
GrAssert
(NULL != texture);
/external/skia/src/gpu/gl/
GrGLSL.cpp
17
GrAssert
(ver >= GR_GLSL_VER(1,10));
29
GrAssert
(ver >= GR_GL_VER(1,00));
46
GrAssert
(kDesktop_GrGLBinding == binding);
50
GrAssert
(kDesktop_GrGLBinding == binding);
53
GrAssert
(kDesktop_GrGLBinding == binding);
56
GrAssert
(kDesktop_GrGLBinding == binding);
79
GrAssert
(count > 0 && count <= 4);
85
GrAssert
(count >= 1 && count < (int)GR_ARRAY_COUNT(HOMOGS));
95
GrAssert
(count >= 1 && count < (int)GR_ARRAY_COUNT(NONHOMOGS));
108
GrAssert
(NULL != outAppend)
[
all
...]
GrGLUniformManager.cpp
14
GrAssert
(offset + arrayCount <= uni.fArrayCount || \
20
GrAssert
(GrGLShaderVar::kNonArray == arrayCount || arrayCount > 0);
30
GrAssert
(uni.fType == kSampler2D_GrSLType);
31
GrAssert
(GrGLShaderVar::kNonArray == uni.fArrayCount);
35
//
GrAssert
(kUnusedUniform != uni.fFSLocation || kUnusedUniform != uni.fVSLocation);
46
GrAssert
(uni.fType == kFloat_GrSLType);
47
GrAssert
(GrGLShaderVar::kNonArray == uni.fArrayCount);
48
GrAssert
(kUnusedUniform != uni.fFSLocation || kUnusedUniform != uni.fVSLocation);
62
GrAssert
(uni.fType == kFloat_GrSLType);
63
GrAssert
(arrayCount > 0)
[
all
...]
GrGLVertexBuffer.cpp
55
GrAssert
(fBufferID);
56
GrAssert
(!isLocked());
77
GrAssert
(fBufferID);
78
GrAssert
(isLocked());
79
GrAssert
(this->getGpu()->getCaps().bufferLockSupport());
87
GrAssert
(!this->isValid() || fBufferID);
95
GrAssert
(!!mapped == !!fLockPtr);
102
GrAssert
(fBufferID);
103
GrAssert
(!isLocked());
GrGLIndexBuffer.cpp
56
GrAssert
(fBufferID);
57
GrAssert
(!isLocked());
81
GrAssert
(fBufferID);
82
GrAssert
(isLocked());
83
GrAssert
(this->getGpu()->getCaps().bufferLockSupport());
98
GrAssert
(!!mapped == !!fLockPtr);
105
GrAssert
(fBufferID);
106
GrAssert
(!isLocked());
GrGLIRect.h
52
GrAssert
(fLeft >= 0);
53
GrAssert
(fWidth >= 0);
54
GrAssert
(fBottom >= 0);
55
GrAssert
(fHeight >= 0);
GrGLRenderTarget.cpp
54
GrAssert
(kBottomLeft_GrSurfaceOrigin == texture->origin());
55
GrAssert
(NULL != texID);
56
GrAssert
(NULL != texture);
58
GrAssert
(0 != desc.fRTFBOID);
59
GrAssert
(0 != desc.fTexFBOID);
62
GrAssert
(viewport.fWidth == texture->width());
63
GrAssert
(viewport.fHeight == texture->height());
/external/skia/src/gpu/effects/
GrTextureStripAtlas.cpp
38
GrAssert
(NULL != info);
81
GrAssert
(fNumRows * fDesc.fRowHeight == fDesc.fHeight);
167
GrAssert
(rowNumber >= 0);
176
GrAssert
(fRows[row].fLocks >= 0 && fLockedRows >= 0);
212
GrAssert
(NULL != fTexture);
216
GrAssert
(NULL != fTexture && 0 == fLockedRows);
232
GrAssert
(NULL == fLRUFront->fPrev && NULL == fLRUBack->fNext);
236
GrAssert
(NULL == row->fPrev && NULL == row->fNext);
248
GrAssert
(NULL != row);
254
GrAssert
(row == fLRUBack)
[
all
...]
/external/skia/include/gpu/
GrColor.h
38
GrAssert
((uint8_t)r == r);
39
GrAssert
((uint8_t)g == g);
40
GrAssert
((uint8_t)b == b);
41
GrAssert
((uint8_t)a == a);
GrEffectStage.h
30
GrAssert
(0 == fSavedCoordChangeCnt);
81
GrAssert
(NULL == savedCoordChange->fEffectRef.get());
92
GrAssert
(savedCoordChange.fEffectRef.get() == fEffectRef);
114
GrAssert
(!fInitialized);
124
GrAssert
(fInitialized);
166
GrAssert
(0 == fSavedCoordChangeCnt);
Completed in 79 milliseconds
1
2
3
4