blob: c1bee7fe70678844b786aa1eb06bd30308516d93 [file] [log] [blame]
/*
* Copyright 2017 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "include/core/SkPromiseImageTexture.h"
#if SK_SUPPORT_GPU
SkPromiseImageTexture::SkPromiseImageTexture(const GrBackendTexture& backendTexture) {
SkASSERT(backendTexture.isValid());
fBackendTexture = backendTexture;
}
SkPromiseImageTexture::~SkPromiseImageTexture() {}
#endif // SK_SUPPORT_GPU