Lines Matching refs:reporter
27 skiatest::Reporter* reporter,
54 ERRORF(reporter, "Could not create protected surface.");
60 REPORTER_ASSERT(reporter, backendTex.isValid());
61 REPORTER_ASSERT(reporter, backendTex.isProtected());
65 REPORTER_ASSERT(reporter, backendRT.isValid());
66 REPORTER_ASSERT(reporter, backendRT.isProtected());
71 DEF_GPUTEST(VkProtectedContext_CreateNonprotectedContext, reporter, options) {
73 REPORTER_ASSERT(reporter, nonprotectedTestHelper->init());
76 DEF_GPUTEST(VkProtectedContext_CreateProtectedContext, reporter, options) {
83 DEF_GPUTEST(VkProtectedContext_CreateProtectedSkSurface, reporter, options) {
90 REPORTER_ASSERT(reporter, dContext != nullptr);
91 create_protected_sksurface(dContext, reporter, /*textureable*/ true);
92 create_protected_sksurface(dContext, reporter, /*textureable*/ false);
95 DEF_GPUTEST(VkProtectedContext_CreateNonprotectedTextureInProtectedContext, reporter, options) {
100 REPORTER_ASSERT(reporter, protectedTestHelper->directContext() != nullptr);
108 REPORTER_ASSERT(reporter, !backendTex.isValid());
111 DEF_GPUTEST(VkProtectedContext_CreateProtectedTextureInNonprotectedContext, reporter, options) {
116 REPORTER_ASSERT(reporter, protectedTestHelper->directContext() != nullptr);
124 REPORTER_ASSERT(reporter, !backendTex.isValid());
127 DEF_GPUTEST(VkProtectedContext_ReadFromProtectedSurface, reporter, options) {
132 REPORTER_ASSERT(reporter, protectedTestHelper->directContext() != nullptr);
134 auto surface = create_protected_sksurface(protectedTestHelper->directContext(), reporter);
135 REPORTER_ASSERT(reporter, surface);
136 REPORTER_ASSERT(reporter, !surface->readPixels(SkImageInfo(), nullptr, 8, 0, 0));
154 DEF_GPUTEST(VkProtectedContext_AsyncReadFromProtectedSurface, reporter, options) {
162 REPORTER_ASSERT(reporter, dContext != nullptr);
164 auto surface = create_protected_sksurface(dContext, reporter);
165 REPORTER_ASSERT(reporter, surface);
178 REPORTER_ASSERT(reporter, !cbContext.fResult);
181 DEF_GPUTEST(VkProtectedContext_DrawRectangle, reporter, options) {
186 REPORTER_ASSERT(reporter, protectedTestHelper->directContext() != nullptr);
188 auto surface = create_protected_sksurface(protectedTestHelper->directContext(), reporter);
189 REPORTER_ASSERT(reporter, surface);
191 REPORTER_ASSERT(reporter, canvas);
197 DEF_GPUTEST(VkProtectedContext_DrawRectangleWithAntiAlias, reporter, options) {
202 REPORTER_ASSERT(reporter, protectedTestHelper->directContext() != nullptr);
204 auto surface = create_protected_sksurface(protectedTestHelper->directContext(), reporter);
205 REPORTER_ASSERT(reporter, surface);
207 REPORTER_ASSERT(reporter, canvas);
214 DEF_GPUTEST(VkProtectedContext_DrawRectangleWithBlendMode, reporter, options) {
219 REPORTER_ASSERT(reporter, protectedTestHelper->directContext() != nullptr);
221 auto surface = create_protected_sksurface(protectedTestHelper->directContext(), reporter);
222 REPORTER_ASSERT(reporter, surface);
224 REPORTER_ASSERT(reporter, canvas);
231 DEF_GPUTEST(VkProtectedContext_DrawRectangleWithFilter, reporter, options) {
236 REPORTER_ASSERT(reporter, protectedTestHelper->directContext() != nullptr);
238 auto surface = create_protected_sksurface(protectedTestHelper->directContext(), reporter);
239 REPORTER_ASSERT(reporter, surface);
241 REPORTER_ASSERT(reporter, canvas);
250 DEF_GPUTEST(VkProtectedContext_DrawThinPath, reporter, options) {
255 REPORTER_ASSERT(reporter, protectedTestHelper->directContext() != nullptr);
257 auto surface = create_protected_sksurface(protectedTestHelper->directContext(), reporter);
258 REPORTER_ASSERT(reporter, surface);
260 REPORTER_ASSERT(reporter, canvas);
269 DEF_GPUTEST(VkProtectedContext_SaveLayer, reporter, options) {
274 REPORTER_ASSERT(reporter, protectedTestHelper->directContext() != nullptr);
276 auto surface = create_protected_sksurface(protectedTestHelper->directContext(), reporter);
277 REPORTER_ASSERT(reporter, surface);
279 REPORTER_ASSERT(reporter, canvas);
288 DEF_GPUTEST(VkProtectedContext_DrawProtectedImageOnProtectedSurface, reporter, options) {
293 REPORTER_ASSERT(reporter, protectedTestHelper->directContext() != nullptr);
296 auto surface1 = create_protected_sksurface(protectedTestHelper->directContext(), reporter);
297 REPORTER_ASSERT(reporter, surface1);
299 REPORTER_ASSERT(reporter, image);
302 auto surface2 = create_protected_sksurface(protectedTestHelper->directContext(), reporter);
303 REPORTER_ASSERT(reporter, surface2);
305 REPORTER_ASSERT(reporter, canvas);
315 DEF_GPUTEST(VkProtectedContext_DDLMakeRenderTargetTest, reporter, ctxInfo) {
320 REPORTER_ASSERT(reporter, protectedTestHelper->directContext() != nullptr);
322 DDLMakeRenderTargetTestImpl(protectedTestHelper->directContext(), reporter);
327 DEF_GPUTEST(VkProtectedContext_DDLSurfaceCharacterizationTest, reporter, ctxInfo) {
332 REPORTER_ASSERT(reporter, protectedTestHelper->directContext() != nullptr);
334 DDLSurfaceCharacterizationTestImpl(protectedTestHelper->directContext(), reporter);