Condtionalize flags (so flutter can add them)

Change-Id: I6e6916a433341065516280f18a7b2779139b782f
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/361716
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
This commit is contained in:
Mike Reed 2021-01-28 18:15:15 -05:00 committed by Skia Commit-Bot
parent 46e9b0e919
commit 00f4769e34

View File

@ -33,12 +33,17 @@
#include <memory>
#include <vector>
// Working on allow this to be undefined
#ifndef SK_SUPPORT_LEGACY_GETTOTALMATRIX
#define SK_SUPPORT_LEGACY_GETTOTALMATRIX
#endif
#ifndef SK_SUPPORT_LEGACY_DRAWBITMAP
#define SK_SUPPORT_LEGACY_DRAWBITMAP
#endif
#ifndef SK_SUPPORT_LEGACY_DRAWIMAGE_NOSAMPLING
#define SK_SUPPORT_LEGACY_DRAWIMAGE_NOSAMPLING
#endif
class GrBackendRenderTarget;
class GrRecordingContext;