Commit Graph

51 Commits

Author SHA1 Message Date
Benoit Jacob
dee2852cbd 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
f123455a1a 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
f91d238022 Bug 884047 - Add some diagnostic logging to help investigation. r=blassey 2013-09-04 09:12:46 -04:00
Chris Lord
c3aabd3407 Bug 803299 - Enable 32-bit colour on Android. r=kats 2013-07-04 14:53:25 +01:00
Kartikaya Gupta
80edcf366e Bug 876348 - Fix possible NPE in GLController. r=snorp 2013-06-05 12:07:04 -04:00
Ehsan Akhgari
6a7064a975 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
50319e6e66 Bug 803299 - Enable 32-bit colour on Android. r=kats 2013-05-29 15:25:40 +01:00
Trevor Saunders
0912ad014d 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
b43c75dc8a Bug 803299 - Enable 32-bit colour on Android. r=kats 2013-05-28 18:50:16 +01:00
Ryan VanderMeulen
ffbcd55751 Backed out changesets 0cb5418906cf and 3c366c865e73 (bug 803299) for Android bustage.
CLOSED TREE
2013-05-02 15:45:20 -04:00
Chris Lord
5962935c94 Bug 803299 - Enable 32-bit colour on Android. r=kats 2013-05-02 18:25:16 +01:00
Chris Lord
eb2dba59d4 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
87c2200905 Bug 802130 - Move assertOnThread functions to a new ThreadUtils class. r=mfinkle 2013-03-15 11:52:52 +01:00
Brian Nicholson
278a2f521d Bug 850487 - More code cleanup (@Overrides and unused imports). r=kats 2013-03-13 13:20:57 -07:00
Kartikaya Gupta
582f63bdf7 Bug 846786 - Allow GfxInfoThread.hasData() to be called after GfxInfoThread.getData(). r=Cwiiis 2013-03-02 07:52:04 -05:00
Kartikaya Gupta
6da27d83f3 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
ef9f26fb84 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
dc5153f1d7 Bug 844275 - Make the GLController a singleton instance. r=Cwiiis 2013-02-28 13:28:23 -05:00
Kartikaya Gupta
db14d0f886 Bug 844275 - Move mCompositorCreated and associated methods from GeckoLayerClient to GLController. r=Cwiiis 2013-02-28 13:28:23 -05:00
Kartikaya Gupta
1f29e73ea6 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
1c31a98bcf Bug 845612 - Add @Override annotations for implemented interfaces. r=kats 2013-02-26 21:48:00 -08:00
Chris Lord
fd9dd3979f 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
107303662b 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
4f9c4a59df Bug 785597 - Get rid of unused mGLVersion field. r=snorp 2012-12-21 11:33:09 -05:00
Kartikaya Gupta
ae35772ec1 Bug 785597 - Remove a bunch of unused code. r=snorp 2012-12-21 11:32:52 -05:00
Kartikaya Gupta
4b59521ed5 Bug 809199 - Update setViewportSize to take width/height instead of a FloatSize. r=Cwiiis 2012-11-07 11:47:08 -05:00
Kartikaya Gupta
6a41991340 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
885e571e16 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
3d2b06bdc3 Bug 779152 - Render into a TextureView on Android where available r=kats 2012-07-31 13:30:46 -04:00
Chris Peterson
71e8d98bae Bug 778472 - Part 1: Remove unused and redundant import statements. r=mfinkle 2012-07-27 17:54:41 -07:00
Kartikaya Gupta
dbe3816e67 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
2e641fd793 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
8d5cb22fce Bug 758635 - LayerRenderer doesn't need to implement GLSurfaceView.Renderer. r=jrmuizel 2012-06-03 17:49:50 -04:00
Jeff Muizelaar
91c0fec846 Bug 760226. Remove unneeded EGLContext creation in GLController.java. r=ajuma
This is old and causing some sadness on platforms with a limited number of
contexts.
2012-05-31 16:14:56 -04:00
Benoit Girard
7160795100 Bug 757944 - Remove GL calls made without a context. r=jrmuizelaar 2012-05-31 15:27:45 -04:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ali Juma
13440b7d69 Bug 745243 - Wait for surfaceChanged before calling GLController.provideEGLSurface. r=kats 2012-05-18 15:58:46 -04:00
Jeff Muizelaar
926e51ef1e Bug 740898. Merge LayerView and GLSurfaceView. r=pcwalton
Once, GLThread is gone we don't have any need to support both styles of GL
rendering. Merging LayerView and FlexibleGLSurfaceView makes it clearer what's
going on, and I expect we'll also be able to take out some dead code from the
resulting LayerView.

