Commit Graph

4870 Commits

Author SHA1 Message Date
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
Kartikaya Gupta
3ad69b3dbd Bug 727565 - Fix new compiler warnings for javac 1.7. r=bnicholson 2012-02-15 22:55:47 -05:00
Sriram Ramasubramanian
cb1c69f23d Bug 727610: Supporting fullscreen on ICS. [r=mfinkle] 2012-02-15 16:14:02 -08: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
062af3911c Scale the displayport by the zoom factor 2012-02-13 22:32:31 -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
Kartikaya Gupta
3eaca9fb0c Reduce diff against m-c; remove unrelated change in AboutHomeContent 2012-02-13 17:43:08 -05:00
Kyle Machulis
2fed82f6c6 Bug 711601 - Bluetooth Implementation on B2G - patch 1: Boilerplate code for creating navigator.mozBluetooth object. r=bent 2012-02-15 13:37:13 -08:00
Kyle Machulis
55bf17714a Bug 711601 - Bluetooth Implementation on B2G - patch 1: Boilerplate code for creating navigator.mozBluetooth object. r=bent 2012-02-14 17:51:52 -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
Ali Juma
a74c63a281 Enable zooming. 2012-02-12 15:06:34 -05: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
Patrick Walton
3b99552765 Fix browser.js ReferenceError 2012-02-10 16:17:15 -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
Patrick Walton
0910dba276 Remove CSS transforms as they're basically incompatible with displayports 2012-02-08 13:12:12 -08: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
Patrick Walton
aa35ff3cd3 Use a display port in browser.js. Disable zooming and CSS viewport adjustment for now. 2012-02-07 22:45:41 -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