Invert screen pixels in `nsWindow`. Update `RequestScreenPixels` in `nsWindow` to accept a `GeckoResult` as an argument and save as a `GlobalRef`. Update `RecvScreenPixels` in `nsWindow` in order to invert the image before sending over JNI rather than requiring callers to invert the image themselves. Complete the `GeckoResult` if there is one in `RecvScreenPixels` instead of making a callback to the compositor. Remove `RecvScreenPixels` from `GeckoSession` and `GeckoSession.Compositor`. Move `RecvScreenPixels` and `getPixels` to `GeckoDisplay` Rename `getPixels` to `capturePixels` Return Bitmap from `RecvScreenPixels`. Return `GeckoResult` from `capturePixels`. Add doc comments to new methods and classes. Update FennecNativeDriver to use `GeckoView` and `GeckoResult`. Update API docs and Changelog Add tests Differential Revision: https://phabricator.services.mozilla.com/D21833
10 lines
307 B
Plaintext
10 lines
307 B
Plaintext
[android.graphics.Bitmap = skip:true]
|
|
copyPixelsFromBuffer(Ljava/nio/Buffer;)V =
|
|
createBitmap(IILandroid/graphics/Bitmap$Config;)Landroid/graphics/Bitmap; =
|
|
|
|
[android.graphics.Bitmap$Config = skip:true]
|
|
valueOf(Ljava/lang/String;)Landroid/graphics/Bitmap$Config; =
|
|
ALPHA_8 =
|
|
ARGB_8888 =
|
|
RGBA_F16 =
|
|
RGB_565 = |