Benoit Girard
36730b55b4
Bug 683514 - [backout] Add support for the GL_EXT_unpack_subimage extension. r=backout;
...
--HG--
extra : rebase_source : 23710be7f1e2376eb21fb5f6f208ef167f77ef1e
2011-09-07 17:33:56 -04:00
Chris Lord
90221339d6
Bug 683514 - Add support for the GL_EXT_unpack_subimage extension. r=joe
...
A GLES 2.0 extension exists that allows us to use GL_UNPACK_ROW_LENGTH, amongst
other variables. This really helps us when uploading sub-regions of a buffer
that don't span the entire width of that buffer (for example, when scrolling
horizontally).
This extension is available on Android tablets, and possibly other Tegra 2
devices, so is very much worth taking advantage of.
Details:
http://www.khronos.org/registry/gles/extensions/EXT/GL_EXT_unpack_subimage.txt
2011-08-31 18:25:25 +01:00
Chris Lord
4d3019a1b9
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-24 20:21:53 +01:00
Chris Lord
42d612afd7
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
a6b3246fd0
Backout changeset 07d34812bdee, b879d413ce2d, 0c59eeb18700 due to android opengl regression on chrome pages; r=backout
2011-08-23 17:12:15 -04:00
Chris Lord
ee19435552
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
2bc52b2ec7
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
e00ca83dcf
Bug 669013 - Despite supporting OES_texture_float, getSupportedExtensions still returns no extensions - r=joe
2011-08-15 15:53:02 -04:00
Benoit Girard
20558ca924
Bug 677699 - TiledTextureImage::GetTileRect() computes the wrong offset; r=heeen
...
--HG--
extra : rebase_source : 01fb1f2f4044332f2d15fc197a573c40b59f2e10
2011-08-09 14:41:27 -07:00
Matt Woodrow
e2113eb4db
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
22504be7f5
Backed out changeset 39fef2383893
2011-07-25 13:18:23 +12:00
Matt Woodrow
c9c57295d3
Bug 670573 - Add glTex(Sub)Image2D wrappers that correctly handle stride and alignment. r=derf
2011-07-25 12:50:00 +12:00
Daniel Holbert
6a8e68ad73
Bug 670025: Use more fine-grained checks to pick depth in GLContext::ResizeOffscreenFBO. r=vlad
2011-07-12 00:11:20 -07:00
Florian Haenel
a0b30fbce6
Bug 607687 - Fennec should take care about Texture MAX size HW limitation r=jmuizelaar
2011-07-06 11:00:47 -07:00
Matt Woodrow
e64b02f01a
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
f47d6dca8b
Back out bug 656185 due to windows compile failures
2011-06-27 15:21:22 +12:00
Matt Woodrow
6e295129f3
Bug 656185 - Part 2 - Handle odd crop offsets correctly with OpenGl. r=derf
2011-06-27 14:32:16 +12:00
Ed Morley
8e9e496bf0
Bug 665622 - Fix unused variable warnings in GLContext.cpp & GLContextProviderEGL.cpp; r=joedrew
2011-06-23 19:01:17 -07:00
Neil Rashbrook
fc981395e8
Bug 660525 Remove useless uses of PromiseFlatString (prev cset lacked the code changes) r=joedrew!
2011-06-13 19:02:35 -07:00
Benoit Jacob
35a3781d38
Bug 659349 - WebGL allows access to uninitialised graphics memory - r=jrmuizel
...
GLContext::ClearSafely() wasn't really safe, it was making naive assumptions about GL state and as a result, a WebGL script could obtain an uninitialized backbuffer.
2011-05-26 14:24:48 -04:00
Benoit Jacob
7e05c500e7
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
Florian Hänel
9b0ef26bc8
Bug 628566 - Implement basic tiling of ImageLayerOGL. r=joe
2011-05-19 12:53:02 +02:00
Matt Woodrow
4dd16cdfda
Bug 641250 - Rename GLContext::TextureState::Initialized to Allocated. r=joe
2011-04-07 16:58:08 -07:00
Matt Woodrow
28ec02dbae
Bug 640082 - Part 3 - Add BindTexture functions to TextureImage. r=joe
2011-04-07 16:58:08 -07:00
Matt Woodrow
2a1f0e9dcc
Bug 641250 - Upload full surface bounds if texture is uninitialized. r=joe
2011-03-25 11:04:11 +13:00
Benoit Jacob
2866aaced4
Bug 627464 - Annotate crash reports if the forced-enabled prefs are set - r=jrmuizel, a=joe
2011-03-02 15:50:36 -05:00
Matt Woodrow
a15340f7c5
Bug 636609 - Remove DEBUG_GL_ERROR_CHECK. r+a=joe
2011-02-25 20:05:31 +13:00
Benoit Jacob
0b2f3cb1f2
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
Benoit Jacob
b7b161307b
Bug 629265 - dont block NVIDIA 260.19 for now - r+a=joe
2011-02-14 16:39:52 -05:00
Benoit Jacob
5c44f6c8cc
Bug 629265 - Crash in NVIDIA driver 260.19 on linux 64bit w/ layers acceleration - r=vladimir, a=jrmuizel
2011-02-11 18:11:30 -05:00
Kyle Huey
342764eac7
Backout
2011-02-11 23:08:16 -05:00
Benoit Jacob
fe4d137f59
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
Benoit Jacob
60c882c27a
Bug 629265 - Crash in NVIDIA driver 260.19 on linux 64bit w/ layers acceleration - r=vladimir, a=jrmuizel
2011-02-11 18:11:30 -05:00
Oleg Romashin
21f38db312
Bug 627661 - RGBA surface clear was broken in 593733 r=roc,mattwoodrow a=approval2.0
2011-01-24 21:31:35 +02:00
Matt Woodrow
10a7c01a81
Bug 593733 - Support component alpha with GL layers. r=roc, r=joe, a=betaN
2011-01-18 08:22:25 +01:00
Matt Woodrow
b3f50f7e52
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
ff93946c65
Bug 622165 - Don't try to draw ThebesLayerOGL's that are greater than the max texture size. r=joe a=blocking2.0
2011-01-18 14:32:40 +13:00
Matt Woodrow
84d4c6a671
Bug 621778 - Allow TextureImage to upload regions instead of only rectangles. r=joe a=blocking2.0
2011-01-18 14:32:40 +13:00
Matt Woodrow
60960f1870
Bug 619869 - Fix whitespace in GLContext.cpp. r=jrmuizel a=joe
2011-01-18 10:50:02 +13:00
Ms2ger
10a3317409
Bug 620355 - Fix uninitialized variable warnings in GLContext::UploadSurfaceToTexture; r=mattwoodrow a=joedrew
2011-01-07 14:37:50 +01:00
Benoit Jacob
7eb2d8209d
Bug 600079 - Crash in [@ @0x0 | mozilla::gl::GLContext::MarkDestroyed() ] - r=vlad, a=joe
2011-01-06 09:59:28 -05:00
Matt Woodrow
f5927fd63b
Bug 619934 - Fix startup crash in UploadSurfaceToTexture ra=jrmuizel
...
Some last minute changes caused this to assume that imageSurface->Data()
didn't return NULL.
2010-12-18 19:11:19 -05:00
Matt Woodrow
3dbd1ca420
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
41f7a4eadc
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
8ff0e949d1
Bug 604101 - Part 4 - Use UploadSurfaceToTexture in TextureImage. r=joe a=blocking2.0
2010-12-16 23:29:23 -08:00
Matt Woodrow
4d552e1a3a
Bug 604101 - Part 1 - Add UploadSurfaceToTexture. r=joe a=blocking2.0
2010-12-16 23:23:07 -08:00
Matt Woodrow
393a7569c1
Bug 615741 - Too large canvases don't draw and be black. r=joe a=joe
2010-12-16 23:19:28 -08:00
Benoit Jacob
68c6411e7f
Bug 612572 - Crash [@GLContext::ListHasExtension] when extensions is null - r=jseward a=joe
2010-11-18 09:17:19 -05:00
Vladimir Vukicevic
2033650b26
b=539771; Add support for context attribs to canvas; r=jmuizelaar
2010-11-16 20:33:03 -08:00
Benoit Jacob
d6d96c60b7
Bug 612171 - Regression: severe scrolling glitches with GL layers - r=joe, a=blocking-beta8
2010-11-15 18:13:56 -05:00