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