Home
last modified time | relevance | path

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

1234567891011

/external/skqp/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()
128 SkAssertResult(eglDestroySurface(fDisplay, fSurfaceAndroid)); in onDestroyContext()
129 SkAssertResult(eglDestroyContext(fDisplay, fEGLContext)); in onDestroyContext()
/external/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()
128 SkAssertResult(eglDestroySurface(fDisplay, fSurfaceAndroid)); in onDestroyContext()
129 SkAssertResult(eglDestroyContext(fDisplay, fEGLContext)); in onDestroyContext()
/external/skia/gm/
Dencode-srgb.cpp64 SkAssertResult(SkPngEncoder::Encode(&buf, src, SkPngEncoder::Options())); in encode_data()
67 SkAssertResult(SkWebpEncoder::Encode(&buf, src, SkWebpEncoder::Options())); in encode_data()
70 SkAssertResult(SkJpegEncoder::Encode(&buf, src, SkJpegEncoder::Options())); in encode_data()
Ddashcubics.cpp70 SkAssertResult(SkParsePath::FromSVGString( in TrimGM()
77 SkAssertResult(SkParsePath::FromSVGString( in TrimGM()
84 SkAssertResult(SkParsePath::FromSVGString( in TrimGM()
/external/skqp/gm/
Dencode-srgb.cpp64 SkAssertResult(SkPngEncoder::Encode(&buf, src, SkPngEncoder::Options())); in encode_data()
67 SkAssertResult(SkWebpEncoder::Encode(&buf, src, SkWebpEncoder::Options())); in encode_data()
70 SkAssertResult(SkJpegEncoder::Encode(&buf, src, SkJpegEncoder::Options())); in encode_data()
Ddashcubics.cpp70 SkAssertResult(SkParsePath::FromSVGString( in TrimGM()
77 SkAssertResult(SkParsePath::FromSVGString( in TrimGM()
84 SkAssertResult(SkParsePath::FromSVGString( in TrimGM()
Dp3.cpp160 SkAssertResult(bm.peekPixels(&pm));
161 SkAssertResult(pm.erase({1,0,0,1} /*in p3*/));
178 SkAssertResult(bm.peekPixels(&pm));
179 SkAssertResult(pm.erase({1,0,0,1} /*in p3*/));
/external/skqp/src/gpu/vk/
DGrVkPipelineStateBuilder.cpp157 SkAssertResult(this->installVkShaderModule(VK_SHADER_STAGE_VERTEX_BIT, in loadShadersFromCache()
164 SkAssertResult(this->installVkShaderModule(VK_SHADER_STAGE_FRAGMENT_BIT, in loadShadersFromCache()
172 SkAssertResult(this->installVkShaderModule(VK_SHADER_STAGE_GEOMETRY_BIT, in loadShadersFromCache()
300 SkAssertResult(this->createVkShaderModule(VK_SHADER_STAGE_VERTEX_BIT, in finalize()
309 SkAssertResult(this->createVkShaderModule(VK_SHADER_STAGE_FRAGMENT_BIT, in finalize()
319 SkAssertResult(this->createVkShaderModule(VK_SHADER_STAGE_GEOMETRY_BIT, in finalize()
/external/skia/src/gpu/vk/
DGrVkPipelineStateBuilder.cpp157 SkAssertResult(this->installVkShaderModule(VK_SHADER_STAGE_VERTEX_BIT, in loadShadersFromCache()
164 SkAssertResult(this->installVkShaderModule(VK_SHADER_STAGE_FRAGMENT_BIT, in loadShadersFromCache()
172 SkAssertResult(this->installVkShaderModule(VK_SHADER_STAGE_GEOMETRY_BIT, in loadShadersFromCache()
301 SkAssertResult(this->createVkShaderModule(VK_SHADER_STAGE_VERTEX_BIT, in finalize()
310 SkAssertResult(this->createVkShaderModule(VK_SHADER_STAGE_FRAGMENT_BIT, in finalize()
320 SkAssertResult(this->createVkShaderModule(VK_SHADER_STAGE_GEOMETRY_BIT, in finalize()
/external/skia/bench/
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()
/external/skqp/bench/
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()
/external/skia/tests/
DTextureProxyTest.cpp95 SkAssertResult(proxyProvider->assignUniqueKeyToProxy(key, proxy.get())); in wrapped_with_key()
143 SkAssertResult(proxyProvider->assignUniqueKeyToProxy(key, proxy.get())); in basic_test()
160 SkAssertResult(proxy->instantiate(resourceProvider)); in basic_test()
277 SkAssertResult(proxyProvider->assignUniqueKeyToProxy(key, proxy.get())); in invalidation_and_instantiation_test()
288 SkAssertResult(proxy->instantiate(resourceProvider)); in invalidation_and_instantiation_test()
DDeferredDisplayListTest.cpp146 SkAssertResult(c.isValid()); in createDDL()
300 SkAssertResult(ddl); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
445 SkAssertResult(s->characterize(&char0)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
490 SkAssertResult(ddl); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
596 SkAssertResult(s->characterize(&c)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
651 SkAssertResult(s->characterize(&characterization)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
693 SkAssertResult(s->characterize(&characterization)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
713 SkAssertResult(s->characterize(&characterization)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
766 SkAssertResult(s->characterize(&characterization)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DVkWrapTests.cpp43 SkAssertResult(origBackendTex.getVkImageInfo(&imageInfo)); in wrap_tex_test()
97 SkAssertResult(origBackendTex.getVkImageInfo(&imageInfo)); in wrap_rt_test()
138 SkAssertResult(origBackendTex.getVkImageInfo(&imageInfo)); in wrap_trt_test()
/external/skqp/tests/
DTextureProxyTest.cpp95 SkAssertResult(proxyProvider->assignUniqueKeyToProxy(key, proxy.get())); in wrapped_with_key()
143 SkAssertResult(proxyProvider->assignUniqueKeyToProxy(key, proxy.get())); in basic_test()
160 SkAssertResult(proxy->instantiate(resourceProvider)); in basic_test()
277 SkAssertResult(proxyProvider->assignUniqueKeyToProxy(key, proxy.get())); in invalidation_and_instantiation_test()
288 SkAssertResult(proxy->instantiate(resourceProvider)); in invalidation_and_instantiation_test()
DDeferredDisplayListTest.cpp352 SkAssertResult(c.isValid()); in createDDL()
508 SkAssertResult(ddl); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
653 SkAssertResult(s->characterize(&char0)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
698 SkAssertResult(ddl); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
805 SkAssertResult(s->characterize(&c)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
860 SkAssertResult(s->characterize(&characterization)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
902 SkAssertResult(s->characterize(&characterization)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
923 SkAssertResult(s->characterize(&characterization)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
976 SkAssertResult(s->characterize(&characterization)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DVkWrapTests.cpp43 SkAssertResult(origBackendTex.getVkImageInfo(&imageInfo)); in wrap_tex_test()
97 SkAssertResult(origBackendTex.getVkImageInfo(&imageInfo)); in wrap_rt_test()
138 SkAssertResult(origBackendTex.getVkImageInfo(&imageInfo)); in wrap_trt_test()
/external/skqp/src/gpu/mock/
DGrMockGpu.cpp117 SkAssertResult(tex.getMockTextureInfo(&info)); in onWrapBackendTexture()
136 SkAssertResult(tex.getMockTextureInfo(&texInfo)); in onWrapRenderableBackendTexture()
158 SkAssertResult(rt.getMockRenderTargetInfo(&info)); in onWrapBackendRenderTarget()
173 SkAssertResult(tex.getMockTextureInfo(&texInfo)); in onWrapBackendTextureAsRenderTarget()
/external/skia/src/gpu/mock/
DGrMockGpu.cpp117 SkAssertResult(tex.getMockTextureInfo(&info)); in onWrapBackendTexture()
136 SkAssertResult(tex.getMockTextureInfo(&texInfo)); in onWrapRenderableBackendTexture()
158 SkAssertResult(rt.getMockRenderTargetInfo(&info)); in onWrapBackendRenderTarget()
173 SkAssertResult(tex.getMockTextureInfo(&texInfo)); in onWrapBackendTextureAsRenderTarget()
/external/skqp/samplecode/
DSampleLighting.cpp37 SkAssertResult(GetResourceAsBitmap("images/brickwork-texture.jpg", &diffuseBitmap)); in LightingView()
49 SkAssertResult(GetResourceAsBitmap("images/brickwork_normal-map.jpg", &normalBitmap)); in LightingView()
/external/skia/samplecode/
DSampleLighting.cpp37 SkAssertResult(GetResourceAsBitmap("images/brickwork-texture.jpg", &diffuseBitmap)); in LightingView()
49 SkAssertResult(GetResourceAsBitmap("images/brickwork_normal-map.jpg", &normalBitmap)); in LightingView()
/external/skqp/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()
/external/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()

1234567891011