Derek Sollenberger | 2c5d634 | 2020-04-09 09:44:54 -0400 | [diff] [blame] | 1 | LIBHWUI { |
| 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 | APaint_createPaint; |
| 32 | APaint_destroyPaint; |
| 33 | APaint_setBlendMode; |
| 34 | ARegionIterator_acquireIterator; |
| 35 | ARegionIterator_releaseIterator; |
| 36 | ARegionIterator_isComplex; |
| 37 | ARegionIterator_isDone; |
| 38 | ARegionIterator_next; |
| 39 | ARegionIterator_getRect; |
| 40 | ARegionIterator_getTotalBounds; |
| 41 | ARenderThread_dumpGraphicsMemory; |
| 42 | local: |
| 43 | *; |
| 44 | }; |
| 45 | |
| 46 | LIBHWUI_PLATFORM { |
| 47 | global: |
| 48 | extern "C++" { |
| 49 | /* required by libwebviewchromium_plat_support */ |
| 50 | android::uirenderer::ColorSpaceToADataSpace*; |
| 51 | android::uirenderer::WebViewFunctor_*; |
| 52 | GraphicsJNI::getNativeCanvas*; |
| 53 | SkCanvasStateUtils::ReleaseCanvasState*; |
| 54 | SkColorSpace::toXYZD50*; |
| 55 | SkColorSpace::transferFn*; |
| 56 | /* required by libjnigraphics */ |
| 57 | android::ImageDecoder::*; |
| 58 | android::uirenderer::DataSpaceToColorSpace*; |
| 59 | android::uirenderer::ColorSpaceToADataSpace*; |
| 60 | getMimeType*; |
| 61 | SkAndroidCodec::*; |
| 62 | SkCodec::MakeFromStream*; |
| 63 | SkColorInfo::*; |
| 64 | SkFILEStream::SkFILEStream*; |
| 65 | SkImageInfo::*; |
| 66 | SkMemoryStream::SkMemoryStream*; |
| 67 | }; |
| 68 | local: |
| 69 | *; |
| 70 | }; |