/external/chromium_org/third_party/skia/tests/ |
D | LListTest.cpp | 15 ListElement(int id) : fID(id) { in ListElement() 17 bool operator== (const ListElement& other) { return fID == other.fID; } in operator ==() 24 int fID; member in ListElement 77 REPORTER_ASSERT(reporter, cur->fID == 3-i); in TestTInternalLList() 82 REPORTER_ASSERT(reporter, cur->fID == i); in TestTInternalLList() 118 REPORTER_ASSERT(reporter, cur->fID == i); in TestTInternalLList() 157 REPORTER_ASSERT(reporter, iter1.get()->fID == iter2.get()->fID); in TestTLList() 160 REPORTER_ASSERT(reporter, iter3.get()->fID == iter1.get()->fID); in TestTLList() 161 REPORTER_ASSERT(reporter, iter4.get()->fID == iter1.get()->fID); in TestTLList() 183 REPORTER_ASSERT(reporter, iter3.get()->fID == iter1.get()->fID); in TestTLList() [all …]
|
D | GrAllocatorTest.cpp | 15 C() : fID(-1) { ++gInstCnt; } in C() 16 C(int id) : fID(id) { ++gInstCnt; } in C() 18 int fID; member 58 REPORTER_ASSERT(reporter, iter.next() && i == iter.get()->fID); in check_allocator_helper() 62 REPORTER_ASSERT(reporter, cnt-1 == allocator->back().fID); in check_allocator_helper()
|
/external/skia/tests/ |
D | LListTest.cpp | 15 ListElement(int id) : fID(id) { in ListElement() 17 bool operator== (const ListElement& other) { return fID == other.fID; } in operator ==() 24 int fID; member in ListElement 77 REPORTER_ASSERT(reporter, cur->fID == 3-i); in TestTInternalLList() 82 REPORTER_ASSERT(reporter, cur->fID == i); in TestTInternalLList() 118 REPORTER_ASSERT(reporter, cur->fID == i); in TestTInternalLList() 157 REPORTER_ASSERT(reporter, iter1.get()->fID == iter2.get()->fID); in TestTLList() 160 REPORTER_ASSERT(reporter, iter3.get()->fID == iter1.get()->fID); in TestTLList() 161 REPORTER_ASSERT(reporter, iter4.get()->fID == iter1.get()->fID); in TestTLList() 183 REPORTER_ASSERT(reporter, iter3.get()->fID == iter1.get()->fID); in TestTLList() [all …]
|
/external/skia/src/gpu/gl/ |
D | GrGLBufferImpl.cpp | 27 if (0 == desc.fID) { in GrGLBufferImpl() 44 } else if (fDesc.fID && !fDesc.fIsWrapped) { in release() 45 GL_CALL(gpu, DeleteBuffers(1, &fDesc.fID)); in release() 47 gpu->notifyVertexBufferDelete(fDesc.fID); in release() 50 gpu->notifyIndexBufferDelete(fDesc.fID); in release() 52 fDesc.fID = 0; in release() 60 fDesc.fID = 0; in abandon() 71 gpu->bindVertexBuffer(fDesc.fID); in bind() 74 gpu->bindIndexBufferAndDefaultVertexArray(fDesc.fID); in bind() 82 if (0 == fDesc.fID) { in map() [all …]
|
D | GrGLVertexArray.cpp | 73 , fID(id) in GrGLVertexArray() 79 fID = 0; in onAbandon() 84 if (0 != fID) { in onRelease() 85 GL_CALL(DeleteVertexArrays(1, &fID)); in onRelease() 86 GPUGL->notifyVertexArrayDelete(fID); in onRelease() 87 fID = 0; in onRelease() 93 if (0 == fID) { in bind() 96 GPUGL->bindVertexArray(fID); in bind()
|
D | GrGLBufferImpl.h | 24 GrGLuint fID; // set to 0 to indicate buffer is CPU-backed and not a VBO. member 32 SkASSERT(0 == fDesc.fID); in ~GrGLBufferImpl() 38 GrGLuint bufferID() const { return fDesc.fID; } in bufferID()
|
/external/chromium_org/third_party/skia/src/gpu/gl/ |
D | GrGLBufferImpl.cpp | 27 if (0 == desc.fID) { in GrGLBufferImpl() 44 } else if (fDesc.fID && !fDesc.fIsWrapped) { in release() 45 GL_CALL(gpu, DeleteBuffers(1, &fDesc.fID)); in release() 47 gpu->notifyVertexBufferDelete(fDesc.fID); in release() 50 gpu->notifyIndexBufferDelete(fDesc.fID); in release() 52 fDesc.fID = 0; in release() 60 fDesc.fID = 0; in abandon() 71 gpu->bindVertexBuffer(fDesc.fID); in bind() 74 gpu->bindIndexBufferAndDefaultVertexArray(fDesc.fID); in bind() 82 if (0 == fDesc.fID) { in map() [all …]
|
D | GrGLVertexArray.cpp | 73 , fID(id) in GrGLVertexArray() 80 fID = 0; in onAbandon() 85 if (0 != fID) { in onRelease() 86 GL_CALL(DeleteVertexArrays(1, &fID)); in onRelease() 87 GPUGL->notifyVertexArrayDelete(fID); in onRelease() 88 fID = 0; in onRelease() 94 if (0 == fID) { in bind() 97 GPUGL->bindVertexArray(fID); in bind()
|
D | GrGLBufferImpl.h | 24 GrGLuint fID; // set to 0 to indicate buffer is CPU-backed and not a VBO. member 32 SkASSERT(0 == fDesc.fID); in ~GrGLBufferImpl() 38 GrGLuint bufferID() const { return fDesc.fID; } in bufferID()
|
/external/chromium_org/third_party/skia/src/gpu/ |
D | GrTraceMarker.cpp | 48 if (lastMarker.fID != -1) { in toStringLast() 50 marker_string.appendS32(lastMarker.fID); in toStringLast() 66 if (1 == numMarkers && -1 == this->fMarkerArray[0].fID) { in toString() 79 if (currMarker.fID != -1) { in toString() 81 marker_string.appendS32(currMarker.fID); in toString() 84 } else if (currMarker.fID != prevMarkerID) { in toString() 86 marker_string.appendS32(currMarker.fID); in toString() 88 prevMarkerID = currMarker.fID; in toString()
|
D | GrTraceMarker.h | 17 GrGpuTraceMarker(const char* marker, int idCounter) : fMarker(marker), fID(idCounter) {} in GrGpuTraceMarker() 20 return this->fMarker < rhs.fMarker || (this->fMarker == rhs.fMarker && this->fID < rhs.fID); 24 return (this->fID == rhs.fID && this->fMarker == rhs.fMarker); 28 int fID; variable
|
/external/skia/src/core/ |
D | SkGlyph.h | 28 uint32_t fID; member 37 fID = id; in init() 76 return ID2Code(fID); in getGlyphID() 80 unsigned code = ID2Code(fID); in getGlyphID() 86 return ID2SubX(fID); in getSubX() 90 return SubToFixed(ID2SubX(fID)); in getSubXFixed() 94 return SubToFixed(ID2SubY(fID)); in getSubYFixed()
|
D | SkGlyphCache.cpp | 108 uniHashUsed += fCharToGlyphHash[i].fID != 0xFFFFFFFF ? sizeof(fCharToGlyphHash[0]) : 0; in ~SkGlyphCache() 151 if (rec.fID == id) { in unicharToGlyph() 173 if (rec->fID != id) { in getUnicharAdvance() 175 rec->fID = id; in getUnicharAdvance() 189 if (NULL == glyph || glyph->fID != id) { in getGlyphIDAdvance() 203 if (rec->fID != id) { in getUnicharMetrics() 206 rec->fID = id; in getUnicharMetrics() 226 if (rec->fID != id) { in getUnicharMetrics() 229 rec->fID = id; in getUnicharMetrics() 249 if (NULL == glyph || glyph->fID != id) { in getGlyphIDMetrics() [all …]
|
/external/skia/src/gpu/ |
D | GrTraceMarker.h | 17 GrGpuTraceMarker(const char* marker, int idCounter) : fMarker(marker), fID(idCounter) {} in GrGpuTraceMarker() 20 return this->fMarker < rhs.fMarker || (this->fMarker == rhs.fMarker && this->fID < rhs.fID); 24 return (this->fID == rhs.fID && this->fMarker == rhs.fMarker); 28 int fID; variable
|
D | GrTraceMarker.cpp | 51 if (1 == numMarkers && -1 == this->fMarkerArray[0].fID) { in toString() 65 marker_string.appendS32(currMarker.fID); in toString() 67 } else if (currMarker.fID != prevMarkerID) { in toString() 69 marker_string.appendS32(currMarker.fID); in toString() 71 prevMarkerID = currMarker.fID; in toString()
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkGlyph.h | 28 uint32_t fID; member 38 fID = id; in init() 78 return ID2Code(fID); in getGlyphID() 82 return ID2SubX(fID); in getSubX() 86 return SubToFixed(ID2SubX(fID)); in getSubXFixed() 90 return SubToFixed(ID2SubY(fID)); in getSubYFixed()
|
D | SkGlyphCache.cpp | 108 uniHashUsed += fCharToGlyphHash[i].fID != 0xFFFFFFFF ? sizeof(fCharToGlyphHash[0]) : 0; in ~SkGlyphCache() 151 if (rec.fID == id) { in unicharToGlyph() 173 if (rec->fID != id) { in getUnicharAdvance() 175 rec->fID = id; in getUnicharAdvance() 189 if (NULL == glyph || glyph->fID != id) { in getGlyphIDAdvance() 203 if (rec->fID != id) { in getUnicharMetrics() 206 rec->fID = id; in getUnicharMetrics() 226 if (rec->fID != id) { in getUnicharMetrics() 229 rec->fID = id; in getUnicharMetrics() 249 if (NULL == glyph || glyph->fID != id) { in getGlyphIDMetrics() [all …]
|
/external/chromium_org/third_party/skia/bench/ |
D | GrResourceCacheBench.cpp | 29 , fID(id) { in StencilResource() 36 return 100 + ((fID % 1 == 0) ? -5 : 6); in gpuMemorySize() 43 int fID; member in StencilResource 54 , fID(id) { in TextureResource() 61 return 100 + ((fID % 1 == 0) ? -40 : 33); in gpuMemorySize() 68 int fID; member in TextureResource 122 if (static_cast<TextureResource*>(item)->fID != k) { in check_cache_contents_or_die() 136 if (static_cast<TextureResource*>(item)->fID != k) { in check_cache_contents_or_die()
|
/external/skia/bench/ |
D | GrResourceCacheBench.cpp | 28 : fID(id) { in StencilResource() 32 return 100 + ((fID % 1 == 0) ? -5 : 6); in gpuMemorySize() 43 int fID; member in StencilResource 53 : fID(id) { in TextureResource() 57 return 100 + ((fID % 1 == 0) ? -40 : 33); in gpuMemorySize() 68 int fID; member in TextureResource 122 if (static_cast<TextureResource*>(item)->fID != k) { in check_cache_contents_or_die() 136 if (static_cast<TextureResource*>(item)->fID != k) { in check_cache_contents_or_die()
|
/external/skia/include/ports/ |
D | SkFontConfigInterface.h | 47 FontIdentity() : fID(0), fTTCIndex(0) {} in FontIdentity() 50 return fID == other.fID && 58 uint32_t fID; member
|
/external/chromium_org/third_party/skia/include/ports/ |
D | SkFontConfigInterface.h | 49 FontIdentity() : fID(0), fTTCIndex(0) {} in FontIdentity() 52 return fID == other.fID && 60 uint32_t fID; member
|
/external/chromium_org/third_party/skia/src/gpu/gl/debug/ |
D | GrFakeRefObj.h | 32 fID = ++fNextID; in GrFakeRefObj() 56 GrGLuint getID() const { return fID; } in getID() 73 GrGLuint fID; // globally unique ID variable
|
/external/skia/src/gpu/gl/debug/ |
D | GrFakeRefObj.h | 32 fID = ++fNextID; in GrFakeRefObj() 56 GrGLuint getID() const { return fID; } in getID() 73 GrGLuint fID; // globally unique ID variable
|
/external/skia/src/pathops/ |
D | SkPathOpsDebug.cpp | 355 SkDebugf("%s %s id=%d", __FUNCTION__, prefix, fID); in debugShowTs() 368 SkDebugf(" [o=%d", fTs[i].fOther->fID); in debugShowTs() 373 SkDebugf(",%d", fTs[i].fOther->fID); in debugShowTs() 407 if (lastId == fID && lastT == fTs[i].fT) { in debugShowActiveSpans() 410 lastId = fID; in debugShowActiveSpans() 413 SkDebugf("%s id=%d", __FUNCTION__, fID); in debugShowActiveSpans() 427 other->fID, fTs[i].fOtherT, fTs[i].fOtherIndex); in debugShowActiveSpans() 441 SkDebugf("%s id=%d", fun, fID); in debugShowNewWinding() 462 SkDebugf("%s id=%d", fun, fID); in debugShowNewWinding() 489 if (!(1 << fID & ofInterest)) { in debugShowWindingValues() [all …]
|
/external/chromium_org/third_party/skia/src/pathops/ |
D | SkPathOpsDebug.cpp | 356 SkDebugf("%s %s id=%d", __FUNCTION__, prefix, fID); in debugShowTs() 369 SkDebugf(" [o=%d", fTs[i].fOther->fID); in debugShowTs() 374 SkDebugf(",%d", fTs[i].fOther->fID); in debugShowTs() 408 if (lastId == fID && lastT == fTs[i].fT) { in debugShowActiveSpans() 411 lastId = fID; in debugShowActiveSpans() 414 SkDebugf("%s id=%d", __FUNCTION__, fID); in debugShowActiveSpans() 428 other->fID, fTs[i].fOtherT, fTs[i].fOtherIndex); in debugShowActiveSpans() 442 SkDebugf("%s id=%d", fun, fID); in debugShowNewWinding() 463 SkDebugf("%s id=%d", fun, fID); in debugShowNewWinding() 490 if (!(1 << fID & ofInterest)) { in debugShowWindingValues() [all …]
|