Commit Graph

82 Commits

Author SHA1 Message Date
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
Ali Juma
defea5258d Bug 677920 - Part 1: Add a ReleaseSurface method to GLContextEGL. r=matt.woodrow
--HG--
extra : rebase_source : 1fd3d47e3046ccfb5479e03d30811fc35a18665b
2011-08-23 16:48:27 -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
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 Lord
7f1c4e37b9 Bug 675908 - Fix TiledTextureImage updates. r=joe,romaxa
TiledTextureImage breaks BeginUpdate/EndUpdate in these cases:

- The update is encompassed by more than one tile
- The update is encompassed by a single tile that isn't the first tile
- The update is a non-rectangular region that covers more than one tile

Fixed by using signed instead of unsigned integers in tile loops, correcting
an incorrect device offset and correcting the region returned by BeginUpdate.
2011-08-19 09:36:04 +01:00
Benoit Jacob
b097dfda2f Bug 669013 - Despite supporting OES_texture_float, getSupportedExtensions still returns no extensions - r=joe 2011-08-15 15:53:02 -04:00
Joe Drew
769a87995c Bug 660090 - EGL: Track creation/allocation/valid status of textures; r=florian.haenel,romaxa 2011-07-26 13:52:03 -07:00
Scott Ruff
a1835137c8 Bug 649525 - WebGL layer compositing through the BasicCanvasLayer is very slow (desktop version). r=jmuizelaar 2011-07-27 13:00:17 +02:00
Matt Woodrow
ba6834dec3 Bug 670573 - Add glTex(Sub)Image2D wrappers that correctly handle stride and alignment. r=derf 2011-07-25 19:32:56 +12:00
Matt Woodrow
071b50617b Backed out changeset 39fef2383893 2011-07-25 13:18:23 +12:00
Matt Woodrow
0b746c54ed Bug 670573 - Add glTex(Sub)Image2D wrappers that correctly handle stride and alignment. r=derf 2011-07-25 12:50:00 +12:00
Benoit Jacob
eb0e51fa33 Bug 665070 - part 1: implement GLContext::GetAndClearError - r=jrmuizel 2011-07-07 20:01:16 -04: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
Matheus Kerschbaum
35f86c76ad Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew 2011-05-23 18:54:47 +02:00
Benoit Jacob
eca44c5cc8 Bug 656215 - check max size for textures and renderbuffers - r=joedrew
This is needed to correctly handle exceedingly large canvases, for example.
2011-05-20 15:53:53 -04:00
Vladimir Vukicevic
4b2230fe03 Bug 630672 - implement WebGL OES_texture_float extension - r=bjacob
This implements floating-point textures in WebGL
2011-05-20 15:53:53 -04:00
Florian Hänel
8e0d9ab286 Bug 628566 - Implement basic tiling of ImageLayerOGL. r=joe 2011-05-19 12:53:02 +02:00
Robert O'Callahan
c957ae039e Bug 641426. Part 5: Avoid operator== where possible to distinguish between 'equal edges' and 'equal areas' for rectangles. r=dbaron,sr=cjones 2011-04-19 15:07:23 +12:00
Matt Woodrow
1b93d0832f Bug 586508 - Improve GL error code output. r=bjacob 2011-04-19 10:47:40 +12:00
Landry Breuil
5334f0f25b Bug 633857 - missing #includes for OpenBSD (gfx part) r=ludovic 2011-04-14 17:48:27 +09:00
Matt Woodrow
099fef4367 Bug 641250 - Rename GLContext::TextureState::Initialized to Allocated. r=joe 2011-04-07 16:58:08 -07:00
Matt Woodrow
30e6da146a Bug 640082 - Part 3 - Add BindTexture functions to TextureImage. r=joe 2011-04-07 16:58:08 -07:00
Benoit Jacob
a4d00bab86 Bug 640064 - crash [@ libc.so@0x1c25e] going to about:support crashes ideos s7; r=jmuizelaar 2011-03-09 05:17:00 -05:00
Ehsan Akhgari
49fceed112 Backout the latest cedar merge wholesale until I test the correctness of the merge locally. This commit takes the tree state back to changeset 8d3f6093c425 (the last known good changeset before the merge) 2011-04-01 12:23:48 -04:00
Benoit Jacob
71406e87b5 imported patch 640064 2011-03-09 05:17:00 -05:00
Matt Woodrow
d678e84d15 Bug 635383 - Part 1 - Make GL layers always y-flipped and handle this inside GLContext. r=joe 2011-02-25 20:44:18 +13:00
Matt Woodrow
423b5b30b7 Bug 641250 - Upload full surface bounds if texture is uninitialized. r=joe 2011-03-25 11:04:11 +13:00
Matt Woodrow
852f3221c8 Bug 636609 - Remove DEBUG_GL_ERROR_CHECK. r+a=joe 2011-02-25 20:05:31 +13:00
Benoit Jacob
f1f9b80cdd Bug 631643 - Check for ARB_ES2_compatibility before using it, fix MAX_VARYING_VECTORS emulation, clean up getParameters - r=vlad, a=jrmuizel 2011-02-11 18:11:30 -05:00
Kyle Huey
9132ccf4bc Backout 2011-02-11 23:08:16 -05:00
Benoit Jacob
4ff6fe0115 Bug 631643 - Check for ARB_ES2_compatibility before using it, fix MAX_VARYING_VECTORS emulation, clean up getParameters - r=vlad, a=jrmuizel 2011-02-11 18:11:30 -05:00
Matt Woodrow
b4e55ae952 Bug 593733 - Support component alpha with GL layers. r=roc, r=joe, a=betaN 2011-01-18 08:22:25 +01:00
Matt Woodrow
1752246ab3 Bug 593733 - Make TextureImage::BeginUpdate return a surface, not a context. r=joe, a=betaN 2011-01-18 08:21:12 +01:00
Matt Woodrow
9cd9789d4f Bug 621778 - Allow TextureImage to upload regions instead of only rectangles. r=joe a=blocking2.0 2011-01-18 14:32:40 +13:00
Jeff Muizelaar
eede7fe911 Bug 623228. Remove some debugging code that snuck in. 2011-01-08 00:05:11 -05:00
Markus Stange
cade7f1d9a Bug 595180: Draw window resizer on Mac OS X. r=joe r=josh a=blocking2.0beta9+ 2011-01-07 15:32:42 -05:00
Vladimir Vukicevic
5c358eba4e b=618892; [webgl] use ANGLE pbuffers to speed up webgl with d3d10 layers; r=bas 2011-01-06 14:07:12 -08:00
Jeff Muizelaar
8ad59d6cc2 Bug 623228. Avoid calling glDeleteFramebuffers(1, &0). r=vlad
The Droid phones have a bug where calling glDeleteFramebuffers(1, &0) hangs
instead of being ignored.