This patch is mostly uninteresting. The interesting bits are that
implementations of requestRender and the constructors are merged. Everything
else is mostly copying over methods and renaming FlexibleGLSurfaceView's
mController to mGLController.
2012-04-05 11:28:50 -04:00
Jeff Muizelaar
098c50caf5 Backed out changeset 0f8439284834
The bug number was wrong.
2012-04-05 11:27:02 -04:00
Jeff Muizelaar
966117f7f3 Bug 730898. Merge LayerView and GLSurfaceView. r=pcwalton
Once, GLThread is gone we don't have any need to support both styles of GL
rendering. Merging LayerView and FlexibleGLSurfaceView makes it clearer what's
going on, and I expect we'll also be able to take out some dead code from the
resulting LayerView.

This patch is mostly uninteresting. The interesting bits are that
implementations of requestRender and the constructors are merged. Everything
else is mostly copying over methods and renaming FlexibleGLSurfaceView's
mController to mGLController.
2012-03-30 14:21:59 -04:00
Joe Drew
a3d1b04c00 Bug 741166 - Add clarifying comment. DONTBUILD 2012-04-02 15:57:53 -04:00
Joe Drew
74d68614aa Bug 741166 - Restore waitForValidSurface, removed in error in bug 737949. r=ajuma 2012-04-02 15:43:21 -04:00
Joe Drew
25d51a6ab4 Bug 737949 - Don't initialize EGL from Fennec java code, and remove GLThread altogether. r=pcwalton,jrmuizel 2012-03-30 10:50:54 -07:00
Ali Juma
3050bdce30 Bug 737031 - Add EGL error code to error messages in GLController. r=bgirard 2012-03-19 13:35:13 -04:00
Ali Juma
5d9b6a1d71 Bug 736205 - Make GLController.disposeGLContext actually destroy the context. r=bgirard 2012-03-15 15:58:32 -04:00
Ali Juma
3025b46efd Bug 736099 - Prevent a null pointer dereference in GLController.disposeGLContext. r=kats 2012-03-15 15:57:54 -04:00
Kartikaya Gupta
25e0b6a0e2 Bug 725095 - Various fixes to get maple ready to land on m-c. r=Cwiiis
- Disable fps layer.
- Add some comments to FlexibleGLSurfaceView.
- Get rid of getBufferSize and some other related cleanup.
- Add some comments to compositor-invoked functions in GeckoLayerClient.
- Take out unnecessary parameters to Rect constructor.
- Move class variable initialization to constructor.
- Take out kUsingGLLayers.
- Add a comment about changes in background color.
- Fix up convertViewPointToLayerPoint to be more correct.
- Add note in setPositionAndResolution about how it might be wrong.
- Modify provideEGLSurface to not store the surface in mEGLSurface.
- Remove some unneeded, commented out code in GLThread.
2012-03-12 16:20:19 -04:00
Ali Juma
22afdc67bc Code cleanup. 2012-02-09 17:39:04 -05:00
Ali Juma
5c47a7502a Move surface ownership to GLContextProviderEGL. 2012-02-06 16:53:09 -05:00
Benoit Girard
b9cbdb3ed0 Fix problems with Nexus S init 2012-02-02 13:57:38 -05:00