Flutter Engine
The Flutter Engine
third_party
skia
src
gpu
ganesh
GrPromiseImageTexture.cpp
Go to the documentation of this file.
1
/*
2
* Copyright 2023 Google LLC
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
8
#include "
include/private/chromium/GrPromiseImageTexture.h
"
9
10
GrPromiseImageTexture::GrPromiseImageTexture
(
const
GrBackendTexture
& backendTexture) {
11
SkASSERT
(
backendTexture
.
isValid
());
12
fBackendTexture =
backendTexture
;
13
}
14
15
GrPromiseImageTexture::~GrPromiseImageTexture
() {}
GrPromiseImageTexture.h
SkASSERT
#define SkASSERT(cond)
Definition:
SkAssert.h:116
GrBackendTexture
Definition:
GrBackendSurface.h:149
GrBackendTexture::isValid
bool isValid() const
Definition:
GrBackendSurface.h:211
GrPromiseImageTexture::GrPromiseImageTexture
GrPromiseImageTexture()=delete
GrPromiseImageTexture::backendTexture
GrBackendTexture backendTexture() const
Definition:
GrPromiseImageTexture.h:35
GrPromiseImageTexture::~GrPromiseImageTexture
~GrPromiseImageTexture()
Definition:
GrPromiseImageTexture.cpp:15
Generated on Sun Jun 23 2024 21:56:21 for Flutter Engine by
1.9.4