Commit Graph

313 Commits

Author SHA1 Message Date
Ali Juma
c0dc8c5cb9 Bug 705641 - Add reason for framebuffer incompleteness to abort message. r=jrmuizel 2011-12-02 09:43:58 -05:00
Jeff Gilbert
0b15b4ca5a Bug 706297 - Remove unnecessary glFinish preceeding glReadPixels from LayerManagerOGL - r=bjacob 2011-11-30 17:25:20 -08:00
Oleg Romashin
75805df3c2 Bug 618765 - unbind VBO required in order to share GL context with toolkit. r=matt.woodrow 2011-11-20 08:49:48 -05:00
Oleg Romashin
31a6533200 Bug 618765 - unbind VBO required in order to share GL context with toolkit. r=jrmuizel 2011-11-18 14:01:35 +01:00
Matt Woodrow
2d611b7017 Bug 688342 - Make nsCanvasRenderingContext2D support Azure backends other than Direct2D. r=Bas 2011-11-03 08:55:03 +13:00
Ali Juma
0ded562bb1 Bug 696768 - Abort when framebuffer completeness check fails. r=jrmuizel 2011-11-02 09:40:14 -04:00
Matt Woodrow
a4b30f7059 Bug 698212 - Let UploadSurfaceToTexture create the texture for CairoImageOGL. r=BenWa 2011-10-31 14:03:00 +13:00
Benoit Girard
d66a2e3e8e Bug 698137 - Set texture unit before binding FPS texture. r=ajuma 2011-10-31 15:04:09 -04:00
Benoit Jacob
52c7dd9b1a Bug 697845 - only call glFinish in RenderLayer, not in UpdateSurface - r=mattwoodrow
This could make WebGL a bit faster.
2011-10-29 19:15:52 -04:00
Benoit Girard
6d3e7a6e17 Bug 680082 - Add GetMaxTextureImageSize to correct size support for TiledTextureImage. r=matt.woodrow 2011-10-26 14:36:18 -07:00
Benoit Girard
6845db85b2 Bug 680082 - [backout] Add GetMaxTextureImageSize to correct size support for TiledTextureImage. 2011-10-27 10:17:40 -04:00
Benoit Girard
042f28e1ce Bug 680082 - Add GetMaxTextureImageSize to correct size support for TiledTextureImage. r=matt.woodrow 2011-10-26 14:36:18 -07:00
Oleg Romashin
beda637bd5 Bug 695406 - Reset IPC double buffers if the ContentType has changed. r=cjones 2011-10-21 14:29:09 +13:00
Marco Bonardo
6d5a4c1c2f Backout 73dc291f8974 (Bug 695406) to investigate Android Crashtests permaorange 2011-10-21 12:07:32 +02:00
Oleg Romashin
1ebf685771 Bug 695406 - Reset IPC double buffers if the ContentType has changed. r=cjones 2011-10-21 14:29:09 +13:00
Jeff Gilbert
0e7391ee98 Bug 615976 - Fixes layer compositing with AA on Mac - r=bjacob 2011-10-19 15:09:57 -04:00
Benoit Jacob
f617ed1d5c Back out Jeff's patches because they lack a Bug number and/or a r= field. Sorry, should have checked that. Re-landing. 2011-10-19 15:31:33 -04:00
Jeff Gilbert
cfeadcbe39 Fixes layer compositing with AA on Mac 2011-10-19 15:09:57 -04:00
Ehsan Akhgari
478ad1a412 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Benoit Girard
18561e0722 Bug 691354 - Restore CanvasLayerOGL::RenderLayer apply filter. r=bustage 2011-10-16 22:31:15 -04:00
Benoit Girard
396e3ad95b Bug 691354 - Use NEAREST filter when OGL layers have no 3d transform/scaling. r=jmuizelaar 2011-10-14 13:16:19 -07:00
Jeff Walden
7d613942b0 Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones 2011-10-10 22:50:08 -07:00
Oleg Romashin
d6de6f7589 Bug 694140 - With GL layers, panning/zooming causes corruption and wrong colours on Fennec. r=ajuma 2011-10-15 21:07:10 +01:00
Jeff Walden
c5e5f873d1 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
946f2ae0e3 Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones 2011-10-10 22:50:08 -07:00
Benoit Girard
5bd32fa6b9 Bug 626694 - Remove unused TextureImage::IsRGB(). r=mattwoodrow 2011-10-11 21:11:03 -04:00
Matt Brubeck
b52acd4a93 Back out f7bf7ac18a79 (bug 684826), 3a910924c50c (bug 687367), and 524a6bb8744b (bug 693086) because of Android bustage on a CLOSED TREE 2011-10-10 09:47:27 -07:00
Ehsan Akhgari
b243bbf546 Merge mozilla-central into mozilla-inbound 2011-10-10 11:30:21 -04:00
Brad Lassey
a66324bb78 merge 2011-10-10 11:01:34 -04:00
Brad Lassey
947452a9cf Backed out changeset 703df62e855b due to crashes reported in bug 693086 2011-10-10 11:00:16 -04:00
Oleg Romashin
441dce8f04 Bug 690469 - ShadowThebesLayer Init/Swap API rework. r=cjones 2011-10-02 17:19:32 -04:00
33bff001b8 Bug 620171 - [@ ImageContainerOGL::GetCurrentAsSurface] if GetFormat() can return anything other than PLANAR_YCBCR or CAIRO_SURFACE
r=bgirard
2011-10-10 15:27:05 +01:00
Benoit Girard
5e5b18ec4d Bug 692548 - Properly print OGL Shader compile errors on Android. r=jmuizelaar 2011-10-06 12:12:51 -07:00
Matt Woodrow
7dd0101e4e Bug 689416 - Stop using intermediate layers to render 3d transforms. r=roc 2011-10-07 10:29:07 +13:00
Matt Woodrow
c005f5cf06 Bug 684759 - Part 4 - Add layer sorting support to the LayerManagers. r=roc 2011-10-07 10:24:32 +13:00
Ali Juma
6480eda3fa Bug 690566 - Associate filters with texture images. r=jrmuizel 2011-10-05 14:20:33 -04:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Oleg Romashin
2450d05d88 Bug 689045 - Canvas Shadow swap/Init API rework r=cjones 2011-09-27 15:19:28 -07:00
Oleg Romashin
a8041173c6 Bug 687372 - ImageLayerOGL should not destroy surface given as argument. r=cjones 2011-09-27 15:19:26 -07:00
Ali Juma
6543bbd2e1 Bug 681033 - Prevent ShadowLayers::RecvUpdate from triggering an immediate repaint. r=cjones 2011-09-26 09:20:42 -04:00
Florian Hänel
d64111658c Bug 687458 - TimeStamp in FPSState uninitialized, leads to crash; r=romaxa 2011-09-22 00:16:12 -04:00
Benoit Girard
b5bb606f46 Bug 685694 - Don't use glDrawBuffer in GLES2. r=matt.woodrow 2011-09-08 14:21:36 -07:00
Benoit Girard
7286678f97 Bug 683745 - Fix OGL FPS Counter on Android; r=jrmuizel 2011-08-31 15:58:19 -07:00
Benjamin Stover
b611fd3519 Bug 634759 Allow buffer rotation for mobile r=roc 2011-08-29 10:56:50 -07:00
Chris Lord
0b99c2068c Bug 611315 - Fix handling of rotated ShadowBufferOGL
Although we currently have buffer rotation disabled for shadow buffers when
using the GL layer manager, if you re-enable it, it will be broken. This is
because we don't take into account the rotation when handling updates.

