Kartikaya Gupta
3dc008dce0
Bug 730687 - Hook up the aboutToCheckerboard code again. r=Cwiiis
2012-02-28 16:14:14 -05:00
Kartikaya Gupta
822a63318b
Bug 730687 - Fold updateViewport into endDrawing. r=Cwiiis
2012-02-28 16:13:26 -05:00
Kartikaya Gupta
ac12da1374
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
0061b51e7e
Take out a line I inadvertently left in in cset ce31a3b140a2
2012-02-26 17:27:58 -05:00
Kartikaya Gupta
fbe94f983a
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
e37885a6c7
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
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
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
afdf4e93b3
Backed out changeset c8451607557b
2012-02-23 11:04:11 -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
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
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
Ehsan Akhgari
4e66f598b5
Bug 728614 - Part 2: Remove viewport offsets
2012-02-20 16:51:37 -05: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
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
d0bfe2e578
Allow redraw while a finger is down. Make this logic work properly later.
2012-02-07 23:37:29 -08:00
Patrick Walton
8de5b13c59
Lower the minimum viewport change delay to 25 for now
2012-02-07 23:10:58 -08:00
Patrick Walton
8f577231bf
Stand up async panning and zooming
2012-02-03 23:31:05 -08:00
Patrick Walton
d6e3afde17
Add a virtual layer and GL layer client implementation
2012-02-03 15:48:26 -08:00
Benoit Girard
3235b71537
Change delay to 15ms
2012-02-03 14:18:48 -05:00
Patrick Walton
13458c16d5
Eliminate coupling between the software layer client and the rest of Fennec
2012-02-02 23:30:41 -08:00
Patrick Walton
a25f57bcc7
Pull parts of GeckoSoftwareLayerClient that will be used for GL layers into a generic GeckoLayerClient class
2012-02-02 22:07:05 -08:00