/external/skqp/tests/ |
D | PinnedImageTest.cpp | 49 sk_sp<SkSurface> gpuSurface = SkSurface::MakeRenderTarget(context, SkBudgeted::kYes, ii); in basic_test() local 50 SkCanvas* canvas = gpuSurface->getCanvas(); in basic_test() 55 REPORTER_ASSERT(reporter, surface_is_expected_color(gpuSurface.get(), ii, SK_ColorRED)); in basic_test() 60 REPORTER_ASSERT(reporter, surface_is_expected_color(gpuSurface.get(), ii, SK_ColorGREEN)); in basic_test() 68 REPORTER_ASSERT(reporter, surface_is_expected_color(gpuSurface.get(), ii, SK_ColorGREEN)); in basic_test() 73 REPORTER_ASSERT(reporter, surface_is_expected_color(gpuSurface.get(), ii, SK_ColorGREEN)); in basic_test() 81 REPORTER_ASSERT(reporter, surface_is_expected_color(gpuSurface.get(), ii, SK_ColorBLUE)); in basic_test()
|
D | DeferredDisplayListTest.cpp | 1057 SkSurface_Gpu* gpuSurface = static_cast<SkSurface_Gpu*>(s.get()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local 1058 REPORTER_ASSERT(reporter, gpuSurface->isCompatible(c)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 1069 gpuSurface = static_cast<SkSurface_Gpu*>(s.get()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 1070 REPORTER_ASSERT(reporter, gpuSurface->isCompatible(c)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
/external/skia/tests/ |
D | PinnedImageTest.cpp | 49 sk_sp<SkSurface> gpuSurface = SkSurface::MakeRenderTarget(context, SkBudgeted::kYes, ii); in basic_test() local 50 SkCanvas* canvas = gpuSurface->getCanvas(); in basic_test() 55 REPORTER_ASSERT(reporter, surface_is_expected_color(gpuSurface.get(), ii, SK_ColorRED)); in basic_test() 60 REPORTER_ASSERT(reporter, surface_is_expected_color(gpuSurface.get(), ii, SK_ColorGREEN)); in basic_test() 68 REPORTER_ASSERT(reporter, surface_is_expected_color(gpuSurface.get(), ii, SK_ColorGREEN)); in basic_test() 73 REPORTER_ASSERT(reporter, surface_is_expected_color(gpuSurface.get(), ii, SK_ColorGREEN)); in basic_test() 81 REPORTER_ASSERT(reporter, surface_is_expected_color(gpuSurface.get(), ii, SK_ColorBLUE)); in basic_test()
|
D | DeferredDisplayListTest.cpp | 837 SkSurface_Gpu* gpuSurface = static_cast<SkSurface_Gpu*>(s.get()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local 838 REPORTER_ASSERT(reporter, gpuSurface->isCompatible(c)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 849 gpuSurface = static_cast<SkSurface_Gpu*>(s.get()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 850 REPORTER_ASSERT(reporter, gpuSurface->isCompatible(c)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
/external/skia/docs/ |
D | SkSurface_Reference.bmh | 264 sk_sp<SkSurface> gpuSurface = SkSurface::MakeFromBackendTexture(context, 267 auto surfaceCanvas = gpuSurface->getCanvas(); 269 sk_sp<SkImage> image(gpuSurface->makeImageSnapshot()); 301 sk_sp<SkSurface> gpuSurface = SkSurface::MakeFromBackendRenderTarget(context, 304 auto surfaceCanvas = gpuSurface->getCanvas(); 306 sk_sp<SkImage> image(gpuSurface->makeImageSnapshot()); 328 #ToDo example is bogus; gpuSurface should not make image ## 338 sk_sp<SkSurface> gpuSurface = SkSurface::MakeFromBackendTextureAsRenderTarget( 341 auto surfaceCanvas = gpuSurface->getCanvas(); 343 sk_sp<SkImage> image(gpuSurface->makeImageSnapshot()); [all …]
|
/external/skqp/docs/ |
D | SkSurface_Reference.bmh | 249 sk_sp<SkSurface> gpuSurface = SkSurface::MakeFromBackendTexture(context, 252 auto surfaceCanvas = gpuSurface->getCanvas(); 254 sk_sp<SkImage> image(gpuSurface->makeImageSnapshot()); 284 sk_sp<SkSurface> gpuSurface = SkSurface::MakeFromBackendRenderTarget(context, 287 auto surfaceCanvas = gpuSurface->getCanvas(); 289 sk_sp<SkImage> image(gpuSurface->makeImageSnapshot()); 311 #ToDo example is bogus; gpuSurface should not make image ## 321 sk_sp<SkSurface> gpuSurface = SkSurface::MakeFromBackendTextureAsRenderTarget( 324 auto surfaceCanvas = gpuSurface->getCanvas(); 326 sk_sp<SkImage> image(gpuSurface->makeImageSnapshot()); [all …]
|
/external/skia/tools/sk_app/ios/ |
D | RasterWindowContext_ios.cpp | 105 sk_sp<SkSurface> gpuSurface = INHERITED::getBackbufferSurface(); in onSwapBuffers() local 106 SkCanvas* gpuCanvas = gpuSurface->getCanvas(); in onSwapBuffers()
|
/external/skqp/tools/sk_app/ios/ |
D | RasterWindowContext_ios.cpp | 105 sk_sp<SkSurface> gpuSurface = INHERITED::getBackbufferSurface(); in onSwapBuffers() local 106 SkCanvas* gpuCanvas = gpuSurface->getCanvas(); in onSwapBuffers()
|
/external/skia/site/user/api/ |
D | skcanvas_creation.md | 103 sk_sp<SkSurface> gpuSurface( 105 if (!gpuSurface) { 109 SkCanvas* gpuCanvas = gpuSurface->getCanvas(); 111 sk_sp<SkImage> img(gpuSurface->makeImageSnapshot());
|
D | SkSurface_Reference.md | 577 sk_sp<SkSurface> gpuSurface = SkSurface::MakeFromBackendRenderTarget(context, 580 auto surfaceCanvas = gpuSurface->getCanvas(); 582 sk_sp<SkImage> image(gpuSurface->makeImageSnapshot());
|
/external/skqp/site/user/api/ |
D | skcanvas_creation.md | 103 sk_sp<SkSurface> gpuSurface( 105 if (!gpuSurface) { 109 SkCanvas* gpuCanvas = gpuSurface->getCanvas(); 111 sk_sp<SkImage> img(gpuSurface->makeImageSnapshot());
|
D | SkSurface_Reference.md | 577 sk_sp<SkSurface> gpuSurface = SkSurface::MakeFromBackendRenderTarget(context, 580 auto surfaceCanvas = gpuSurface->getCanvas(); 582 sk_sp<SkImage> image(gpuSurface->makeImageSnapshot());
|
/external/skia/tools/sk_app/mac/ |
D | RasterWindowContext_mac.mm | 194 sk_sp<SkSurface> gpuSurface = INHERITED::getBackbufferSurface(); 195 SkCanvas* gpuCanvas = gpuSurface->getCanvas();
|
/external/skqp/tools/sk_app/mac/ |
D | RasterWindowContext_mac.mm | 205 sk_sp<SkSurface> gpuSurface = INHERITED::getBackbufferSurface(); 206 SkCanvas* gpuCanvas = gpuSurface->getCanvas();
|
/external/skqp/src/image/ |
D | SkSurface_Gpu.cpp | 333 SkSurface_Gpu* gpuSurface = static_cast<SkSurface_Gpu*>(s.get()); in MakeRenderTarget() local 334 SkASSERT(gpuSurface->isCompatible(c)); in MakeRenderTarget()
|
/external/skia/src/image/ |
D | SkSurface_Gpu.cpp | 348 SkSurface_Gpu* gpuSurface = static_cast<SkSurface_Gpu*>(s.get()); in MakeRenderTarget() local 349 SkASSERT(gpuSurface->isCompatible(c)); in MakeRenderTarget()
|