Commit Graph

26 Commits

Author SHA1 Message Date
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
Jeff Muizelaar
81ce6b0c02 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.

--HG--
extra : rebase_source : cb867c8d9dcfa145fc6b9e95cc7bfc9652c0bc2d
2012-05-31 16:14:56 -04:00
Benoit Girard
b497180aad Bug 757944 - Remove GL calls made without a context. r=jrmuizelaar
--HG--
extra : rebase_source : aabc39ae9f9d4a5b66eadf87738af4ae38e1c889
2012-05-31 15:27:45 -04:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ali Juma
eaec281765 Bug 745243 - Wait for surfaceChanged before calling GLController.provideEGLSurface. r=kats 2012-05-18 15:58:46 -04:00
Jeff Muizelaar
f9b0fd8b45 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
4f2cb20d6a Backed out changeset 0f8439284834
The bug number was wrong.
2012-04-05 11:27:02 -04:00
Jeff Muizelaar
1268f26df1 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
16e6932efe Bug 741166 - Add clarifying comment. DONTBUILD
--HG--
extra : rebase_source : 4d2e524732e6a02d99f3c2b68d4ac066399b61b3
2012-04-02 15:57:53 -04:00
Joe Drew
110c76a0cf Bug 741166 - Restore waitForValidSurface, removed in error in bug 737949. r=ajuma 2012-04-02 15:43:21 -04:00
Joe Drew
380cd4cd8b 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
88035a4af3 Bug 737031 - Add EGL error code to error messages in GLController. r=bgirard 2012-03-19 13:35:13 -04:00
Ali Juma
65f4af1f4a Bug 736205 - Make GLController.disposeGLContext actually destroy the context. r=bgirard 2012-03-15 15:58:32 -04:00
Ali Juma
766c4e4874 Bug 736099 - Prevent a null pointer dereference in GLController.disposeGLContext. r=kats 2012-03-15 15:57:54 -04:00
Kartikaya Gupta
bc6777aae5 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
c1890c2bfc Code cleanup. 2012-02-09 17:39:04 -05:00
Ali Juma
c30eba6e2e Move surface ownership to GLContextProviderEGL.
--HG--
extra : rebase_source : a3f83d279de5087a521a938d66c4e7b5dee79d74
2012-02-06 16:53:09 -05:00
Benoit Girard
ea4615353c Fix problems with Nexus S init 2012-02-02 13:57:38 -05:00
Patrick Walton
2156d5fbf1 Initial import of the flexible GL surface view 2012-01-31 21:35:52 -08:00