Home
last modified time | relevance | path

Searched refs:fDesc (Results 1 – 21 of 21) sorted by relevance

/third_party/flutter/skia/src/gpu/vk/
DGrVkBuffer.cpp99 fDesc.fSizeInBytes, // size in addMemoryBarrier()
118 if (!fDesc.fDynamic) { in vkRelease()
128 if (!fDesc.fDynamic) { in vkAbandon()
154 if (fDesc.fDynamic) { in internalMap()
157 fResource = this->createResource(gpu, fDesc); in internalMap()
164 buffer_type_to_access_flags(fDesc.fType), in internalMap()
172 if (fDesc.fDynamic) { in internalMap()
211 buffer_type_to_access_flags(fDesc.fType), in copyCpuDataToGpuBuffer()
221 if (fDesc.fDynamic) { in internalUnmap()
244 if (srcSizeInBytes > fDesc.fSizeInBytes) { in vkUpdateData()
[all …]
DGrVkBuffer.h31 size_t size() const { return fDesc.fSizeInBytes; } in size()
84 : fDesc(desc), fResource(resource), fOffset(0), fMapPtr(nullptr) { in GrVkBuffer()
88 this->internalMap(gpu, fDesc.fSizeInBytes); in vkMap()
114 Desc fDesc; variable
/third_party/skia/src/core/
DSkDescriptor.cpp148 if (that.fDesc == (SkDescriptor*)&that.fStorage) { in SkAutoDescriptor()
151 fDesc = that.fDesc; in SkAutoDescriptor()
152 that.fDesc = nullptr; in SkAutoDescriptor()
156 if (that.fDesc == (SkDescriptor*)&that.fStorage) { in operator =()
160 fDesc = that.fDesc; in operator =()
161 that.fDesc = nullptr; in operator =()
171 fDesc = new (&fStorage) SkDescriptor{}; in reset()
173 fDesc = SkDescriptor::Alloc(size).release(); in reset()
180 memcpy(fDesc, &desc, size); in reset()
184 if (fDesc == (SkDescriptor*)&fStorage) { in free()
[all …]
DSkBitmapCache.cpp46 BitmapKey(const SkBitmapCacheDesc& desc) : fDesc(desc) { in BitmapKey()
47 this->init(&gBitmapKeyNamespaceLabel, SkMakeResourceCacheSharedIDForBitmap(fDesc.fImageID), in BitmapKey()
48 sizeof(fDesc)); in BitmapKey()
51 const SkBitmapCacheDesc fDesc; member
224 MipMapKey(const SkBitmapCacheDesc& desc) : fDesc(desc) { in MipMapKey()
225 this->init(&gMipMapKeyNamespaceLabel, SkMakeResourceCacheSharedIDForBitmap(fDesc.fImageID), in MipMapKey()
226 sizeof(fDesc)); in MipMapKey()
229 const SkBitmapCacheDesc fDesc; member
DSkDescriptor.h94 SkDescriptor* getDesc() const { SkASSERT(fDesc); return fDesc; } in getDesc()
104 SkDescriptor* fDesc{nullptr};
/third_party/skia/src/gpu/ops/
DTextureOp.cpp276 if (fDesc && fDesc->fProgramInfo) { in visitProxies()
277 fDesc->fProgramInfo->visitFPProxies(func); in visitProxies()
447 , fDesc(nullptr) in TextureOpImpl()
496 , fDesc(nullptr) in TextureOpImpl()
657 return (fDesc) ? fDesc->fProgramInfo : nullptr; in programInfo()
668 SkASSERT(fDesc); in onCreateProgramInfo()
680 arena, fDesc->fVertexSpec, *caps->shaderCaps(), backendFormat, samplerState, in onCreateProgramInfo()
683 SkASSERT(fDesc->fVertexSpec.vertexSize() == gp->vertexStride()); in onCreateProgramInfo()
686 fDesc->fProgramInfo = GrSimpleMeshDrawOpHelper::CreateProgramInfo( in onCreateProgramInfo()
688 GrProcessorSet::MakeEmptySet(), fDesc->fVertexSpec.primitiveType(), in onCreateProgramInfo()
[all …]
/third_party/skia/modules/skottie/src/text/
DSkottieShaper.cpp54 : fDesc(desc) in BlobMaker()
56 , fHAlignFactor(HAlignFactor(fDesc.fHAlign)) in BlobMaker()
57 , fFont(fDesc.fTypeface, fDesc.fTextSize) in BlobMaker()
117 fOffset.fY += fDesc.fLineHeight; in commitLine()
121 const auto commit_proc = (fDesc.fFlags & Shaper::Flags::kFragmentGlyphs) in commitLine()
140 if (!(fDesc.fFlags & Shaper::Flags::kFragmentGlyphs)) { in finalize()
165 typographical_bottom = fBox.fTop + fLastLineDescent + fDesc.fLineHeight * in finalize()
178 float v_offset = -fDesc.fLineShift; in finalize()
180 switch (fDesc.fVAlign) { in finalize()
232 if (fDesc.fVAlign == Shaper::VAlign::kTop) { in shapeLine()
[all …]
/third_party/flutter/skia/modules/skottie/src/text/
DSkottieShaper.cpp53 : fDesc(desc) in BlobMaker()
55 , fHAlignFactor(HAlignFactor(fDesc.fHAlign)) in BlobMaker()
56 , fFont(fDesc.fTypeface, fDesc.fTextSize) in BlobMaker()
115 fOffset.fY += fDesc.fLineHeight; in commitLine()
119 const auto commit_proc = (fDesc.fFlags & Shaper::Flags::kFragmentGlyphs) in commitLine()
138 if (!(fDesc.fFlags & Shaper::Flags::kFragmentGlyphs)) { in finalize()
147 const auto ascent = fDesc.fAscent ? fDesc.fAscent : fFirstLineAscent; in finalize()
165 typographical_bottom = fBox.fTop + fLastLineDescent + fDesc.fLineHeight * in finalize()
175 SkASSERT(!shaped_height || fDesc.fVAlign == Shaper::VAlign::kVisualCenter); in finalize()
179 switch (fDesc.fVAlign) { in finalize()
[all …]
/third_party/flutter/skia/src/core/
DSkBitmapCache.cpp46 BitmapKey(const SkBitmapCacheDesc& desc) : fDesc(desc) { in BitmapKey()
47 this->init(&gBitmapKeyNamespaceLabel, SkMakeResourceCacheSharedIDForBitmap(fDesc.fImageID), in BitmapKey()
48 sizeof(fDesc)); in BitmapKey()
51 const SkBitmapCacheDesc fDesc; member
224 MipMapKey(const SkBitmapCacheDesc& desc) : fDesc(desc) { in MipMapKey()
225 this->init(&gMipMapKeyNamespaceLabel, SkMakeResourceCacheSharedIDForBitmap(fDesc.fImageID), in MipMapKey()
226 sizeof(fDesc)); in MipMapKey()
229 const SkBitmapCacheDesc fDesc; member
DSkDescriptor.cpp137 fDesc = reinterpret_cast<SkDescriptor*>(&fStorage); in reset()
139 fDesc = SkDescriptor::Alloc(size).release(); in reset()
146 memcpy(fDesc, &desc, size); in reset()
150 if (fDesc != (SkDescriptor*)&fStorage) { in free()
151 delete fDesc; in free()
DSkDescriptor.h91 SkDescriptor* getDesc() const { SkASSERT(fDesc); return fDesc; } in getDesc()
101 SkDescriptor* fDesc{nullptr};
DSkStrike.cpp23 : fDesc{desc} in SkStrike()
101 return *fDesc.getDesc(); in getDescriptor()
DSkStrike.h188 const SkAutoDescriptor fDesc; variable
/third_party/flutter/skia/src/gpu/glsl/
DGrGLSLProgramBuilder.h49 GrProgramDesc* desc() { return fDesc; } in desc()
50 const GrProgramDesc::KeyHeader& header() const { return fDesc->header(); } in header()
102 GrProgramDesc* fDesc; variable
DGrGLSLProgramBuilder.cpp37 , fDesc(desc) in GrGLSLProgramBuilder()
/third_party/skia/src/gpu/
DGrRecordingContext.cpp32 : fDesc(std::move(desc)) in ProgramData()
37 : fDesc(std::move(other.fDesc)) in ProgramData()
/third_party/skia/src/gpu/glsl/
DGrGLSLProgramBuilder.h50 const GrProgramDesc& desc() const { return fDesc; } in desc()
101 const GrProgramDesc& fDesc; variable
DGrGLSLProgramBuilder.cpp31 , fDesc(desc) in GrGLSLProgramBuilder()
/third_party/skia/include/gpu/
DGrRecordingContext.h163 const GrProgramDesc& desc() const { return *fDesc; } in desc()
168 std::unique_ptr<const GrProgramDesc> fDesc;
/third_party/flutter/skia/experimental/editor/
Deditor_application.cpp73 const char* fDesc; member
74 Timer(const char* desc = "") : fTime(SkTime::GetNSecs()), fDesc(desc) {} in Timer()
75 ~Timer() { SkDebugf("%s: %5d μs\n", fDesc, (int)((SkTime::GetNSecs() - fTime) * 1e-3)); } in ~Timer()
/third_party/skia/modules/skplaintexteditor/app/
Deditor_application.cpp76 const char* fDesc; member
77 Timer(const char* desc = "") : fTime(SkTime::GetNSecs()), fDesc(desc) {} in Timer()
78 ~Timer() { SkDebugf("%s: %5d μs\n", fDesc, (int)((SkTime::GetNSecs() - fTime) * 1e-3)); } in ~Timer()