Home
last modified time | relevance | path

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

/external/skqp/src/gpu/vk/
DGrVkBuffer.cpp98 fDesc.fSizeInBytes, // size in addMemoryBarrier()
116 if (!fDesc.fDynamic) { in vkRelease()
126 if (!fDesc.fDynamic) { in vkAbandon()
152 if (fDesc.fDynamic) { in internalMap()
155 fResource = this->createResource(gpu, fDesc); in internalMap()
162 buffer_type_to_access_flags(fDesc.fType), in internalMap()
170 if (fDesc.fDynamic) { in internalMap()
190 if (fDesc.fDynamic) { in internalUnmap()
220 buffer_type_to_access_flags(fDesc.fType), in internalUnmap()
234 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()
113 Desc fDesc; variable
/external/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};
DSkScalerCache.cpp31 : fDesc{desc} in SkScalerCache()
81 return *fDesc.getDesc(); in getDescriptor()
DSkScalerCache.h143 const SkAutoDescriptor fDesc; variable
/external/skia/src/gpu/ops/
DGrTextureOp.cpp271 if (fDesc && fDesc->fProgramInfo) { in visitProxies()
272 fDesc->fProgramInfo->visitFPProxies(func); in visitProxies()
444 , fDesc(nullptr) in TextureOp()
493 , fDesc(nullptr) in TextureOp()
649 return (fDesc) ? fDesc->fProgramInfo : nullptr; in programInfo()
659 SkASSERT(fDesc); in onCreateProgramInfo()
671 arena, fDesc->fVertexSpec, *caps->shaderCaps(), backendFormat, samplerState, in onCreateProgramInfo()
674 SkASSERT(fDesc->fVertexSpec.vertexSize() == gp->vertexStride()); in onCreateProgramInfo()
680 fDesc->fProgramInfo = GrSimpleMeshDrawOpHelper::CreateProgramInfo( in onCreateProgramInfo()
682 GrProcessorSet::MakeEmptySet(), fDesc->fVertexSpec.primitiveType(), in onCreateProgramInfo()
[all …]
/external/skia/modules/skottie/src/text/
DSkottieShaper.cpp55 : fDesc(desc) in BlobMaker()
57 , fHAlignFactor(HAlignFactor(fDesc.fHAlign)) in BlobMaker()
58 , fFont(fDesc.fTypeface, fDesc.fTextSize) in BlobMaker()
118 fOffset.fY += fDesc.fLineHeight; in commitLine()
122 const auto commit_proc = (fDesc.fFlags & Shaper::Flags::kFragmentGlyphs) in commitLine()
141 if (!(fDesc.fFlags & Shaper::Flags::kFragmentGlyphs)) { in finalize()
166 typographical_bottom = fBox.fTop + fLastLineDescent + fDesc.fLineHeight * in finalize()
179 float v_offset = -fDesc.fLineShift; in finalize()
181 switch (fDesc.fVAlign) { in finalize()
233 if (fDesc.fVAlign == Shaper::VAlign::kTop) { in shapeLine()
[all …]
/external/skqp/src/core/
DSkDescriptor.cpp96 fDesc = reinterpret_cast<SkDescriptor*>(&fStorage); in reset()
98 fDesc = SkDescriptor::Alloc(size).release(); in reset()
105 memcpy(fDesc, &desc, size); in reset()
109 if (fDesc != (SkDescriptor*)&fStorage) { in free()
110 delete fDesc; in free()
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.h85 SkDescriptor* getDesc() const { SkASSERT(fDesc); return fDesc; } in getDesc()
95 SkDescriptor* fDesc{nullptr};
DSkStrike.h203 const SkAutoDescriptor fDesc; variable
DSkStrike.cpp29 : fDesc{desc} in SkStrike()
40 return *fDesc.getDesc(); in getDescriptor()
/external/skqp/src/gpu/glsl/
DGrGLSLProgramBuilder.h43 GrProgramDesc* desc() { return fDesc; } in desc()
44 const GrProgramDesc::KeyHeader& header() const { return fDesc->header(); } in header()
94 GrProgramDesc* fDesc; variable
DGrGLSLProgramBuilder.cpp38 , fDesc(desc) in GrGLSLProgramBuilder()
/external/skia/src/gpu/
DGrRecordingContext.cpp30 : fDesc(std::move(desc)) in ProgramData()
35 : fDesc(std::move(other.fDesc)) in ProgramData()
/external/skia/src/gpu/glsl/
DGrGLSLProgramBuilder.h54 const GrProgramDesc& desc() const { return fDesc; } in desc()
102 const GrProgramDesc& fDesc; variable
DGrGLSLProgramBuilder.cpp32 , fDesc(desc) in GrGLSLProgramBuilder()
/external/skia/include/gpu/
DGrRecordingContext.h164 const GrProgramDesc& desc() const { return *fDesc; } in desc()
169 std::unique_ptr<const GrProgramDesc> fDesc;
/external/skqp/src/gpu/text/
DGrTextBlob.h281 , fDesc{desc} {}
351 const SkDescriptor* desc() const { return fDesc.getDesc(); } in desc()
376 const SkAutoDescriptor& fDesc; variable
/external/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()