summaryrefslogtreecommitdiff
path: root/libs/hwui/HardwareBitmapUploader.cpp
diff options
context:
space:
mode:
author Nolan Scobie <nscobie@google.com> 2024-08-30 13:43:34 -0400
committer Nolan Scobie <nscobie@google.com> 2024-08-30 13:54:14 -0400
commit572d801cca5d1b0289fe3d0038c875ebc8457352 (patch)
tree5600aac8aa40dffff692954130fed0c7020c0485 /libs/hwui/HardwareBitmapUploader.cpp
parent1e45712b0a3a8b857e74fe77aaff37443f14933b (diff)
[HWUI] Update Ganesh includes to specify new location
Upstream Skia changes I7269acfae5c26518c2a61930a8af9584682751cd and Ibc927d0ae66a05546957300090a651614e720fad are moving Ganesh headers into Skia's include/gpu/ganesh/ directory. Android's current includes are relying on temporary shims which will soon be removed. Note: I also sorted some includes to try and calm the chaos a tiny bit, but didn't go out of my way to update all non-Ganesh Skia includes. clang-format decided to further re-arrange things, so I'm hoping this doesn't make future merge conflicts too painful. Bug: 40044159 Test: builds after locally deleting Skia's temporary shims Flag: EXEMPT refactor Change-Id: I5099e215a58915a5e6c7b3434f9855006dda8c60
Diffstat (limited to 'libs/hwui/HardwareBitmapUploader.cpp')
-rw-r--r--libs/hwui/HardwareBitmapUploader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hwui/HardwareBitmapUploader.cpp b/libs/hwui/HardwareBitmapUploader.cpp
index 27ea15075682..a2748b050a2d 100644
--- a/libs/hwui/HardwareBitmapUploader.cpp
+++ b/libs/hwui/HardwareBitmapUploader.cpp
@@ -21,8 +21,6 @@
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
#include <GLES3/gl3.h>
-#include <GrDirectContext.h>
-#include <GrTypes.h>
#include <SkBitmap.h>
#include <SkCanvas.h>
#include <SkImage.h>
@@ -30,6 +28,8 @@
#include <SkImageInfo.h>
#include <SkRefCnt.h>
#include <gui/TraceUtils.h>
+#include <include/gpu/ganesh/GrDirectContext.h>
+#include <include/gpu/ganesh/GrTypes.h>
#include <utils/GLUtils.h>
#include <utils/NdkUtils.h>
#include <utils/Trace.h>