Benoit Girard
fb8fcecde6
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
9969c98db4
Remove unused parameters passed to endDrawing
2012-02-24 12:11:29 -05:00
Kartikaya Gupta
fa940eb49b
Pull out tile dimensions being passed around uselessly
2012-02-24 10:51:41 -05:00
Kartikaya Gupta
b1d893be53
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
8551a0e239
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
bb376197c2
Move transaction lock and synchronization from callers of updateViewport in to updateViewport itself
2012-02-23 15:31:40 -05:00
Kartikaya Gupta
9072b3ae2e
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
abd4d3c2b4
Remove redundant getDisplayportOrigin method from ViewportMetrics; use getOrigin instead
2012-02-23 15:08:05 -05:00
Kartikaya Gupta
5857681738
Bug 730033 - Rip out WidgetTileLayer and associated gunk. r=snorp
2012-02-23 14:55:15 -05:00
Kartikaya Gupta
af5d11aaee
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
7ab9804cda
Move the call to moveFrameRateLayer off the UI thread since it calls beginTransaction
2012-02-23 12:54:54 -05:00
Kartikaya Gupta
024374bb46
Convert tabs to spaces
2012-02-23 11:31:01 -05:00
Kartikaya Gupta
01cac3410f
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
4f1487504a
Merge backout
2012-02-23 11:09:14 -05:00
Benoit Girard
afdf4e93b3
Backed out changeset c8451607557b
2012-02-23 11:04:11 -05:00
Kartikaya Gupta
32f2175b41
Take out unused MultiTileLayer
2012-02-23 10:11:16 -05:00
Kartikaya Gupta
82652145a9
Take out the empty GeckoLayerClient.dimensionsChanged method and the unneeded support architecture for it
2012-02-23 10:09:38 -05:00
Ehsan Akhgari
e7a0b58044
Bug 728614 - Part 8: Remove the unneeded assignment from getViewTransform; r=kats
2012-02-22 21:27:36 -05:00
Ehsan Akhgari
aaf74b5c86
Address the review comment, missed from the previous push
2012-02-22 17:15:53 -05:00
Ehsan Akhgari
9c18c93381
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
6cfc3f9a14
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
c0b7a3b747
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
53a439cccc
Completely collapse GeckoGLLayerClient into GeckoLayerClient.
2012-02-22 14:45:44 -05:00
Kartikaya Gupta
dd4b0855ae
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
3c391ae195
Rip out the unused viewport bias and optimum offset code
2012-02-22 10:22:31 -05:00
Kartikaya Gupta
1578d03ea6
Reduce some unnecessary logcat spew
2012-02-22 09:37:39 -05:00
Benoit Girard
e61477fb94
Don't do TexImage2D+TexSubImage2D
2012-02-21 16:44:59 -05:00
Benoit Girard
6a237f25c7
mCheckerboardShouldShowChecks should default to true. DONTBUILD
2012-02-21 16:19:23 -05:00
Chris Lord
67c0bdc893
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
bc85051deb
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
d91772d0d4
bug 726827 - MAPLE: Black thumbnails r=jmuizelaar
2012-02-21 01:22:56 -05:00
Joe Drew
f392e297d3
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
6843e16113
Fix clicking
2012-02-20 17:47:32 -05:00
Ehsan Akhgari
4e66f598b5
Bug 728614 - Part 2: Remove viewport offsets
2012-02-20 16:51:37 -05:00
Jeff Muizelaar
c091627d90
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
95697a85f1
backing out e45688c8531c because it broke the build
2012-02-18 14:21:48 -05:00
Patrick Walton
ce3f178378
Stub untested gralloc support, disabled for now
2012-02-17 23:53:21 -08:00
Chris Lord
dd4aacfc79
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
c0bede0671
(Part 5) Move overrides and abstract/interface implementations up from GeckoGLLayerClient into GeckoLayerClient
2012-02-17 10:33:23 -05:00
Kartikaya Gupta
61b3014dc0
(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
fb6b8d0de1
(Part 3) Collapse LayerClient into GeckoLayerClient, the only subclass
2012-02-17 10:03:28 -05:00
Kartikaya Gupta
248ea83b06
(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
18f2df4c4b
(Part 1) Get rid of LayerController.getLayerClient()
2012-02-17 09:32:24 -05:00
Kartikaya Gupta
6e72a9570d
Also remove dangling entrails of the layer client type
2012-02-17 09:16:14 -05:00
Kartikaya Gupta
5ec5bd703f
Rip out unused GeckoSoftwareLayerClient since we've committed to GL layers.
2012-02-17 09:04:50 -05:00
Kartikaya Gupta
f3c1b6a928
Put back some things left out of dougt's merge
2012-02-17 01:36:49 -05:00
Doug Turner
b66a0f8126
Merge with mozilla-central
2012-02-16 18:06:54 -08:00
Kartikaya Gupta
067aec74dc
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
0a26b4f1af
Don't render while pinching. Reduces jank and makes zooming easier to debug.
2012-02-13 22:48:00 -08:00
Patrick Walton
1b46184a8f
Fix scissor rect and use the Java compositor's cached viewport metrics when drawing decorations
2012-02-13 20:20:38 -08:00