Home
last modified time | relevance | path

Searched refs:SkAssertResult (Results 1 – 25 of 300) sorted by relevance

12345678910>>...12

/third_party/skia/src/gpu/
DGrBackendUtils.cpp54 SkAssertResult(format.asVkFormat(&vkFormat)); in GrBackendFormatToCompressionType()
77 SkAssertResult(format.asDxgiFormat(&dxgiFormat)); in GrBackendFormatToCompressionType()
109 SkAssertResult(format.asVkFormat(&vkFormat)); in GrBackendFormatBytesPerBlock()
123 SkAssertResult(format.asDxgiFormat(&dxgiFormat)); in GrBackendFormatBytesPerBlock()
131 SkAssertResult(format.asDawnFormat(&dawnFormat)); in GrBackendFormatBytesPerBlock()
169 SkAssertResult(format.asVkFormat(&vkFormat)); in GrBackendFormatStencilBits()
183 SkAssertResult(format.asDxgiFormat(&dxgiFormat)); in GrBackendFormatStencilBits()
191 SkAssertResult(format.asDawnFormat(&dawnFormat)); in GrBackendFormatStencilBits()
/third_party/skia/tools/sk_app/android/
DGLWindowContext_android.cpp70 SkAssertResult(eglBindAPI(EGL_OPENGL_ES_API)); in onInitializeContext()
89 SkAssertResult(eglChooseConfig(fDisplay, configAttribs, &surfaceConfig, 1, &numConfigs)); in onInitializeContext()
107 SkAssertResult(eglMakeCurrent(fDisplay, fSurfaceAndroid, fSurfaceAndroid, fEGLContext)); in onInitializeContext()
130 SkAssertResult(eglDestroySurface(fDisplay, fSurfaceAndroid)); in onDestroyContext()
131 SkAssertResult(eglDestroyContext(fDisplay, fEGLContext)); in onDestroyContext()
/third_party/flutter/skia/tools/sk_app/android/
DGLWindowContext_android.cpp70 SkAssertResult(eglBindAPI(EGL_OPENGL_ES_API)); in onInitializeContext()
89 SkAssertResult(eglChooseConfig(fDisplay, configAttribs, &surfaceConfig, 1, &numConfigs)); in onInitializeContext()
107 SkAssertResult(eglMakeCurrent(fDisplay, fSurfaceAndroid, fSurfaceAndroid, fEGLContext)); in onInitializeContext()
130 SkAssertResult(eglDestroySurface(fDisplay, fSurfaceAndroid)); in onDestroyContext()
131 SkAssertResult(eglDestroyContext(fDisplay, fEGLContext)); in onDestroyContext()
/third_party/flutter/skia/tests/
DSkSLInterpreterTest.cpp43 SkAssertResult(byteCode->run(main, in, out.get(), 1, nullptr, 0)); in test()
98 SkAssertResult(byteCode->run(main, out_s + i * 4, nullptr, 1, nullptr, 0)); in vec_test()
102 SkAssertResult(byteCode->run(main, out_v, nullptr, 4, nullptr, 0)); in vec_test()
134 SkAssertResult(byteCode->run(main, inoutColor, nullptr, 1, nullptr, 0)); in test()
562SkAssertResult(byteCode->run(rect_height, (float*)&in, (float*)&out, 1, (float*)gRects, 16)); in DEF_TEST()
569SkAssertResult(byteCode->run(make_blue_rect, (float*)in, (float*)&out, 1, (float*)gRects, 16)); in DEF_TEST()
579 SkAssertResult(byteCode->run(median, (float*)in, (float*)&out, 1, (float*)gRects, 16)); in DEF_TEST()
586 SkAssertResult(byteCode->run(sums, in, out, 1, (float*)gRects, 16)); in DEF_TEST()
595 SkAssertResult(byteCode->run(get_rect, (float*)&in, (float*)&out, 1, (float*)gRects, 16)); in DEF_TEST()
603 SkAssertResult(byteCode->run(fill_rects, (float*)&in, nullptr, 1, (float*)gRects, 16)); in DEF_TEST()
[all …]
DDeferredDisplayListTest.cpp169 SkAssertResult(c.isValid()); in createDDL()
330 SkAssertResult(ddl); in DDLSurfaceCharacterizationTestImpl()
484 SkAssertResult(s->characterize(&char0)); in DDLSurfaceCharacterizationTestImpl()
536 SkAssertResult(ddl); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
694 SkAssertResult(s->characterize(&c)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
749 SkAssertResult(s->characterize(&characterization)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
793 SkAssertResult(s->characterize(&characterization)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
834 SkAssertResult(s->characterize(&characterization)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
913 SkAssertResult(s->characterize(&characterization)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
966 SkAssertResult(s->characterize(&characterization)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DTextureProxyTest.cpp96 SkAssertResult(proxyProvider->assignUniqueKeyToProxy(key, proxy.get())); in wrapped_with_key()
147 SkAssertResult(proxyProvider->assignUniqueKeyToProxy(key, proxy.get())); in basic_test()
164 SkAssertResult(proxy->instantiate(resourceProvider)); in basic_test()
284 SkAssertResult(proxyProvider->assignUniqueKeyToProxy(key, proxy.get())); in invalidation_and_instantiation_test()
295 SkAssertResult(proxy->instantiate(resourceProvider)); in invalidation_and_instantiation_test()
DVkWrapTests.cpp46 SkAssertResult(origBackendTex.getVkImageInfo(&imageInfo)); in wrap_tex_test()
101 SkAssertResult(origBackendTex.getVkImageInfo(&imageInfo)); in wrap_rt_test()
142 SkAssertResult(origBackendTex.getVkImageInfo(&imageInfo)); in wrap_trt_test()
/third_party/flutter/skia/bench/
DSkSLInterpreterBench.cpp56 SkAssertResult(fByteCode->runStriped(fMain, args, 4, fCount, in onDraw()
59 SkAssertResult(fByteCode->run(fMain, fPixels.data(), nullptr, fCount, nullptr, 0)); in onDraw()
190 SkAssertResult(fByteCode->run(fMain, fSrc.data(), fDst.data(), fGroups, nullptr, 0)); in onDelayedSetup()
200 SkAssertResult(fByteCode->run(fMain, fSrc.data(), fDst.data(), fGroups, nullptr, 0)); in onDraw()
DEncodeBench.cpp35 SkAssertResult(GetResourceAsBitmap(fSourceFilename, &fBitmap)); in onDelayedSetup()
41 SkAssertResult(fBitmap.peekPixels(&pixmap)); in onDraw()
43 SkAssertResult(fEncoder(&dst, pixmap)); in onDraw()
DJSONBench.cpp75 SkAssertResult(stream->read(data8, stream->getLength()) == stream->getLength()); in onPerCanvasPreDraw()
127 SkAssertResult(stream->read(data8, stream->getLength()) == stream->getLength()); in onPerCanvasPreDraw()
/third_party/skia/gm/
Dencode_srgb.cpp74 SkAssertResult(SkPngEncoder::Encode(&buf, src, SkPngEncoder::Options())); in encode_data()
77 SkAssertResult(SkWebpEncoder::Encode(&buf, src, SkWebpEncoder::Options())); in encode_data()
80 SkAssertResult(SkJpegEncoder::Encode(&buf, src, SkJpegEncoder::Options())); in encode_data()
Ddashcubics.cpp80 SkAssertResult(SkParsePath::FromSVGString( in onOnceBeforeDraw()
87 SkAssertResult(SkParsePath::FromSVGString( in onOnceBeforeDraw()
94 SkAssertResult(SkParsePath::FromSVGString( in onOnceBeforeDraw()
/third_party/skia/modules/skottie/gm/
DExternalProperties.cpp112 SkAssertResult(fPropManager->setColor(prop, tst.solid_color)); in update_props()
118 SkAssertResult(fPropManager->setTransform(prop, t)); in update_props()
125 SkAssertResult(fPropManager->setText(prop, txt)); in update_props()
/third_party/flutter/skia/gm/
Dencode_srgb.cpp74 SkAssertResult(SkPngEncoder::Encode(&buf, src, SkPngEncoder::Options())); in encode_data()
77 SkAssertResult(SkWebpEncoder::Encode(&buf, src, SkWebpEncoder::Options())); in encode_data()
80 SkAssertResult(SkJpegEncoder::Encode(&buf, src, SkJpegEncoder::Options())); in encode_data()
Ddashcubics.cpp78 SkAssertResult(SkParsePath::FromSVGString( in TrimGM()
85 SkAssertResult(SkParsePath::FromSVGString( in TrimGM()
92 SkAssertResult(SkParsePath::FromSVGString( in TrimGM()
/third_party/skia/bench/
DEncodeBench.cpp35 SkAssertResult(GetResourceAsBitmap(fSourceFilename, &fBitmap)); in onDelayedSetup()
41 SkAssertResult(fBitmap.peekPixels(&pixmap)); in onDraw()
43 SkAssertResult(fEncoder(&dst, pixmap)); in onDraw()
DSkSLBench.cpp91 case Output::kGLSL: SkAssertResult(fCompiler.toGLSL(*program, &result)); break; in onDraw()
92 case Output::kMetal: SkAssertResult(fCompiler.toMetal(*program, &result)); break; in onDraw()
93 case Output::kSPIRV: SkAssertResult(fCompiler.toSPIRV(*program, &result)); break; in onDraw()
DJSONBench.cpp75 SkAssertResult(stream->read(data8, stream->getLength()) == stream->getLength()); in onPerCanvasPreDraw()
127 SkAssertResult(stream->read(data8, stream->getLength()) == stream->getLength()); in onPerCanvasPreDraw()
/third_party/skia/tests/
DTextureOpTest.cpp31 SkAssertResult(op.bounds() == firstRect.makeOutset(0.5f, 0.5f)); in check_chain()
33 SkAssertResult(op.bounds() == lastRect.makeOutset(0.5f, 0.5f)); in check_chain()
37 SkAssertResult(actualNumOps == expectedNumOps); in check_chain()
DDeferredDisplayListTest.cpp212 SkAssertResult(c.isValid()); in createDDL()
397 SkAssertResult(ddl); in DDLSurfaceCharacterizationTestImpl()
491 SkAssertResult(s->characterize(&char0)); in DDLSurfaceCharacterizationTestImpl()
518 SkAssertResult(s->characterize(&char0)); in DDLSurfaceCharacterizationTestImpl()
559 SkAssertResult(s->characterize(&char0)); in DDLSurfaceCharacterizationTestImpl()
597 SkAssertResult(s->characterize(&char0)); in DDLSurfaceCharacterizationTestImpl()
670 SkAssertResult(backendRT.isValid()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
741 SkAssertResult(ddl); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
868 SkAssertResult(s->characterize(&c)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
904 SkAssertResult(s->characterize(&characterization)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
DTextureProxyTest.cpp95 SkAssertResult(proxyProvider->assignUniqueKeyToProxy(key, proxy.get())); in wrapped_with_key()
143 SkAssertResult(proxyProvider->assignUniqueKeyToProxy(key, proxy.get())); in basic_test()
159 SkAssertResult(proxy->instantiate(resourceProvider)); in basic_test()
303 SkAssertResult(proxyProvider->assignUniqueKeyToProxy(key, proxy.get())); in invalidation_and_instantiation_test()
314 SkAssertResult(proxy->instantiate(resourceProvider)); in invalidation_and_instantiation_test()
/third_party/flutter/skia/samplecode/
DSampleLighting.cpp42 SkAssertResult(GetResourceAsBitmap("images/brickwork-texture.jpg", &diffuseBitmap)); in onOnceBeforeDraw()
51 SkAssertResult(GetResourceAsBitmap("images/brickwork_normal-map.jpg", &normalBitmap)); in onOnceBeforeDraw()
/third_party/flutter/skia/src/gpu/mock/
DGrMockGpu.cpp183 SkAssertResult(tex.getMockTextureInfo(&texInfo)); in onWrapBackendTexture()
204 SkAssertResult(tex.getMockTextureInfo(&texInfo)); in onWrapRenderableBackendTexture()
226 SkAssertResult(rt.getMockRenderTargetInfo(&info)); in onWrapBackendRenderTarget()
243 SkAssertResult(tex.getMockTextureInfo(&texInfo)); in onWrapBackendTextureAsRenderTarget()
/third_party/skia/src/pathops/
DSkOpContour.cpp17 SkAssertResult(segment->addCurveTo(segment->head(), segment->tail(), path)); in toPath()
26 SkAssertResult(segment->addCurveTo(segment->tail(), segment->head(), path)); in toReversePath()
/third_party/flutter/skia/src/pathops/
DSkOpContour.cpp18 SkAssertResult(segment->addCurveTo(segment->head(), segment->tail(), path)); in toPath()
27 SkAssertResult(segment->addCurveTo(segment->tail(), segment->head(), path)); in toReversePath()

12345678910>>...12