blob: bbc2b9146bc59e6c4c0228c5f53237a2b616d352 [file] [log] [blame]
commit-bot@chromium.org99017272013-11-08 18:45:27 +00001
2/*
3 * Copyright 2013 Google Inc.
4 *
5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file.
7 */
8
bsalomon4b91f762015-05-19 09:29:46 -07009#include "Test.h"
commit-bot@chromium.org99017272013-11-08 18:45:27 +000010#if SK_SUPPORT_GPU
11
bsalomoneb1cb5c2015-05-22 08:01:09 -070012#include "GrCaps.h"
commit-bot@chromium.org99017272013-11-08 18:45:27 +000013#include "GrContext.h"
tfarina@chromium.org8f6884a2014-01-24 20:56:26 +000014#include "GrGpu.h"
commit-bot@chromium.org99017272013-11-08 18:45:27 +000015
kkinnunen15302832015-12-01 04:35:26 -080016DEF_GPUTEST_FOR_ALL_CONTEXTS(GrDrawTargetPrint, reporter, context) {
commit-bot@chromium.org99017272013-11-08 18:45:27 +000017 // This used to assert.
kkinnunen15302832015-12-01 04:35:26 -080018 SkString result = context->caps()->dump();
commit-bot@chromium.org8b656c62013-11-21 15:23:15 +000019 SkASSERT(!result.isEmpty());
kkinnunen15302832015-12-01 04:35:26 -080020 SkString shaderResult = context->caps()->shaderCaps()->dump();
cdalton626e1ff2015-06-12 13:56:46 -070021 SkASSERT(!shaderResult.isEmpty());
commit-bot@chromium.org99017272013-11-08 18:45:27 +000022}
23
commit-bot@chromium.org99017272013-11-08 18:45:27 +000024#endif