Ali Juma
9b55f84e74
Bug 736205 - Make GLController.disposeGLContext actually destroy the context. r=bgirard
2012-03-15 15:58:32 -04:00
Ali Juma
7600a9a801
Bug 736099 - Prevent a null pointer dereference in GLController.disposeGLContext. r=kats
2012-03-15 15:57:54 -04:00
Kartikaya Gupta
e5c84b3aae
Bug 736125 - Fix Java 7 compile warnings. r=sriram
2012-03-15 15:01:52 -04:00
Kartikaya Gupta
0435827509
Bug 735612 - Remove unneeded call to notifyLayerClientOfGeometryChange. r=Cwiiis
2012-03-15 10:43:32 -04:00
Kartikaya Gupta
883f015b2b
Bug 729646 - Allow Java to update the display port on background tabs as well, so that we draw the right thing upon switching to it. r=Cwiiis
2012-03-15 10:38:43 -04:00
Kartikaya Gupta
95c636bad1
Bug 729646 - Remove some annoying logging. r=Cwiiis
2012-03-15 10:38:43 -04:00
James Willcox
fb9607dbb7
Bug 728371 - Make Flash work with GLES 2.0 and GL layers r=pcwalton
...
--HG--
extra : rebase_source : 4b845e7dc4224bfd807fb757e7199c91655c0d69
2012-03-12 13:03:54 -04:00
Kartikaya Gupta
17908435d6
Back out 89833e1b3016 (bug 707571) as it is broken with the new maple rewrite. r=backout
2012-03-13 17:11:28 -04:00
Kartikaya Gupta
f8a8d4a442
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
Kartikaya Gupta
27d3658b62
Bug 735180 - Remove max(0,..) clamps when calculating display port margins; negative margins are needed during overscroll. r=Cwiiis
2012-03-13 12:14:25 -04:00
Ehsan Akhgari
39bfe969ec
Backout changeset d2340d74fc19 because of bug 735076
2012-03-12 18:51:44 -04:00
Chris Lord
812a652c60
Bug 732756 - Fix layers with a mask appearing squashed. r=pcwalton
...
If a mask was set on a layer, each sub-rectangle would end up drawing with the
full texture extents.
2012-03-12 18:49:01 +00:00
James Willcox
2edc6422b3
Bug 728371 - Make Flash work with GLES 2.0 and GL layers r=pcwalton
...
--HG--
extra : rebase_source : f7a9eb9dab84cb35ba17fb1551051dae2e744d00
2012-03-12 13:03:54 -04:00
Kartikaya Gupta
75d5d024ed
Bug 732564 - Align the rotation/resize codepath with The Grand Viewport Plan of 2012. r=Cwiiis
2012-03-12 12:03:38 -04:00
Kartikaya Gupta
64b509355a
Bug 732564 - Make sure to update the display port when we get a viewport update. r=Cwiiis
2012-03-12 12:03:38 -04:00
Kartikaya Gupta
aae04c16b7
Bug 732564 - Move the display port trimming to Java so that we always have a copy of the display port being used. r=Cwiiis
2012-03-12 12:03:38 -04:00
Kartikaya Gupta
7c647e4eb6
Bug 732564 - Take out java-side draw suppression on rotation as it often prevents redrawing completely; we can put this back later if needed. r=Cwiiis
2012-03-12 12:03:38 -04:00
Kartikaya Gupta
49a8b558b5
Bug 732564 - Modify the Viewport:Update event to take a viewport and synchronously update Java with it. r=Cwiiis
2012-03-12 12:03:38 -04:00
Kartikaya Gupta
5c8a3ccb5c
Bug 732564 - Merge the UpdateAndDraw and UpdateLater events into a single Update event since they do the same thing now. r=Cwiiis
2012-03-12 12:03:37 -04:00
Kartikaya Gupta
88c95aac77
Bug 732564 - Remove JS-driven redraw; gecko should be invalidating whenever we need it to, and we're not suppressing anything now. r=Cwiiis
2012-03-12 12:03:37 -04:00
Kartikaya Gupta
53ad75e612
Bug 732091 - Part 4: Add JNI-exposed functions on GeckoLayerClient to allow the compositor to update various properties. r=Cwiiis
2012-03-12 11:50:21 -04:00
Benoit Girard
83961041e7
Merge mc->Maple
2012-03-09 11:13:30 -05:00
Jeff Muizelaar
3e461e7948
Bug 732576. make getViewTransform fast. r=kats
...
This removes the logging, locking and allocations from getViewTransform.
This reduces the time spent from an median of 6.3ms to 0.061ms
We use a new scheme where the view transform is immutable and the member
variable containing it is atomically overwritten. So we may get a slightly old
view transform but this won't be a problem.
2012-03-02 14:31:27 -05:00
Benoit Girard
921124c30e
Bug 733184 - Remove more logging from widget. r=pcwalton
2012-03-05 19:58:18 -05:00
Benoit Girard
a39be473cc
Bug 733184 - Maple: Remove some Java logging. r=pcwalton
2012-03-05 18:50:00 -05:00
Chris Lord
ac32c9beee
Bug 731570 - Don't re-upload scrollbar texture on opacity change. r=kats
...
Rather than re-render the scrollbar texture and re-upload it when the opacity
changes, just render/upload it once and use a shader to modify the opacity.
2012-03-02 12:12:08 +00:00
Chris Lord
f8ecc16e00
Bug 731570 - Rename and make default shaders public. r=pcwalton
...
Rename and make public the default shaders used in LayerRenderer, and make
loadShader a public, static method. This should make it easier for layers to
implement their own shader programs.
2012-03-02 12:12:08 +00:00
Chris Lord
e7376feda5
Bug 732013 - Fix overdraw in LayerRenderer. r=kats
...
Add an optional rectangular mask to SingleTileLayer so that we can reduce the
amount of overdraw when drawing the background and checkerboard layers.
2012-03-01 19:43:14 +00:00
Benoit Girard
3daa99ec38
Merge mc->maple
2012-03-01 10:44:44 -05:00
Kartikaya Gupta
c250ca21b7
Bug 730966 - Remove time-based throttling of viewport change events; the refresh driver does this in Gecko already. r=pcwalton
2012-02-29 16:42:53 -05:00
Kartikaya Gupta
3a1dd894f2
Bug 731619 - Fix race condition where flags are cleared before they are set. r=ehsan
2012-02-29 16:26:02 -05:00
Kartikaya Gupta
e3d5756b24
Bug 731417 - Fix missing call to checkMonitoringEnabled for the LayerRenderer we use in OMTC, and make it frame rate layer wider so it doesn't get truncated. r=pcwalton
2012-02-29 14:08:23 -05:00
Benoit Girard
475d958691
Bug 730967 - Don't recompute checkerboard color every frame. r=pwalton
...
--HG--
extra : rebase_source : 1c8251bb2e84e0039185ffe9f80d43f52d7c2bcf
2012-02-28 19:17:58 -05:00
Kartikaya Gupta
6d0f6c8ac5
Bug 730949 - Take the frame rate layer initialization out of the startup path. r=sriram
2012-02-28 18:08:43 -05:00
Kartikaya Gupta
7fca225f10
Bug 730687 - Hook up the aboutToCheckerboard code again. r=Cwiiis
2012-02-28 16:14:14 -05:00
Kartikaya Gupta
7026e92ffb
Bug 730687 - Fold updateViewport into endDrawing. r=Cwiiis
2012-02-28 16:13:26 -05:00
Kartikaya Gupta
8c39c8a618
Bug 730687 - Move the display port margin amounts out of browser.js and into Java. r=Cwiiis
2012-02-28 16:13:20 -05:00
Kartikaya Gupta
b0bc59501b
Take out a line I inadvertently left in in cset ce31a3b140a2
2012-02-26 17:27:58 -05:00
Kartikaya Gupta
b54adee8aa
Merge the origin (Point) and size (IntSize) properties of Layers into a single position (Rect) property.
...
Not only does this reduce the amount of cruft needed while getting and setting these properties, it
makes the code more consistent because we don't have half of this stored in the Layer base class and
the other half provided by an abstract method implementation in subclasses. Furthermore, this
allows the VirtualLayer size to be updated based on the area painted by gecko rather than remaining
fixed at the view size when the virtual layer was created.
2012-02-26 10:47:47 -05:00
Kartikaya Gupta
4cae639063
Take out the code that allows Java to further clip the invalid rect based on visible area.
...
This code is never used because the invalid rect we pass to DrawTo is ignored;
the nsLayoutUtils::PaintFrame uses the display port as the visible region to
paint instead. (http://mxr.mozilla.org/mozilla-central/source/layout/base/nsLayoutUtils.cpp#1603 )
2012-02-26 10:47:45 -05:00
Benoit Girard
b389f9539b
Work around white not working as Cherckerboard color. r=kats
...
--HG--
extra : rebase_source : 768fe9d869c1aff743fbc69b5f537668eedf3298
2012-02-24 15:13:39 -05:00
Kartikaya Gupta
8a476c9e1c
Remove unused parameters passed to endDrawing
2012-02-24 12:11:29 -05:00
Kartikaya Gupta
e955733a8b
Pull out tile dimensions being passed around uselessly
2012-02-24 10:51:41 -05:00
Brad Lassey
132fb3275c
bug 707571 - user-scalable property of viewport meta tag is ignored r=mbrubeck
...
--HG--
extra : rebase_source : a4a4d9fb6c61ff91ffb917c1e25b78a6266d7347
2012-03-08 11:55:19 -05:00
Kartikaya Gupta
60013ccab6
Extract a setOriginAndResolution method to VirtualLayer and drop the locking as it is not needed.
2012-02-23 16:29:22 -05:00
Kartikaya Gupta
1ee0b61340
Rename mTileLayer to mRootLayer since it's not a tile layer anymore. Also change the type to VirtualLayer
2012-02-23 16:21:45 -05:00
Kartikaya Gupta
400acd3392
Move transaction lock and synchronization from callers of updateViewport in to updateViewport itself
2012-02-23 15:31:40 -05:00
Kartikaya Gupta
5ec4799956
Move the beginTransaction from beginDrawing to endDrawing since we don't need to hold the lock during paint
2012-02-23 15:26:20 -05:00
Kartikaya Gupta
82bff0f17d
Remove redundant getDisplayportOrigin method from ViewportMetrics; use getOrigin instead
2012-02-23 15:08:05 -05:00
Kartikaya Gupta
60d8dbfa9d
Bug 730033 - Rip out WidgetTileLayer and associated gunk. r=snorp
2012-02-23 14:55:15 -05:00
Kartikaya Gupta
bdb76f0f9c
Add a bunch of comments to trace which threads transaction-related things are happening on
2012-02-23 13:25:19 -05:00
Kartikaya Gupta
289a985c67
Move the call to moveFrameRateLayer off the UI thread since it calls beginTransaction
2012-02-23 12:54:54 -05:00
Kartikaya Gupta
2d25c1db47
Convert tabs to spaces
2012-02-23 11:31:01 -05:00
Kartikaya Gupta
775d2610b1
Re-land a fixed c8451607557b (Take out the empty GeckoLayerClient.dimensionsChanged method and the unneeded support architecture for it)
2012-02-23 10:09:38 -05:00
Benoit Girard
5db11a7118
Merge backout
2012-02-23 11:09:14 -05:00
Benoit Girard
dbfc4d8191
Backed out changeset c8451607557b
2012-02-23 11:04:11 -05:00
Kartikaya Gupta
cd3149cdd8
Take out unused MultiTileLayer
2012-02-23 10:11:16 -05:00
Kartikaya Gupta
59c802112d
Take out the empty GeckoLayerClient.dimensionsChanged method and the unneeded support architecture for it
2012-02-23 10:09:38 -05:00
Ehsan Akhgari
a49ceaf19b
Bug 728614 - Part 8: Remove the unneeded assignment from getViewTransform; r=kats
2012-02-22 21:27:36 -05:00
Ehsan Akhgari
f5fdc6357f
Address the review comment, missed from the previous push
2012-02-22 17:15:53 -05:00
Ehsan Akhgari
0d41577b36
Bug 728614 - Part 7: Pause painting when the orientation changes in order to avoid getting intermediate frames painted; r=kats
2012-02-22 15:14:28 -05:00
Ehsan Akhgari
21df951827
Bug 728614 - Fix the zoom level when the device rotates on pages with <meta viewport> information; r=kats
2012-02-22 13:13:16 -05:00
Kartikaya Gupta
6cd2dcb55d
Strip down GeckoLayerClient - scope down visibility of fields/methods, remove empty methods and dead code, and inline some one-liner methods.
2012-02-22 15:08:46 -05:00
Kartikaya Gupta
04fe7046ae
Completely collapse GeckoGLLayerClient into GeckoLayerClient.
2012-02-22 14:45:44 -05:00
Kartikaya Gupta
c37b0d4191
Bug 729528 - Add logging to figure out how much viewport prediction will help us. r=Cwiiis
2012-02-22 12:02:38 -05:00
Kartikaya Gupta
2320513555
Rip out the unused viewport bias and optimum offset code
2012-02-22 10:22:31 -05:00
Kartikaya Gupta
c2af89696d
Reduce some unnecessary logcat spew
2012-02-22 09:37:39 -05:00
Benoit Girard
a716a386a9
Don't do TexImage2D+TexSubImage2D
2012-02-21 16:44:59 -05:00
Benoit Girard
d55e42e1bd
mCheckerboardShouldShowChecks should default to true. DONTBUILD
2012-02-21 16:19:23 -05:00
Chris Lord
1cd5a15deb
Bug 728978 - Fix scrollToFocusedInput in browser.js. r=mfinkle
...
This fixes scrollToFocusedInput by doing the extra scrolling that scrollIntoView
can't do (due to the way we zoom), and by making sure the events land in the
right order.
2012-02-21 16:46:48 +00:00
Jeff Muizelaar
c38da242ab
Bug 728622. Remove dead code for dealing with view in Layer.java. r=clord
...
Now that bug 727939 has landed we don't seem to have any need to keep
the view around.
2012-02-21 11:05:09 -05:00
Brad Lassey
f92e6ed0ba
bug 726827 - MAPLE: Black thumbnails r=jmuizelaar
2012-02-21 01:22:56 -05:00
Joe Drew
fd29de011a
Bug 728631 - Don't disable blending inside our Java rendering code, because we rely on it remaining set from LayerManagerOGL. r=dougt
...
--HG--
extra : rebase_source : 9fe18ddb4582455fe428f14acb8a931e1b1e4661
2012-02-20 14:48:36 -08:00
Ehsan Akhgari
0699b06da9
Fix clicking
2012-02-20 17:47:32 -05:00
Ehsan Akhgari
71bd0669a9
Bug 728614 - Part 2: Remove viewport offsets
2012-02-20 16:51:37 -05:00
Jeff Muizelaar
3a93b5a4c5
Bug 727939. Avoid double painting after invalidation. r=bgirard
...
This reduces the paint rate on things like runfield
so that we only paint at the rate that we're invalidating.
We do so by not requesting render in endTransaction
It looks like endTransaction is only called by endDrawing
on the gecko thread and only on VirtualLayers. We don't
need the extra requestRender call because we've already
done the rendering.
2012-02-18 18:06:30 -05:00
Brad Lassey
e85e784817
backing out e45688c8531c because it broke the build
2012-02-18 14:21:48 -05:00
Patrick Walton
a93537390c
Stub untested gralloc support, disabled for now
2012-02-17 23:53:21 -08:00
Chris Lord
78e424b0f7
Fix screen/window size change events.
...
Window size was being treated as equivalent to screen size, which it isn't.
Make sure to send the size-changed event when either the window size or the
screen size change, and to properly differentiate between the two.
2012-02-17 17:25:52 +00:00
Kartikaya Gupta
c4e060665c
(Part 5) Move overrides and abstract/interface implementations up from GeckoGLLayerClient into GeckoLayerClient
2012-02-17 10:33:23 -05:00
Kartikaya Gupta
e51de4eecb
(Part 4) Mark all gfx functions invoked by JNI so I don't shoot myself in the foot shortly
2012-02-17 10:13:56 -05:00
Kartikaya Gupta
a9d7bc61fb
(Part 3) Collapse LayerClient into GeckoLayerClient, the only subclass
2012-02-17 10:03:28 -05:00
Kartikaya Gupta
ebc21570a5
(Part 2) Stop PlaceholderLayerClient from extending LayerClient since it has nothing in common with GeckoLayerClient and makes a mockery of OOP
2012-02-17 09:56:47 -05:00
Kartikaya Gupta
a5b438d771
(Part 1) Get rid of LayerController.getLayerClient()
2012-02-17 09:32:24 -05:00
Kartikaya Gupta
43b2051ae9
Also remove dangling entrails of the layer client type
2012-02-17 09:16:14 -05:00
Kartikaya Gupta
417e4428c0
Rip out unused GeckoSoftwareLayerClient since we've committed to GL layers.
2012-02-17 09:04:50 -05:00
Kartikaya Gupta
31c5b5c646
Put back some things left out of dougt's merge
2012-02-17 01:36:49 -05:00
Doug Turner
222fba130c
Merge with mozilla-central
2012-02-16 18:06:54 -08:00
Kartikaya Gupta
64f4f0f8e3
Cache the checkberboard color so that we don't redo a bunch of work uselessly
2012-02-16 12:04:37 -05:00
Patrick Walton
fa07e9b633
Don't render while pinching. Reduces jank and makes zooming easier to debug.
2012-02-13 22:48:00 -08:00
Patrick Walton
dd0a3bbc18
Fix scissor rect and use the Java compositor's cached viewport metrics when drawing decorations
2012-02-13 20:20:38 -08:00
Kartikaya Gupta
daf42909cc
Guard against OOMing in GeckoGLLayerClient.getBitmap like we were doing in GeckoSoftwareLayerClient
2012-02-13 18:15:27 -05:00
Patrick Walton
b4211fd4ba
Expose ActivateProgram() and DeactivateProgram() to widget
2012-02-13 13:55:10 -08:00
Patrick Walton
09501a39aa
Split out Java compositor shader program activation and deactivation into separate functions
2012-02-13 12:27:09 -08:00
Patrick Walton
8a076808c5
Deactivate vertex attribute arrays and the program. Seems to fix the crashes on PowerVR.
2012-02-10 23:50:13 -08:00
Patrick Walton
78cb81814f
Uncomment the Java compositor integration, except for the part that causes PowerVR crashes
2012-02-10 23:03:02 -08:00
Ali Juma
64839a1fdf
Fix race conditions when updating view transform, by switching to an absolute transform.
2012-02-10 16:08:24 -05:00
Ali Juma
96f267b56a
Merge heads.
2012-02-10 10:31:31 -05:00
Patrick Walton
fdcd9a93f7
Expose the necessary Java routines to render decorations through JNI
2012-02-09 22:58:18 -08:00
Ali Juma
54af353fd7
Code cleanup.
2012-02-09 17:39:04 -05:00
Patrick Walton
efc1f6ee1d
Split up the LayerRenderer's drawing logic in preparation for exposing it to JNI
2012-02-08 22:27:01 -08:00
Patrick Walton
83f031eba7
Bug 723036 - Port the Java compositor to OpenGL ES 2.0
2012-02-08 21:13:08 -08:00
Benoit Girard
beb2ae7df8
Merge viewport with tip
2012-02-08 20:42:17 -05:00
Benoit Girard
b262f4ad9d
Merge working on Nexus S
2012-02-08 20:23:27 -05:00
Ali Juma
a2d1806910
Merge.
2012-02-08 19:55:13 -05:00
Benoit Girard
ea6c7d744f
Merge fixes
2012-02-08 19:01:21 -05:00
Benoit Girard
2f35d690b6
Merge m-c into maple
2012-02-08 16:43:22 -05:00
Ali Juma
b0394626a2
Fix incorrect rendering after orientation change.
2012-02-08 16:09:10 -05:00
Benoit Girard
ad35e17cb4
Merge working head with display port head
2012-02-08 12:18:27 -05:00
Benoit Girard
9b2cd37240
Remove RemoveAbstractView, pushing new head
2012-02-08 10:46:26 -05:00
Patrick Walton
67c4b7f7be
Allow redraw while a finger is down. Make this logic work properly later.
2012-02-07 23:37:29 -08:00
Patrick Walton
008db0822a
Lower the minimum viewport change delay to 25 for now
2012-02-07 23:10:58 -08:00
Ali Juma
ac787b0863
Move surface ownership to GLContextProviderEGL.
...
--HG--
extra : rebase_source : a3f83d279de5087a521a938d66c4e7b5dee79d74
2012-02-06 16:53:09 -05:00
Ali Juma
f9ebf5ebe2
Pause/resume composition on surface destruction/creation.
2012-02-06 13:57:06 -05:00
Ali Juma
92e59fd959
Add support for pausing/resuming composition from Java.
2012-02-05 13:33:38 -05:00
Patrick Walton
402747340d
Stand up async panning and zooming
2012-02-03 23:31:05 -08:00
Patrick Walton
50c7df015c
Poke the compositor to composite on a pan or zoom; stub AndroidBridge::GetViewTransform()
2012-02-03 18:35:58 -08:00
Patrick Walton
9159739ff5
Stub ViewTransform code; unbork the viewport size a bit
2012-02-03 16:39:15 -08:00
Patrick Walton
0b4a53c433
Add a virtual layer and GL layer client implementation
2012-02-03 15:48:26 -08:00
Benoit Girard
8b06842a39
Change delay to 15ms
2012-02-03 14:18:48 -05:00
Benoit Girard
92aebc0551
Remove deadcode
2012-02-03 10:26:54 -05:00
Patrick Walton
cc6fa599ae
Eliminate coupling between the software layer client and the rest of Fennec
2012-02-02 23:30:41 -08:00
Patrick Walton
c2c88cf60a
Pull parts of GeckoSoftwareLayerClient that will be used for GL layers into a generic GeckoLayerClient class
2012-02-02 22:07:05 -08:00
Patrick Walton
2b6bcfedfa
Partial removal of tiling, stub callouts
2012-02-02 19:28:22 -08:00
Benoit Girard
8c2ddab43b
Fix problems with Nexus S init
2012-02-02 13:57:38 -05:00
Benoit Girard
36780c8b69
Progress on omtc integration
2012-02-01 16:18:35 -05:00
Benoit Girard
7468656545
Move registerCxxCompositor to FlexView
2012-02-01 14:15:52 -05:00
Ali Juma
bc530734b9
Merge m-c to kiwifox
2012-02-01 12:07:14 -05:00
Patrick Walton
107405a6ee
Initial import of the flexible GL surface view
2012-01-31 21:35:52 -08:00
Benoit Girard
a6b4978cad
Android build fixes
2012-01-31 14:28:37 -05:00
Benoit Girard
7768764c56
merge mc into kiwifox
2012-01-31 13:55:51 -05:00
Benoit Girard
8b421129d7
Merge fixes
2012-01-30 15:57:30 -05:00
Chris Lord
c1e993df15
Bug 722068 - Fix invalidation during animations in MultiTileLayer. r=pcwalton
...
The buffer in MultiTileLayer is invalidated each time the origin or resolution
changes. MultiTileLayer was using the last updated origin/resolution instead of
the last set, so if Gecko was animating and locked the layer for long enough,
the buffer would be incorrectly invalidated due to the origin/resolution not
being updated.
2012-01-31 09:36:02 +00:00
Chris Lord
30f5d53aa8
Bug 720613 - Prevent resizing before the surface has been created. r=pcwalton
...
Prevent trying to resize the buffer before the surface has been created. At
that point, we wouldn't know our maximum texture size, so we would've thrown a
RuntimeException.
2012-01-31 09:36:00 +00:00
Benoit Girard
cc153dc324
Mergi mc to kiwifox, lots of conflicts so may not build
2012-01-30 13:38:20 -05:00
Benoit Girard
349ea74b39
Add missing files
2012-01-27 13:32:37 -05:00
Kartikaya Gupta
023caa61db
Bug 708687 - Snap the page when the page size changes and pushes it into overscroll. r=pcwalton
2012-01-30 23:43:36 -05:00
Kartikaya Gupta
67add8af20
Bug 720144 - Expose methods in robocop to grab the painted surface and to compare pixels. r=jmaher
2012-01-30 22:46:13 -05:00
Kartikaya Gupta
10db96c244
Bug 720144 - Allow listening for draw updates and obtaining a copy of the composited surface for robocop testing. r=Cwiiis
2012-01-30 22:45:38 -05:00
Benoit Girard
2a3688a8df
Partial work for android OGLSurfaceView
...
--HG--
extra : rebase_source : 2c6ce362dd859e9f81a5b4490e2451826259a651
2012-01-26 14:23:13 -05:00
Brad Lassey
58bc88d22e
bug 713874 - Black thumbnails are produced by GeckoSoftwareLayerClient.getBitmap() r=mfinkle
2012-01-13 13:10:13 -05:00
Jonathan Kew
b1adbbce36
Backed out changeset ba3335f34100 (bug 713874) for Android build failures.
2012-01-14 22:19:31 +00:00
Brad Lassey
5357ae134e
bug 713874 - Black thumbnails are produced by GeckoSoftwareLayerClient.getBitmap() r=mfinkle
...
--HG--
extra : rebase_source : 18d463ca4c44610a07ba7de582c6f114404eab8f
2012-01-13 13:10:13 -05:00
Kartikaya Gupta
7a58e90d7c
Bug 715836 - Ensure the UI is only modified from the UI thread. r=pcwalton
2012-01-13 07:03:22 -05:00
Kartikaya Gupta
8637bcee20
Bug 715836 - (Cleanup) Remove unused functions. r=pcwalton
2012-01-13 07:03:22 -05:00
Chris Peterson
adf7970c58
Bug 714874 - Fix Java warnings about redundant casts. r=pcwalton r=dougt a=dougt
2012-01-06 12:21:49 -08:00
Patrick Walton
cdc3fe1942
Bug 708746 - Part 5: Make the initial viewport size and page size equal to the device screen dimensions instead of 1 pixel by 1 pixel. r=kats
2012-01-06 16:42:48 -08:00
Chris Lord
55450d6017
Bug 709120 - Update non-visible tiles asynchronously. r=pcwalton
...
Only update tiles that intersect with the screen, and asynchronously update
invisible tiles over multiple subsequent frames. This has the effect of
spreading out non-critical texture-upload over time and removes some juddering
on devices that don't support gralloc.
2012-01-06 11:22:52 +00:00
Chris Lord
dd6d417d5d
Bug 709120 - Use MultiTileLayer in Android native fennec. r=pcwalton
...
This uses MultiTileLayer instead of SingleTileLayer for devices that don't have
gralloc support. This has the advantage of reduced memory usage due to less
wastage from power-of-two textures, and can be a performance boost due to slow
sub-image updates on some devices.
2012-01-06 11:22:38 +00:00
Chris Lord
2fee06e344
Bug 709120 - Add MultiTileLayer to Android native fennec. r=pcwalton
...
This adds a new layer type that uses multiple SingleTileLayer's to implement
tiled layer support. This also assumes a back-buffer that is tiled, so that
texture updates can remain fast (relatively speaking).
2012-01-06 11:22:24 +00:00