Vladimir Vukicevic
b214dc9a53
b=767064; use 4444/565 GL context format for WebGL on mobile; r=jgilbert
2012-07-06 09:19:27 -04:00
Benoit Jacob
f96bb8c497
Bug 769812 - ATI OpenGL driver renders point sprite upside-down - r=jgilbert
2012-07-05 10:13:46 -04:00
Nicolas Silva
dc371fb6b4
Bug 761849 - D[OGL] Don't convert video texture to RGBA for better performance on desktoop. r=joe
2012-06-21 16:58:49 -04:00
Daniel Holbert
7cb3dd276a
Bug 766666: Remove unused variable 'found' in GLContext.cpp's "RemoveNamesFromArray" function. r=bjacob
2012-06-20 12:40:16 -07:00
David Zbarsky
8fb73053b7
Bug 765989 - Add fail on warnings to some gfx directories r=benwa
2012-06-19 21:12:30 -07:00
Brad Lassey
9986ad0753
bug 765388 - assertion: GL supports OES_EGL_image without supplying its functions r=jrmuizel
2012-06-15 15:06:35 -07:00
Jeff Gilbert
3cf5d4bcb4
Bug 729726 - Use BGRA-texture-backed FBOs where available. r=bjacob
2012-06-16 10:01:24 -04:00
Benoit Jacob
92625bf9ef
Bug 763559 - Enable WEBGL_compressed_texture_s3tc with ANGLE - r=jgilbert
2012-06-14 23:16:21 -04:00
Andrew Quartey
baadcb9332
Bug 764972: Fix typo in GLContext.cpp error message. r=jgilbert
2012-06-14 15:39:57 -07:00
Jeff Gilbert
762a5e511f
Bug 762263 - Add EGLSync - r=bjacob
2012-06-12 14:39:43 -07:00
Jeff Gilbert
39e88c58be
Bug 762265 - Modernize EGL extension detection, similar to GLContext - r=bjacob
2012-06-12 14:39:18 -07:00
Jeff Gilbert
79e3694ae3
Bug 762259 - Drop vendor suffixes from EGLImage for internal uses - r=bjacob
2012-06-12 14:36:10 -07:00
John Drinkwater
d5664069ed
Bug 758844 - Disable debug output unless MOZ_GL_DEBUG is defined. r=jgilbert
2012-06-11 08:25:06 -07:00
Oleg Romashin
ac93895c5c
Bug 760834 - Fix mIterationCallback initialization order warning. r=Cwiis
2012-06-04 16:49:57 -07:00
Nicholas Cameron
4ffe1932d5
Bug 753784; add the ability to force a single tile. r=roc
2012-05-22 19:14:03 -04:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Benoit Jacob
a42a99ab5b
Back out patches from bug 749678, except for the include guards - no review, fix regression (Bug 753350)
...
Unfortunately, in-process plugins using OpenGL break the assumption made by these patches, that the current GL context is only changed by GLContext::MakeCurrent. Another issue, regardless of in-process, is that our host-side code in nsCoreAnimationSupport.mm uses direct CGL calls, bypassing GLContext.
2012-05-12 19:23:56 -04:00
Benoit Jacob
1b053c4340
Bug 739648 - add mFlags field to TextureImage; introduce GetSrcTileRect flipping tile y-coords as needed; use it in DirectUpdate() to fix WebGL compositing bug - r=bgirard
2012-05-09 16:55:31 -04:00
Jon Buckley
fe5357a457
Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob
2012-05-08 13:29:31 -04:00
Ed Morley
564ad47b62
Backout ba7cf6fd10ae (bug 728017) for failing to compile
2012-05-08 18:50:45 +01:00
Jon Buckley
63fcd1222a
Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob
2012-05-08 13:29:31 -04:00
Benoit Jacob
552b943c50
Bug 749678 - 1/5 - Switch GLContext to use mozilla::tls for current context - r=jrmuizel
...
See comment above class GLContextTLSStorage
2012-05-08 09:47:34 -04:00
Benoit Jacob
5dab049fbd
Backing out bug 739648 for linux build failure
2012-05-03 16:26:04 -04:00
Benoit Jacob
9e3a5c65b9
Bug 739648 - WebGL rendering is broken on Android due to tiles being rendered at y-flipped coordinates - r=bgirard
2012-05-03 15:59:19 -04:00
Nicholas Cameron
75a1d943b0
Bug 716439; changes to glContext. r=BenWa
2012-04-04 17:56:22 +12:00
Jeff Gilbert
d85ca6a3fb
Bug 708136 - Don't teardown GL objects if teardown's makecurrent fails - r=bjacob
2012-04-30 19:05:59 -07:00
Oleg Romashin
12406d249f
Bug 743314 - Force CanUploadSubtextures on Maemo6 harmattan. r=chrislord.net
2012-04-28 09:05:41 -04:00
Jeff Gilbert
cb1a74bdfd
Bug 739775 - Refactor ResizeOffscreenFBO - r=bjacob
2012-04-25 15:10:43 +01:00
Ali Juma
074cef2a87
Bug 741319 - Delete textures using the same context used to create them, on the thread that owns that context. r=joe
2012-04-10 16:20:02 -04:00
Benoit Jacob
e28cb37e46
Bug 741730 - Remove USE_GLES2 - r=romaxa
2012-04-10 11:49:21 -04:00
Benoit Jacob
47c68c9733
Bug 686735 - 1/2 - Implement no-gfx-driver-workarounds mode - r=joe,ajuma,jgilbert
...
Part 1: introduce the gfx.work-around-driver-bugs preference and handle most existing workarounds
2012-04-10 11:49:10 -04:00
Jeff Gilbert
29a5fbdfbf
Bug 739421 - Implement/expose ARB_sync in GLContext - r=bjacob
2012-04-06 16:57:55 -07:00
Jeff Gilbert
f4741b7ccb
Bug 741689 - Disable poorly implemented GL extensions on load - r=bjacob
2012-04-04 18:44:55 -07:00
Ali Juma
7d8866493e
Bug 741984 - Prevent tiled texture upload from going into an infinite loop. r=Cwiiis
2012-04-04 10:26:05 -04:00
Jeff Gilbert
94372a6c1c
Bug 732765 - Fail gracefully when we lack GL functionality - r=bjacob
2012-03-29 13:47:20 -07:00
Chris Lord
333af781a5
Bug 739604 - Don't leave mCurrentImage in an inconsistent state. r=ajuma
...
Setting MOZ_DUMP_PAINT_LIST when using tiled textures was causing crashes, one
of which was due to TextureImage function calls happening outside of tile
iteration and accessing invalid memory.
Fix this crash by reverting NextTile behaviour to never leave mCurrentImage
point to an invalid tile, as was the case prior to bug 732917.
2012-03-28 19:10:10 +01:00
Benoit Jacob
34ab7fc324
Bug 737182 - limit max texture size on Mac Intel driver - r=bgirard
2012-03-26 12:15:53 -04:00
Oleg Romashin
aa65af70cc
Bug 738865 - Use Small Tiles should not be Android only. r=chrislord.net,bgirard
2012-03-24 18:08:06 -04:00
Chris Lord
1579073331
Bug 738740 - Fix handling of parameters in nsTArray::ReplaceElementAt. r=bz
...
Handle the parameters given to ReplaceElementAt the same way as those given to
other methods in the class. This allows removal of the & in GLContext.cpp that
was taking the address of a temporary, and causing a build error when using
clang, or when using GCC with particular parameters.
2012-03-23 19:27:25 +00:00
Chris Lord
3064851e58
Bug 737434 - Reuse tiles when resizing tiled textures. r=bgirard
...
Instead of scrapping all tiles when a tiled texture is resized, reuse as many
tiles as possible. Strictly speaking, more tiles could be reused, but the
selected reuse strategy maintains the spacial structure of the texture, and we
don't often resize in such a way as to make this inefficient.
2012-03-23 11:30:57 +00:00
Jeff Muizelaar
04ca422687
Bug 737686. Avoid glTexSubImage2D on PowerVR hardware. r=gwright
...
glTexSubImage causes a readback on PowerVR hardware if the texture
has already been uploaded. Disabling CanUploadSubTextures() brings
the median upload speed from 26ms to 10ms.
2012-03-20 19:13:50 -04:00
Chris Lord
776fd1ab3f
Bug 732917 - Use tile iteration functions in DirectUpdate. r=ajuma
...
So that the tile iteration callback remains useful, use the public iteration
functions when iterating over tiles in TiledTextureImage::DirectUpdate.
2012-03-17 12:06:29 +00:00
Chris Lord
5a39506a49
Bug 732917 - Add a callback function for tile iteration. r=ajuma
...
Add the ability to set a callback function to be called on tile iteration.
2012-03-17 12:06:29 +00:00
George Wright
af4ddd7196
Bug 732865 - Clean up the GLContext* classes. r=bgirard,joe
2012-03-16 18:24:12 -04:00
George Wright
50c6673d9e
Backed out changeset aad5bc8b3433
2012-03-16 15:02:01 -04:00
George Wright
5189153442
Bug 732865 - Clean up the GLContext* classes. r=bgirard,joe
2012-03-16 14:30:09 -04:00
Benoit Girard
bbefdec4f2
Merge mc->Maple
2012-03-13 11:05:28 -04:00
Jeff Gilbert
fd76aea573
Bug 729702 - Use ReadPixelsIntoImageSurface in CopyToTarget instead of duplicating functionality - r=BenWa
2012-03-12 18:42:02 -07:00
Benoit Girard
6ce5d32223
Merge mc->maple
2012-03-09 18:16:26 -05:00
Chris Lord
b57c914d81
Bug 734175 - Fix uploading all tiles when subtextures are unsupported. r=bgirard
...
The check for sub-texture support happens before iterating over tiles in
TiledTextureImage, and forces the bounds to the boundaries of the
TiledTextureImage. This causes any upload on a TiledTextureImage to re-upload
every single tile, regardless of whether it intersects with the upload region.
Fix this by moving this check inside of the tile iteration loop, and expanding
individual tile upload regions to tile boundaries.
2012-03-09 10:22:59 +00:00