Commit Graph

68 Commits

Author SHA1 Message Date
Benoit Jacob
6d741f377e Bug 950203 - Correctly handle EGL_NO_SURFACE result from eglCreateWindowSurface - r=kats 2013-12-18 15:49:11 -05:00
Benoit Jacob
ea5169c13c Bug 834243 - Revert to old behavior of holding off from starting the compositor until we have successfully preallocated its EGLSurface - r=snorp 2013-11-22 18:23:36 -05:00
Benoit Jacob
98b5b0435d Bug 834243 - Revert to calling eglInitialize in Java; do it first in a EGLPreloadingThread to avoid blocking the UI thread for a long time - r=snorp 2013-11-22 18:23:34 -05:00
Chris Kitching
5637605ef4 Bug 913985: Part 1 - Introduce a nicer annotation API for the generator, and migrate all existing annotations to it. r=kats
--HG--
rename : mobile/android/base/mozglue/OptionalGeneratedParameter.java => mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java
rename : mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java => mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java
2013-11-12 10:40:59 -08:00
Benoit Jacob
4d158f396f Bug 834243 - avoid calling serverSurfaceChanged before the compositor is created - r=vladv 2013-11-20 17:50:54 -05:00
Ryan VanderMeulen
51ab56ef96 Backed out 7 changesets (bug 913985) for intermittent Android crashes.
Backed out changeset 53513a959cf0 (bug 913985)
Backed out changeset d23d1e678417 (bug 913985)
Backed out changeset a9c9187b4f4a (bug 913985)
Backed out changeset c6b02e4a3e35 (bug 913985)
Backed out changeset 895dae322e3c (bug 913985)
Backed out changeset 3d97e6a53313 (bug 913985)
Backed out changeset 892bb017f8ba (bug 913985)

