Home
last modified time | relevance | path

Searched refs:GrSurfaceContext (Results 1 – 25 of 38) 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()
DGrSurfaceContext.cpp26 GrSurfaceContext::GrSurfaceContext(GrContext* context, in GrSurfaceContext() function in GrSurfaceContext
41 bool GrSurfaceContext::readPixels(const SkImageInfo& dstInfo, void* dstBuffer, in readPixels()
65 bool GrSurfaceContext::writePixels(const SkImageInfo& srcInfo, const void* srcBuffer, in writePixels()
87 bool GrSurfaceContext::copy(GrSurfaceProxy* src, const SkIRect& srcRect, const SkIPoint& dstPoint) { in copy()
DGrContextPriv.h26 sk_sp<GrSurfaceContext> makeWrappedSurfaceContext(sk_sp<GrSurfaceProxy>, sk_sp<SkColorSpace>);
28 sk_sp<GrSurfaceContext> makeDeferredSurfaceContext(const GrSurfaceDesc&,
34 sk_sp<GrSurfaceContext> makeBackendSurfaceContext(const GrBackendTexture& tex,
135 bool readSurfacePixels(GrSurfaceContext* src,
157 bool writeSurfacePixels(GrSurfaceContext* dst,
DGrSurfaceContext.h32 class SK_API GrSurfaceContext : public SkRefCnt {
34 ~GrSurfaceContext() override {} in ~GrSurfaceContext()
115 GrSurfaceContext(GrContext*, GrDrawingManager*,
DGrTextureContext.h26 class SK_API GrTextureContext : public GrSurfaceContext {
57 typedef GrSurfaceContext INHERITED;
DGrTextureStripAtlas.h18 class GrSurfaceContext; variable
175 sk_sp<GrSurfaceContext> fTexContext;
DGrSurfaceProxy.cpp280 sk_sp<GrSurfaceContext> dstContext(context->contextPriv().makeDeferredSurfaceContext( in Copy()
300 sk_sp<GrSurfaceContext> GrSurfaceProxy::TestCopy(GrContext* context, const GrSurfaceDesc& dstDesc, in TestCopy()
303 sk_sp<GrSurfaceContext> dstContext(context->contextPriv().makeDeferredSurfaceContext( in TestCopy()
DGrTextureContext.cpp26 : GrSurfaceContext(context, drawingMgr, std::move(colorSpace), auditTrail, singleOwner) in GrTextureContext()
DGrContext.cpp318 bool GrContextPriv::writeSurfacePixels(GrSurfaceContext* dst, in writeSurfacePixels()
448 bool GrContextPriv::readSurfacePixels(GrSurfaceContext* src, in readSurfacePixels()
643 sk_sp<GrSurfaceContext> GrContextPriv::makeWrappedSurfaceContext(sk_sp<GrSurfaceProxy> proxy, in makeWrappedSurfaceContext()
656 sk_sp<GrSurfaceContext> GrContextPriv::makeDeferredSurfaceContext(const GrSurfaceDesc& dstDesc, in makeDeferredSurfaceContext()
669 sk_sp<GrSurfaceContext> GrContextPriv::makeBackendSurfaceContext(const GrBackendTexture& tex, in makeBackendSurfaceContext()
DGrRenderTargetContext.h54 class SK_API GrRenderTargetContext : public GrSurfaceContext {
438 typedef GrSurfaceContext INHERITED;
DGrSWMaskHelper.cpp103 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeDeferredSurfaceContext( in toTextureProxy()
/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()
86 sk_sp<GrSurfaceContext> dstContext(GrSurfaceProxy::TestCopy(context, copyDstDesc, proxy)); in test_copy_from_surface()
93 GrSurfaceContext* dstContext, const char* testName) { in test_copy_to_surface()
DEGLImageTest.cpp142 sk_sp<GrSurfaceContext> surfaceContext = context0->contextPriv().makeBackendSurfaceContext( in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
153 sk_sp<GrSurfaceContext> temp = context0->contextPriv().makeBackendSurfaceContext( in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
163 sk_sp<GrSurfaceContext> temp = context0->contextPriv().makeBackendSurfaceContext( in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DIntTextureTest.cpp86 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
136 sk_sp<GrSurfaceContext> dstContext(GrSurfaceProxy::TestCopy(context, desc, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
159 sk_sp<GrSurfaceContext> dstContext(GrSurfaceProxy::TestCopy(context, nonIntDesc, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
169 sk_sp<GrSurfaceContext> dstContext(GrSurfaceProxy::TestCopy(context, nonIntDesc, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DVkUploadPixelsTests.cpp79 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( in basic_texture_test()
113 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( in basic_texture_test()
DRectangleTextureTest.cpp45 static void test_clear(skiatest::Reporter* reporter, GrSurfaceContext* rectContext) { in test_clear()
146 sk_sp<GrSurfaceContext> rectContext = context->contextPriv().makeWrappedSurfaceContext( in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DReadWriteAlphaTest.cpp68 sk_sp<GrSurfaceContext> sContext(context->contextPriv().makeWrappedSurfaceContext( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
178 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DSRGBReadWritePixelsTest.cpp117 void read_and_check_pixels(skiatest::Reporter* reporter, GrSurfaceContext* context, in read_and_check_pixels()
178 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeDeferredSurfaceContext( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DFloatingPointTextureTest.cpp63 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( in runFPTest()
DPackedConfigsTextureTest.cpp128 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( in run_test()
DCopySurfaceTest.cpp93 sk_sp<GrSurfaceContext> dstContext = in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DSRGBMipMapTest.cpp48 void read_and_check_pixels(skiatest::Reporter* reporter, GrSurfaceContext* context, in read_and_check_pixels()
/external/skia/include/private/
DGrSurfaceProxy.h22 class GrSurfaceContext; variable
327 static sk_sp<GrSurfaceContext> TestCopy(GrContext* context, const GrSurfaceDesc& dstDesc,
/external/skia/gm/
Dtexdata.cpp101 sk_sp<GrSurfaceContext> tContext = context->contextPriv().makeWrappedSurfaceContext(

12