mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-11 13:48:23 +02:00
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 --HG-- extra : moz-landing-system : lando
2 lines
No EOL
75 B
Text
2 lines
No EOL
75 B
Text
[java.lang.IllegalStateException = skip:true]
|
|
<init>(Ljava/lang/String;)V = |