skia2/tools/skqp/skqp_asset_manager.h
Hal Canary d7b3845f3d SkQP: make_gmkb, gm_knowledge (GM Knowledgebase)
Add a real implementation for gm_knowledge.h  This depends on
the presence of files in the form $GMK_DIR/foo/{max,min}.png

The implementation also writes out failures in a report directory.

Add a utility: experimental/make_gmkb which is a stand-alone
go executable that generates the foo/{max,min}.png data.

tools/skqp/README.md has instructions on running SkQP.

Also: add SkFontMgrPriv.h

Change-Id: Ibe1e9a7e7de143d14eee3877f5f2d2d8713f7f49
Reviewed-on: https://skia-review.googlesource.com/65380
Reviewed-by: Yuqian Li <liyuqian@google.com>
Commit-Queue: Hal Canary <halcanary@google.com>
2017-12-15 17:23:48 +00:00

22 lines
466 B
C++

/*
* Copyright 2017 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef skqp_asset_manager_DEFINED
#define skqp_asset_manager_DEFINED
#include <memory>
class SkStreamAsset;
namespace skqp {
class AssetManager {
public:
virtual ~AssetManager() {}
virtual std::unique_ptr<SkStreamAsset> open(const char* path) = 0;
};
} // namespace skqp
#endif // skqp_asset_manager_DEFINED