Home
last modified time | relevance | path

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

12

/third_party/flutter/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.cpp35 GrSurfaceContext::GrSurfaceContext(GrRecordingContext* context, in GrSurfaceContext() function in GrSurfaceContext
41 const GrCaps* GrSurfaceContext::caps() const { return fContext->priv().caps(); } in caps()
43 GrAuditTrail* GrSurfaceContext::auditTrail() { in auditTrail()
47 GrDrawingManager* GrSurfaceContext::drawingManager() { in drawingManager()
51 const GrDrawingManager* GrSurfaceContext::drawingManager() const { in drawingManager()
56 GrSingleOwner* GrSurfaceContext::singleOwner() { in singleOwner()
61 bool GrSurfaceContext::readPixels(const GrPixelInfo& origDstInfo, void* dst, size_t rowBytes, in readPixels()
218 bool GrSurfaceContext::writePixels(const GrPixelInfo& origSrcInfo, const void* src, size_t rowBytes, in writePixels()
410 bool GrSurfaceContext::copy(GrSurfaceProxy* src, const SkIRect& srcRect, const SkIPoint& dstPoint) { in copy()
431 sk_sp<GrRenderTargetContext> GrSurfaceContext::rescale(const SkImageInfo& info, in rescale()
[all …]
DGrSurfaceContext.h37 class SK_API GrSurfaceContext : public SkRefCnt {
39 ~GrSurfaceContext() override {} in ~GrSurfaceContext()
108 GrSurfaceContext(GrRecordingContext*, GrColorType, SkAlphaType, sk_sp<SkColorSpace>);
DGrTextureContext.h26 class SK_API GrTextureContext : public GrSurfaceContext {
61 typedef GrSurfaceContext INHERITED;
DGrTextureContext.cpp24 : GrSurfaceContext(context, colorType, alphaType, std::move(colorSpace)) in GrTextureContext()
DGrRecordingContextPriv.h60 sk_sp<GrSurfaceContext> makeWrappedSurfaceContext(sk_sp<GrSurfaceProxy>,
DGrRecordingContext.cpp146 sk_sp<GrSurfaceContext> GrRecordingContext::makeWrappedSurfaceContext( in makeWrappedSurfaceContext()
328 sk_sp<GrSurfaceContext> GrRecordingContextPriv::makeWrappedSurfaceContext( in makeWrappedSurfaceContext()
DGrRenderTargetContext.h58 class SK_API GrRenderTargetContext : public GrSurfaceContext {
644 typedef GrSurfaceContext INHERITED;
DGrContextPriv.h76 sk_sp<GrSurfaceContext> makeWrappedSurfaceContext(sk_sp<GrSurfaceProxy>,
DGrSurfaceProxy.h28 class GrSurfaceContext; variable
/third_party/flutter/skia/tests/
DTestUtils.h12 class GrSurfaceContext; variable
17 void test_read_pixels(skiatest::Reporter*, GrSurfaceContext* srcContext,
22 void test_write_pixels(skiatest::Reporter*, GrSurfaceContext* srcContext, bool expectedToWork,
DGrUploadPixelsTests.cpp36 sk_sp<GrSurfaceContext> sContext = context->priv().makeWrappedSurfaceContext( in basic_texture_test()
68 sk_sp<GrSurfaceContext> sContext = context->priv().makeWrappedSurfaceContext( in basic_texture_test()
DRectangleTextureTest.cpp46 static void test_clear(skiatest::Reporter* reporter, GrSurfaceContext* rectContext) { in test_clear()
94 GrSurfaceContext* dstContext, in test_copy_to_surface()
187 sk_sp<GrSurfaceContext> rectContext = context->priv().makeWrappedSurfaceContext( in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DTestUtils.cpp23 GrSurfaceContext* srcContext, uint32_t expectedPixelValues[], in test_read_pixels()
46 GrSurfaceContext* dstContext, bool expectedToWork, in test_write_pixels()
82 sk_sp<GrSurfaceContext> dstContext = context->priv().makeWrappedSurfaceContext( in test_copy_from_surface()
DReadWriteAlphaTest.cpp78 sk_sp<GrSurfaceContext> sContext(context->priv().makeWrappedSurfaceContext( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
197 sk_sp<GrSurfaceContext> sContext = context->priv().makeWrappedSurfaceContext( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DFloatingPointTextureTest.cpp57 sk_sp<GrSurfaceContext> sContext = context->priv().makeWrappedSurfaceContext( in runFPTest()
DSRGBReadWritePixelsTest.cpp122 void read_and_check_pixels(skiatest::Reporter* reporter, GrSurfaceContext* context, in read_and_check_pixels()
189 static sk_sp<GrSurfaceContext> make_surface_context(Encoding contextEncoding, GrContext* context, in make_surface_context()
DPackedConfigsTextureTest.cpp120 sk_sp<GrSurfaceContext> sContext = context->priv().makeWrappedSurfaceContext( in run_test()
DCopySurfaceTest.cpp106 sk_sp<GrSurfaceContext> dstContext = in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DReadPixelsTest.cpp432 sk_sp<GrSurfaceContext> sContext, in test_readpixels_texture()
476 sk_sp<GrSurfaceContext> sContext = context->priv().makeWrappedSurfaceContext( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DSurfaceTest.cpp733 std::function<sk_sp<GrSurfaceContext>(SkSurface*)> grSurfaceGetter, in test_surface_clear()
747 sk_sp<GrSurfaceContext> grSurfaceContext(grSurfaceGetter(surface.get())); in test_surface_clear()
779 std::function<sk_sp<GrSurfaceContext>(SkSurface*)> grSurfaceContextGetters[] = { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/third_party/flutter/skia/include/private/
DGrRecordingContext.h21 class GrSurfaceContext; variable
64 sk_sp<GrSurfaceContext> makeWrappedSurfaceContext(sk_sp<GrSurfaceProxy>,
/third_party/flutter/skia/src/image/
DSkImage_GpuBase.cpp95 sk_sp<GrSurfaceContext> sContext = in getROPixels()
153 sk_sp<GrSurfaceContext> sContext = direct->priv().makeWrappedSurfaceContext( in onReadPixels()
/third_party/flutter/skia/src/gpu/text/
DGrAtlasManager.cpp130 sk_sp<GrSurfaceContext> sContext(context->priv().makeWrappedSurfaceContext( in save_pixels()
/third_party/flutter/skia/src/core/
DSkDeferredDisplayListRecorder.cpp188 sk_sp<GrSurfaceContext> c = fContext->priv().makeWrappedSurfaceContext( in init()

12