John Reck | 712eae0 | 2021-10-01 15:24:27 -0400 | [diff] [blame] | 1 | LIBHWUI { # platform-only /* HWUI isn't current a module, so all of these are still platform-only */ |
Derek Sollenberger | 2c5d634 | 2020-04-09 09:44:54 -0400 | [diff] [blame] | 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; |
Alec Mouri | 6f6679b | 2024-07-15 22:43:54 +0000 | [diff] [blame] | 16 | ABitmap_compressWithGainmap; |
Derek Sollenberger | 2c5d634 | 2020-04-09 09:44:54 -0400 | [diff] [blame] | 17 | ABitmap_getHardwareBuffer; |
| 18 | ACanvas_isSupportedPixelFormat; |
| 19 | ACanvas_getNativeHandleFromJava; |
| 20 | ACanvas_createCanvas; |
| 21 | ACanvas_destroyCanvas; |
| 22 | ACanvas_setBuffer; |
| 23 | ACanvas_clipRect; |
| 24 | ACanvas_clipOutRect; |
| 25 | ACanvas_drawRect; |
| 26 | ACanvas_drawBitmap; |
| 27 | init_android_graphics; |
| 28 | register_android_graphics_classes; |
| 29 | register_android_graphics_GraphicsStatsService; |
| 30 | zygote_preload_graphics; |
| 31 | AMatrix_getContents; |
chaviw | 8ca2be7 | 2021-08-10 13:56:04 -0500 | [diff] [blame] | 32 | AMatrix_newInstance; |
Derek Sollenberger | 2c5d634 | 2020-04-09 09:44:54 -0400 | [diff] [blame] | 33 | APaint_createPaint; |
| 34 | APaint_destroyPaint; |
| 35 | APaint_setBlendMode; |
Pat Manning | 1239a7c | 2024-01-30 13:09:42 +0000 | [diff] [blame] | 36 | APaint_setImageFilter; |
Derek Sollenberger | 2c5d634 | 2020-04-09 09:44:54 -0400 | [diff] [blame] | 37 | ARegionIterator_acquireIterator; |
| 38 | ARegionIterator_releaseIterator; |
| 39 | ARegionIterator_isComplex; |
| 40 | ARegionIterator_isDone; |
| 41 | ARegionIterator_next; |
| 42 | ARegionIterator_getRect; |
| 43 | ARegionIterator_getTotalBounds; |
Leon Scroggins III | cd9e7b4 | 2022-04-08 15:27:57 -0400 | [diff] [blame] | 44 | hwui_uses_vulkan; |
Derek Sollenberger | 2c5d634 | 2020-04-09 09:44:54 -0400 | [diff] [blame] | 45 | local: |
| 46 | *; |
| 47 | }; |
| 48 | |
| 49 | LIBHWUI_PLATFORM { |
| 50 | global: |
| 51 | extern "C++" { |
| 52 | /* required by libwebviewchromium_plat_support */ |
| 53 | android::uirenderer::ColorSpaceToADataSpace*; |
| 54 | android::uirenderer::WebViewFunctor_*; |
| 55 | GraphicsJNI::getNativeCanvas*; |
| 56 | SkCanvasStateUtils::ReleaseCanvasState*; |
| 57 | SkColorSpace::toXYZD50*; |
| 58 | SkColorSpace::transferFn*; |
| 59 | /* required by libjnigraphics */ |
| 60 | android::ImageDecoder::*; |
| 61 | android::uirenderer::DataSpaceToColorSpace*; |
| 62 | android::uirenderer::ColorSpaceToADataSpace*; |
| 63 | getMimeType*; |
| 64 | SkAndroidCodec::*; |
| 65 | SkCodec::MakeFromStream*; |
| 66 | SkColorInfo::*; |
| 67 | SkFILEStream::SkFILEStream*; |
| 68 | SkImageInfo::*; |
| 69 | SkMemoryStream::SkMemoryStream*; |
| 70 | }; |
| 71 | local: |
| 72 | *; |
| 73 | }; |