Home
last modified time | relevance | path

Searched refs:fID (Results 1 – 25 of 151) sorted by relevance

1234567

/external/skia/tests/
DLListTest.cpp15 ListElement(int id) : fID(id) { in ListElement()
17 bool operator== (const ListElement& other) { return fID == other.fID; } in operator ==()
19 int fID; member in ListElement
72 REPORTER_ASSERT(reporter, cur->fID == 3-i); in test_tinternallist()
77 REPORTER_ASSERT(reporter, cur->fID == i); in test_tinternallist()
113 REPORTER_ASSERT(reporter, cur->fID == i); in test_tinternallist()
143 REPORTER_ASSERT(reporter, iter1.get()->fID == iter2.get()->fID); in test_tllist()
146 REPORTER_ASSERT(reporter, iter3.get()->fID == iter1.get()->fID); in test_tllist()
147 REPORTER_ASSERT(reporter, iter4.get()->fID == iter1.get()->fID); in test_tllist()
165 REPORTER_ASSERT(reporter, iter3.get()->fID == iter1.get()->fID); in test_tllist()
[all …]
DEGLImageTest.cpp68 externalTexture.fID = 0; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
71 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, backendTexture1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
77 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, backendTexture1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
89 if (!backendTexture1 || !backendTexture1->fID) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
91 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, backendTexture1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
96 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, backendTexture1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
101 image = glCtx1->texture2DToEGLImage(backendTexture1->fID); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
104 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, backendTexture1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
116 GR_GL_CALL(glCtx1->gl(), BindTexture(backendTexture1->fTarget, backendTexture1->fID)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
129 externalTexture.fID = glCtx0->eglImageToExternalTexture(image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
[all …]
DHashTest.cpp113 CopyCounter() : fID(0), fCounter(nullptr) {} in CopyCounter()
115 CopyCounter(uint32_t id, uint32_t* counter) : fID(id), fCounter(counter) {} in CopyCounter()
118 : fID(other.fID) in CopyCounter()
125 fID = other.fID; in operator =()
132 fID = other.fID; in operator =()
138 return fID == other.fID; in operator ==()
142 uint32_t fID; member in __anonbed1977f0311::CopyCounter
DGrAllocatorTest.cpp15 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()
DPreFlushCallbackTest.cpp178 fID = -1; in ~AtlasedRectOp()
183 int id() const { return fID; } in id()
206 , fID(id) in AtlasedRectOp()
208 SkASSERT(fID < kMaxIDs); in AtlasedRectOp()
214 int fID; member in AtlasedRectOp
260 if (opListID == fOps[i].fID) { in addOp()
384 uint32_t fID; member
390 if (opListID == fOps[i].fID) { in getList()
401 header->fID = 0; // invalid opList ID in clearOpsFor()
/external/skia/src/core/
DSkGlyph.h43 fID = code; in SkPackedID()
54 fID = ID; in SkPackedID()
57 constexpr SkPackedID() : fID(kImpossibleID) {} in SkPackedID()
60 return fID == that.fID;
67 return fID & kCodeMask; in code()
71 return SubToFixed(ID2SubX(fID)); in getSubXFixed()
75 return SubToFixed(ID2SubY(fID)); in getSubYFixed()
79 return SkChecksum::CheapMix(fID); in hash()
85 operator uint32_t() const { return fID; } in uint32_t()
106 uint32_t fID; member
[all …]
/external/skia/src/pdf/
DSkBitmapKey.h16 uint32_t fID; member
18 return fID == rhs.fID && fSubset == rhs.fSubset;
32 fID = 0; in fImage()
35 fID = fImage->uniqueID(); in fImage()
45 fID = 0; in fImage()
50 void setID(uint32_t id) { fID = id; } in setID()
62 SkBitmapKey getKey() const { return SkBitmapKey{fSubset, fID}; } in getKey()
74 uint32_t fID; variable
/external/skia/src/gpu/
DGrTraceMarker.cpp47 if (lastMarker.fID != -1) { in toStringLast()
49 marker_string.appendS32(lastMarker.fID); in toStringLast()
65 if (1 == numMarkers && -1 == this->fMarkerArray[0].fID) { in toString()
78 if (currMarker.fID != -1) { in toString()
80 marker_string.appendS32(currMarker.fID); in toString()
83 } else if (currMarker.fID != prevMarkerID) { in toString()
85 marker_string.appendS32(currMarker.fID); in toString()
87 prevMarkerID = currMarker.fID; in toString()
DGrTraceMarker.h15 GrGpuTraceMarker(const char* marker, int idCounter) : fMarker(marker), fID(idCounter) {} in GrGpuTraceMarker()
18 return this->fMarker < rhs.fMarker || (this->fMarker == rhs.fMarker && this->fID < rhs.fID);
22 return (this->fID == rhs.fID && this->fMarker == rhs.fMarker);
26 int fID; variable
DGrTessellator.cpp152 , fID (-1.0f) in Vertex()
166 float fID; // Identifier used for logging. member
384 fTop->fID, fBottom->fID, in intersect()
385 other.fTop->fID, other.fBottom->fID); in intersect()
466 fID = gID++; in Poly()
467 LOG("*** created Poly %d\n", fID); in Poly()
547 e->fTop->fID, e->fBottom->fID, fID, side == kLeft_Side ? "left" : "right"); in addEdge()
590 LOG("emit() %d, size %d\n", fID, fCount); in emit()
605 int fID; member
626 v->fID = gID++; in append_point_to_contour()
[all …]
DGrGlyph.h35 GrDrawOpAtlas::AtlasID fID; member
44 fID = GrDrawOpAtlas::kInvalidAtlasID; in init()
DGrDrawOpAtlas.h200 SkASSERT(GrDrawOpAtlas::kInvalidAtlasID != fID); in id()
201 return fID; in id()
247 GrDrawOpAtlas::AtlasID fID; variable
/external/skia/src/gpu/text/
DGrTextBlobCache.h100 uint32_t fID; member
109 BlobIDCacheEntry() : fID(SK_InvalidGenID) {} in BlobIDCacheEntry()
110 explicit BlobIDCacheEntry(uint32_t id) : fID(id) {} in BlobIDCacheEntry()
113 return entry.fID; in GetKey()
118 SkASSERT(GrAtlasTextBlob::GetKey(*blob).fUniqueID == fID); in addBlob()
126 SkASSERT(GrAtlasTextBlob::GetKey(*blob).fUniqueID == fID); in removeBlob()
148 uint32_t fID; member
176 auto* idEntry = fBlobIDCache.find(msg.fID);
188 fBlobIDCache.remove(msg.fID);
DGrAtlasGlyphCache.h141 return this->getAtlas(glyph->fMaskFormat)->hasID(glyph->fID); in hasGlyph()
152 updater->add(glyph->fID); in addGlyphToBulkAndSetUseToken()
153 this->getAtlas(glyph->fMaskFormat)->setLastUseToken(glyph->fID, token); in addGlyphToBulkAndSetUseToken()
/external/skia/include/gpu/
DGrGpuResource.h191 explicit UniqueID(uint32_t id) : fID(id) {} in UniqueID()
193 uint32_t asUInt() const { return fID; } in asUInt()
196 return fID == other.fID;
202 void makeInvalid() { fID = SK_InvalidUniqueID; } in makeInvalid()
203 bool isInvalid() const { return SK_InvalidUniqueID == fID; } in isInvalid()
206 uint32_t fID;
/external/skia/include/ports/
DSkFontConfigInterface.h48 FontIdentity() : fID(0), fTTCIndex(0) {} in FontIdentity()
51 return fID == other.fID &&
59 uint32_t fID; member
/external/skia/src/gpu/gl/
DGrGLTexture.cpp91 SkASSERT(0 != idDesc.fInfo.fID); in init()
99 if (fInfo.fID) { in onRelease()
101 GL_CALL(DeleteTextures(1, &fInfo.fID)); in onRelease()
103 fInfo.fID = 0; in onRelease()
110 fInfo.fID = 0; in onAbandon()
136 fInfo.fID = 0; in detachBackendTexture()
DGrGLVertexArray.cpp113 : fID(id) in GrGLVertexArray()
119 if (0 == fID) { in bind()
122 gpu->bindVertexArray(fID); in bind()
DGrGLVertexArray.h109 GrGLuint arrayID() const { return fID; } in arrayID()
114 GrGLuint fID;
/external/skia/include/private/
DGrSurfaceProxy.h199 explicit UniqueID(const GrGpuResource::UniqueID& id) : fID(id.asUInt()) { } in UniqueID()
201 UniqueID() : fID(GrGpuResource::CreateUniqueID()) { } in UniqueID()
203 uint32_t asUInt() const { return fID; } in asUInt()
206 return fID == other.fID;
212 bool isInvalid() const { return SK_InvalidUniqueID == fID; } in isInvalid()
215 const uint32_t fID;
/external/skia/tools/gpu/gl/debug/
DGrFakeRefObj.h31 fID = ++fNextID; in GrFakeRefObj()
51 GrGLuint getID() const { return fID; } in getID()
67 GrGLuint fID; // globally unique ID variable
/external/skia/include/views/
DSkEventSink.h33 SkEventSinkID getSinkID() const { return fID; } in getSinkID()
103 SkEventSinkID fID;
/external/icu/icu4c/source/i18n/unicode/
Dtimezone.h938 UnicodeString fID; // this time zone's ID variable
949 ID = fID; in getID()
958 fID = ID; in setID()
/external/skia/tools/
Dsk_tool_utils.h143 TopoTestNode(int id) : fID(id), fOutputPos(-1), fTempMark(false) { } in TopoTestNode()
149 int id() const { return fID; } in id()
223 int fID;
/external/skia/src/pathops/
DSkOpAngle.h36 return SkDEBUGRELEASE(fID, -1); in debugID()
136 SkDEBUGCODE(int fID);

1234567