/external/skqp/src/core/ |
D | SkGlyph.h | 44 fID = code; in SkPackedID() 55 fID = ID; in SkPackedID() 58 constexpr SkPackedID() : fID(kImpossibleID) {} in SkPackedID() 61 return fID == that.fID; 67 return this->fID < that.fID; 71 return fID & kCodeMask; in code() 75 return fID; in value() 79 return SubToFixed(ID2SubX(fID)); in getSubXFixed() 83 return SubToFixed(ID2SubY(fID)); in getSubYFixed() 87 return SkChecksum::CheapMix(fID); in hash() [all …]
|
/external/skia/include/gpu/mock/ |
D | GrMockTypes.h | 20 , fID(0) {} in GrMockTextureInfo() 27 , fID(id) { in GrMockTextureInfo() 28 SkASSERT(fID); in GrMockTextureInfo() 37 fID == that.fID; 49 int id() const { return fID; } in id() 54 int fID; member 60 , fID(0) {} in GrMockRenderTargetInfo() 64 , fID(id) { in GrMockRenderTargetInfo() 65 SkASSERT(fID); in GrMockRenderTargetInfo() 70 fID == that.fID; [all …]
|
/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 ==() 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() 152 REPORTER_ASSERT(reporter, cur->fID == i); in test_tinternallist() 182 REPORTER_ASSERT(reporter, iter1.get()->fID == iter2.get()->fID); in test_tllist() 185 REPORTER_ASSERT(reporter, iter3.get()->fID == iter1.get()->fID); in test_tllist() 186 REPORTER_ASSERT(reporter, iter4.get()->fID == iter1.get()->fID); in test_tllist() [all …]
|
D | EGLImageTest.cpp | 67 externalTexture.fID = 0; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 70 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 76 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 92 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 104 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 109 image = glCtx1->texture2DToEGLImage(texInfo.fID); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 112 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 130 GR_GL_CALL(glCtx1->gl(), BindTexture(texInfo.fTarget, texInfo.fID)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 143 externalTexture.fID = glCtx0->eglImageToExternalTexture(image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 145 if (0 == externalTexture.fID) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() [all …]
|
D | HashTest.cpp | 194 CopyCounter() : fID(0), fCounter(nullptr) {} in CopyCounter() 196 CopyCounter(uint32_t id, uint32_t* counter) : fID(id), fCounter(counter) {} in CopyCounter() 199 : fID(other.fID) in CopyCounter() 206 fID = other.fID; in operator =() 213 fID = other.fID; in operator =() 219 return fID == other.fID; in operator ==() 223 uint32_t fID; member in __anona4b7a8660311::CopyCounter
|
D | GrTBlockListTest.cpp | 13 C() : fID(-1) { ++gInstCnt; } in C() 14 C(int id) : fID(id) { ++gInstCnt; } in C() 15 C(C&& c) : C(c.fID) {} in C() 16 C(const C& c) : C(c.fID) {} in C() 23 int fID; member 35 int fID; member 51 REPORTER_ASSERT(reporter, i == c.fID); in check_allocator_helper() 52 REPORTER_ASSERT(reporter, allocator->item(i).fID == i); in check_allocator_helper() 58 REPORTER_ASSERT(reporter, cnt-1 == allocator->back().fID); in check_allocator_helper() 197 REPORTER_ASSERT(reporter, i == item.fID); in run_concat_test() [all …]
|
/external/skqp/tests/ |
D | LListTest.cpp | 15 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() 152 REPORTER_ASSERT(reporter, cur->fID == i); in test_tinternallist() 182 REPORTER_ASSERT(reporter, iter1.get()->fID == iter2.get()->fID); in test_tllist() 185 REPORTER_ASSERT(reporter, iter3.get()->fID == iter1.get()->fID); in test_tllist() 186 REPORTER_ASSERT(reporter, iter4.get()->fID == iter1.get()->fID); in test_tllist() [all …]
|
D | EGLImageTest.cpp | 71 externalTexture.fID = 0; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 74 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, &backendTexture1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 80 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() 108 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, &backendTexture1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 113 image = glCtx1->texture2DToEGLImage(texInfo.fID); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 116 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, &backendTexture1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 134 GR_GL_CALL(glCtx1->gl(), BindTexture(texInfo.fTarget, texInfo.fID)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 147 externalTexture.fID = glCtx0->eglImageToExternalTexture(image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 148 if (0 == externalTexture.fID) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() [all …]
|
D | HashTest.cpp | 113 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 __anon236b341d0311::CopyCounter
|
/external/skia/src/core/ |
D | SkGlyph.h | 53 : fID{(uint32_t)glyphID << kGlyphID} { } in SkPackedGlyphID() 56 : fID {PackIDXY(glyphID, x, y)} { } in SkPackedGlyphID() 59 : fID {PackIDSubXSubY(glyphID, x, y)} { } in SkPackedGlyphID() 62 : fID{PackIDSkPoint(glyphID, pt, mask)} { } in SkPackedGlyphID() 64 constexpr explicit SkPackedGlyphID(uint32_t v) : fID{v & kMaskAll} { } in SkPackedGlyphID() 65 constexpr SkPackedGlyphID() : fID{kImpossibleID} {} in SkPackedGlyphID() 68 return fID == that.fID; 74 return this->fID < that.fID; 78 return (fID >> kGlyphID) & kGlyphIDMask; in glyphID() 82 return fID; in value() [all …]
|
/external/skqp/include/gpu/mock/ |
D | GrMockTypes.h | 16 int fID; member 19 return fConfig == that.fConfig && fID == that.fID; 25 int fID; member 28 return fConfig == that.fConfig && fID == that.fID;
|
/external/skqp/src/gpu/gl/ |
D | GrGLTexture.cpp | 75 SkASSERT(0 != idDesc.fInfo.fID); in init() 78 fID = idDesc.fInfo.fID; in init() 88 if (fID) { in onRelease() 90 GL_CALL(DeleteTextures(1, &fID)); in onRelease() 92 fID = 0; in onRelease() 99 fID = 0; in onAbandon() 107 info.fID = fID; in getBackendTexture()
|
/external/skia/src/gpu/gl/ |
D | GrGLTexture.cpp | 85 SkASSERT(0 != desc.fID); in init() 87 fID = desc.fID; in init() 98 if (fID) { in onRelease() 100 GL_CALL(DeleteTextures(1, &fID)); in onRelease() 102 fID = 0; in onRelease() 108 fID = 0; in onAbandon() 115 info.fID = fID; in getBackendTexture()
|
/external/skia/src/gpu/ |
D | GrTriangulator.cpp | 95 TESS_LOG("emit_triangle %g (%g, %g) %d\n", v0->fID, v0->fPoint.fX, v0->fPoint.fY, v0->fAlpha); in emit_triangle() 96 TESS_LOG(" %g (%g, %g) %d\n", v1->fID, v1->fPoint.fX, v1->fPoint.fY, v1->fAlpha); in emit_triangle() 97 TESS_LOG(" %g (%g, %g) %d\n", v2->fID, v2->fPoint.fX, v2->fPoint.fY, v2->fAlpha); in emit_triangle() 154 fTop->fID, fBottom->fID, other.fTop->fID, other.fBottom->fID); in intersect() 202 TESS_LOG("removing edge %g -> %g\n", edge->fTop->fID, edge->fBottom->fID); in remove() 295 fID = gID++; in Poly() 296 TESS_LOG("*** created Poly %d\n", fID); in Poly() 302 e->fTop->fID, e->fBottom->fID, fID, side == kLeft_Side ? "left" : "right"); in addEdge() 345 TESS_LOG("emit() %d, size %d\n", poly->fID, poly->fCount); in emitPoly() 367 v->fID = gID++; in appendPointToContour() [all …]
|
D | GrAATriangulator.cpp | 77 prev->fID, next->fID, e->fEdge->fTop->fID, e->fEdge->fBottom->fID, p.fX, p.fY, in makeEvent() 103 dest->fID, v->fID, top->fID, bottom->fID, p.fX, p.fY, alpha); in makeEvent() 128 edge->fPrev->fVertex->fID, in dump_skel() 129 edge->fNext->fVertex->fID); in dump_skel() 132 edge->fEdge->fTop->fID, in dump_skel() 133 edge->fEdge->fBottom->fID); in dump_skel() 234 TESS_LOG("ss_connecting vertex %g to vertex %g\n", v->fID, dest->fID); in connectSSEdge() 238 TESS_LOG("setting %g's partner to %g ", v->fPartner->fID, dest->fID); in connectSSEdge() 239 TESS_LOG("and %g's partner to null\n", v->fID); in connectSSEdge() 261 prev->fID, next->fID, fEdge->fEdge->fTop->fID, fEdge->fEdge->fBottom->fID, dest->fID, in apply() [all …]
|
D | GrGpuResource.h | 152 explicit UniqueID(uint32_t id) : fID(id) {} in UniqueID() 154 uint32_t asUInt() const { return fID; } in asUInt() 156 bool operator==(const UniqueID& other) const { return fID == other.fID; } 159 void makeInvalid() { fID = SK_InvalidUniqueID; } in makeInvalid() 160 bool isInvalid() const { return fID == SK_InvalidUniqueID; } in isInvalid() 163 uint32_t fID = SK_InvalidUniqueID;
|
D | GrSurfaceProxy.h | 161 explicit UniqueID(const GrGpuResource::UniqueID& id) : fID(id.asUInt()) { } in UniqueID() 163 UniqueID() : fID(GrGpuResource::CreateUniqueID()) { } in UniqueID() 165 uint32_t asUInt() const { return fID; } in asUInt() 168 return fID == other.fID; 174 void makeInvalid() { fID = SK_InvalidUniqueID; } in makeInvalid() 175 bool isInvalid() const { return SK_InvalidUniqueID == fID; } in isInvalid() 178 explicit UniqueID(uint32_t id) : fID(id) {} in UniqueID() 180 uint32_t fID; variable
|
/external/skia/tools/trace/ |
D | ChromeTracingTracer.cpp | 39 uint64_t fID; member 112 traceEvent->fID = id; in addTraceEvent() 202 SkASSERT(nullptr == baseTypeResolver->find(traceEvent->fID)); in trace_event_to_json() 203 baseTypeResolver->set(traceEvent->fID, traceEvent->fName); in trace_event_to_json() 205 SkASSERT(nullptr != baseTypeResolver->find(traceEvent->fID)); in trace_event_to_json() 206 baseTypeResolver->remove(traceEvent->fID); in trace_event_to_json() 214 if (0 != traceEvent->fID) { in trace_event_to_json() 216 writer->appendPointer("id", reinterpret_cast<void*>(traceEvent->fID)); in trace_event_to_json() 239 baseTypeResolver->find(traceEvent->fID) && in trace_event_to_json() 240 0 != strcmp(*baseTypeResolver->find(traceEvent->fID), traceEvent->fName)) { in trace_event_to_json() [all …]
|
/external/skqp/tools/trace/ |
D | SkChromeTracingTracer.cpp | 39 uint64_t fID; member 118 traceEvent->fID = id; in addTraceEvent() 219 SkASSERT(nullptr == baseTypeResolver->find(traceEvent->fID)); in trace_event_to_json() 220 baseTypeResolver->set(traceEvent->fID, traceEvent->fName); in trace_event_to_json() 222 SkASSERT(nullptr != baseTypeResolver->find(traceEvent->fID)); in trace_event_to_json() 223 baseTypeResolver->remove(traceEvent->fID); in trace_event_to_json() 231 if (0 != traceEvent->fID) { in trace_event_to_json() 233 writer->appendPointer("id", reinterpret_cast<void*>(traceEvent->fID)); in trace_event_to_json() 256 baseTypeResolver->find(traceEvent->fID) && in trace_event_to_json() 257 0 != strcmp(*baseTypeResolver->find(traceEvent->fID), traceEvent->fName)) { in trace_event_to_json() [all …]
|
/external/skqp/include/gpu/ |
D | GrGpuResource.h | 188 explicit UniqueID(uint32_t id) : fID(id) {} in UniqueID() 190 uint32_t asUInt() const { return fID; } in asUInt() 193 return fID == other.fID; 199 void makeInvalid() { fID = SK_InvalidUniqueID; } in makeInvalid() 200 bool isInvalid() const { return SK_InvalidUniqueID == fID; } in isInvalid() 203 uint32_t fID;
|
/external/skia/src/sksl/ |
D | SkSLASTNode.h | 130 SkASSERT(fID); 131 fID = (**this).fNext; 136 SkASSERT(fID); 138 fID = (**this).fNext; 156 return fID == other.fID; 160 return fID != other.fID; 164 SkASSERT(fID); 165 return (*fNodes)[fID.fValue]; 169 SkASSERT(fID); 170 return &(*fNodes)[fID.fValue]; [all …]
|
/external/skia/include/ports/ |
D | SkFontConfigInterface.h | 46 FontIdentity() : fID(0), fTTCIndex(0) {} in FontIdentity() 49 return fID == other.fID && 57 uint32_t fID; member
|
/external/skqp/include/ports/ |
D | SkFontConfigInterface.h | 46 FontIdentity() : fID(0), fTTCIndex(0) {} in FontIdentity() 49 return fID == other.fID && 57 uint32_t fID; member
|
/external/skqp/src/gpu/ |
D | GrTessellator.cpp | 157 , fID (-1.0f) in Vertex() 172 float fID; // Identifier used for logging. member 209 LOG("emit_triangle %g (%g, %g) %d\n", v0->fID, v0->fPoint.fX, v0->fPoint.fY, v0->fAlpha); in emit_triangle() 210 LOG(" %g (%g, %g) %d\n", v1->fID, v1->fPoint.fX, v1->fPoint.fY, v1->fAlpha); in emit_triangle() 211 LOG(" %g (%g, %g) %d\n", v2->fID, v2->fPoint.fX, v2->fPoint.fY, v2->fAlpha); in emit_triangle() 400 fTop->fID, fBottom->fID, in intersect() 401 other.fTop->fID, other.fBottom->fID); in intersect() 495 e->fTop->fID, e->fBottom->fID, p.fX, p.fY, alpha); in create_event() 515 fID = gID++; in Poly() 516 LOG("*** created Poly %d\n", fID); in Poly() [all …]
|
/external/skia/src/pdf/ |
D | SkBitmapKey.h | 14 uint32_t fID; member 16 return fID == rhs.fID && fSubset == rhs.fSubset;
|