Brad Lassey
c8cec3a911
bug 755070 - Scrolling causes after paint notifications which causes screenshotting which causes checkerboarding r=kats,cjones
2012-06-14 09:08:51 -07:00
Kartikaya Gupta
4f7e7cc3d6
Bug 759775 - Update checkerboard telemetry code to handle RTL pages. r=Cwiiis
2012-06-06 09:56:48 -04:00
Brad Lassey
a7fbcda140
backing out bug 755070 for potential talos panning regression
2012-06-05 22:55:18 -04:00
Brad Lassey
54911a2c0f
bug 755070 - Scrolling causes after paint notifications which causes screenshotting which causes checkerboarding, only copy the region that was painted r=kats
2012-06-05 14:59:01 -04:00
Brad Lassey
750134b2e1
bug 755070 - Scrolling causes after paint notifications which causes screenshotting which causes checkerboarding, only update dirty rects, reuse a single bytebuffer and stop using java bitmaps r=kats
2012-06-04 11:56:31 -04:00
Kartikaya Gupta
2e641fd793
Bug 758635 - Move a call to resizeView so that we don't send two resize events to gecko when the keyboard comes up. r=jrmuizel
2012-06-03 17:50:00 -04:00
Kartikaya Gupta
8d5cb22fce
Bug 758635 - LayerRenderer doesn't need to implement GLSurfaceView.Renderer. r=jrmuizel
2012-06-03 17:49:50 -04:00
Matt Brubeck
3024f60165
Back out bug 760342 for Windows build error, bug 755070 for Android crashes, and bug 760458 because it depends on 755070
2012-06-01 17:45:02 -07:00
Brad Lassey
8bf0654eae
bug 755070 - Scrolling causes after paint notifications which causes screenshotting which causes checkerboarding, only update dirty rects, reuse a single bytebuffer and stop using java bitmaps r=kats
2012-06-01 18:54:48 -04:00
Benoit Girard
7160795100
Bug 757944 - Remove GL calls made without a context. r=jrmuizelaar
2012-05-31 15:27:45 -04:00
Kartikaya Gupta
ecc884fd28
Bug 759762 - Update screenshot code to take into account RTL pages. r=blassey
2012-05-30 11:27:05 -04:00
Jeff Muizelaar
ebd44d034f
Bug 758205. Use highp in the fragment shader. r=joe
...
More precision makes the java screenshot look better on large pages.
2012-05-24 16:44:10 -04:00
Jeff Muizelaar
c2f3c59919
Bug 758205. Move the y-axis inversion out of the fragment shader. r=clord
...
Moves the inversion into the vertex shader. No point in doing this
operation per-pixel when we can do it per-vertex.
2012-05-28 11:35:20 -04:00
Phil Ringnalda
b594cf7a17
Back out d22c4f57daaf and 6c27b32ad788 (bug 758635) on suspicion of causing reftest failures
2012-05-26 13:11:47 -07:00
Kartikaya Gupta
68a3122854
Bug 758635 - LayerRenderer doesn't need to implement GLSurfaceView.Renderer. r=Cwiiis
2012-05-26 11:03:27 -04:00
Kartikaya Gupta
ee1ce0f5a3
Bug 758635 - Remove redundant code to set the viewport size. r=Cwiiis
2012-05-26 10:59:11 -04:00
James Willcox
67f080ac0f
Bug 753458 - Remove unnecessary fields in RenderContext r=kats
2012-05-24 11:02:49 -04:00
Kartikaya Gupta
d1301d2c52
Bug 748384 - Update all Java code to keep a page rect and CSS page rect instead of just the page size. r=Cwiiis
2012-05-23 10:49:52 -04:00
Kartikaya Gupta
1f792eccbc
Bug 748384 - Back out 330e9c52f9ac, 9ba1078559fe, 2ed39c12d792, f53f05ecacd5 for build bustage. r=bustage
2012-05-23 11:08:19 -04:00
Kartikaya Gupta
a0e56378ab
Bug 748384 - Update all Java code to keep a page rect and CSS page rect instead of just the page size. r=Cwiiis
2012-05-23 10:49:52 -04:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
James Willcox
cb337e00f3
Small fixup to my last patch (no bug, r=blassey)
2012-05-11 11:05:37 -04:00
James Willcox
957cca83c4
Bug 750778 - Ensure PluginLayer is always present when plugin is visible r=blassey
2012-05-11 10:54:51 -04:00
Kartikaya Gupta
7fe9806b13
Bug 753334 - Audit and clean up code that deals with allocating/freeing direct buffers. r=Cwiiis
2012-05-10 09:46:53 -04:00
Joe Drew
7297538703
Bug 728026 - Leave the scissor bit enabled when we return from Java code. r=jrmuizel
2012-05-01 12:12:45 -04:00
James Willcox
8570d3faad
Bug 746633 - Don't use placeholder for full page plugins on Android r=blassey
2012-05-07 14:18:46 -04:00
James Willcox
307974778f
Bug 727116 - Draw Flash plugins with OpenGL during pan/zoom on legacy Android r=blassey
2012-04-27 16:04:47 -04:00
Chris Lord
6a45ec3b08
Bug 749630 - Fix single-colour checkerboard and masking. r=kats
...
Bug 748718 tried to fix masking of the checkerboard layer, but incorrectly
calculated the values for the right and bottom sides of the page, causing
less masking to occur than should happen.
It also possibly broke single-colour layer drawing (though I'm not sure this
worked previously), which this fixes by clearing to the page colour instead of
generating and drawing a texture for it.
2012-04-27 12:54:18 -04:00
Kartikaya Gupta
00028ddba8
Bug 749164 - Fix viewport intersection with page rect and guard against zero screen area. r=jrmuizel
2012-04-26 14:23:28 -04:00
Chris Lord
dcd3986f0b
Bug 748718 - Make ScreenshotLayer use SingleTileLayer's draw function. r=kats
...
ScreenshotLayer overrides SingleTileLayer's draw function to simplify the
drawing process. Unfortunately, this doesn't respect the layer mask, and can
cause the layer to appear incorrectly stretched.
Change the screenshot process so that whole-page screenshots pass parameters
that are pre-scaled (to avoid mismatches when the viewport changes), and set
the page size on the ScreenShotLayer so it draws in the correct place.
This also alters the masking slightly to avoid visible seams around masks in
the centre of the page, and to avoid unnnecessary drawing at the edges of the
page.
This change fixes the frame-rate issues with the screenshot layer, as it
removes unnecessary over-draw.
2012-04-26 13:45:31 -04:00
Jeff Muizelaar
e82f510a9e
Bug 748382. Don't count overscroll as checkerboard. r=kats
...
We currently check root layer position with the viewport.
During overscroll these won't match and we'll think we're
checkerboarding.
2012-04-24 11:26:21 -04:00
Brad Lassey
d1c25e9164
bug 746016 - Cache low res version of the page in the java ui for use instead of checkerboarding r=kats
2012-04-24 15:13:36 -04:00
Kartikaya Gupta
f58b9223e1
Bug 743800 - Ensure all metrics used during one frame of composition are consistent. r=jrmuizel a=blocking-fennec
2012-04-18 01:34:05 -04:00
Jeff Muizelaar
5fab70990d
Bug 742743. Unify pageRect retrieval. r=kats
...
This ensures that we use the same pageRect for the whole
drawing process and avoids the overhead of recreating it.
2012-04-05 15:58:42 -04:00
Jeff Muizelaar
a607d1ea82
Bug 740303. Make sure we update the checkerboard layer. r=kats.
...
Presumably this started happening after we stopped setting the
checkerboard color all of the time.
2012-04-09 10:59:36 -04:00
Jeff Muizelaar
1223e0fb0f
Bug 738188. Avoid crashing by disabling the screenshot drawing code. r=kats
...
The crashes seem to be caused by SurfaceChange breaking any future
onDrawFrame calls. We don't seem to handle renewing the context at all. I added
mController.disposeGLContext(); mController.initGLContext(); to the
SizeChange::run() but that doesn't seem to fix it.
Bug 739867 will add this support back.
2012-03-27 21:43:56 -04:00
Brian Nicholson
156a1ebc57
Bug 725428 - Draw white background in LayerView until Gecko has painted. r=kats
2012-03-22 15:07:00 -07:00
Brian Nicholson
b729c435cf
Backout 017f6dd98dc0 for robocop failures
2012-03-22 17:28:13 -07:00
Brian Nicholson
76f2435e87
Bug 725428 - Draw white background in LayerView until Gecko has painted. r=kats
2012-03-22 15:07:00 -07:00
Kartikaya Gupta
0d474a5910
Bug 737630 - Remove duplicated code from beginDrawing. r=pcwalton
2012-03-20 16:55:28 -04:00
Kartikaya Gupta
3f7e787fc5
Bug 731603 - Save the display port and resolution in the VirtualLayer's mPosition and mResolution fields. r=Cwiiis
2012-03-20 00:07:42 -04:00
Chris Lord
d84dae1cac
Bug 732756 - Fix overdrawing of checkerboard. r=kats
...
Fix overdrawing of the checkerboard layer by letting layers have a concept of
a display-port, and keeping the root layer's display port in track with
Gecko's.
2012-03-17 15:08:22 +00:00
Ryan VanderMeulen
485a3a7c47
Backout d5b66e64cf44 (bug 732756) to see if it fixes Android crashtests.
2012-03-16 17:17:22 -04:00
Chris Lord
f8d4e5d838
Bug 732756 - Fix overdrawing of checkerboard. r=kats
...
Fix overdrawing of the checkerboard layer by letting layers have a concept of
a display-port, and keeping the root layer's display port in track with
Gecko's.
2012-03-16 16:30:23 +00:00
James Willcox
b26e1ed15a
Bug 728371 - Make Flash work with GLES 2.0 and GL layers r=pcwalton
2012-03-12 13:03:54 -04:00
Ehsan Akhgari
db205def09
Backout changeset d2340d74fc19 because of bug 735076
2012-03-12 18:51:44 -04:00
James Willcox
eb1643506a
Bug 728371 - Make Flash work with GLES 2.0 and GL layers r=pcwalton
2012-03-12 13:03:54 -04:00
Benoit Girard
8baaaed6d2
Bug 733184 - Maple: Remove some Java logging. r=pcwalton
2012-03-05 18:50:00 -05:00
Chris Lord
5177c87cf1
Bug 731570 - Don't re-upload scrollbar texture on opacity change. r=kats
...
Rather than re-render the scrollbar texture and re-upload it when the opacity
changes, just render/upload it once and use a shader to modify the opacity.
2012-03-02 12:12:08 +00:00
Chris Lord
92fd082218
Bug 731570 - Rename and make default shaders public. r=pcwalton
...
Rename and make public the default shaders used in LayerRenderer, and make
loadShader a public, static method. This should make it easier for layers to
implement their own shader programs.
2012-03-02 12:12:08 +00:00