Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrGpuBuffer.h26 size_t size() const final { return fSizeInBytes; } in size()
89 SkASSERT(srcSizeInBytes <= fSizeInBytes); in updateData()
104 size_t onGpuMemorySize() const override { return fSizeInBytes; } in onGpuMemorySize()
108 size_t fSizeInBytes; variable
DGrGpuBuffer.cpp16 , fSizeInBytes(sizeInBytes) in GrGpuBuffer()
35 if (SkIsPow2(fSizeInBytes) && kDynamic_GrAccessPattern == fAccessPattern) { in computeScratchKey()
36 ComputeScratchKeyForDynamicVBO(fSizeInBytes, fIntendedType, key); in computeScratchKey()
/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()
DGrVkTransferBuffer.cpp18 desc.fSizeInBytes = size; in Make()
34 : INHERITED(gpu, desc.fSizeInBytes, in GrVkTransferBuffer()
DGrVkIndexBuffer.cpp13 : INHERITED(gpu, desc.fSizeInBytes, kIndex_GrBufferType, in GrVkIndexBuffer()
23 desc.fSizeInBytes = size; in Make()
DGrVkBuffer.cpp31 bufInfo.size = desc.fSizeInBytes; in Create()
98 fDesc.fSizeInBytes, // size in addMemoryBarrier()
234 if (srcSizeInBytes > fDesc.fSizeInBytes) { in vkUpdateData()
/external/skia/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, GrGpuBufferType::kVertex, in GrVkVertexBuffer()
23 desc.fSizeInBytes = size; in Make()
DGrVkTransferBuffer.cpp18 desc.fSizeInBytes = size; in Make()
34 : INHERITED(gpu, desc.fSizeInBytes, in GrVkTransferBuffer()
DGrVkIndexBuffer.cpp13 : INHERITED(gpu, desc.fSizeInBytes, GrGpuBufferType::kIndex, in GrVkIndexBuffer()
23 desc.fSizeInBytes = size; in Make()
DGrVkBuffer.cpp31 bufInfo.size = desc.fSizeInBytes; in Create()
98 fDesc.fSizeInBytes, // size in addMemoryBarrier()
241 if (srcSizeInBytes > fDesc.fSizeInBytes) { in vkUpdateData()