--HG--
extra : rebase_source : dcfc98792404c5526845c587a378fb200e4faa95
2011-01-05 23:54:29 -05:00
Jeff Muizelaar
9a36b6ccec Bug 623228. Unify debug/release build gl wrappers. r=vlad
This will allow us to work around the Droid hangs
in a single place.

--HG--
extra : rebase_source : f7d51f5584d04a53cd192a46d1d265a74f4ac481
2011-01-05 23:54:27 -05:00
Matt Woodrow
a2e7cac831 Bug 604101 - Part 6 - Add TextureImage::DirectUpload for faster texture uploads. r=jrmuizel a=blocking2.0 2010-12-16 23:50:26 -08:00
Matt Woodrow
47294e7de3 Bug 604101 - Part 5 - Use Pixel Buffer Objects in TextureImageCGL. r=joe,jrmuizel a=blocking2.0 2010-12-16 23:49:42 -08:00
Matt Woodrow
bdcc087748 Bug 604101 - Part 4 - Use UploadSurfaceToTexture in TextureImage. r=joe a=blocking2.0 2010-12-16 23:29:23 -08:00
Matt Woodrow
fce27bc281 Bug 604101 - Part 1 - Add UploadSurfaceToTexture. r=joe a=blocking2.0 2010-12-16 23:23:07 -08:00
Matt Woodrow
58d947701c Bug 615741 - Too large canvases don't draw and be black. r=joe a=joe 2010-12-16 23:19:28 -08:00
Jeff Muizelaar
feb59ecd24 Bug 614832. Refactor EGL surface creation. r=vlad,a=blocking
This factors CreateSurfaceForWindow() out of CreateForWindow() so that we can
reuse it in RenewSurface(). For this to work we also need to factor out
CreateConfig(). The QT implementation is also pulled out because it didn't
share any code.
2010-12-13 14:36:35 -08:00
Vladimir Vukicevic
4b44267bda b=609195; use GL_REPEAT for non-power-of-two textures if we have support for them; r=jrmuizel, a=b 2010-11-12 12:02:20 -08:00
Vladimir Vukicevic
18c7818ede b=609195; don't use GL_REPEAT for non-power-of-two textures; r=jrmuizel 2010-11-12 12:02:17 -08:00
Vladimir Vukicevic
32096750fc b=605063; fix android GL startup; r=jrmuizel 2010-11-12 12:02:11 -08:00
Joe Drew
a2aa4fefa9 Bug 575521 - Draw to a clipped context backed by the surface uploaded to OpenGL using APPLE_client_storage to avoid slowdowns in glTexSubImage2D. r=jrmuizel a=b 2010-11-11 15:31:23 -05:00