Home
last modified time | relevance | path

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

12345678

/external/skia/src/core/
DSkGlyph.h44 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/skqp/src/core/
DSkGlyph.h44 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/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()
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 …]
DEGLImageTest.cpp71 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 …]
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.cpp13 C() : fID(-1) { ++gInstCnt; } in C()
14 C(int id) : fID(id) { ++gInstCnt; } in C()
16 int fID; member
56 REPORTER_ASSERT(reporter, iter.next() && i == iter.get()->fID); in check_allocator_helper()
60 REPORTER_ASSERT(reporter, cnt-1 == allocator->back().fID); in check_allocator_helper()
/external/skqp/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()
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 …]
DEGLImageTest.cpp71 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 …]
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 __anon3d8523360311::CopyCounter
DGrAllocatorTest.cpp13 C() : fID(-1) { ++gInstCnt; } in C()
14 C(int id) : fID(id) { ++gInstCnt; } in C()
16 int fID; member
56 REPORTER_ASSERT(reporter, iter.next() && i == iter.get()->fID); in check_allocator_helper()
60 REPORTER_ASSERT(reporter, cnt-1 == allocator->back().fID); in check_allocator_helper()
/external/skqp/include/gpu/mock/
DGrMockTypes.h16 int fID; member
19 return fConfig == that.fConfig && fID == that.fID;
25 int fID; member
28 return fConfig == that.fConfig && fID == that.fID;
/external/skia/include/gpu/mock/
DGrMockTypes.h16 int fID; member
19 return fConfig == that.fConfig && fID == that.fID;
25 int fID; member
28 return fConfig == that.fConfig && fID == that.fID;
/external/skia/src/gpu/gl/
DGrGLTexture.cpp75 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()
98 fID = 0; in onAbandon()
105 info.fID = fID; in getBackendTexture()
/external/skqp/src/gpu/gl/
DGrGLTexture.cpp75 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/tools/trace/
DSkChromeTracingTracer.cpp39 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/tools/trace/
DSkChromeTracingTracer.cpp39 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/skia/src/gpu/
DGrTessellator.cpp157 , 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/skqp/src/gpu/
DGrTessellator.cpp157 , 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/skqp/include/gpu/
DGrGpuResource.h188 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/include/gpu/
DGrGpuResource.h197 explicit UniqueID(uint32_t id) : fID(id) {} in UniqueID()
199 uint32_t asUInt() const { return fID; } in asUInt()
201 bool operator==(const UniqueID& other) const { return fID == other.fID; }
204 void makeInvalid() { fID = SK_InvalidUniqueID; } in makeInvalid()
205 bool isInvalid() const { return fID == SK_InvalidUniqueID; } in isInvalid()
208 uint32_t fID = SK_InvalidUniqueID;
/external/skia/include/ports/
DSkFontConfigInterface.h46 FontIdentity() : fID(0), fTTCIndex(0) {} in FontIdentity()
49 return fID == other.fID &&
57 uint32_t fID; member
/external/skqp/include/ports/
DSkFontConfigInterface.h46 FontIdentity() : fID(0), fTTCIndex(0) {} in FontIdentity()
49 return fID == other.fID &&
57 uint32_t fID; member
/external/skia/include/private/
DGrSurfaceProxy.h278 explicit UniqueID(const GrGpuResource::UniqueID& id) : fID(id.asUInt()) { } in UniqueID()
280 UniqueID() : fID(GrGpuResource::CreateUniqueID()) { } in UniqueID()
282 uint32_t asUInt() const { return fID; } in asUInt()
285 return fID == other.fID;
291 void makeInvalid() { fID = SK_InvalidUniqueID; } in makeInvalid()
292 bool isInvalid() const { return SK_InvalidUniqueID == fID; } in isInvalid()
295 explicit UniqueID(uint32_t id) : fID(id) {} in UniqueID()
297 uint32_t fID; variable
/external/skqp/include/private/
DGrSurfaceProxy.h276 explicit UniqueID(const GrGpuResource::UniqueID& id) : fID(id.asUInt()) { } in UniqueID()
278 UniqueID() : fID(GrGpuResource::CreateUniqueID()) { } in UniqueID()
280 uint32_t asUInt() const { return fID; } in asUInt()
283 return fID == other.fID;
289 void makeInvalid() { fID = SK_InvalidUniqueID; } in makeInvalid()
290 bool isInvalid() const { return SK_InvalidUniqueID == fID; } in isInvalid()
293 explicit UniqueID(uint32_t id) : fID(id) {} in UniqueID()
295 uint32_t fID; variable
/external/skqp/src/gpu/mock/
DGrMockGpu.cpp98 texInfo.fID = NextInternalTextureID(); in onCreateTexture()
102 rtInfo.fID = NextInternalRenderTargetID(); in onCreateTexture()
145 rtInfo.fID = NextInternalRenderTargetID(); in onWrapRenderableBackendTexture()
180 rtInfo.fID = NextInternalRenderTargetID(); in onWrapBackendTextureAsRenderTarget()
212 info.fID = NextExternalTextureID(); in createTestingOnlyBackendTexture()
213 fOutstandingTestingOnlyTextureIDs.add(info.fID); in createTestingOnlyBackendTexture()
225 return fOutstandingTestingOnlyTextureIDs.contains(info.fID); in isTestingOnlyBackendTexture()
233 fOutstandingTestingOnlyTextureIDs.remove(info.fID); in deleteTestingOnlyBackendTexture()

12345678