Commit Graph

68 Commits

Author SHA1 Message Date
Benoit Jacob
993600d299 Bug 950203 - Correctly handle EGL_NO_SURFACE result from eglCreateWindowSurface - r=kats 2013-12-18 15:49:11 -05:00
Benoit Jacob
19ef7340ea 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
32c783ca45 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
d522296441 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
44c927d7a3 Bug 834243 - avoid calling serverSurfaceChanged before the compositor is created - r=vladv 2013-11-20 17:50:54 -05:00
Ryan VanderMeulen
99217d0d2e 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
862dd3de5f 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
eeff611692 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
5242a8937e 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
e1e0174f07 Bug 925608 - 8/8: remove mServerSurfaceValid - r=kats 2013-11-15 11:29:01 -05:00
Benoit Jacob
1d3a8d8fae Bug 925608 - 7/8: rename ProvideEGLSurface to CreateEGLSurfaceForCompositor - r=kats 2013-11-15 11:28:59 -05:00
Benoit Jacob
b56e9f0b0c Bug 925608 - 6/8: rename createCompositor to updateCompositor - r=kats 2013-11-15 11:28:57 -05:00
Benoit Jacob
0fbd16e75b Bug 925608 - 5/8: simplify serverSurfaceChanged callback - r=kats 2013-11-15 11:28:56 -05:00
Benoit Jacob
d6ee05d835 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
009d0cc6b3 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
5e059f1fa7 Bug 925608 - 2/8: Rename mSurface to mClientSurface - r=kats 2013-11-15 11:28:50 -05:00
Benoit Jacob
5b5eb3c161 Bug 925608 - 1/8: Rename mSurfaceValid to mServerSurfaceValid for clarity - r=kats 2013-11-15 11:28:49 -05:00
Benoit Jacob
5480ece61e 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
c39ee0c5d6 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
353823f45e Bug 884047 - Add some diagnostic logging to help investigation. r=blassey 2013-09-04 09:12:46 -04:00
Chris Lord
c92aaf4fa7 Bug 803299 - Enable 32-bit colour on Android. r=kats 2013-07-04 14:53:25 +01:00
Kartikaya Gupta
d04aec1fc4 Bug 876348 - Fix possible NPE in GLController. r=snorp 2013-06-05 12:07:04 -04:00
Ehsan Akhgari
6c61de1ac0 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
1cb9b17f7f 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
4a839150dd 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
7d45dd3311 Bug 803299 - Enable 32-bit colour on Android. r=kats 2013-05-28 18:50:16 +01:00
Ryan VanderMeulen
a7e1167b84 Backed out changesets 0cb5418906cf and 3c366c865e73 (bug 803299) for Android bustage.
CLOSED TREE
2013-05-02 15:45:20 -04:00
Chris Lord
1fd09a6e31 Bug 803299 - Enable 32-bit colour on Android. r=kats 2013-05-02 18:25:16 +01:00
Chris Lord
a660a0c6af 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
c25fdeb40d Bug 802130 - Move assertOnThread functions to a new ThreadUtils class. r=mfinkle 2013-03-15 11:52:52 +01:00
Brian Nicholson
2d98f0cf71 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
71b0a3cfca Bug 846786 - Allow GfxInfoThread.hasData() to be called after GfxInfoThread.getData(). r=Cwiiis 2013-03-02 07:52:04 -05:00
Kartikaya Gupta
c9cda0b4bc 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
2fe60aac17 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
3f826a8b7b Bug 844275 - Make the GLController a singleton instance. r=Cwiiis 2013-02-28 13:28:23 -05:00
Kartikaya Gupta
fcf89dce13 Bug 844275 - Move mCompositorCreated and associated methods from GeckoLayerClient to GLController. r=Cwiiis 2013-02-28 13:28:23 -05:00
Kartikaya Gupta
09440c33a9 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
0bc444d6e2 Bug 845612 - Add @Override annotations for implemented interfaces. r=kats 2013-02-26 21:48:00 -08:00
Chris Lord
cf7e552096 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
a752c5511f 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
1814d8a991 Bug 785597 - Get rid of unused mGLVersion field. r=snorp 2012-12-21 11:33:09 -05:00
Kartikaya Gupta
c4b3061dfd Bug 785597 - Remove a bunch of unused code. r=snorp 2012-12-21 11:32:52 -05:00
Kartikaya Gupta
1659b1784a Bug 809199 - Update setViewportSize to take width/height instead of a FloatSize. r=Cwiiis 2012-11-07 11:47:08 -05:00
Kartikaya Gupta
4f236aa54e 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
f554e798e4 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
b5966430df Bug 779152 - Render into a TextureView on Android where available r=kats 2012-07-31 13:30:46 -04:00
Chris Peterson
dfd0007214 Bug 778472 - Part 1: Remove unused and redundant import statements. r=mfinkle 2012-07-27 17:54:41 -07:00
Kartikaya Gupta
90cac38916 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
8c47b05bd3 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
2afc430f06 Bug 758635 - LayerRenderer doesn't need to implement GLSurfaceView.Renderer. r=jrmuizel 2012-06-03 17:49:50 -04:00