• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1LIBHWUI { # platform-only /* HWUI isn't current a module, so all of these are still platform-only */
2  global:
3    /* listing of all C APIs to be exposed by libhwui to consumers outside of the module */
4    ABitmap_getInfoFromJava;
5    ABitmap_acquireBitmapFromJava;
6    ABitmap_copy;
7    ABitmap_acquireRef;
8    ABitmap_releaseRef;
9    ABitmap_getInfo;
10    ABitmap_getDataSpace;
11    ABitmap_getPixels;
12    ABitmap_notifyPixelsChanged;
13    ABitmapConfig_getFormatFromConfig;
14    ABitmapConfig_getConfigFromFormat;
15    ABitmap_compress;
16    ABitmap_getHardwareBuffer;
17    ACanvas_isSupportedPixelFormat;
18    ACanvas_getNativeHandleFromJava;
19    ACanvas_createCanvas;
20    ACanvas_destroyCanvas;
21    ACanvas_setBuffer;
22    ACanvas_clipRect;
23    ACanvas_clipOutRect;
24    ACanvas_drawRect;
25    ACanvas_drawBitmap;
26    init_android_graphics;
27    register_android_graphics_classes;
28    register_android_graphics_GraphicsStatsService;
29    zygote_preload_graphics;
30    AMatrix_getContents;
31    AMatrix_newInstance;
32    APaint_createPaint;
33    APaint_destroyPaint;
34    APaint_setBlendMode;
35    ARegionIterator_acquireIterator;
36    ARegionIterator_releaseIterator;
37    ARegionIterator_isComplex;
38    ARegionIterator_isDone;
39    ARegionIterator_next;
40    ARegionIterator_getRect;
41    ARegionIterator_getTotalBounds;
42    hwui_uses_vulkan;
43  local:
44    *;
45};
46
47LIBHWUI_PLATFORM {
48  global:
49    extern "C++" {
50      /* required by libwebviewchromium_plat_support */
51      android::uirenderer::ColorSpaceToADataSpace*;
52      android::uirenderer::WebViewFunctor_*;
53      GraphicsJNI::getNativeCanvas*;
54      SkCanvasStateUtils::ReleaseCanvasState*;
55      SkColorSpace::toXYZD50*;
56      SkColorSpace::transferFn*;
57      /* required by libjnigraphics */
58      android::ImageDecoder::*;
59      android::uirenderer::DataSpaceToColorSpace*;
60      android::uirenderer::ColorSpaceToADataSpace*;
61      getMimeType*;
62      SkAndroidCodec::*;
63      SkCodec::MakeFromStream*;
64      SkColorInfo::*;
65      SkFILEStream::SkFILEStream*;
66      SkImageInfo::*;
67      SkMemoryStream::SkMemoryStream*;
68    };
69  local:
70    *;
71};
72