Home
last modified time | relevance | path

Searched refs:fSizeInBytes (Results 1 – 10 of 10) sorted by relevance

/external/skia/src/gpu/
DGrGpuBuffer.cpp16 , fSizeInBytes(sizeInBytes) in GrGpuBuffer()
48 SkASSERT(srcSizeInBytes <= fSizeInBytes); in updateData()
73 if (SkIsPow2(fSizeInBytes) && kDynamic_GrAccessPattern == fAccessPattern) { in computeScratchKey()
74 ComputeScratchKeyForDynamicBuffer(fSizeInBytes, fIntendedType, key); in computeScratchKey()
DGrGpuBuffer.h26 size_t size() const final { return fSizeInBytes; } in size()
94 size_t onGpuMemorySize() const override { return fSizeInBytes; } in onGpuMemorySize()
98 size_t fSizeInBytes; variable
/external/skqp/src/gpu/
DGrBuffer.h31 size_t sizeInBytes() const { return fSizeInBytes; } in sizeInBytes()
95 SkASSERT(srcSizeInBytes <= fSizeInBytes); in updateData()
118 size_t onGpuMemorySize() const override { return fSizeInBytes; } // TODO: zero for cpu backed? in onGpuMemorySize()
122 size_t fSizeInBytes; variable
DGrBuffer.cpp30 , fSizeInBytes(sizeInBytes) in GrBuffer()
40 , fSizeInBytes(sizeInBytes) in GrBuffer()
68 if (!this->isCPUBacked() && SkIsPow2(fSizeInBytes) && in computeScratchKey()
70 ComputeScratchKeyForDynamicVBO(fSizeInBytes, fIntendedType, key); in computeScratchKey()
/external/skqp/src/gpu/vk/
DGrVkUniformBuffer.cpp30 desc.fSizeInBytes = size; in Create()
88 if (descriptor.fSizeInBytes <= GrVkUniformBuffer::kStandardSize) { in createResource()
92 vkResource = CreateResource(gpu, descriptor.fSizeInBytes); in createResource()
DGrVkBuffer.h31 size_t size() const { return fDesc.fSizeInBytes; } in size()
52 size_t fSizeInBytes; member
88 this->internalMap(gpu, fDesc.fSizeInBytes); in vkMap()
DGrVkVertexBuffer.cpp13 : INHERITED(gpu, desc.fSizeInBytes, kVertex_GrBufferType, in GrVkVertexBuffer()
23 desc.fSizeInBytes = size; in Make()
DGrVkIndexBuffer.cpp13 : INHERITED(gpu, desc.fSizeInBytes, kIndex_GrBufferType, in GrVkIndexBuffer()
23 desc.fSizeInBytes = size; in Make()
DGrVkTransferBuffer.cpp18 desc.fSizeInBytes = size; in Make()
34 : INHERITED(gpu, desc.fSizeInBytes, in GrVkTransferBuffer()
DGrVkBuffer.cpp31 bufInfo.size = desc.fSizeInBytes; in Create()
98 fDesc.fSizeInBytes, // size in addMemoryBarrier()
234 if (srcSizeInBytes > fDesc.fSizeInBytes) { in vkUpdateData()