Commit Graph

86253 Commits

Author SHA1 Message Date
Benoit Girard
5dc0e12001 Bug 727497 - Don't call CreateSurfaceForWindow in MakeCurrent in EGL. r=ajuma 2012-02-15 16:02:39 -05:00
Benoit Girard
84a8e6d4c5 Fix one shutdown crash
--HG--
extra : rebase_source : dd71617cbabf7848565ab609362964037fbac01a
2012-02-15 11:29:14 -05:00
Ali Juma
0f322866b3 Improve zooming behaviour. 2012-02-15 10:15:52 -05:00
Benoit Girard
7a39c42f15 remove dead code 2012-02-14 18:36:33 -05:00
Benoit Girard
3d94f16f20 Change tilesize to 256x256 for progressive upload and adreno POT uploads 2012-02-14 13:19:46 -05:00
Benoit Girard
46eda2f7de Remove adreno fix, it only makes the crash less likely 2012-02-14 13:16:18 -05:00
Benoit Girard
65a7723add Remove werror, still getting error with javac 1.6.0_29 2012-02-14 10:54:47 -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
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
430c9e63f5 Stop XUL fennec from crashing on startup 2012-02-13 16:57:57 -05: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
118fe2a25d Integrate the Java compositor. Scroll bars now appear. 2012-02-13 14:52:30 -08: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
Benoit Girard
41f6ac08c7 Make OMTC changes not effect desktop 2012-02-13 17:17:12 -05:00
Kartikaya Gupta
69de9f545f Reduce diff against m-c; turn -Werror back on 2012-02-13 17:20:08 -05: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
aae9e0d362 Uncomment TransformLayerUserData and move it into Layers to fix build bustage 2012-02-10 18:55:48 -08:00
Patrick Walton
3b99552765 Fix browser.js ReferenceError 2012-02-10 16:17:15 -08:00
Benoit Girard
2abfa0058f Compositor performance warnings
--HG--
extra : rebase_source : e8b2a0f4c4cb69fb88a478750cecc9f21327e018
2012-02-10 18:06:17 -05:00
Ali Juma
4f3b93acbe Fix non-Android bustage. 2012-02-10 17:32:12 -05: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
Benoit Girard
2273530045 Bug 721489 - Make gfxSharedImageSurface divisible by 64 on mobile
--HG--
extra : rebase_source : b2a947a772890e56738badfd9c413896733fe45c
2012-02-10 15:13:02 -05:00
Benoit Girard
04ccae8d41 Bug 721489 - Backout changeset 0cb6641ab21a for a more desirable fix.
--HG--
extra : rebase_source : b8100a07f626c3cc51e019911a3b023b482d23b9
2012-02-10 15:12:35 -05:00
Ali Juma
7c7e41202d Fix busted build. 2012-02-10 10:40:57 -05:00
Ali Juma
96f267b56a Merge heads. 2012-02-10 10:31:31 -05:00
Patrick Walton
c5f56a495f Implement the rendering hooks for Java compositor integration. Currently segfaulting, so ifdef'd out. 2012-02-09 23:55:13 -08:00
Patrick Walton
fdcd9a93f7 Expose the necessary Java routines to render decorations through JNI 2012-02-09 22:58:18 -08:00
Patrick Walton
6a14c62d7f Add a DrawWindowUnderlay() to match DrawWindowOverlay() 2012-02-09 19:47:50 -08:00
Benoit Girard
0b782cb5e9 Bug 721489 - Allocate a PoT Shmem for the Adreno. This replaces segfaults by visual artifacts
--HG--
extra : rebase_source : 400e392843cf2d15b941e7e94b736106e6b447e2
2012-02-09 17:52:03 -05: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
Kartikaya Gupta
772e6369b5 Guard against crash in debug mode caused by using a null TimeStamp in a subtraction 2012-02-08 22:22:30 -05: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
1f21ac563d Build fix. 2012-02-08 19:57:21 -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
Kyle Huey
1584900fa4 Fix Bug 657588. r=bsmedberg 2012-02-08 09:27:29 -08:00
Benoit Girard
ad35e17cb4 Merge working head with display port head 2012-02-08 12:18:27 -05:00
Benoit Girard
bee5dd218e Undo accidental mq push (no commit hooks for mq) 2012-02-08 12:14:20 -05:00
Benoit Girard
0fc7c92286 Build fixes and clean up 2012-02-08 12:08:03 -05:00