Home
last modified time | relevance | path

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

/external/skia/tests/
DGrSubmittedFlushTest.cpp42 GrFlushInfo flushInfo; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
43 flushInfo.fSubmittedProc = testing_submitted_proc; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
44 flushInfo.fSubmittedContext = &submittedInfo; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
46 ctx->flush(flushInfo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
54 surface->flush(SkSurface::BackendSurfaceAccess::kNoAccess, flushInfo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
60 ctx->flush(flushInfo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
69 surface->flush(SkSurface::BackendSurfaceAccess::kNoAccess, flushInfo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
72 surface->flush(SkSurface::BackendSurfaceAccess::kNoAccess, flushInfo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
82 surface->flush(SkSurface::BackendSurfaceAccess::kNoAccess, flushInfo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
85 ctx->flush(flushInfo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DSurfaceSemaphoreTest.cpp247 GrFlushInfo flushInfo; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
248 flushInfo.fNumSemaphores = 1; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
249 flushInfo.fSignalSemaphores = &semaphore; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
251 mainSurface->flush(SkSurface::BackendSurfaceAccess::kNoAccess, flushInfo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DDeferredDisplayListTest.cpp1098 GrFlushInfo flushInfo; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
1099 s->flush(SkSurface::BackendSurfaceAccess::kPresent, flushInfo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/src/gpu/ops/
DGrAtlasTextOp.cpp234 FlushInfo flushInfo; in onPrepareDraws() local
235 flushInfo.fPrimProcProxies = primProcProxies; in onPrepareDraws()
236 flushInfo.fIndexBuffer = resourceProvider->refNonAAQuadIndexBuffer(); in onPrepareDraws()
239 flushInfo.fGeometryProcessor = this->setupDfProcessor(target->allocator(), in onPrepareDraws()
247 flushInfo.fGeometryProcessor = GrBitmapTextGeoProc::Make( in onPrepareDraws()
252 const int vertexStride = (int)flushInfo.fGeometryProcessor->vertexStride(); in onPrepareDraws()
272 &flushInfo.fVertexBuffer, in onPrepareDraws()
273 &flushInfo.fVertexOffset); in onPrepareDraws()
275 if (!vertices || !flushInfo.fVertexBuffer) { in onPrepareDraws()
306 flushInfo.fGlyphsToFlush += glyphsRegenerated; in onPrepareDraws()
[all …]
DGrSmallPathRenderer.cpp200 FlushInfo flushInfo; in onPrepareDraws() local
201 flushInfo.fPrimProcProxies = target->allocPrimProcProxyPtrs(kMaxTextures); in onPrepareDraws()
208 flushInfo.fPrimProcProxies[i] = views[i].proxy(); in onPrepareDraws()
233 flushInfo.fGeometryProcessor = GrDistanceFieldPathGeoProc::Make( in onPrepareDraws()
245 flushInfo.fGeometryProcessor = GrBitmapTextGeoProc::Make( in onPrepareDraws()
252 const size_t kVertexStride = flushInfo.fGeometryProcessor->vertexStride(); in onPrepareDraws()
261 &flushInfo.fVertexBuffer, &flushInfo.fVertexOffset)}; in onPrepareDraws()
263 flushInfo.fIndexBuffer = target->resourceProvider()->refNonAAQuadIndexBuffer(); in onPrepareDraws()
264 if (!vertices.fPtr || !flushInfo.fIndexBuffer) { in onPrepareDraws()
269 flushInfo.fInstancesToFlush = 0; in onPrepareDraws()
[all …]
DGrAtlasTextOp.h230 GrMeshDrawOp::Target* target, FlushInfo* flushInfo) const;
/external/skqp/src/gpu/ops/
DGrAtlasTextOp.cpp308 FlushInfo flushInfo; in onPrepareDraws() local
309 flushInfo.fPipeline = pipe.fPipeline; in onPrepareDraws()
310 flushInfo.fFixedDynamicState = pipe.fFixedDynamicState; in onPrepareDraws()
314 flushInfo.fGeometryProcessor = this->setupDfProcessor(*target->caps().shaderCaps(), in onPrepareDraws()
319 flushInfo.fGeometryProcessor = GrBitmapTextGeoProc::Make( in onPrepareDraws()
324 flushInfo.fGlyphsToFlush = 0; in onPrepareDraws()
325 size_t vertexStride = flushInfo.fGeometryProcessor->vertexStride(); in onPrepareDraws()
330 &flushInfo.fVertexBuffer, &flushInfo.fVertexOffset); in onPrepareDraws()
331 flushInfo.fIndexBuffer = target->resourceProvider()->refQuadIndexBuffer(); in onPrepareDraws()
332 if (!vertices || !flushInfo.fVertexBuffer) { in onPrepareDraws()
[all …]
DGrSmallPathRenderer.cpp329 FlushInfo flushInfo; in onPrepareDraws() local
330 flushInfo.fPipeline = pipe.fPipeline; in onPrepareDraws()
331 flushInfo.fFixedDynamicState = pipe.fFixedDynamicState; in onPrepareDraws()
354 flushInfo.fGeometryProcessor = GrDistanceFieldPathGeoProc::Make( in onPrepareDraws()
365 flushInfo.fGeometryProcessor = GrBitmapTextGeoProc::Make( in onPrepareDraws()
372 const size_t kVertexStride = flushInfo.fGeometryProcessor->vertexStride(); in onPrepareDraws()
381 &flushInfo.fVertexBuffer, in onPrepareDraws()
382 &flushInfo.fVertexOffset)}; in onPrepareDraws()
383 flushInfo.fIndexBuffer = target->resourceProvider()->refQuadIndexBuffer(); in onPrepareDraws()
384 if (!vertices.fPtr || !flushInfo.fIndexBuffer) { in onPrepareDraws()
[all …]
DGrAtlasTextOp.h147 inline void flush(GrMeshDrawOp::Target* target, FlushInfo* flushInfo) const;
/external/skia/tools/gpu/
DTestContext.cpp51 GrFlushInfo flushInfo; in flushAndWaitOnSync() local
52 flushInfo.fFinishedProc = FlushFinishTracker::FlushFinished; in flushAndWaitOnSync()
53 flushInfo.fFinishedContext = fFinishTrackers[fCurrentFlushIdx].get(); in flushAndWaitOnSync()
55 context->flush(flushInfo); in flushAndWaitOnSync()
/external/skia/src/gpu/
DGrSurfaceContext.cpp865 GrFlushInfo flushInfo; in asyncReadPixels() local
866 flushInfo.fFinishedContext = finishContext; in asyncReadPixels()
867 flushInfo.fFinishedProc = finishCallback; in asyncReadPixels()
871 flushInfo); in asyncReadPixels()
1099 GrFlushInfo flushInfo; in asyncRescaleAndReadPixelsYUV420() local
1100 flushInfo.fFinishedContext = finishContext; in asyncRescaleAndReadPixelsYUV420()
1101 flushInfo.fFinishedProc = finishCallback; in asyncRescaleAndReadPixelsYUV420()
1104 flushInfo); in asyncRescaleAndReadPixelsYUV420()
/external/skia/tools/skpbench/
Dskpbench.cpp663 GrFlushInfo flushInfo; in flush_with_sync() local
664 flushInfo.fFinishedProc = sk_gpu_test::FlushFinishTracker::FlushFinished; in flush_with_sync()
665 flushInfo.fFinishedContext = gpuSync.newFlushTracker(context); in flush_with_sync()
667 context->flush(flushInfo); in flush_with_sync()
/external/skia/src/image/
DSkSurface.cpp327 GrSemaphoresSubmitted SkSurface::flush(BackendSurfaceAccess access, const GrFlushInfo& flushInfo) { in flush() argument
328 return asSB(this)->onFlush(access, flushInfo, nullptr); in flush()
DSkImage.cpp228 GrSemaphoresSubmitted SkImage::flush(GrDirectContext* dContext, const GrFlushInfo& flushInfo) { in flush() argument
229 return as_IB(this)->onFlush(dContext, flushInfo); in flush()
/external/skqp/src/atlastext/
DSkAtlasTextTarget.cpp219 FlushInfo flushInfo; in executeForTextTarget() local
/external/skia/include/core/
DSkImage.h731 GrSemaphoresSubmitted flush(GrDirectContext* context, const GrFlushInfo& flushInfo);