Patrick Walton
fdcd9a93f7
Expose the necessary Java routines to render decorations through JNI
2012-02-09 22:58:18 -08: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