Kartikaya Gupta
3aa2e96ea3
Bug 1180295 - Remove the margins information from ImmutableViewportMetrics. r=rbarker
2015-08-18 14:27:20 -04:00
Michael Comella
c776b1c713
Bug 1168497 - Change scrollbar fade to be time-based (250ms). r?snorp
...
This should hopefully improve power consumption and make us act closer to the
system scrollbars.
2015-06-08 12:12:43 -07:00
Jeff Muizelaar
b1c72ef5bd
Bug 1136749. Remove @override to fix build bustage
...
CLOSED TREE
2015-04-13 12:49:44 -04:00
Jeff Muizelaar
8449514724
Bug 1136749. Remove TileLayer. r=kats
...
This doesn't do anything useful anymore.
2015-01-30 16:14:15 -05:00
Jeff Muizelaar
99ee433e7b
Bug 1136726. Remove PaintMode from TileLayer. r=kats
...
PaintMode is never changed from the default.
2015-01-30 16:04:44 -05:00
Jeff Muizelaar
f0a94a8959
Bug 1130820. Move buffered image out of TiledLayer and into ScrollbarLayer. r=kats
...
mImage is only used by the ScrollbarLayer
2015-01-30 16:00:51 -05:00
Jeff Muizelaar
fe4944af16
Bug 1128045. Gut TileLayer by moving most of the functionality into ScrollbarLayer. r=kats
...
ScrollbarLayer is the only class using this functionality. I'll move the mImage member into ScrollbarLayer in a follow up.
2015-01-30 15:56:22 -05:00
Jeff Muizelaar
5301fca959
Bug 1127005. Rename CairoImage to BufferedImage. r=kats
...
try: -b do -p android-api-9,android-api-11,android-x86 -u all -t none
2015-01-28 17:04:50 -05:00
Chris Kitching
5d126e171c
Bug 1081397: Finalise large numbers of fields. r=rnewman
...
* * *
Bug 1081397 : Finalise large numbers of fields. r=rnewman
2014-10-11 00:17:01 +01:00
Chris Lord
1607f9aba4
Bug 850783 - Fix the dynamic toolbar causing clipping of the scrollbar. r=kats
2013-04-29 15:18:23 +01:00
Chris Lord
ed41276fbb
Bug 858969 - Refactor dynamic toolbar so page is offset and not overlapped. r=kats,nrc
...
Refactor the dynamic toolbar code so that the ownership of various properties
is clearer, and the page is offset by the toolbar instead of being overlapped.
This fixes problems with the scroll origin of the page not corresponding to
the visible origin on the screen.
2013-04-25 18:47:08 +01:00
Ryan VanderMeulen
e376b2bb54
Backed out changeset 684a5ca2efb7 (bug 858969) for Android M3 failures.
...
CLOSED TREE
2013-04-25 10:56:54 -04:00
Chris Lord
ac2dc65ab2
Bug 858969 - Refactor dynamic toolbar so page is offset and not overlapped. r=kats,nrc
...
Refactor the dynamic toolbar code so that the ownership of various properties
is clearer, and the page is offset by the toolbar instead of being overlapped.
This fixes problems with the scroll origin of the page not corresponding to
the visible origin on the screen.
2013-04-24 17:06:23 +01:00
Chris Peterson
f7eecfb60e
Bug 828594 - Part 2: Remove unused Java imports. r=kats
2013-01-09 10:32:50 -08:00
Kartikaya Gupta
066b714f1d
Bug 771746 - Draw scrollbars using a white outline so it shows up on dark backgrounds. r=Cwiiis
2012-12-29 15:24:01 -05:00
Kartikaya Gupta
5da03e4330
Bug 771746 - Some cleanup in ScrollbarLayer.java. r=Cwiiis
2012-12-29 15:22:59 -05:00
Kartikaya Gupta
57184aa058
Bug 760229 - Factor out a fillRectCoordBuffer function. r=Cwiiis
2012-09-06 14:34:38 -04:00
Kartikaya Gupta
4e8a9fdd30
Bug 760229 - Cache some transient objects in ScrollbarLayer to reduce GC stress during composition. r=Cwiiis
2012-09-06 14:34:08 -04:00
Chris Peterson
da44569527
Bug 779366 - Part 3: Move direct buffer allocation to DirectBufferAllocator. r=kats
2012-07-31 15:54:29 -07:00
Chris Peterson
d0804fd1e7
Bug 779366 - Part 1: Move FloatUtils to org.mozilla.gecko.util package. r=kats
2012-07-27 21:57:47 -07:00
Chris Peterson
885e571e16
Bug 778472 - Part 3: Standardize order of import statements: org.mozilla, com, net, org, android, java. r=mfinkle
2012-07-27 17:53:54 -07:00
Chris Peterson
a953be5776
Backout 844444ca8feb (Bug 709230) r=bustage
2012-07-17 17:54:54 -07:00
Chris Peterson
6cb6900e58
Bug 709230 - Part 4: Remove unused imports. r=blassey
2012-07-15 13:20:43 -07:00
Chris Peterson
0f30d9cedd
Bug 709230 - Part 3: Mark classes final and reduce class visibility public->package->private to aid ProGuard optimizations. r=blassey
2012-07-15 13:20:43 -07:00
Jeff Muizelaar
fdae96502d
Bug 765725 - Ensure we are binding to the correct texture unit. r=chrislord
2012-07-05 21:08:02 -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
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
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
Jeff Muizelaar
897cb2ae19
Bug 743247. Ensure we don't have an array buffer bound when drawing. r=bas
...
Our C++ code was binding a buffer and leaving it bound. This
avoids that problem by making sure we unbind it before
calling VertexPointerAttrib.
2012-04-27 21:08:30 -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
Jeff Muizelaar
f07869ab6b
Bug 742743. Remove needless try/catch block. r=kats
...
This was needed before, but I've since removed
the code that would throw.
2012-04-05 11:42:49 -04:00
Jeff Muizelaar
386e02a77b
Bug 740983. Remove unneeded invalidate from scrollbar layers. r=kats
...
We used to fade the scrollbars by reuploading textures
rather than using a shader. Since the textures don't change anymore
the invalidate is unneeded.
2012-03-30 17:22:59 -04:00
Kartikaya Gupta
25e0b6a0e2
Bug 725095 - Various fixes to get maple ready to land on m-c. r=Cwiiis
...
- Disable fps layer.
- Add some comments to FlexibleGLSurfaceView.
- Get rid of getBufferSize and some other related cleanup.
- Add some comments to compositor-invoked functions in GeckoLayerClient.
- Take out unnecessary parameters to Rect constructor.
- Move class variable initialization to constructor.
- Take out kUsingGLLayers.
- Add a comment about changes in background color.
- Fix up convertViewPointToLayerPoint to be more correct.
- Add note in setPositionAndResolution about how it might be wrong.
- Modify provideEGLSurface to not store the surface in mEGLSurface.
- Remove some unneeded, commented out code in GLThread.
2012-03-12 16:20:19 -04: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
Kartikaya Gupta
6ad5ec831a
Add a bunch of comments to trace which threads transaction-related things are happening on
2012-02-23 13:25:19 -05:00
Joe Drew
f561f358d8
Bug 728631 - Don't disable blending inside our Java rendering code, because we rely on it remaining set from LayerManagerOGL. r=dougt
2012-02-20 14:48:36 -08:00
Patrick Walton
f3f54a453a
Bug 723036 - Port the Java compositor to OpenGL ES 2.0
2012-02-08 21:13:08 -08:00
Chris Peterson
827eb783b3
Bug 714874 - Fix Java warnings about redundant casts. r=pcwalton r=dougt a=dougt
2012-01-06 12:21:49 -08:00
Kartikaya Gupta
1d6b2cdbf6
Bug 709560 - Set blend function when enabling gl blending. r=pcwalton
...
The missing blend function was causing the default of GL_ONE,
GL_ZERO to take effect, making it look like alpha blending wasn't
working. It would start working once the 9-patch shadow was rendered
since that code sets the correct blend function. Fix this by
ensuring we set the blend function wherever we use blending.
2011-12-19 17:40:01 -05:00
Chris Lord
e5e586dd67
Bug 708307 - Decouple texture size from tile size. r=pcwalton
...
This removes the hard-coded limit of 1024x2048 tile sizes, and allows for
arbitrary tile-sizes. It will still only allocate texture sizes in powers of
two, however. It replaces the tile size with a buffered-area size, which can be
re-allocated as the screen dimensions change.
2011-12-15 23:45:52 +00:00
Ehsan Akhgari
3254c96c2f
Backout changeset 3e972d3efc11 (bug 708307) because it breaks Android tests; a=me
2011-12-14 15:55:17 -05:00
Chris Lord
6b872a406b
Bug 708307 - Decouple texture size from tile size. r=pcwalton a=android-only
...
This removes the hard-coded limit of 1024x2048 tile sizes, and allows for
arbitrary tile-sizes. It will still only allocate texture sizes in powers of
two, however. It replaces the tile size with a buffered-area size, which can be
re-allocated as the screen dimensions change.
2011-12-14 19:41:37 +00:00
Brad Lassey
6c177a3566
bug 708961 - We still use ByteBuffer.allocateDirect for large buffers r=pcwalton a=java-only
2011-12-13 17:53:51 -05:00
Kartikaya Gupta
cddc010d91
Bug 704784 - Fade scrollbars when content stops moving [r=pcwalton]
2011-12-09 16:05:24 -05:00
Kartikaya Gupta
03f90bf651
Bug 704784 - Tweak scrollbars to look nicer [r=pcwalton]
...
Scrollbars now have rounded endcaps, are a little smaller, and there
is a 1-pixel gap between the bar and the edge of the viewport. Just
generally making them look nicer.
2011-12-09 15:58:36 -05:00
Patrick Walton
5a279e0bdb
Bug 705170 - Use OES_draw_texture to render textures to the screen. r=Cwiiis
2011-12-01 14:05:41 -08:00
Kartikaya Gupta
93e28d6e69
Bug 701351 - Add scroll indicators [r=pcwalton]
...
Add blocky scroll indicators to the java compositor.
2011-11-21 18:15:29 -05:00