Home
last modified time | relevance | path

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

/external/skqp/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 …]
/external/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 …]
/external/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);
/external/swiftshader/src/D3D9/
DDirect3DDevice9Ex.cpp873 …long Direct3DDevice9Ex::StretchRect(IDirect3DSurface9 *sourceSurface, const RECT *sourceRect, IDir… in StretchRect() argument
875 …p, const RECT *destRect = 0x%0.8p, D3DTEXTUREFILTERTYPE filter = %d", sourceSurface, sourceRect, d… in StretchRect()
877 return Direct3DDevice9::StretchRect(sourceSurface, sourceRect, destSurface, destRect, filter); in StretchRect()
887 …long Direct3DDevice9Ex::UpdateSurface(IDirect3DSurface9 *sourceSurface, const RECT *sourceRect, ID… in UpdateSurface() argument
889 …ce9 *destinationSurface = 0x%0.8p, const POINT *destPoint = 0x%0.8p", sourceSurface, sourceRect, d… in UpdateSurface()
891 return Direct3DDevice9::UpdateSurface(sourceSurface, sourceRect, destinationSurface, destPoint); in UpdateSurface()
DDirect3DDevice9.hpp176 …long __stdcall StretchRect(IDirect3DSurface9 *sourceSurface, const RECT *sourceRect, IDirect3DSurf…
178 …long __stdcall UpdateSurface(IDirect3DSurface9 *sourceSurface, const RECT *sourceRect, IDirect3DSu…
188 …void stretchRect(Direct3DSurface9 *sourceSurface, const RECT *sourceRect, Direct3DSurface9 *destSu…
DDirect3DDevice9.cpp5347 …long Direct3DDevice9::StretchRect(IDirect3DSurface9 *sourceSurface, const RECT *sourceRect, IDirec… in StretchRect() argument
5351 …p, const RECT *destRect = 0x%0.8p, D3DTEXTUREFILTERTYPE filter = %d", sourceSurface, sourceRect, d… in StretchRect()
5353 …if(!sourceSurface || !destSurface || !validRectangle(sourceRect, sourceSurface) || !validRectangle… in StretchRect()
5361 sourceSurface->GetDesc(&sourceDescription); in StretchRect()
5369 Direct3DSurface9 *source = static_cast<Direct3DSurface9*>(sourceSurface); in StretchRect()
5386 …long Direct3DDevice9::UpdateSurface(IDirect3DSurface9 *sourceSurface, const RECT *sourceRect, IDir… in UpdateSurface() argument
5390 …ce9 *destinationSurface = 0x%0.8p, const POINT *destPoint = 0x%0.8p", sourceSurface, sourceRect, d… in UpdateSurface()
5392 if(!sourceSurface || !destinationSurface) in UpdateSurface()
5400 sourceSurface->GetDesc(&sourceDescription); in UpdateSurface()
5436 if(!validRectangle(&sRect, sourceSurface) || !validRectangle(&dRect, destinationSurface)) in UpdateSurface()
[all …]
DDirect3DDevice9Ex.hpp87 …long __stdcall UpdateSurface(IDirect3DSurface9 *sourceSurface, const RECT *sourceRect, IDirect3DSu…
91 …long __stdcall StretchRect(IDirect3DSurface9 *sourceSurface, const RECT *sourceRect, IDirect3DSurf…
/external/swiftshader/src/D3D8/
DDirect3DDevice8.cpp404 …long Direct3DDevice8::CopyRects(IDirect3DSurface8 *sourceSurface, const RECT *sourceRectsArray, un… in CopyRects() argument
408 if(!sourceSurface || !destinationSurface) in CopyRects()
421 sourceSurface->GetDesc(&sourceDescription); in CopyRects()
465 sourceSurface->LockRect(&sourceLock, &sRect, D3DLOCK_READONLY); in CopyRects()
488 sourceSurface->UnlockRect(); in CopyRects()
4045 IDirect3DSurface8 *sourceSurface; in UpdateTexture() local
4048 source->GetSurfaceLevel(level, &sourceSurface); in UpdateTexture()
4051 updateSurface(sourceSurface, 0, destinationSurface, 0); in UpdateTexture()
4053 sourceSurface->Release(); in UpdateTexture()
4103 IDirect3DSurface8 *sourceSurface; in UpdateTexture() local
[all …]
DDirect3DDevice8.hpp64 …long __stdcall CopyRects(IDirect3DSurface8 *sourceSurface, const RECT *sourceRectsArray, unsigned …
155 …long __stdcall updateSurface(IDirect3DSurface8 *sourceSurface, const RECT *sourceRect, IDirect3DSu…
/external/swiftshader/src/OpenGL/libGLES_CM/
DDevice.hpp61 …bool stretchRect(sw::Surface *sourceSurface, const sw::SliceRect *sourceRect, sw::Surface *destSur…