Home
last modified time | relevance | path

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

123456

/third_party/skia/include/gpu/mock/
DGrMockTypes.h20 , 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 …]
/third_party/skia/tests/
DEGLImageTest.cpp67 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 …]
DLListTest.cpp14 ListElement(int id) : fID(id) { in ListElement()
16 bool operator== (const ListElement& other) { return fID == other.fID; } in operator ==()
18 int fID; member in ListElement
71 REPORTER_ASSERT(reporter, cur->fID == 3-i); in DEF_TEST()
76 REPORTER_ASSERT(reporter, cur->fID == i); in DEF_TEST()
112 REPORTER_ASSERT(reporter, cur->fID == i); in DEF_TEST()
151 REPORTER_ASSERT(reporter, cur->fID == i); in DEF_TEST()
DSkTBlockListTest.cpp13 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
64 REPORTER_ASSERT(reporter, i == c.fID); in check_allocator_helper()
65 REPORTER_ASSERT(reporter, allocator->item(i).fID == i); in check_allocator_helper()
71 REPORTER_ASSERT(reporter, cnt-1 == allocator->back().fID); in check_allocator_helper()
210 REPORTER_ASSERT(reporter, i == item.fID); in run_concat_test()
[all …]
DHashTest.cpp195 CopyCounter() : fID(0), fCounter(nullptr) {} in CopyCounter()
197 CopyCounter(uint32_t id, uint32_t* counter) : fID(id), fCounter(counter) {} in CopyCounter()
200 : fID(other.fID) in CopyCounter()
207 fID = other.fID; in operator =()
214 fID = other.fID; in operator =()
220 return fID == other.fID; in operator ==()
224 uint32_t fID; member in __anon0318c73d0311::CopyCounter
DTextureBindingsResetTest.cpp111 GrEGLImage eglImage = ctxInfo.glContext()->texture2DToEGLImage(info2D.fID); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
114 infoExternal.fID = ctxInfo.glContext()->eglImageToExternalTexture(eglImage); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
117 REPORTER_ASSERT(reporter, infoExternal.fID); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
131 GL(DeleteTextures(1, &infoExternal.fID)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/third_party/skia/src/core/
DSkGlyph.h54 : fID{(uint32_t)glyphID << kGlyphID} { } in SkPackedGlyphID()
57 : fID {PackIDXY(glyphID, x, y)} { } in SkPackedGlyphID()
60 : fID {PackIDSubXSubY(glyphID, x, y)} { } in SkPackedGlyphID()
63 : fID{PackIDSkPoint(glyphID, pt, mask)} { } in SkPackedGlyphID()
65 constexpr explicit SkPackedGlyphID(uint32_t v) : fID{v & kMaskAll} { } in SkPackedGlyphID()
66 constexpr SkPackedGlyphID() : fID{kImpossibleID} {} in SkPackedGlyphID()
69 return fID == that.fID;
75 return this->fID < that.fID;
79 return (fID >> kGlyphID) & kGlyphIDMask; in glyphID()
83 return fID; in value()
[all …]
DSkMarkerStack.cpp22 if (it->fID == id) { // in current frame, so replace in setMarker()
35 if (it->fID == id) { in findMarker()
48 if (it->fID == id) { in findMarkerInverse()
/third_party/skia/experimental/sorttoy/
Dsorttypes.h18 explicit ID(int id) : fID(id) { in ID()
26 bool isValid() const { return fID != -1; } in isValid()
28 bool operator==(ID other) const { return fID == other.fID; }
30 int toInt() const { return fID; } in toInt()
33 ID() : fID(-1) {} in ID()
35 int fID; variable
DCmds.h23 Cmd() : fID(ID::Invalid()) {} in Cmd()
24 Cmd(ID id) : fID(id) {} in Cmd()
27 ID id() const { return fID; } in id()
40 const ID fID;
61 SkDebugf("%d: save", fID.toInt()); in dump()
84 SkDebugf("%d: restore", fID.toInt()); in dump()
111 fID.toInt(), in dump()
149 fID.toInt(), in dump()
/third_party/skia/src/gpu/geometry/
DGrTriangulator.cpp95 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()
252 fTop->fID, fBottom->fID, other.fTop->fID, other.fBottom->fID); in intersect()
294 TESS_LOG("removing edge %g -> %g\n", edge->fTop->fID, edge->fBottom->fID); in remove()
387 fID = gID++; in Poly()
388 TESS_LOG("*** created Poly %d\n", fID); in Poly()
394 e->fTop->fID, e->fBottom->fID, fID, side == kLeft_Side ? "left" : "right"); in addEdge()
437 TESS_LOG("emit() %d, size %d\n", poly->fID, poly->fCount); in emitPoly()
459 v->fID = gID++; in appendPointToContour()
[all …]
DGrAATriangulator.cpp77 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 …]
/third_party/skia/src/gpu/gl/
DGrGLTexture.cpp86 SkASSERT(0 != desc.fID); in init()
88 fID = desc.fID; in init()
99 if (fID) { in onRelease()
101 GL_CALL(DeleteTextures(1, &fID)); in onRelease()
103 fID = 0; in onRelease()
109 fID = 0; in onAbandon()
116 info.fID = fID; in getBackendTexture()
DGrGLTexture.h24 GrGLuint fID = 0; member
44 GrGLuint textureID() const { return fID; } in textureID()
82 GrGLuint fID; variable
/third_party/skia/tools/trace/
DChromeTracingTracer.cpp39 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 …]
/third_party/skia/src/gpu/
DGrSurfaceProxy.h164 explicit UniqueID(const GrGpuResource::UniqueID& id) : fID(id.asUInt()) { } in UniqueID()
166 UniqueID() : fID(GrGpuResource::CreateUniqueID()) { } in UniqueID()
168 uint32_t asUInt() const { return fID; } in asUInt()
171 return fID == other.fID;
177 void makeInvalid() { fID = SK_InvalidUniqueID; } in makeInvalid()
178 bool isInvalid() const { return SK_InvalidUniqueID == fID; } in isInvalid()
181 explicit UniqueID(uint32_t id) : fID(id) {} in UniqueID()
183 uint32_t fID; variable
DGrGpuResource.h238 explicit UniqueID(uint32_t id) : fID(id) {} in UniqueID()
240 uint32_t asUInt() const { return fID; } in asUInt()
242 bool operator==(const UniqueID& other) const { return fID == other.fID; }
245 void makeInvalid() { fID = SK_InvalidUniqueID; } in makeInvalid()
246 bool isInvalid() const { return fID == SK_InvalidUniqueID; } in isInvalid()
249 uint32_t fID = SK_InvalidUniqueID;
DGrMemoryPool.cpp82 header->fID = []{ in allocate()
88 fAllocatedIDs.add(header->fID); in allocate()
107 fAllocatedIDs.remove(header->fID); in release()
/third_party/skia/include/ports/
DSkFontConfigInterface.h46 FontIdentity() : fID(0), fTTCIndex(0) {} in FontIdentity()
49 return fID == other.fID &&
57 uint32_t fID; member
/third_party/skia/src/pdf/
DSkBitmapKey.h14 uint32_t fID; member
16 return fID == rhs.fID && fSubset == rhs.fSubset;
/third_party/skia/experimental/graphite/src/
DContextUtils.h54 SkASSERT(fID == kInvalidUniformID); in setID()
55 fID = id; in setID()
57 uint32_t id() const { return fID; } in id()
81 uint32_t fID = kInvalidUniformID; variable
/third_party/skia/src/gpu/text/
DGrTextBlobCache.cpp161 GrTextBlobCache::BlobIDCacheEntry::BlobIDCacheEntry() : fID(SK_InvalidGenID) {} in BlobIDCacheEntry()
163 GrTextBlobCache::BlobIDCacheEntry::BlobIDCacheEntry(uint32_t id) : fID(id) {} in BlobIDCacheEntry()
166 return entry.fID; in GetKey()
171 SkASSERT(blob->key().fUniqueID == fID); in addBlob()
179 SkASSERT(blob->key().fUniqueID == fID); in removeBlob()
/third_party/skia/include/gpu/
DGrDirectContext.h817 DirectContextID() : fID(SK_InvalidUniqueID) {} in DirectContextID()
819 bool operator==(const DirectContextID& that) const { return fID == that.fID; }
822 void makeInvalid() { fID = SK_InvalidUniqueID; } in makeInvalid()
823 bool isValid() const { return fID != SK_InvalidUniqueID; } in isValid()
826 constexpr DirectContextID(uint32_t id) : fID(id) {} in DirectContextID()
827 uint32_t fID; variable
/third_party/skia/tools/
DDDLTileHelper.h36 bool initialized() const { return fID != -1; } in initialized()
62 int id() const { return fID; } in id()
83 int fID = -1; variable
/third_party/skia/include/gpu/gl/
DGrGLTypes.h183 GrGLuint fID; member
187 return fTarget == that.fTarget && fID == that.fID && fFormat == that.fFormat;

123456