Home
last modified time | relevance | path

Searched refs:sourceSurface (Results 1 – 9 of 9) sorted by relevance

/third_party/flutter/skia/tests/
DImageNewShaderTest.cpp22 static void paint_source(SkSurface* sourceSurface) { in paint_source() argument
23 SkCanvas* sourceCanvas = sourceSurface->getCanvas(); in paint_source()
34 SkIntToScalar(sourceSurface->height())); in paint_source()
39 static void run_shader_test(skiatest::Reporter* reporter, SkSurface* sourceSurface, in run_shader_test() argument
41 paint_source(sourceSurface); in run_shader_test()
43 sk_sp<SkImage> sourceImage(sourceSurface->makeImageSnapshot()); in run_shader_test()
57 sourceSurface->readPixels(bmOrig, 0, 0); in run_shader_test()
101 auto sourceSurface(SkSurface::MakeRaster(info)); in DEF_TEST() local
104 run_shader_test(reporter, sourceSurface.get(), destinationSurface.get(), info); in DEF_TEST()
110 auto sourceSurface(SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info)); in gpu_to_gpu() local
[all …]
/third_party/skia/tests/
DImageNewShaderTest.cpp22 static void paint_source(SkSurface* sourceSurface) { in paint_source() argument
23 SkCanvas* sourceCanvas = sourceSurface->getCanvas(); in paint_source()
34 SkIntToScalar(sourceSurface->height())); in paint_source()
39 static void run_shader_test(skiatest::Reporter* reporter, SkSurface* sourceSurface, in run_shader_test() argument
41 paint_source(sourceSurface); in run_shader_test()
43 sk_sp<SkImage> sourceImage(sourceSurface->makeImageSnapshot()); in run_shader_test()
56 sourceSurface->readPixels(bmOrig, 0, 0); in run_shader_test()
100 auto sourceSurface(SkSurface::MakeRaster(info)); in DEF_TEST() local
103 run_shader_test(reporter, sourceSurface.get(), destinationSurface.get(), info); in DEF_TEST()
109 auto sourceSurface(SkSurface::MakeRenderTarget(rContext, SkBudgeted::kNo, info)); in gpu_to_gpu() local
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DImage9.cpp48 IDirect3DSurface9 *sourceSurface) in GenerateMip() argument
57 result = sourceSurface->GetDesc(&sourceDesc); in GenerateMip()
70 result = sourceSurface->LockRect(&sourceLocked, nullptr, D3DLOCK_READONLY); in GenerateMip()
89 sourceSurface->UnlockRect(); in GenerateMip()
97 IDirect3DSurface9 *sourceSurface = nullptr; in GenerateMipmap() local
98 ANGLE_TRY(source->getSurface(context9, &sourceSurface)); in GenerateMipmap()
103 ANGLE_TRY(GenerateMip(context9, destSurface, sourceSurface)); in GenerateMipmap()
166 IDirect3DSurface9 *sourceSurface = nullptr; in CopyImage() local
167 ANGLE_TRY(source->getSurface(context9, &sourceSurface)); in CopyImage()
179 result = sourceSurface->GetDesc(&sourceDesc); in CopyImage()
[all …]
DBlit9.cpp316 angle::ComPtr<IDirect3DSurface9> sourceSurface = nullptr; in copyTexture() local
318 &sourceSurface)); in copyTexture()
323 return copy(context9, sourceSurface.Get(), sourceTexture, sourceRect, destFormat, destOffset, in copyTexture()
DImage9.h35 IDirect3DSurface9 *sourceSurface);
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DImage9.cpp48 IDirect3DSurface9 *sourceSurface) in GenerateMip() argument
57 result = sourceSurface->GetDesc(&sourceDesc); in GenerateMip()
70 result = sourceSurface->LockRect(&sourceLocked, nullptr, D3DLOCK_READONLY); in GenerateMip()
89 sourceSurface->UnlockRect(); in GenerateMip()
97 IDirect3DSurface9 *sourceSurface = nullptr; in GenerateMipmap() local
98 ANGLE_TRY(source->getSurface(context9, &sourceSurface)); in GenerateMipmap()
103 ANGLE_TRY(GenerateMip(context9, destSurface, sourceSurface)); in GenerateMipmap()
166 IDirect3DSurface9 *sourceSurface = nullptr; in CopyImage() local
167 ANGLE_TRY(source->getSurface(context9, &sourceSurface)); in CopyImage()
179 result = sourceSurface->GetDesc(&sourceDesc); in CopyImage()
[all …]
DBlit9.cpp316 angle::ComPtr<IDirect3DSurface9> sourceSurface = nullptr; in copyTexture() local
318 &sourceSurface)); in copyTexture()
323 return copy(context9, sourceSurface.Get(), sourceTexture, sourceRect, destFormat, destOffset, in copyTexture()
DImage9.h35 IDirect3DSurface9 *sourceSurface);
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DDevice.hpp74 …bool stretchRect(sw::Surface *sourceSurface, const sw::SliceRectF *sourceRect, sw::Surface *destSu…
75 bool stretchCube(sw::Surface *sourceSurface, sw::Surface *destSurface);