HomeSort by relevance Sort by last modified time
    Searched refs:GrAssert (Results 1 - 25 of 61) sorted by null

1 2 3

  /external/skia/gpu/src/
GrGpuFactory.cpp 55 GrAssert(NULL == (void*)context3D);
65 GrAssert(NULL == (void*)context3D);
69 GrAssert(NULL != (void*)context3D);
75 GrAssert(!"unknown engine");
GrGLIndexBuffer.cpp 57 GrAssert(fBufferID);
58 GrAssert(!isLocked());
76 GrAssert(fBufferID);
77 GrAssert(isLocked());
78 GrAssert(GPUGL->supportsBufferLocking());
92 GrAssert(!!mapped == !!fLockPtr);
99 GrAssert(fBufferID);
100 GrAssert(!isLocked());
118 GrAssert(fBufferID);
119 GrAssert(!isLocked())
    [all...]
gr_unittests.cpp 42 GrAssert(array.count() == 4);
48 GrAssert(array.count() == 8);
53 GrAssert(array.count() == 4);
71 GrAssert(index == (int) i);
73 GrAssert(index < 0);
97 GrAssert(passCnt == 1); //We expect the static allocation to suffice
105 GrAssert(passCnt == 2); //We expect dynamic allocation to be necessary
106 GrAssert(keyA.getHash() == keyBust.getHash());
115 GrAssert(keyA.getHash() == keyA2.getHash());
121 GrAssert(keyA.compare(keyB) < 0)
    [all...]
GrGLVertexBuffer.cpp 56 GrAssert(fBufferID);
57 GrAssert(!isLocked());
75 GrAssert(fBufferID);
76 GrAssert(isLocked());
77 GrAssert(GPUGL->supportsBufferLocking());
85 GrAssert(!this->isValid() || fBufferID);
91 GrAssert(!!mapped == !!fLockPtr);
98 GrAssert(fBufferID);
99 GrAssert(!isLocked());
117 GrAssert(fBufferID)
    [all...]
GrBinHashKey.h 87 GrAssert(key.fIsValid);
100 GrAssert(key.fIsValid);
116 GrAssert(fIsValid);
141 GrAssert(fIsValid);
142 GrAssert(fPass);
143 GrAssert(GrIsALIGN4(len));
145 GrAssert(fHeapData);
146 GrAssert(fLength + len <= fPhysicalSize);
152 GrAssert(1 == fPass);
175 GrAssert(fIsValid)
    [all...]
GrRectanizer.cpp 57 GrAssert(height >= MIN_HEIGHT_POW2);
94 GrAssert(row->fRowHeight == 0 || row->fRowHeight == height);
112 GrAssert(row->fRowHeight == height);
113 GrAssert(row->canAddWidth(width, this->width()));
117 GrAssert(row->fLoc.fX <= this->width());
118 GrAssert(row->fLoc.fY <= this->height());
119 GrAssert(fNextStripY <= this->height());
GrRectanizer_fifo.cpp 57 GrAssert(height >= MIN_HEIGHT_POW2);
94 GrAssert(row->fRowHeight == 0 || row->fRowHeight == height);
112 GrAssert(row->fRowHeight == height);
113 GrAssert(row->canAddWidth(width, this->width()));
117 GrAssert(row->fLoc.fX <= this->width());
118 GrAssert(row->fLoc.fY <= this->height());
119 GrAssert(fNextStripY <= this->height());
GrDrawTarget.cpp 74 GrAssert(check_layout(vertexLayout));
93 GrAssert(check_layout(vertexLayout));
117 GrAssert(check_layout(vertexLayout));
138 GrAssert(check_layout(vertexLayout));
140 GrAssert(NULL != texCoordOffsetsByIdx);
141 GrAssert(NULL != colorOffset);
168 GrAssert(check_layout(vertexLayout));
170 GrAssert(NULL != texCoordOffsetsByStage);
171 GrAssert(NULL != colorOffset);
191 GrAssert(stage < kNumStages)
    [all...]
GrRedBlackTree.h 206 GrAssert(*this != fTree->end());
211 GrAssert(*this != fTree->begin());
388 GrAssert(1 == fCount);
397 GrAssert(NULL != x);
398 GrAssert(kRed_Color == x->fColor);
400 GrAssert(!(NULL != gp && NULL == p));
402 GrAssert(NULL == p || p->fChildren[pc] == x);
403 GrAssert(NULL == gp || gp->fChildren[gpc] == p);
411 GrAssert(NULL != gp);
413 GrAssert(kBlack_Color == gp->fColor)
    [all...]
GrTextureCache.cpp 27 GrAssert(texture);
36 GrAssert(fLockCount >= 0);
37 GrAssert(fTexture);
204 GrAssert(entry);
205 GrAssert(entry->isLocked());
206 GrAssert(fCache.find(entry->key()));
241 GrAssert(!fClientDetachedCount);
242 GrAssert(!fClientDetachedBytes);
246 GrAssert(!entry->isLocked());
281 GrAssert(!fHead == !fTail)
    [all...]
