/external/skqp/gm/ |
surface.cpp | 11 #include "SkSurface.h" 26 static sk_sp<SkSurface> make_surface(GrContext* ctx, const SkImageInfo& info, SkPixelGeometry geo) { 29 return SkSurface::MakeRenderTarget(ctx, SkBudgeted::kNo, info, 0, &props); 31 return SkSurface::MakeRaster(info, &props); 152 sk_sp<SkSurface> surf = sk_tool_utils::makeSurface(canvas, info); 170 sk_sp<SkSurface> surf = sk_tool_utils::makeSurface(canvas, info);
|
image.cpp | 15 #include "SkSurface.h" 21 static void drawContents(SkSurface* surface, SkColor fillC) { 41 static void test_surface(SkCanvas* canvas, SkSurface* surf, bool usePaint) { 136 sk_sp<SkSurface> surf0(SkSurface::MakeRasterDirect(info, fBuffer, RB)); 137 sk_sp<SkSurface> surf1(SkSurface::MakeRaster(info)); 138 sk_sp<SkSurface> surf2(SkSurface::MakeRenderTarget(canvas->getGrContext(), 203 auto surface(SkSurface::MakeRaster(info)) [all...] |
srcmode.cpp | 13 #include "SkSurface.h" 114 static sk_sp<SkSurface> compat_surface(SkCanvas* canvas, const SkISize& size, bool skipGPU) { 121 sk_sp<SkSurface> surface = callNewSurface ? canvas->makeSurface(info) : nullptr; 124 surface = SkSurface::MakeRaster(info);
|
croppedrects.cpp | 12 #include "SkSurface.h" 33 sk_sp<SkSurface> srcSurface = SkSurface::MakeRasterN32Premul(500, 500);
|
/external/skia/gm/ |
image.cpp | 15 #include "SkSurface.h" 21 static void drawContents(SkSurface* surface, SkColor fillC) { 41 static void test_surface(SkCanvas* canvas, SkSurface* surf, bool usePaint) { 136 sk_sp<SkSurface> surf0(SkSurface::MakeRasterDirect(info, fBuffer, RB)); 137 sk_sp<SkSurface> surf1(SkSurface::MakeRaster(info)); 138 sk_sp<SkSurface> surf2(SkSurface::MakeRenderTarget(canvas->getGrContext(), 203 auto surface(SkSurface::MakeRaster(info)) [all...] |
srcmode.cpp | 13 #include "SkSurface.h" 114 static sk_sp<SkSurface> compat_surface(SkCanvas* canvas, const SkISize& size, bool skipGPU) { 121 sk_sp<SkSurface> surface = callNewSurface ? canvas->makeSurface(info) : nullptr; 124 surface = SkSurface::MakeRaster(info);
|
croppedrects.cpp | 12 #include "SkSurface.h" 33 sk_sp<SkSurface> srcSurface = SkSurface::MakeRasterN32Premul(500, 500);
|
/external/skia/platform_tools/android/apps/skottie/src/main/cpp/ |
native-lib.cpp | 16 #include <SkSurface.h> 184 sk_sp<SkSurface> renderTarget(SkSurface::MakeFromBackendRenderTarget(
|
/external/skia/tests/ |
GradientTest.cpp | 13 #include "SkSurface.h" 275 auto surface(SkSurface::MakeRasterN32Premul(200, 200)); 287 auto surface(SkSurface::MakeRasterN32Premul(200, 200)); 303 auto surface(SkSurface::MakeRasterN32Premul(1300, 630)); 319 auto surface(SkSurface::MakeRasterN32Premul(5, 5)); 345 sk_sp<SkSurface> surface(SkSurface::MakeRasterN32Premul(50, 50)); 366 sk_sp<SkSurface> surface(SkSurface::MakeRasterN32Premul(50, 50)); 462 sk_sp<SkSurface> surface = SkSurface::MakeRaster(SkImageInfo::Make(100, 100 [all...] |
SurfaceSemaphoreTest.cpp | 17 #include "SkSurface.h" 74 sk_sp<SkSurface> childSurface(SkSurface::MakeRenderTarget(childCtx, SkBudgeted::kNo, 120 sk_sp<SkSurface> mainSurface(SkSurface::MakeRenderTarget(mainCtx, SkBudgeted::kNo, 222 sk_sp<SkSurface> mainSurface(SkSurface::MakeRenderTarget(ctx, SkBudgeted::kNo,
|
VkHardwareBufferTest.cpp | 24 #include "SkSurface.h" 53 virtual sk_sp<SkSurface> importHardwareBufferForWrite(skiatest::Reporter* reporter, 57 virtual bool flushSurfaceAndSignalSemaphore(skiatest::Reporter* reporter, sk_sp<SkSurface>) = 0; 59 sk_sp<SkSurface>) = 0; 102 sk_sp<SkSurface> importHardwareBufferForWrite(skiatest::Reporter* reporter, 106 bool flushSurfaceAndSignalSemaphore(skiatest::Reporter* reporter, sk_sp<SkSurface>) override; 108 sk_sp<SkSurface>) override; 282 sk_sp<SkSurface> EGLTestHelper::importHardwareBufferForWrite(skiatest::Reporter* reporter, 295 sk_sp<SkSurface> surface = SkSurface::MakeFromBackendTexture(fGrContext [all...] |
/external/skqp/platform_tools/android/apps/skottie/src/main/cpp/ |
native-lib.cpp | 16 #include <SkSurface.h> 184 sk_sp<SkSurface> renderTarget(SkSurface::MakeFromBackendRenderTarget(
|
/external/skqp/tests/ |
GradientTest.cpp | 13 #include "SkSurface.h" 275 auto surface(SkSurface::MakeRasterN32Premul(200, 200)); 287 auto surface(SkSurface::MakeRasterN32Premul(200, 200)); 303 auto surface(SkSurface::MakeRasterN32Premul(1300, 630)); 319 auto surface(SkSurface::MakeRasterN32Premul(5, 5)); 345 sk_sp<SkSurface> surface(SkSurface::MakeRasterN32Premul(50, 50)); 366 sk_sp<SkSurface> surface(SkSurface::MakeRasterN32Premul(50, 50)); 462 sk_sp<SkSurface> surface = SkSurface::MakeRaster(SkImageInfo::Make(100, 100 [all...] |
SurfaceSemaphoreTest.cpp | 17 #include "SkSurface.h" 74 sk_sp<SkSurface> childSurface(SkSurface::MakeRenderTarget(childCtx, SkBudgeted::kNo, 120 sk_sp<SkSurface> mainSurface(SkSurface::MakeRenderTarget(mainCtx, SkBudgeted::kNo, 222 sk_sp<SkSurface> mainSurface(SkSurface::MakeRenderTarget(ctx, SkBudgeted::kNo,
|
VkHardwareBufferTest.cpp | 24 #include "SkSurface.h" 53 virtual sk_sp<SkSurface> importHardwareBufferForWrite(skiatest::Reporter* reporter, 57 virtual bool flushSurfaceAndSignalSemaphore(skiatest::Reporter* reporter, sk_sp<SkSurface>) = 0; 59 sk_sp<SkSurface>) = 0; 102 sk_sp<SkSurface> importHardwareBufferForWrite(skiatest::Reporter* reporter, 106 bool flushSurfaceAndSignalSemaphore(skiatest::Reporter* reporter, sk_sp<SkSurface>) override; 108 sk_sp<SkSurface>) override; 282 sk_sp<SkSurface> EGLTestHelper::importHardwareBufferForWrite(skiatest::Reporter* reporter, 295 sk_sp<SkSurface> surface = SkSurface::MakeFromBackendTexture(fGrContext [all...] |
/external/skia/src/compute/sk/ |
SkSurface_Compute.cpp | 84 sk_sp<SkSurface> 126 sk_sp<SkSurface>
|
/external/skia/tools/ |
skhello.cpp | 13 #include "SkSurface.h" 33 sk_sp<SkSurface> surface(SkSurface::MakeRasterN32Premul(w, h, &props));
|
/external/skqp/include/core/ |
SkDeferredDisplayListRecorder.h | 23 class SkSurface; 29 * Get an SkSurfaceCharacterization representing the intended gpu-backed destination SkSurface 33 * Once your app actually needs the pixels, call SkSurface::draw(SkDeferredDisplayList*) 206 sk_sp<SkSurface> fSurface;
|
/external/skqp/src/compute/sk/ |
SkSurface_Compute.cpp | 84 sk_sp<SkSurface> 126 sk_sp<SkSurface>
|
/external/skqp/src/core/ |
SkPictureImageGenerator.cpp | 15 #include "SkSurface.h" 100 sk_sp<SkSurface> surface(SkSurface::MakeRenderTarget(ctx, SkBudgeted::kYes, info, 0,
|
/external/skqp/tools/sk_app/ |
VulkanWindowContext.h | 30 sk_sp<SkSurface> getBackbufferSurface() override; 115 sk_sp<SkSurface>* fSurfaces; // surfaces client renders to (may not be based on rts)
|
/external/skqp/tools/ |
skhello.cpp | 13 #include "SkSurface.h" 33 sk_sp<SkSurface> surface(SkSurface::MakeRasterN32Premul(w, h, &props));
|
/external/skia/bench/ |
ShaderMaskFilterBench.cpp | 14 #include "SkSurface.h" 21 auto surface = SkSurface::MakeRasterN32Premul(100, 100);
|
/external/skia/example/ |
SkiaSDLExample.cpp | 15 #include "SkSurface.h" 229 // setup SkSurface 235 sk_sp<SkSurface> surface(SkSurface::MakeFromBackendRenderTarget(grContext.get(), target, 249 sk_sp<SkSurface> cpuSurface(SkSurface::MakeRaster(canvas->imageInfo()));
|
/external/skia/fuzz/oss_fuzz/ |
FuzzAndroidCodec.cpp | 12 #include "SkSurface.h" 43 auto surface = SkSurface::MakeRasterN32Premul(size.width(), size.height());
|