Chris Lord
eab558f3d1
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
9f3d985c52
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
7ea86c481d
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
3ef675a7ec
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
2db91dc2ea
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
c785511059
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
Chris Lord
0aedc7dacb
Bug 611315 - Fix drawing of tiled GL Thebes layers with rotation. r=mattwoodrow
...
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-19 09:36:08 +01:00
Chris Jones
8786c55e3f
Bug 648484, part 2: Add various helpers, refactor ContainerLayer::SetSpecificAttributes. r=roc
2011-08-09 12:38:26 -07:00
Florian Haenel
c543f5d68b
Bug 669602 - Fennec/OGL: Paint Artifacts on chrome pages background after scrolling. r=joe,roc
2011-08-09 11:38:05 -04:00
Matt Woodrow
343093175d
Bug 675073 - Release OpenGL textures with the global context if the creating context has been destroyed. r=joe
2011-08-05 13:13:25 +12:00
Matt Woodrow
6b3e01d5ec
Bug 655017 - Let gfxXlibSurface track GLXPixmaps and use this for CanvasLayerOGL. r=karlt, roc
2011-08-05 13:13:25 +12:00
Matt Woodrow
cd05bbfd33
Bug 505115 - Part 7 - Layers support for 3d transforms. r=roc
2011-08-03 15:04:20 +12:00
Matthew Gregan
db3428cfec
Bug 672755 - Add memory reporters for decoded video and audio queues. r=cpearce r=joe
2011-07-22 15:17:23 +12:00
Oleg Romashin
7d3e811adb
Bug 671986 - ImageLayerOGL does not apply offset/transform for layer r=jrmuizel
2011-07-17 12:07:41 +02:00
Chris Jones
d8c3256765
Merge backout
2011-07-15 11:36:22 -07:00
Chris Jones
24f027292c
Back out bug 648484
2011-07-15 11:35:55 -07:00
Chris Jones
7e90855ae8
Bug 648484, part 2: Add various helpers, refactor ContainerLayer::SetSpecificAttributes. r=roc
2011-07-13 22:43:43 -07:00
Matt Woodrow
b154d14e64
Bug 670106 - Check the surface type before attempting to create a GLXPixmap. r=joe
2011-07-15 08:45:33 +12:00
Benoit Girard
952c2f25af
Bug 663259 - Enable Mac Async plugin by default. r=cjones,mattwoodrow
...
--HG--
extra : rebase_source : 6d397273f10e659a08125b3861e1651a3994aaa0
2011-07-12 10:31:18 -04:00
Robert O'Callahan
26c67a621c
Bug 649924. Use image surfaces to implement canvases beyond the texture size limit. r=bas
2011-07-08 22:42:21 +12:00
Florian Haenel
32ba480e5b
Bug 607687 - Fennec should take care about Texture MAX size HW limitation r=jmuizelaar
2011-07-06 11:00:47 -07:00
Matt Woodrow
89e737996c
Bug 656185 - Part 2 - Upload the entire image for PlanarYCbCrImageOGL to a texture and clip using texture coordinates. r=derf
2011-07-05 14:52:00 +12:00
Matt Woodrow
7ab3748569
Bug 656185 - Part 1 - Move BindAndDrawQuadWithTextureRect into LayerManagerOGL. r=joe
2011-07-05 14:50:38 +12:00
Benoit Girard
9c46ca57c5
Bug 636707 - Check for null MacIOSurfaceImageOGL. r=mattwoodrow
2011-07-04 09:51:37 -04:00
Benoit Girard
dd61f3a2ea
Bug 648480 - Add shadow-layer support to d3d9 backend. r=cjones
2011-07-04 09:15:05 -04:00
Benoit Girard
069dc7b333
Backout 627489bb6288.
2011-07-01 18:05:54 -04:00
Benoit Girard
c83b82cbd1
Bug 648480 - Add shadow-layer support to d3d9 backend. r=cjones
2011-07-01 16:57:15 -04:00
Matt Woodrow
cc66446a05
Back out bug 656185 due to windows compile failures
2011-06-27 15:21:22 +12:00
Matt Woodrow
8aba398b72
Bug 656185 - Part 2 - Handle odd crop offsets correctly with OpenGl. r=derf
2011-06-27 14:32:16 +12:00
Matt Woodrow
9376e72c7e
Bug 656185 - Part 1 - Move BindAndDrawQuadWithTextureRect into LayerManagerOGL. r=joe
2011-06-27 14:32:06 +12:00
Jeff Muizelaar
9c940cc534
Bug 662649. DrawFPS: Make the conversion loop easier to follow. r=joe
2011-06-22 14:53:11 -04:00
Jeff Muizelaar
d2cc193c0b
Bug 662649. DrawFPS: Add a comment about why DrawFPS is a little weird.
2011-06-22 14:49:31 -04:00
Jeff Muizelaar
f15d555c8f
Bug 662649. DrawFPS: Make sure we use a 32 bit type instead of a 64 bit one. r=joe
...
This was causing badness on platforms where unsigned long is 64 bits.
2011-06-22 14:46:27 -04:00
Jeff Muizelaar
e70b966d11
Bug 662649. DrawFPS: free leaked buffer. r=joe
...
glTexImage2D will keep a copy of this data around so we don't have to.
2011-06-22 14:43:52 -04:00
Robert O'Callahan
0cc6be313b
Bug 637852. Part 9: Remove resolution support from BasicLayers, ShadowLayers and GL layers. r=mattwoodrow
...
This is not needed anymore.
2011-06-23 00:11:28 +12:00
Neil Rashbrook
747f874cd4
Bug 660525 Remove useless uses of PromiseFlatString (prev cset lacked the code changes) r=joedrew!
2011-06-13 19:02:35 -07:00
Masayuki Nakano
e06d6eb819
Bug 663036 part.3 gfx should use mozilla::Preferences r=roc+joe
2011-06-12 11:30:16 +09:00
Oleg Romashin
bcfe656b06
Bug 612335 - Render remote canvas directly into shared surface r=jones.chris.g
2011-06-09 21:17:02 -04:00
Oleg Romashin
65a70a8e4c
Bug 659768 - HTML5 video does not render anything on Maemo r=mattwoodrow
2011-05-31 09:48:47 +12:00
Matheus Kerschbaum
35f86c76ad
Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew
2011-05-23 18:54:47 +02:00
Robert O'Callahan
ea286efab6
Bug 654950. Fix scissor rect calculations for descendants of container layers with intermediate surfaces. r=bas
2011-05-23 12:27:03 +12:00
Florian Hänel
8e0d9ab286
Bug 628566 - Implement basic tiling of ImageLayerOGL. r=joe
2011-05-19 12:53:02 +02:00
Florian Hänel
ba640eeb4a
Bug 643793 - Convert OpenGL scissor rects to world space in ContainerLayerOGL. r=joe
2011-05-14 12:11:37 +12:00
Matt Woodrow
9d7dd64918
Bug 649417 - Part 2 - Add a YUV option to SharedImage and use it to share YUV data across processes. r=cjones,joe
2011-04-21 16:38:39 +12:00
Matt Woodrow
d3c4acee47
Bug 649417 - Part 1 - Create a SharedImage ipdl union and pass this to ShadowImageLayer::Swap . r=cjones
2011-04-21 11:21:56 +12:00
Oleg Romashin
13f01190c4
Bug 612407 - Add FPS counter like fraps r=joe,jrmuizel
2011-05-10 21:45:42 -04:00
Matt Woodrow
a4d6cf8613
Bug 649685 - Don't flip when drawing the backbuffer to the window with OpenGL. r=joe
2011-05-09 11:44:03 +12:00
Mounir Lamouri
ad09541e90
Backout 2348924d6410 (bug 612407) for build bustage.
2011-05-06 11:42:42 +02:00
Oleg Romashin
bf1f0f0f3d
Bug 612407 - Add FPS counter like fraps r=joe
2011-05-06 11:04:14 +02:00
Chris Jones
ed22df8f64
Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
...
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00