• 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    APaint_setImageFilter;
36    ARegionIterator_acquireIterator;
37    ARegionIterator_releaseIterator;
38    ARegionIterator_isComplex;
39    ARegionIterator_isDone;
40    ARegionIterator_next;
41    ARegionIterator_getRect;
42    ARegionIterator_getTotalBounds;
43    hwui_uses_vulkan;
44  local:
45    *;
46};
47
48LIBHWUI_PLATFORM {
49  global:
50    extern "C++" {
51      /* required by libwebviewchromium_plat_support */
52      android::uirenderer::ColorSpaceToADataSpace*;
53      android::uirenderer::WebViewFunctor_*;
54      GraphicsJNI::getNativeCanvas*;
55      SkCanvasStateUtils::ReleaseCanvasState*;
56      SkColorSpace::toXYZD50*;
57      SkColorSpace::transferFn*;
58      /* required by libjnigraphics */
59      android::ImageDecoder::*;
60      android::uirenderer::DataSpaceToColorSpace*;
61      android::uirenderer::ColorSpaceToADataSpace*;
62      getMimeType*;
63      SkAndroidCodec::*;
64      SkCodec::MakeFromStream*;
65      SkColorInfo::*;
66      SkFILEStream::SkFILEStream*;
67      SkImageInfo::*;
68      SkMemoryStream::SkMemoryStream*;
69    };
70  local:
71    *;
72};
73