This fixes that handling by offsetting the updated region by the rotation,
and if that new region crosses texture boundaries, splitting it into
multiple uploads.
2011-08-24 15:10:03 +01:00
Chris Lord
df0e58d5c8 Fix drawing of GL Thebes layers with rotation when using tiled textures
Drawing of rotated buffers relies on texture-wrapping, but in the case of
tiled textures, this would cause each individual tile to wrap instead of
wrapping the compound texture.

Add a special case for tiled textures that manually does the wrapping.
2011-08-24 15:09:59 +01:00
Benoit Girard
9ecdd54291 Backout changeset 07d34812bdee, b879d413ce2d, 0c59eeb18700 due to android opengl regression on chrome pages; r=backout 2011-08-23 17:12:15 -04:00
Justin Wood
7d8d6b3f0c Backout Bug 594876, Bug 675474, and Bug 675532, to fix OSX64 Reftest orange, and Linux perf regression. rs+=edmorly
changeset 0a920411e64c, changeset 58147380793b, and changeset 96e052b3e845
2011-08-20 15:07:06 -04:00
Matt Woodrow
49d109d9bd Bug 675474 - Draw all ThebesLayer content before compositing and synchronize with glXWaitX on GLX. r=bjacob,roc 2011-08-20 14:04:24 +12:00
Chris Lord
a5f993733b Bug 611315 - Fix handling of rotated ShadowBufferOGL. r=mattwoodrow
Although we currently have buffer rotation disabled for shadow buffers when
using the GL layer manager, if you re-enable it, it will be broken. This is
because we don't take into account the rotation when handling uploads.

This fixes that handling by offsetting the updated region by the rotation and
adds an assertion if the updated region crosses a rotation boundary (which
should never happen).
2011-08-19 09:36:18 +01:00