Home
last modified time | relevance | path

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

123

/external/skia/src/gpu/
DGrSurfaceContext.cpp25 GrSurfaceContext::GrSurfaceContext(GrRecordingContext* context, in GrSurfaceContext() function in GrSurfaceContext
32 GrAuditTrail* GrSurfaceContext::auditTrail() { in auditTrail()
36 GrDrawingManager* GrSurfaceContext::drawingManager() { in drawingManager()
40 const GrDrawingManager* GrSurfaceContext::drawingManager() const { in drawingManager()
45 GrSingleOwner* GrSurfaceContext::singleOwner() { in singleOwner()
50 bool GrSurfaceContext::readPixels(const SkImageInfo& dstInfo, void* dstBuffer, in readPixels()
77 bool GrSurfaceContext::writePixels(const SkImageInfo& srcInfo, const void* srcBuffer, in writePixels()
102 bool GrSurfaceContext::copy(GrSurfaceProxy* src, const SkIRect& srcRect, const SkIPoint& dstPoint) { in copy()
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.h32 class SK_API GrSurfaceContext : public SkRefCnt {
34 ~GrSurfaceContext() override {} in ~GrSurfaceContext()
114 GrSurfaceContext(GrRecordingContext*, GrPixelConfig, sk_sp<SkColorSpace>);
DGrContextPriv.h80 sk_sp<GrSurfaceContext> makeWrappedSurfaceContext(sk_sp<GrSurfaceProxy>,
84 sk_sp<GrSurfaceContext> makeDeferredSurfaceContext(const GrBackendFormat&,
234 bool readSurfacePixels(GrSurfaceContext* src, int left, int top, int width, int height,
255 bool writeSurfacePixels(GrSurfaceContext* dst, int left, int top, int width, int height,
DGrRecordingContext.cpp148 sk_sp<GrSurfaceContext> GrRecordingContext::makeWrappedSurfaceContext( in makeWrappedSurfaceContext()
164 sk_sp<GrSurfaceContext> GrRecordingContext::makeDeferredSurfaceContext( in makeDeferredSurfaceContext()
184 sk_sp<GrSurfaceContext> sContext = this->makeWrappedSurfaceContext(std::move(proxy), in makeDeferredSurfaceContext()
315 sk_sp<GrSurfaceContext> GrRecordingContextPriv::makeWrappedSurfaceContext( in makeWrappedSurfaceContext()
322 sk_sp<GrSurfaceContext> GrRecordingContextPriv::makeDeferredSurfaceContext( in makeDeferredSurfaceContext()
DGrTextureContext.h26 class SK_API GrTextureContext : public GrSurfaceContext {
57 typedef GrSurfaceContext INHERITED;
DGrRecordingContextPriv.h64 sk_sp<GrSurfaceContext> makeWrappedSurfaceContext(sk_sp<GrSurfaceProxy>,
68 sk_sp<GrSurfaceContext> makeDeferredSurfaceContext(const GrBackendFormat&,
DGrTextureContext.cpp23 : GrSurfaceContext(context, textureProxy->config(), std::move(colorSpace)) in GrTextureContext()
DGrContextPriv.cpp50 sk_sp<GrSurfaceContext> GrContextPriv::makeWrappedSurfaceContext( in makeWrappedSurfaceContext()
57 sk_sp<GrSurfaceContext> GrContextPriv::makeDeferredSurfaceContext( in makeDeferredSurfaceContext()
297 bool GrContextPriv::readSurfacePixels(GrSurfaceContext* src, int left, int top, int width, in readSurfacePixels()
377 sk_sp<GrSurfaceContext> tempCtx; in readSurfacePixels()
492 bool GrContextPriv::writeSurfacePixels(GrSurfaceContext* dst, int left, int top, int width, in writeSurfacePixels()
/external/skqp/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.cpp23 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()
DGrSurfaceContext.h32 class SK_API GrSurfaceContext : public SkRefCnt {
34 ~GrSurfaceContext() override {} in ~GrSurfaceContext()
114 GrSurfaceContext(GrContext*, GrDrawingManager*, GrPixelConfig, sk_sp<SkColorSpace>,
DGrContextPriv.h51 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,
DGrTextureContext.h26 class SK_API GrTextureContext : public GrSurfaceContext {
58 typedef GrSurfaceContext INHERITED;
/external/skia/tests/
DTestUtils.h11 class GrSurfaceContext; variable
17 GrSurfaceContext* srcContext, uint32_t expectedPixelValues[],
23 GrSurfaceContext* srcContext, bool expectedToWork, const char* testName);
33 GrSurfaceContext* dstContext, const char* testName);
DTestUtils.cpp21 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()
99 GrSurfaceContext* dstContext, in test_copy_to_surface()
DGrUploadPixelsTests.cpp35 sk_sp<GrSurfaceContext> sContext = context->priv().makeWrappedSurfaceContext(proxy); in basic_texture_test()
65 sk_sp<GrSurfaceContext> sContext = context->priv().makeWrappedSurfaceContext(proxy); in basic_texture_test()
DRectangleTextureTest.cpp48 static void test_clear(skiatest::Reporter* reporter, GrSurfaceContext* rectContext) { in test_clear()
162 sk_sp<GrSurfaceContext> rectContext = context->priv().makeWrappedSurfaceContext( in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DReadWriteAlphaTest.cpp80 sk_sp<GrSurfaceContext> sContext(context->priv().makeWrappedSurfaceContext( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
198 sk_sp<GrSurfaceContext> sContext = context->priv().makeWrappedSurfaceContext( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/tests/
DTestUtils.h11 class GrSurfaceContext; variable
17 GrSurfaceContext* srcContext, uint32_t expectedPixelValues[],
23 GrSurfaceContext* srcContext, bool expectedToWork, const char* testName);
33 GrSurfaceContext* dstContext, const char* testName);
DTestUtils.cpp21 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()
DGrUploadPixelsTests.cpp35 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()
DRectangleTextureTest.cpp48 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()
DReadWriteAlphaTest.cpp80 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()
/external/skia/include/private/
DGrRecordingContext.h56 sk_sp<GrSurfaceContext> makeWrappedSurfaceContext(sk_sp<GrSurfaceProxy>,
60 sk_sp<GrSurfaceContext> makeDeferredSurfaceContext(const GrBackendFormat&,

123