GrBufferAllocPool.cpp 38 GrAssert(NULL != gpu);
98 GrAssert(0 == fPreallocBuffersInUse);
121 GrAssert(!fBlocks.empty());
124 GrAssert(buf->lockPtr() == fBufferPtr);
126 GrAssert(fCpuData.get() == fBufferPtr);
127 GrAssert(fCpuData.size() == fBlocks.back().fBuffer->size());
130 GrAssert(fBlocks.empty() || !fBlocks.back().fBuffer->isLocked());
133 GrAssert(!fBlocks[i].fBuffer->isLocked());
144 GrAssert(NULL != buffer);
145 GrAssert(NULL != offset)
    [all...]
GrTextStrike.cpp 51 GrAssert(NULL == fTail);
76 GrAssert(index >= 0);
87 GrAssert(!fHead);
88 GrAssert(!fTail);
90 GrAssert(fHead == fTail);
92 GrAssert(fHead != fTail);
101 GrAssert(count == count2);
109 GrAssert(count == count2);
177 GrAssert(glyph);
178 GrAssert(scaler)
    [all...]
GrInOrderDrawBuffer.cpp 48 GrAssert(NULL != vertexPool);
49 GrAssert(NULL != indexPool);
71 GrAssert((NULL == indexBuffer && 0 == fMaxQuads) ||
82 GrAssert(!(NULL == fQuadIndexBuffer && fCurrQuad));
83 GrAssert(!(fDraws.empty() && fCurrQuad));
84 GrAssert(!(0 != fMaxQuads && NULL == fQuadIndexBuffer));
147 GrAssert(lastDraw.fIndexBuffer == fQuadIndexBuffer);
148 GrAssert(kTriangles_PrimitiveType == lastDraw.fPrimitiveType);
149 GrAssert(0 == lastDraw.fVertexCount % 4);
150 GrAssert(0 == lastDraw.fIndexCount % 6)
    [all...]
GrTextStrike_impl.h 42 GrAssert(fHead != strike);
45 GrAssert(fHead == strike);
50 GrAssert(fTail != strike);
53 GrAssert(fTail == strike);
  /external/skia/gpu/include/
GrTArray.h 38 GrAssert(reserveCount >= 0);
49 GrAssert(N > 0);
58 GrAssert(preAllocCount >= 0);
62 GrAssert((NULL == preAllocStorage) == !preAllocCount);
89 GrAssert(count >= 0);
107 GrAssert(preAllocCount >= 0);
110 GrAssert((NULL == preAllocStorage) == !preAllocCount);
137 GrAssert(count >= 0);
138 GrAssert(preAllocCount >= 0);
141 GrAssert((NULL == preAllocStorage) == !preAllocCount)
    [all...]
GrColor.h 48 GrAssert((uint8_t)r == r);
49 GrAssert((uint8_t)g == g);
50 GrAssert((uint8_t)b == b);
51 GrAssert((uint8_t)a == a);
GrRectanizer.h 34 GrAssert(width >= 0);
35 GrAssert(height >= 0);
GrTLList.h 33 GrAssert(NULL == fHead);
34 GrAssert(NULL == ftail);
GrGLIRect.h 59 GrAssert(fLeft >= 0);
60 GrAssert(fWidth >= 0);
61 GrAssert(fBottom >= 0);
62 GrAssert(fHeight >= 0);
GrPlotMgr.h 63 GrAssert((unsigned)x < (unsigned)fDim.fX);
64 GrAssert((unsigned)y < (unsigned)fDim.fY);
69 GrAssert((unsigned)x < (unsigned)fDim.fX);
70 GrAssert((unsigned)y < (unsigned)fDim.fY);
GrRefCnt.h 36 GrAssert(1 == fRefCnt);
45 GrAssert(fRefCnt > 0);
50 GrAssert(fRefCnt > 0);
60 GrAssert(fRefCnt > 0);
GrResource.h 30 GrAssert(!isValid());
GrAllocator.h 45 GrAssert(itemsPerBlock > 0);
105 GrAssert(fCount);
113 GrAssert(fCount);
121 GrAssert(i >= 0 && i < fCount);
130 GrAssert(i >= 0 && i < fCount);
183 GrAssert(NULL != item);
GrPaint.h 50 GrAssert((unsigned)i < kMaxTextures);
57 GrAssert((unsigned)i < kMaxTextures);
62 GrAssert((unsigned)i < kMaxTextures);
67 GrAssert((unsigned)i < kMaxTextures);
74 GrAssert((unsigned)i < kMaxMasks);
81 GrAssert((unsigned)i < kMaxMasks);
88 GrAssert((unsigned)i < kMaxMasks);
93 GrAssert((unsigned)i < kMaxMasks);
GrTDArray.h 49 GrAssert((unsigned)index < (unsigned)fCount);
53 GrAssert((unsigned)index < (unsigned)fCount);
81 T* back() const { GrAssert(fCount); return fArray + (fCount - 1); }
97 GrAssert((unsigned)index <= (unsigned)fCount);
103 GrAssert((unsigned)index < (unsigned)fCount);
112 GrAssert((unsigned)index < (unsigned)fCount);
193 GrAssert(fCount <= fAllocated);
212 GrAssert(fCount < fAllocated);

Completed in 231 milliseconds

1 2 3