Home
last modified time | relevance | path

Searched refs:kDynamic_GrAccessPattern (Results 1 – 25 of 34) sorted by relevance

12

/external/skia/src/gpu/
DGrGpuBuffer.cpp24 SkASSERT(!fHasWrittenToBuffer || fAccessPattern == kDynamic_GrAccessPattern); in map()
46 SkASSERT(!fHasWrittenToBuffer || fAccessPattern == kDynamic_GrAccessPattern); in updateData()
73 if (SkIsPow2(fSizeInBytes) && kDynamic_GrAccessPattern == fAccessPattern) { in computeScratchKey()
DGrStagingBufferManager.cpp33 bufferSize, GrGpuBufferType::kXferCpuToGpu, kDynamic_GrAccessPattern, nullptr); in allocateStagingBufferSlice()
DGrRingBuffer.cpp69 fCurrentBuffer = resourceProvider->createBuffer(fTotalSize, fType, kDynamic_GrAccessPattern); in suballocate()
DGrOnFlushResourceProvider.cpp114 resourceProvider->createBuffer(size, intendedType, kDynamic_GrAccessPattern, data)); in makeBuffer()
/external/skqp/src/gpu/
DGrBuffer.cpp31 , fAccessPattern(kDynamic_GrAccessPattern) in GrBuffer()
69 kDynamic_GrAccessPattern == fAccessPattern) { in computeScratchKey()
DGrResourceProvider.cpp369 if (kDynamic_GrAccessPattern != accessPattern) { in createBuffer()
375 kDynamic_GrAccessPattern == accessPattern) { in createBuffer()
394 buffer = this->gpu()->createBuffer(allocSize, intendedType, kDynamic_GrAccessPattern); in createBuffer()
DGrOnFlushResourceProvider.cpp80 kDynamic_GrAccessPattern, in makeBuffer()
/external/skia/src/gpu/mock/
DGrMockOpTarget.h22 sizeof(fStaticVertexData), GrGpuBufferType::kVertex, kDynamic_GrAccessPattern); in GrMockOpTarget()
25 kDynamic_GrAccessPattern); in GrMockOpTarget()
/external/skia/src/gpu/vk/
DGrVkBuffer.cpp32 SkASSERT(accessPattern != kDynamic_GrAccessPattern || this->isVkMappable()); in GrVkBuffer()
78 accessPattern == kDynamic_GrAccessPattern || in Make()
211 size, GrGpuBufferType::kXferCpuToGpu, kDynamic_GrAccessPattern, src); in copyCpuDataToGpuBuffer()
DGrVkPipelineStateDataManager.cpp54 fUniformSize, GrGpuBufferType::kUniform, kDynamic_GrAccessPattern, in uploadUniforms()
DGrVkMSAALoadManager.cpp191 4 * sizeof(float), GrGpuBufferType::kUniform, kDynamic_GrAccessPattern, uniData); in loadMSAAFromResolve()
/external/skqp/src/gpu/vk/
DGrVkVertexBuffer.cpp14 desc.fDynamic ? kDynamic_GrAccessPattern : kStatic_GrAccessPattern) in GrVkVertexBuffer()
DGrVkIndexBuffer.cpp14 desc.fDynamic ? kDynamic_GrAccessPattern : kStatic_GrAccessPattern) in GrVkIndexBuffer()
DGrVkGpu.cpp351 SkASSERT(kDynamic_GrAccessPattern == accessPattern || in onCreateBuffer()
353 buff = GrVkVertexBuffer::Make(this, size, kDynamic_GrAccessPattern == accessPattern); in onCreateBuffer()
356 SkASSERT(kDynamic_GrAccessPattern == accessPattern || in onCreateBuffer()
358 buff = GrVkIndexBuffer::Make(this, size, kDynamic_GrAccessPattern == accessPattern); in onCreateBuffer()
361 SkASSERT(kDynamic_GrAccessPattern == accessPattern || in onCreateBuffer()
366 SkASSERT(kDynamic_GrAccessPattern == accessPattern || in onCreateBuffer()
/external/skia/src/gpu/gl/
DGrGLBuffer.cpp59 case kDynamic_GrAccessPattern: in gr_to_gl_access_pattern()
72 case kDynamic_GrAccessPattern: in gr_to_gl_access_pattern()
/external/skqp/tests/
DTraceMemoryDumpTest.cpp79 GrGLBuffer::Make(gpu, kMemorySize, kVertex_GrBufferType, kDynamic_GrAccessPattern); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DTransferPixelsTest.cpp89 kDynamic_GrAccessPattern, in basic_transfer_test()
DGrPipelineDynamicStateTest.cpp198 kDynamic_GrAccessPattern, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/tests/
DTraceMemoryDumpTest.cpp84 GrGLBuffer::Make(gpu, kMemorySize, GrGpuBufferType::kVertex, kDynamic_GrAccessPattern); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DTransferPixelsTest.cpp155 kDynamic_GrAccessPattern)); in basic_transfer_to_test()
324 bufferSize, GrGpuBufferType::kXferGpuToCpu, kDynamic_GrAccessPattern)); in basic_transfer_from_test()
DGrPipelineDynamicStateTest.cpp222 kDynamic_GrAccessPattern, vdata)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DGrMeshTest.cpp535 count * sizeof(uint16_t), GrGpuBufferType::kIndex, kDynamic_GrAccessPattern, indices));
541 count * sizeof(T), GrGpuBufferType::kVertex, kDynamic_GrAccessPattern, data));
/external/skqp/samplecode/
DSampleCCPRGeometry.cpp347 kVertex_GrBufferType, kDynamic_GrAccessPattern, in onExecute()
356 kVertex_GrBufferType, kDynamic_GrAccessPattern, in onExecute()
/external/skqp/src/gpu/gl/
DGrGLBuffer.cpp65 GR_STATIC_ASSERT(0 == kDynamic_GrAccessPattern); in gr_to_gl_access_pattern()
/external/skqp/src/gpu/mtl/
DGrMtlBuffer.mm35 , fIsDynamic(accessPattern == kDynamic_GrAccessPattern) {

12