Benjamin Smedberg
63ab5318c1
Bug 749459 - Load the EGL libraries correctly on Windows from the GRE path and the system location on other platforms (should be Android-only currently), r=bjacob
...
--HG--
extra : rebase_source : 12750d4c6dbcc5324256039b9f05b207ed7ec990
2012-05-15 14:55:50 -04:00
Benoit Jacob
c5e601654c
Bug 754426 - get screen depth from the main thread, expose it to other threads via gfxAndroidPlatform - r=joe
2012-05-15 15:41:20 -04:00
Benoit Jacob
b6f87893a9
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
Paul O’Shannessy
ed1ab90119
Bug 753854 - -[NSOpenGLPixelFormat initWithAttributes] should be passed a 0 terminated array. [r=joe]
2012-05-10 12:56:42 -07:00
Benoit Jacob
ec408295df
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
f4f2e1efb0
Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob
2012-05-08 13:29:31 -04:00
Ed Morley
8a8e40fff3
Backout ba7cf6fd10ae (bug 728017) for failing to compile
2012-05-08 18:50:45 +01:00
Jon Buckley
56d33b746c
Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob
2012-05-08 13:29:31 -04:00
Benoit Jacob
5edd04f2ba
Bug 749678 - 5/5 - fix dangling TLS pointer - r=jrmuizel
2012-05-08 09:47:34 -04:00
Benoit Jacob
b17930ac59
Bug 749678 - 4/5 - check owning thread in debug builds - r=bgirard
2012-05-08 09:47:34 -04:00
Benoit Jacob
ee3e78905d
Bug 749678 - 3/5 - stop calling platform-specific getCurrentContext functions - r=jrmuizel
2012-05-08 09:47:34 -04:00
Benoit Jacob
1ba7e7e4c1
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
Oleg Romashin
491ddece27
Bug 751594 - s/ResizeOffscreenFBO/ResizeOffscreenFBOs. r=bgirard
2012-05-03 18:33:51 -04:00
Benoit Jacob
dd4611db33
Backing out bug 739648 for linux build failure
2012-05-03 16:26:04 -04:00
Benoit Jacob
8560bfdefa
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
ecab6b290f
Bug 716439; changes to glContext. r=BenWa
2012-04-04 17:56:22 +12:00
Jeff Gilbert
1d2e09f940
Bug 708136 - Don't teardown GL objects if teardown's makecurrent fails - r=bjacob
2012-04-30 19:05:59 -07:00
Oleg Romashin
74f015b2ba
Bug 748694 - Switch Maemo WebGL to FBO. r=jgilbert,bgirard
2012-04-30 17:03:08 -07:00
Nicolas Silva
6436721408
Bug 743830 - Added 'gfx.xrender.enabled' pref (true by default). The pref is fetched in gfPlatformGtk.cpp and can be accessed through gfxPlatformGtk::UseXRender(). UseXRender is used in GLContextProviderGLX to set mUseTextureFromPixmap. r=jmuizelaar
...
--HG--
extra : rebase_source : 805947a2164aeb2dc71cc33086ac0bd201df3583
2012-04-18 10:27:32 -04:00
Benoit Jacob
84e349eedc
Bug 736123 - kill GetVendor() and EGLUtils.h - r=jrmuizel
...
Was only returning "Android" instead of something useful.
2012-04-30 17:43:12 -04:00
Oleg Romashin
6dc308faaf
Bug 743314 - Force CanUploadSubtextures on Maemo6 harmattan. r=chrislord.net
2012-04-28 09:05:41 -04:00
Matt Woodrow
d0debbb188
Bug 739490 - Pad OpenGL temporary surfaces to avoid bug with incorrect border drawing. r=roc
2012-04-27 12:24:53 +12:00
Ed Morley
a3e0f65181
Backout cc37cd8dac59 (bug 744303) for M1 orange
2012-04-25 16:15:11 +01:00
Jeff Gilbert
5eb8da111b
Bug 739775 - Refactor ResizeOffscreenFBO - r=bjacob
2012-04-25 15:10:43 +01:00
Jeff Gilbert
b00fa67275
Bug 744303 - Upload WebGL textures as BGRA when useful - r=bjacob
2012-04-25 15:05:35 +01:00
Jeff Gilbert
88d7051a95
Bug 730417 - Add minimal PBuffer request case and use PBuffer request bit. r=bjacob
2012-04-24 19:49:59 -04:00
Benoit Jacob
c34697b1f6
Bug 744888 - Work around a NVIDIA driver bug - r=jgilbert
2012-04-16 15:56:12 -04:00
Marco Bonardo
6cc1d6d44a
Backout e20a19a790dd (bug 743830) for linux QT bustage.
2012-04-13 21:43:13 +02:00
Nicolas Silva
cd1d382e7d
Bug 743830: Added 'gfx.xrender.enableded' pref (true by default). The pref is fetched in gfPlatformGtk.cpp and can be accessed through gfxPlatformGtk::UseXRender(). UseXRender is used in GLContextProviderGLX to set mUseTextureFromPixmap. r=jrmuizel,gw280
2012-04-11 14:04:54 -04:00
Oleg Romashin
26f7f1333a
Bug 744564 - Allow to create EGL context from Widget provided GL context (embedding approach). r=roc,jgilbert
2012-04-12 00:18:35 -04:00
Michael Wu
48724a2497
Bug 736005 - Put GL config fallback back on Android, r=cjones
2012-03-29 19:47:22 -07:00
Ali Juma
be583b5cab
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
60dfdc3a1d
Bug 741730 - Remove USE_GLES2 - r=romaxa
2012-04-10 11:49:21 -04:00
Benoit Jacob
dc36f05c94
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
bc6bfa1f21
Bug 621036 - Remove printfs from GLContextProviderCGL - r=bjacob
2012-04-09 19:51:29 -07:00
Jeff Gilbert
120971cba5
Bug 739421 - Implement/expose ARB_sync in GLContext - r=bjacob
2012-04-06 16:57:55 -07:00
Jeff Gilbert
e23d500463
Bug 741689 - Disable poorly implemented GL extensions on load - r=bjacob
2012-04-04 18:44:55 -07:00
Oleg Romashin
de66385f16
Bug 742544 - Don't change global shared context multiple times. r=jgilbert
2012-04-04 17:53:02 -07:00
Oleg Romashin
d56314193f
Bug 742091 - Texture format detection broken by 740372. r=gwright
2012-04-04 14:32:21 -07:00
Ali Juma
8ac74e4ada
Bug 741984 - Prevent tiled texture upload from going into an infinite loop. r=Cwiiis
2012-04-04 10:26:05 -04:00
Ali Juma
4d213a94dc
Bug 740313 - Initialize TextureImage::mFilter. r=bgirard
2012-03-29 17:44:11 -04:00
Jeff Gilbert
66aaf4ba47
Bug 732765 - Fail gracefully when we lack GL functionality - r=bjacob
2012-03-29 13:47:20 -07:00
Ali Juma
7317da0f57
Bug 735230 - Part 4: Don't call MakeCurrent with a context and without a surface. r=gw280
2012-03-28 18:00:41 -04:00
Chris Lord
b250302b14
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
Oleg Romashin
6b5cad0bce
Bug 703155 - Port Mozilla Qt to Qt5. r=mark.finkle,mh+mozilla,dougt
2012-03-22 16:24:40 -07:00
Benoit Jacob
37c7455bdd
Bug 737182 - limit max texture size on Mac Intel driver - r=bgirard
2012-03-26 12:15:53 -04:00
Oleg Romashin
fc68786498
Bug 738865 - Use Small Tiles should not be Android only. r=chrislord.net,bgirard
2012-03-24 18:08:06 -04:00
Oleg Romashin
f3f84a0f52
Bug 735602 - Add possibility to choose EGL backend on Non-Maemo Linux/Qt/Gtk builds instead ofo GLX. r=jgilbert
2012-03-23 14:43:52 -04:00
Chris Lord
16ce512a67
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
4805acc58c
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