--HG--
rename : build/annotationProcessors/AnnotationInfo.java => build/annotationProcessors/MethodWithAnnotationInfo.java
rename : build/annotationProcessors/utils/AlphabeticAnnotatableEntityComparator.java => build/annotationProcessors/utils/AlphabeticMethodComparator.java
rename : build/annotationProcessors/utils/GeneratableElementIterator.java => build/annotationProcessors/utils/GeneratableEntryPointIterator.java
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java
rename : mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java => mobile/android/base/mozglue/OptionalGeneratedParameter.java
2013-11-19 10:56:09 -05:00
Chris Kitching
7ae9637d82 Bug 913985 - Part 1: introduce a nicer annotation API for the generator, and migrate all existing annotations to it. r=kats
--HG--
rename : mobile/android/base/mozglue/OptionalGeneratedParameter.java => mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java
rename : mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java => mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java
2013-11-12 10:40:59 -08:00
Benoit Jacob
32bc654a3e Bug 834243 - back out part 8/8 of bug 925608 on suspiscion that it may be causing EGLSurface creation failures causing crashes on bug 834243 - no review, backing out recent change 2013-11-18 17:57:59 -05:00
Benoit Jacob
78e1f33ca4 Bug 834243 - defer updateCompositor to a runnable on the LayerView in hope that it avoids subsequent EGLSurface creation failures - r=kats 2013-11-18 17:57:47 -05:00
Benoit Jacob
c33ef78fa6 Bug 925608 - 8/8: remove mServerSurfaceValid - r=kats 2013-11-15 11:29:01 -05:00
Benoit Jacob
15b3f49236 Bug 925608 - 7/8: rename ProvideEGLSurface to CreateEGLSurfaceForCompositor - r=kats 2013-11-15 11:28:59 -05:00
Benoit Jacob
3959bcb10c Bug 925608 - 6/8: rename createCompositor to updateCompositor - r=kats 2013-11-15 11:28:57 -05:00
Benoit Jacob
f6d2b7eed9 Bug 925608 - 5/8: simplify serverSurfaceChanged callback - r=kats 2013-11-15 11:28:56 -05:00
Benoit Jacob
c7ed367a33 Bug 925608 - 4/8: Consistently manage the client surface on the GLContext side. Java only provides the function to create a surface - r=kats,jgilbert
Also folded in the originally separate patch on bug 936968 because it didn't work on its own.
2013-11-15 11:28:54 -05:00
Benoit Jacob
8743d9da4a Bug 925608 - 3/8: rename GLController's surfaceDestroyed and surfaceChanged to clarify that they refer to the server surface - r=kats 2013-11-15 11:28:52 -05:00
Benoit Jacob
afc7ddf2c5 Bug 925608 - 2/8: Rename mSurface to mClientSurface - r=kats 2013-11-15 11:28:50 -05:00
Benoit Jacob
13d0a88524 Bug 925608 - 1/8: Rename mSurfaceValid to mServerSurfaceValid for clarity - r=kats 2013-11-15 11:28:49 -05:00
Benoit Jacob
49366dcf8c Bug 937204 - 3/3. Kill GfxInfoThread. Instead, get GL strings from the compositor - r=kats,jrmuizel 2013-11-15 11:28:43 -05:00
Chris Kitching
c0417f1587 Bug 794981 - Part 1: Annotate Java methods that are to have JNI wrappers generated. r=kats 2013-09-09 08:57:36 -04:00
Kartikaya Gupta
50abb51412 Bug 884047 - Add some diagnostic logging to help investigation. r=blassey 2013-09-04 09:12:46 -04:00
Chris Lord
d706cc253b Bug 803299 - Enable 32-bit colour on Android. r=kats 2013-07-04 14:53:25 +01:00
Kartikaya Gupta
6bbd0b039a Bug 876348 - Fix possible NPE in GLController. r=snorp 2013-06-05 12:07:04 -04:00
Ehsan Akhgari
994b787c21 Backed out 8 changesets (bug 803299) because it makes Tcheckerboard and Tpan so much worse
Backed out changeset f0311781c218 (bug 803299)
Backed out changeset 946467115924 (bug 803299)
Backed out changeset 59af481d8888 (bug 803299)
Backed out changeset 99a03f7ca8a4 (bug 803299)
Backed out changeset 44539f533a92 (bug 803299)
Backed out changeset 3f3963a3ebf6 (bug 803299)
Backed out changeset 5269f0483d1e (bug 803299)
Backed out changeset a9485787fdb1 (bug 803299)
2013-05-29 17:14:27 -04:00
Chris Lord
f5b50f939c Bug 803299 - Enable 32-bit colour on Android. r=kats
--HG--
extra : rebase_source : e494442a5ae7c906465f31924e4f54d815130972
2013-05-29 15:25:40 +01:00
Trevor Saunders
11be8dcfb7 backout 7a1706d0e5b0 to 8c8b6adebb4c for frequent failures in scrolling/text-1.html and scrolling/text-2.html reftests on a CLOSED TREE 2013-05-28 18:32:29 -04:00
Chris Lord
11527759ab Bug 803299 - Enable 32-bit colour on Android. r=kats 2013-05-28 18:50:16 +01:00
Ryan VanderMeulen
aec56cccac Backed out changesets 0cb5418906cf and 3c366c865e73 (bug 803299) for Android bustage.
CLOSED TREE
2013-05-02 15:45:20 -04:00
Chris Lord
fa220e64cd Bug 803299 - Enable 32-bit colour on Android. r=kats 2013-05-02 18:25:16 +01:00
Chris Lord
e74007c62d Bug 852526 - Make sure the compositor starts unpaused and with a size. r=kats
This changes compositor creation so that we can specify an initial size and
makes sure the local variable in nsWindow reflects that the compositor starts
unpaused.
2013-03-20 22:45:07 +00:00
Kartikaya Gupta
48ba402f28 Bug 802130 - Move assertOnThread functions to a new ThreadUtils class. r=mfinkle 2013-03-15 11:52:52 +01:00
Brian Nicholson
cd32dfd543 Bug 850487 - More code cleanup (@Overrides and unused imports). r=kats
--HG--
extra : rebase_source : 376574e0c41b91c16a6be335584a4a61768bb4a9
2013-03-13 13:20:57 -07:00
Kartikaya Gupta
5793f05bf0 Bug 846786 - Allow GfxInfoThread.hasData() to be called after GfxInfoThread.getData(). r=Cwiiis 2013-03-02 07:52:04 -05:00
Kartikaya Gupta
7041e15b1f Bug 844275 - Move the GfxInfoThread so that it is guaranteed to run to completion before compositor creation. r=Cwiiis 2013-02-28 13:28:24 -05:00
Kartikaya Gupta
bd341fe084 Bug 844275 - Drive the layer manager creation from the GLController rather than GetLayerManager. r=Cwiiis 2013-02-28 13:28:23 -05:00
Kartikaya Gupta
b7560520fb Bug 844275 - Make the GLController a singleton instance. r=Cwiiis 2013-02-28 13:28:23 -05:00
Kartikaya Gupta
3fc63dc2c0 Bug 844275 - Move mCompositorCreated and associated methods from GeckoLayerClient to GLController. r=Cwiiis 2013-02-28 13:28:23 -05:00
Kartikaya Gupta
29285115b8 Bug 844275 - Ensure that the GeckoLayerClient always starts off with an accurate viewport size. r=Cwiiis 2013-02-28 13:28:23 -05:00
Brian Nicholson
09bb93a1e8 Bug 845612 - Add @Override annotations for implemented interfaces. r=kats 2013-02-26 21:48:00 -08:00
Chris Lord
d0161b544c Bug 827844 - Fix flickering when layout changes on Firefox/android. r=kats,bgirard
Fix flickering that can occur when the surface size changes due to a layout
change (such as the virtual keyboard appearing/disappearing) on Android.
2013-01-10 17:32:43 +00:00
Kartikaya Gupta
ef869e5ac5 Bug 826300 - Don't block on waiting for a valid surface when trying to resume the compositor; allow resuming to fail gracefully. r=snorp,BenWa 2013-01-10 11:21:10 -05:00
Kartikaya Gupta
1df52c4fc2 Bug 785597 - Get rid of unused mGLVersion field. r=snorp 2012-12-21 11:33:09 -05:00
Kartikaya Gupta
51e401c59c Bug 785597 - Remove a bunch of unused code. r=snorp 2012-12-21 11:32:52 -05:00
Kartikaya Gupta
d4974f9af5 Bug 809199 - Update setViewportSize to take width/height instead of a FloatSize. r=Cwiiis 2012-11-07 11:47:08 -05:00
Kartikaya Gupta
c0d9057cff Bug 780699 - Prevent possible deadlock by reducing the scope of a synchronized block in GLController. r=ajuma 2012-08-08 11:37:46 -04:00
Chris Peterson
20927a2f40 Bug 778472 - Part 3: Standardize order of import statements: org.mozilla, com, net, org, android, java. r=mfinkle 2012-07-27 17:53:54 -07:00
James Willcox
7d9aa5cde7 Bug 779152 - Render into a TextureView on Android where available r=kats 2012-07-31 13:30:46 -04:00
Chris Peterson
22f5fd455c Bug 778472 - Part 1: Remove unused and redundant import statements. r=mfinkle 2012-07-27 17:54:41 -07:00
Kartikaya Gupta
bf7ccdb81c Bug 769269 - Update the graphics code to be able to deal with blowing away the layer controller, client, and view and creating them afresh. r=ajuma 2012-07-13 10:19:46 -04:00
Kartikaya Gupta
d70bdb620c Bug 758635 - Move a call to resizeView so that we don't send two resize events to gecko when the keyboard comes up. r=jrmuizel 2012-06-03 17:50:00 -04:00
Kartikaya Gupta
73f5daa6bc Bug 758635 - LayerRenderer doesn't need to implement GLSurfaceView.Renderer. r=jrmuizel 2012-06-03 17:49:50 -04:00