Home
last modified time | relevance | path

Searched refs:GrSurfaceContext (Results 1 – 25 of 31) sorted by relevance

12

/external/skia/src/gpu/
DGrSurfaceContextPriv.h21 explicit GrSurfaceContextPriv(GrSurfaceContext* surfaceContext) in GrSurfaceContextPriv()
32 GrSurfaceContext* fSurfaceContext;
34 friend class GrSurfaceContext; // to construct/copy this type. variable
37 inline GrSurfaceContextPriv GrSurfaceContext::surfPriv() { in surfPriv()
41 inline const GrSurfaceContextPriv GrSurfaceContext::surfPriv() const { in surfPriv()
42 return GrSurfaceContextPriv(const_cast<GrSurfaceContext*>(this)); in surfPriv()
DGrContextPriv.h31 sk_sp<GrSurfaceContext> makeWrappedSurfaceContext(sk_sp<GrSurface> tex);
33 sk_sp<GrSurfaceContext> makeWrappedSurfaceContext(sk_sp<GrSurfaceProxy> proxy,
36 sk_sp<GrSurfaceContext> makeDeferredSurfaceContext(const GrSurfaceDesc& dstDesc,
42 sk_sp<GrSurfaceContext> makeBackendSurfaceContext(const GrBackendTextureDesc& desc,
DGrSurfaceContext.cpp18 GrSurfaceContext::GrSurfaceContext(GrContext* context, in GrSurfaceContext() function in GrSurfaceContext
DGrSurfaceContext.h31 class SK_API GrSurfaceContext : public SkRefCnt {
33 ~GrSurfaceContext() override {} in ~GrSurfaceContext()
120 GrSurfaceContext(GrContext*, GrDrawingManager*,
DGrTextureContext.h26 class SK_API GrTextureContext : public GrSurfaceContext {
63 typedef GrSurfaceContext INHERITED;
DGrTextureStripAtlas.h18 class GrSurfaceContext; variable
175 sk_sp<GrSurfaceContext> fTexContext;
DGrSurfaceProxy.cpp255 sk_sp<GrSurfaceContext> dstContext(context->contextPriv().makeDeferredSurfaceContext( in Copy()
275 sk_sp<GrSurfaceContext> GrSurfaceProxy::TestCopy(GrContext* context, const GrSurfaceDesc& dstDesc, in TestCopy()
278 sk_sp<GrSurfaceContext> dstContext(context->contextPriv().makeDeferredSurfaceContext( in TestCopy()
DGrRenderTargetContext.h52 class SK_API GrRenderTargetContext : public GrSurfaceContext {
502 typedef GrSurfaceContext INHERITED;
DGrContext.cpp602 sk_sp<GrSurfaceContext> GrContextPriv::makeWrappedSurfaceContext(sk_sp<GrSurfaceProxy> proxy, in makeWrappedSurfaceContext()
615 sk_sp<GrSurfaceContext> GrContextPriv::makeWrappedSurfaceContext(sk_sp<GrSurface> surface) { in makeWrappedSurfaceContext()
626 sk_sp<GrSurfaceContext> GrContextPriv::makeDeferredSurfaceContext(const GrSurfaceDesc& dstDesc, in makeDeferredSurfaceContext()
639 sk_sp<GrSurfaceContext> GrContextPriv::makeBackendSurfaceContext(const GrBackendTextureDesc& desc, in makeBackendSurfaceContext()
DGrTextureContext.cpp25 : GrSurfaceContext(context, drawingMgr, std::move(colorSpace), auditTrail, singleOwner) in GrTextureContext()
DGrYUVProvider.cpp100 sk_sp<GrSurfaceContext> yuvTextureContexts[3]; in refAsTextureProxy()
DGrSWMaskHelper.cpp107 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeDeferredSurfaceContext( in toTextureProxy()
DGrBlurUtils.cpp92 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeDeferredSurfaceContext( in sw_draw_with_mask_filter()
/external/skia/tests/
DTestUtils.h12 class GrSurfaceContext; variable
17 GrSurfaceContext* srcContext, uint32_t expectedPixelValues[],
23 GrSurfaceContext* srcContext, bool expectedToWork, const char* testName);
33 GrSurfaceContext* dstContext, const char* testName);
DTestUtils.cpp17 GrSurfaceContext* srcContext, uint32_t expectedPixelValues[], in test_read_pixels()
40 GrSurfaceContext* dstContext, bool expectedToWork, in test_write_pixels()
84 sk_sp<GrSurfaceContext> dstContext(GrSurfaceProxy::TestCopy(context, copyDstDesc, proxy)); in test_copy_from_surface()
91 GrSurfaceContext* dstContext, const char* testName) { in test_copy_to_surface()
DEGLImageTest.cpp138 sk_sp<GrSurfaceContext> surfaceContext = context0->contextPriv().makeBackendSurfaceContext( in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
151 sk_sp<GrSurfaceContext> temp = context0->contextPriv().makeBackendSurfaceContext( in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
162 sk_sp<GrSurfaceContext> temp = context0->contextPriv().makeBackendSurfaceContext( in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DIntTextureTest.cpp121 sk_sp<GrSurfaceContext> dstContext(GrSurfaceProxy::TestCopy(context, desc, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
150 sk_sp<GrSurfaceContext> dstContext(GrSurfaceProxy::TestCopy(context, nonIntDesc, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
160 sk_sp<GrSurfaceContext> dstContext(GrSurfaceProxy::TestCopy(context, nonIntDesc, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DRectangleTextureTest.cpp45 static void test_clear(skiatest::Reporter* reporter, GrSurfaceContext* rectContext) { in test_clear()
150 sk_sp<GrSurfaceContext> rectContext = context->contextPriv().makeWrappedSurfaceContext( in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DCopySurfaceTest.cpp93 sk_sp<GrSurfaceContext> dstContext = in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DReadWriteAlphaTest.cpp67 sk_sp<GrSurfaceContext> sContext(context->contextPriv().makeWrappedSurfaceContext( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DSurfaceTest.cpp632 std::function<sk_sp<GrSurfaceContext>(SkSurface*)> grSurfaceGetter, in test_surface_clear()
643 sk_sp<GrSurfaceContext> grSurfaceContext(grSurfaceGetter(surface.get())); in test_surface_clear()
674 std::function<sk_sp<GrSurfaceContext>(SkSurface*)> grSurfaceContextGetters[] = { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/external/skia/include/private/
DGrSurfaceProxy.h20 class GrSurfaceContext; variable
295 static sk_sp<GrSurfaceContext> TestCopy(GrContext* context, const GrSurfaceDesc& dstDesc,
/external/skia/gm/
Dtexdata.cpp101 sk_sp<GrSurfaceContext> tContext = context->contextPriv().makeWrappedSurfaceContext(
/external/skia/src/image/
DSkImage_Gpu.cpp84 sk_sp<GrSurfaceContext> sContext = fContext->contextPriv().makeWrappedSurfaceContext( in getROPixels()
198 sk_sp<GrSurfaceContext> sContext = fContext->contextPriv().makeWrappedSurfaceContext( in onReadPixels()
228 sk_sp<GrSurfaceContext> sContext(fContext->contextPriv().makeDeferredSurfaceContext( in onMakeSubset()
DSkSurface_Gpu.cpp111 sk_sp<GrSurfaceContext> copyCtx = ctx->contextPriv().makeDeferredSurfaceContext( in onNewImageSnapshot()

12