bdf12ad8d5
Bug: skia: Change-Id: I8add2470313549723be6720b543091c444d2eb4f Reviewed-on: https://skia-review.googlesource.com/c/161680 Commit-Queue: Greg Daniel <egdaniel@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
23 lines
511 B
C++
23 lines
511 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 MockTestContext_DEFINED
|
|
#define MockTestContext_DEFINED
|
|
|
|
#include "TestContext.h"
|
|
|
|
namespace sk_gpu_test {
|
|
|
|
/**
|
|
* Creates mock context object for use with GrContexts created with GrBackendApi::kMock. It will
|
|
* trivially succeed at everything.
|
|
*/
|
|
TestContext* CreateMockTestContext(TestContext* shareContext = nullptr);
|
|
|
|
} // namespace sk_gpu_test
|
|
#endif
|