blob: 30764a6e12b61cb5081fff24114c2ad5f51c09ab [file] [log] [blame]
Brian Salomon0e56e232020-12-10 15:36:02 -05001/*
2 * Copyright 2020 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#ifndef GrRenderTargetContext_DEFINED
9#define GrRenderTargetContext_DEFINED
10
11#include "include/core/SkTypes.h"
12
13#ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
14
Robert Phillips4dca8312021-07-28 15:13:20 -040015#include "src/gpu/v1/SurfaceDrawContext_v1.h"
Brian Salomon0e56e232020-12-10 15:36:02 -050016
17// Android Framework is relying on this header existing and the old name
Robert Phillips4dca8312021-07-28 15:13:20 -040018// of skgpu::v1::SurfaceDrawContext.
Brian Salomon0e56e232020-12-10 15:36:02 -050019
Robert Phillips4dca8312021-07-28 15:13:20 -040020using GrRenderTargetContext = skgpu::v1::SurfaceDrawContext;
Brian Salomon0e56e232020-12-10 15:36:02 -050021
22#endif
23
24#endif