Brian Salomon | 0e56e23 | 2020-12-10 15:36:02 -0500 | [diff] [blame] | 1 | /* |
| 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 Phillips | 4dca831 | 2021-07-28 15:13:20 -0400 | [diff] [blame^] | 15 | #include "src/gpu/v1/SurfaceDrawContext_v1.h" |
Brian Salomon | 0e56e23 | 2020-12-10 15:36:02 -0500 | [diff] [blame] | 16 | |
| 17 | // Android Framework is relying on this header existing and the old name |
Robert Phillips | 4dca831 | 2021-07-28 15:13:20 -0400 | [diff] [blame^] | 18 | // of skgpu::v1::SurfaceDrawContext. |
Brian Salomon | 0e56e23 | 2020-12-10 15:36:02 -0500 | [diff] [blame] | 19 | |
Robert Phillips | 4dca831 | 2021-07-28 15:13:20 -0400 | [diff] [blame^] | 20 | using GrRenderTargetContext = skgpu::v1::SurfaceDrawContext; |
Brian Salomon | 0e56e23 | 2020-12-10 15:36:02 -0500 | [diff] [blame] | 21 | |
| 22 | #endif |
| 23 | |
| 24 | #endif |