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