// // Copyright 2018 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. //
// android_util.h: Utilities for the using the Android platform
EGLClientBuffer CreateEGLClientBufferFromAHardwareBuffer(int width, int height, int depth, int androidFormat, int usage);
void GetANativeWindowBufferProperties(const ANativeWindowBuffer *buffer, int *width, int *height, int *depth, int *pixelFormat,
uint64_t *usage);
GLenum NativePixelFormatToGLInternalFormat(int pixelFormat); int GLInternalFormatToNativePixelFormat(GLenum internalFormat);