Home
last modified time | relevance | path

Searched refs:SurfaceContext (Results 1 – 19 of 19) sorted by relevance

/third_party/skia/tests/
DTestUtils.h15 namespace skgpu { class SurfaceContext; } variable
20 void TestReadPixels(skiatest::Reporter*, GrDirectContext*, skgpu::SurfaceContext*,
25 void TestWritePixels(skiatest::Reporter*, GrDirectContext*, skgpu::SurfaceContext*,
89 std::unique_ptr<skgpu::SurfaceContext> CreateSurfaceContext(
DTestUtils.cpp26 skgpu::SurfaceContext* srcContext, in TestReadPixels()
53 skgpu::SurfaceContext* dstContext, in TestWritePixels()
257 std::unique_ptr<skgpu::SurfaceContext> CreateSurfaceContext(GrRecordingContext* rContext, in CreateSurfaceContext()
DRectangleTextureTest.cpp42 skgpu::SurfaceContext* rectContext) { in test_clear()
88 skgpu::SurfaceContext* dstContext, in test_copy_to_surface()
DSRGBReadWritePixelsTest.cpp125 skgpu::SurfaceContext* sc, in read_and_check_pixels()
191 static std::unique_ptr<skgpu::SurfaceContext> make_surface_context(Encoding contextEncoding, in make_surface_context()
DReadWritePixelsGpuTest.cpp482 using Surface = std::unique_ptr<skgpu::SurfaceContext>; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
1061 using Surface = std::unique_ptr<skgpu::SurfaceContext>; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DSurfaceTest.cpp758 skgpu::SurfaceContext* surfaceContext, in test_surface_context_clear()
/third_party/skia/src/gpu/
DSurfaceContext.cpp39 SurfaceContext::SurfaceContext(GrRecordingContext* context, in SurfaceContext() function in skgpu::SurfaceContext
46 const GrCaps* SurfaceContext::caps() const { return fContext->priv().caps(); } in caps()
48 GrDrawingManager* SurfaceContext::drawingManager() { in drawingManager()
52 const GrDrawingManager* SurfaceContext::drawingManager() const { in drawingManager()
57 GrSingleOwner* SurfaceContext::singleOwner() const { return fContext->priv().singleOwner(); } in singleOwner()
65 bool SurfaceContext::readPixels(GrDirectContext* dContext, GrPixmap dst, SkIPoint pt) { in readPixels()
142 std::unique_ptr<SurfaceContext> tempCtx; in readPixels()
263 bool SurfaceContext::writePixels(GrDirectContext* dContext, in writePixels()
280 bool SurfaceContext::writePixels(GrDirectContext* dContext, in writePixels()
320 bool SurfaceContext::internalWritePixels(GrDirectContext* dContext, in internalWritePixels()
[all …]
DSurfaceFillContext.h15 class SurfaceFillContext : public SurfaceContext {
109 : SurfaceContext(rContext, std::move(readView), colorInfo) in SurfaceFillContext()
128 using INHERITED = SurfaceContext;
DGrRecordingContextPriv.h21 class SurfaceContext; variable
133 std::unique_ptr<skgpu::SurfaceContext> makeSC(GrSurfaceProxyView readView,
138 std::unique_ptr<skgpu::SurfaceContext> makeSC(const GrImageInfo&,
DSurfaceContext.h52 class SurfaceContext {
56 SurfaceContext(GrRecordingContext*, GrSurfaceProxyView readView, const GrColorInfo&);
58 virtual ~SurfaceContext() = default;
DBaseDevice.h20 class SurfaceContext; variable
101 static SkImageInfo MakeInfo(SurfaceContext*, DeviceFlags);
DGrRecordingContextPriv.cpp69 std::unique_ptr<skgpu::SurfaceContext> GrRecordingContextPriv::makeSC(GrSurfaceProxyView readView, in makeSC()
82 std::unique_ptr<skgpu::SurfaceContext> sc; in makeSC()
107 sc = std::make_unique<skgpu::SurfaceContext>(this->context(), in makeSC()
117 std::unique_ptr<skgpu::SurfaceContext> GrRecordingContextPriv::makeSC(const GrImageInfo& info, in makeSC()
DBaseDevice.cpp53 SkImageInfo BaseDevice::MakeInfo(SurfaceContext* sc, DeviceFlags flags) { in MakeInfo()
DBUILD.bazel238 "SurfaceContext.cpp",
239 "SurfaceContext.h",
DGrDirectContext.cpp545 skgpu::SurfaceContext surfaceContext(context, std::move(view), src[0].info().colorInfo()); in update_texture_with_pixmaps()
/third_party/skia/gn/
Dgpu.gni253 "$_src/gpu/SurfaceContext.cpp",
254 "$_src/gpu/SurfaceContext.h",
/third_party/skia/src/image/
DSkImage_Gpu.cpp763 skgpu::SurfaceContext surfaceContext( in MakeFromAHardwareBufferWithData()
/third_party/skia/src/core/
DSkGpuBlurUtils.cpp305 std::unique_ptr<skgpu::SurfaceContext> src, in reexpand()
/third_party/skia/src/gpu/text/
DGrTextBlob.cpp77 SkPMColor4f calculate_colors(skgpu::SurfaceContext* sc, in calculate_colors()