/external/skqp/src/gpu/ |
D | GrSurfaceContextPriv.h | 21 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()
|
D | GrSurfaceContext.cpp | 23 GrSurfaceContext::GrSurfaceContext(GrContext* context, in GrSurfaceContext() function in GrSurfaceContext 39 bool GrSurfaceContext::readPixels(const SkImageInfo& dstInfo, void* dstBuffer, in readPixels() 60 bool GrSurfaceContext::writePixels(const SkImageInfo& srcInfo, const void* srcBuffer, in writePixels() 79 bool GrSurfaceContext::copy(GrSurfaceProxy* src, const SkIRect& srcRect, const SkIPoint& dstPoint) { in copy()
|
D | GrSurfaceContext.h | 32 class SK_API GrSurfaceContext : public SkRefCnt { 34 ~GrSurfaceContext() override {} in ~GrSurfaceContext() 114 GrSurfaceContext(GrContext*, GrDrawingManager*, GrPixelConfig, sk_sp<SkColorSpace>,
|
D | GrContextPriv.h | 51 sk_sp<GrSurfaceContext> makeWrappedSurfaceContext(sk_sp<GrSurfaceProxy>, 55 sk_sp<GrSurfaceContext> makeDeferredSurfaceContext(const GrBackendFormat&, 168 bool readSurfacePixels(GrSurfaceContext* src, int left, int top, int width, int height, 189 bool writeSurfacePixels(GrSurfaceContext* dst, int left, int top, int width, int height,
|
D | GrTextureContext.h | 26 class SK_API GrTextureContext : public GrSurfaceContext { 58 typedef GrSurfaceContext INHERITED;
|
D | GrTextureContext.cpp | 26 : GrSurfaceContext(context, drawingMgr, textureProxy->config(), std::move(colorSpace), in GrTextureContext()
|
D | GrSurfaceProxy.cpp | 356 sk_sp<GrSurfaceContext> dstContext(context->contextPriv().makeDeferredSurfaceContext( in Copy() 377 sk_sp<GrSurfaceContext> GrSurfaceProxy::TestCopy(GrContext* context, const GrSurfaceDesc& dstDesc, in TestCopy() 386 sk_sp<GrSurfaceContext> dstContext(context->contextPriv().makeDeferredSurfaceContext( in TestCopy()
|
D | GrContext.cpp | 397 bool GrContextPriv::writeSurfacePixels(GrSurfaceContext* dst, int left, int top, int width, in writeSurfacePixels() 583 bool GrContextPriv::readSurfacePixels(GrSurfaceContext* src, int left, int top, int width, in readSurfacePixels() 663 sk_sp<GrSurfaceContext> tempCtx; in readSurfacePixels() 824 sk_sp<GrSurfaceContext> GrContextPriv::makeWrappedSurfaceContext(sk_sp<GrSurfaceProxy> proxy, in makeWrappedSurfaceContext() 839 sk_sp<GrSurfaceContext> GrContextPriv::makeDeferredSurfaceContext(const GrBackendFormat& format, in makeDeferredSurfaceContext() 858 sk_sp<GrSurfaceContext> sContext = this->makeWrappedSurfaceContext(std::move(proxy), in makeDeferredSurfaceContext()
|
/external/skqp/tests/ |
D | TestUtils.h | 11 class GrSurfaceContext; variable 17 GrSurfaceContext* srcContext, uint32_t expectedPixelValues[], 23 GrSurfaceContext* srcContext, bool expectedToWork, const char* testName); 33 GrSurfaceContext* dstContext, const char* testName);
|
D | TestUtils.cpp | 21 GrSurfaceContext* srcContext, uint32_t expectedPixelValues[], in test_read_pixels() 44 GrSurfaceContext* dstContext, bool expectedToWork, in test_write_pixels() 90 sk_sp<GrSurfaceContext> dstContext( in test_copy_from_surface() 98 GrSurfaceContext* dstContext, const char* testName) { in test_copy_to_surface()
|
D | GrUploadPixelsTests.cpp | 35 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext(proxy); in basic_texture_test() 65 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext(proxy); in basic_texture_test()
|
D | RectangleTextureTest.cpp | 48 static void test_clear(skiatest::Reporter* reporter, GrSurfaceContext* rectContext) { in test_clear() 162 sk_sp<GrSurfaceContext> rectContext = context->contextPriv().makeWrappedSurfaceContext( in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
D | ReadWriteAlphaTest.cpp | 80 sk_sp<GrSurfaceContext> sContext(context->contextPriv().makeWrappedSurfaceContext( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 198 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | FloatingPointTextureTest.cpp | 56 sk_sp<GrSurfaceContext> sContext = context->contextPriv().makeWrappedSurfaceContext( in runFPTest()
|
/external/skia/src/gpu/ |
D | GrSurfaceContext.cpp | 36 std::unique_ptr<GrSurfaceContext> GrSurfaceContext::Make(GrRecordingContext* context, in Make() 49 std::unique_ptr<GrSurfaceContext> surfaceContext; in Make() 73 surfaceContext = std::make_unique<GrSurfaceContext>(context, std::move(readView), info); in Make() 79 std::unique_ptr<GrSurfaceContext> GrSurfaceContext::Make(GrRecordingContext* context, in Make() 113 return GrSurfaceContext::Make(context, std::move(view), info.colorInfo()); in Make() 116 std::unique_ptr<GrSurfaceContext> GrSurfaceContext::Make(GrRecordingContext* context, in Make() 139 GrSurfaceContext::GrSurfaceContext(GrRecordingContext* context, in GrSurfaceContext() function in GrSurfaceContext 146 const GrCaps* GrSurfaceContext::caps() const { return fContext->priv().caps(); } in caps() 148 GrAuditTrail* GrSurfaceContext::auditTrail() { in auditTrail() 152 GrDrawingManager* GrSurfaceContext::drawingManager() { in drawingManager() [all …]
|
D | GrSurfaceContext.h | 41 class GrSurfaceContext { 45 static std::unique_ptr<GrSurfaceContext> Make(GrRecordingContext*, 51 static std::unique_ptr<GrSurfaceContext> Make(GrRecordingContext*, 63 static std::unique_ptr<GrSurfaceContext> Make(GrRecordingContext*, 75 GrSurfaceContext(GrRecordingContext*, GrSurfaceProxyView readView, const GrColorInfo&); 77 virtual ~GrSurfaceContext() = default;
|
D | GrSurfaceFillContext.h | 30 class GrSurfaceFillContext : public GrSurfaceContext { 251 using INHERITED = GrSurfaceContext;
|
/external/skia/tests/ |
D | TestUtils.h | 15 class GrSurfaceContext; variable 20 void TestReadPixels(skiatest::Reporter*, GrDirectContext*, GrSurfaceContext* srcContext, 25 void TestWritePixels(skiatest::Reporter*, GrDirectContext*, GrSurfaceContext* srcContext,
|
D | RectangleTextureTest.cpp | 41 GrSurfaceContext* rectContext) { in test_clear() 87 GrSurfaceContext* dstContext, in test_copy_to_surface() 185 auto rectContext = GrSurfaceContext::Make(dContext, std::move(view), grII.colorInfo()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
D | TestUtils.cpp | 26 GrSurfaceContext* srcContext, in TestReadPixels() 53 GrSurfaceContext* dstContext, in TestWritePixels() 95 auto dstContext = GrSurfaceContext::Make(dContext, in TestCopyFromSurface()
|
D | GrSurfaceTest.cpp | 272 auto texCtx = GrSurfaceContext::Make(dContext, std::move(view), info); in DEF_GPUTEST() 289 std::unique_ptr<GrSurfaceContext> surfCtx; in DEF_GPUTEST() 300 surfCtx = GrSurfaceContext::Make(dContext, info, combo.fFormat, fit); in DEF_GPUTEST() 371 auto surfContext = GrSurfaceContext::Make(dContext, std::move(view), ii.colorInfo()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | FloatingPointTextureTest.cpp | 63 auto sContext = GrSurfaceContext::Make(dContext, std::move(fpView), info.colorInfo()); in runFPTest()
|
/external/skia/src/image/ |
D | SkImage_GpuBase.cpp | 116 auto sContext = GrSurfaceContext::Make(dContext, std::move(view), std::move(colorInfo)); in getROPixels() 176 auto sContext = GrSurfaceContext::Make(dContext, std::move(view), colorInfo); in onReadPixels()
|
/external/skqp/src/image/ |
D | SkImage_GpuBase.cpp | 93 sk_sp<GrSurfaceContext> sContext = fContext->contextPriv().makeWrappedSurfaceContext( in getROPixels() 125 sk_sp<GrSurfaceContext> sContext(fContext->contextPriv().makeDeferredSurfaceContext( in onMakeSubset() 187 sk_sp<GrSurfaceContext> sContext = fContext->contextPriv().makeWrappedSurfaceContext( in onReadPixels()
|
/external/skia/tools/gpu/ |
D | ProxyUtils.cpp | 81 auto sContext = GrSurfaceContext::Make(dContext, std::move(view), pixmap.colorInfo()); in MakeTextureProxyViewFromData()
|