David Zbarsky
08a87d5cc9
Bug 765989 - Add fail on warnings to some gfx directories r=benwa
2012-06-19 21:12:30 -07:00
Brad Lassey
71069fdd08
bug 765388 - assertion: GL supports OES_EGL_image without supplying its functions r=jrmuizel
2012-06-15 15:06:35 -07:00
Jeff Gilbert
aef6231428
Bug 729726 - Use BGRA-texture-backed FBOs where available. r=bjacob
2012-06-16 10:01:24 -04:00
Benoit Jacob
d9920d2433
Bug 763559 - Enable WEBGL_compressed_texture_s3tc with ANGLE - r=jgilbert
2012-06-14 23:16:21 -04:00
Andrew Quartey
2b6232de46
Bug 764972: Fix typo in GLContext.cpp error message. r=jgilbert
2012-06-14 15:39:57 -07:00
Cody Brocious
40ab2a089f
Bug 745137 - Removed double buffering stubs, fixed crashiness across all devices. r=gal
2012-06-14 14:57:26 -04:00
Benoit Jacob
f2ac5d188d
Bug 764578 - WebGL context creation keeps failing after D3D device has been lost - r=jgilbert
2012-06-14 11:59:40 -04:00
Cody Brocious
25d0f0e95b
Bug 745137: Direct texturing for Gonk through gralloc, pref'd off. r=cjones
2012-06-12 21:20:27 -07:00
Ed Morley
283e84e0e8
Backout a55eea2c294d (bug 627699) for bustage
2012-06-13 16:07:22 +01:00
Martin Stransky
23eecf1d40
Bug 627699 - Port GTK2 to GTK3, gfx patch; r=vlad
2012-06-13 10:47:54 -04:00
Chris Jones
27eb2547d2
Backed out changeset beba1a053f5e
2012-06-12 21:40:40 -07:00
Cody Brocious
607697b6ba
Bug 745137: Direct texturing for Gonk through gralloc, pref'd off. r=cjones
2012-06-12 21:20:27 -07:00
Jeff Gilbert
f8c10a1c5b
Bug 762263 - Add EGLSync - r=bjacob
2012-06-12 14:39:43 -07:00
Jeff Gilbert
102120e83e
Bug 762265 - Modernize EGL extension detection, similar to GLContext - r=bjacob
2012-06-12 14:39:18 -07:00
Jeff Gilbert
ec2c14c939
Bug 762259 - Drop vendor suffixes from EGLImage for internal uses - r=bjacob
2012-06-12 14:36:10 -07:00
Ali Juma
57bc05ad45
Bug 763175 - Only create a new EGL surface when a new Android surface is created. r=BenWa
2012-06-12 10:24:31 -04:00
John Drinkwater
15c380056a
Bug 758844 - Disable debug output unless MOZ_GL_DEBUG is defined. r=jgilbert
2012-06-11 08:25:06 -07:00
Chris Jones
797d753fce
Bug 761894: Band-aid bustage from bug 760675 when using WebGL on same thread as GL compositor. rs=jrmuizel
2012-06-05 20:33:59 -07:00
Geoff Lankow
00f3a215c9
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Oleg Romashin
68967e0b3c
Bug 760834 - Fix mIterationCallback initialization order warning. r=Cwiis
2012-06-04 16:49:57 -07:00
Benoit Jacob
41e168c259
Bug 760675 - don't create a global context at all, on Android - r=jrmuizel
...
Indeed, it's currently unused except for Adreno blacklisting (see next commit) as
we don't do texture sharing just yet. We will soon do, though (bug 728524) and then
it is possible that on certain drivers we will have to use the global context as a
mean to share textures (if EGLImage can't be used). We'll see.
2012-06-02 16:28:16 -04:00
Andrew Quartey
2760bcfb43
Bug 731836 - Add preference to use Mesa LLVMpipe for software rendering - r=bjacob
2012-06-02 12:05:45 -04:00
Ali Juma
67b20864f3
Bug 759162 - Part 1: Remove unnecessary call to eglChooseConfig in GLContextProviderEGL::RenewSurface. r=bgirard
2012-05-29 13:46:37 -04:00
Takanori MATSUURA
4e1026d682
Bug 751521 - Separate pixman detection from cairo. r=glandium
2012-05-26 08:44:00 +02:00
Kan-Ru Chen
5e2750b720
Bug 743182 - Use gfxPlatform::OptimalFormatForContent everywhere. r=joedrew
2012-05-26 12:38:17 +08:00
Benoit Jacob
4a460c5ced
Bug 758315 - Desktop GL implementation of glGetShaderPrecisionFormat should return precision 23, not 0 - r=jrmuizel
2012-05-24 15:10:49 -04:00
Jeff Muizelaar
16e3270867
Bug 748816. Set the swap interval to 1 on OS X. r=bgirard
...
This fixes the tearing we get on OS X with OpenGL layers.
It does cause us to occasionally block waiting for vsync.
This isn't ideal but I think it's better than tearing.
OMTC should help us remove this wait.
--HG--
extra : rebase_source : 97739bb0a1a5094ff92e26f5513558ae389ae560
2012-05-24 00:40:40 -04:00
Nicholas Cameron
ff3f144642
Bug 753784; add the ability to force a single tile. r=roc
2012-05-22 19:14:03 -04:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Benjamin Smedberg
371d2e7fc5
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
9d32b6de6c
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
0e96bf2ae1
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
b570c3ad27
Bug 753854 - -[NSOpenGLPixelFormat initWithAttributes] should be passed a 0 terminated array. [r=joe]
2012-05-10 12:56:42 -07:00
Benoit Jacob
875848ef77
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
abfe75ece8
Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob
2012-05-08 13:29:31 -04:00
Ed Morley
5885a6edd0
Backout ba7cf6fd10ae (bug 728017) for failing to compile
2012-05-08 18:50:45 +01:00
Jon Buckley
3954a6b841
Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob
2012-05-08 13:29:31 -04:00
Benoit Jacob
54cda82030
Bug 749678 - 5/5 - fix dangling TLS pointer - r=jrmuizel
2012-05-08 09:47:34 -04:00
Benoit Jacob
5b80e21d94
Bug 749678 - 4/5 - check owning thread in debug builds - r=bgirard
2012-05-08 09:47:34 -04:00
Benoit Jacob
62e96f6fcf
Bug 749678 - 3/5 - stop calling platform-specific getCurrentContext functions - r=jrmuizel
2012-05-08 09:47:34 -04:00
Benoit Jacob
87c8149a38
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
efd03fd550
Bug 751594 - s/ResizeOffscreenFBO/ResizeOffscreenFBOs. r=bgirard
2012-05-03 18:33:51 -04:00
Benoit Jacob
37788a6a83
Backing out bug 739648 for linux build failure
2012-05-03 16:26:04 -04:00
Benoit Jacob
b5690cc915
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
9828673083
Bug 716439; changes to glContext. r=BenWa
2012-04-04 17:56:22 +12:00
Jeff Gilbert
8fd1db572f
Bug 708136 - Don't teardown GL objects if teardown's makecurrent fails - r=bjacob
2012-04-30 19:05:59 -07:00
Oleg Romashin
a2faac2a75
Bug 748694 - Switch Maemo WebGL to FBO. r=jgilbert,bgirard
2012-04-30 17:03:08 -07:00
Nicolas Silva
9f8718bd55
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
a18775a5a3
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
02168e45af
Bug 743314 - Force CanUploadSubtextures on Maemo6 harmattan. r=chrislord.net
2012-04-28 09:05:41 -04:00
Matt Woodrow
1f7f37f7e0
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
b07a613e74
Backout cc37cd8dac59 (bug 744303) for M1 orange
2012-04-25 16:15:11 +01:00
Jeff Gilbert
0a18d7d12e
Bug 739775 - Refactor ResizeOffscreenFBO - r=bjacob
2012-04-25 15:10:43 +01:00
Jeff Gilbert
86e1c58f50
Bug 744303 - Upload WebGL textures as BGRA when useful - r=bjacob
2012-04-25 15:05:35 +01:00
Jeff Gilbert
c9d3ff4f45
Bug 730417 - Add minimal PBuffer request case and use PBuffer request bit. r=bjacob
2012-04-24 19:49:59 -04:00
Benoit Jacob
2d7e3b4fef
Bug 744888 - Work around a NVIDIA driver bug - r=jgilbert
2012-04-16 15:56:12 -04:00
Marco Bonardo
0fdcb8da96
Backout e20a19a790dd (bug 743830) for linux QT bustage.
2012-04-13 21:43:13 +02:00
Nicolas Silva
b99a357ef5
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
ca90d23c52
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
577e222d0b
Bug 736005 - Put GL config fallback back on Android, r=cjones
2012-03-29 19:47:22 -07:00
Ali Juma
02c5a8de49
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
46768022a6
Bug 741730 - Remove USE_GLES2 - r=romaxa
2012-04-10 11:49:21 -04:00
Benoit Jacob
574847287b
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
28a3d5f866
Bug 621036 - Remove printfs from GLContextProviderCGL - r=bjacob
2012-04-09 19:51:29 -07:00
Jeff Gilbert
7d33dde9d8
Bug 739421 - Implement/expose ARB_sync in GLContext - r=bjacob
2012-04-06 16:57:55 -07:00
Jeff Gilbert
309a688dea
Bug 741689 - Disable poorly implemented GL extensions on load - r=bjacob
2012-04-04 18:44:55 -07:00
Oleg Romashin
e5ee1d5354
Bug 742544 - Don't change global shared context multiple times. r=jgilbert
2012-04-04 17:53:02 -07:00
Oleg Romashin
4f48b91fcf
Bug 742091 - Texture format detection broken by 740372. r=gwright
2012-04-04 14:32:21 -07:00
Ali Juma
44bb4bb484
Bug 741984 - Prevent tiled texture upload from going into an infinite loop. r=Cwiiis
2012-04-04 10:26:05 -04:00
Ali Juma
230466c020
Bug 740313 - Initialize TextureImage::mFilter. r=bgirard
2012-03-29 17:44:11 -04:00
Jeff Gilbert
9fe0e7def9
Bug 732765 - Fail gracefully when we lack GL functionality - r=bjacob
2012-03-29 13:47:20 -07:00
Ali Juma
ac0e992650
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
24ec18f899
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
e8955b072d
Bug 703155 - Port Mozilla Qt to Qt5. r=mark.finkle,mh+mozilla,dougt
2012-03-22 16:24:40 -07:00
Benoit Jacob
3ee00f35ed
Bug 737182 - limit max texture size on Mac Intel driver - r=bgirard
2012-03-26 12:15:53 -04:00
Oleg Romashin
8b91f70e77
Bug 738865 - Use Small Tiles should not be Android only. r=chrislord.net,bgirard
2012-03-24 18:08:06 -04:00
Oleg Romashin
54e4efabc5
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
3b90179676
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
15d21e7d38
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
Oleg Romashin
1b9ac87ccb
Bug 738137 - Try to create PBuffer offscreen context on NON-X11 builds always. r=jgilbert
2012-03-22 13:25:03 -07:00
Andreas Gal
569a76795b
Use BGRX shader for RGB24 image surfaces (bug 738178, r=joe).
2012-03-22 11:37:47 -07:00
Oleg Romashin
3a4102f73d
Bug 735164 - Handle properly WebGL offscreen context in Platform context environment. r=jgilbert
2012-03-21 17:16:31 -07:00
Oleg Romashin
8cdd7da1d2
Bug 736802 - Qt EGL Maemo compilation broken. r=joe
2012-03-21 16:14:14 -07:00
Oleg Romashin
233e3b3dce
Bug 733562 - Offscreen FBO must not be created for Global Shared context. r=bjacob
2012-03-21 16:13:59 -07:00
Jeff Muizelaar
ac3b70e489
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
Hessam Salehi
25b8143afe
Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg
2012-03-21 14:07:31 -04:00
Michael Wu
d0a906daea
Bug 736902 - Remove support for unused SetSwapRectangleANDROID symbol, r=gal
2012-03-18 22:49:37 -04:00
Dão Gottwald
581bf17aa7
Backed out changeset 57d368003eb8
2012-03-20 13:13:24 +01:00
Oleg Romashin
e01cc78163
Bug 733562 - Offscreen FBO must not be created for Global Shared context. r=bjacob
2012-03-20 12:23:14 +01:00
Chris Lord
7fb495f3bd
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
68fd5151c9
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
1ec77ce75f
Bug 732865 - Clean up the GLContext* classes. r=bgirard,joe
...
--HG--
extra : rebase_source : f4f057f354772ff38d37fbc6e179f3cde9e218d1
2012-03-16 18:24:12 -04:00
George Wright
aaef82ac19
Backed out changeset aad5bc8b3433
2012-03-16 15:02:01 -04:00
George Wright
342337ca94
Bug 732865 - Clean up the GLContext* classes. r=bgirard,joe
2012-03-16 14:30:09 -04:00
Phil Ringnalda
f505cb2ab5
Back out 243cd4db5edd and 4175fc853e16 (bug 712716) for OS X 10.6 and 10.7 assertions
2012-03-15 23:21:54 -07:00
Benoit Girard
44891d8e82
Bug 712716 - Fix AndroidGraphicBuffer resource management. r=snorp,jmuizelaar
2012-03-12 16:28:02 -04:00
Benoit Girard
188ca471f6
Merge mc->Maple
2012-03-13 11:05:28 -04:00
Ehsan Akhgari
66cc3b5fa9
Backout changeset b52bae0250f7 because of test failures
2012-03-12 18:51:17 -04:00
Benoit Girard
13e20df894
Bug 712716 - Fix AndroidGraphicBuffer resource management. r=snorp,jmuizelaar
2012-03-12 16:28:02 -04:00
Kartikaya Gupta
137c73d9f6
Merge m-c to maple
2012-03-12 10:41:42 -04:00
Oleg Romashin
df3331c794
Bug 734667 - Compilation fail on some toolchains due extra semicolon in EGL Provider. r=joe
2012-03-11 22:41:03 +01:00
Jeff Gilbert
53e3a3954c
Bug 729702 - Use ReadPixelsIntoImageSurface in CopyToTarget instead of duplicating functionality - r=BenWa
2012-03-12 18:42:02 -07:00
Benoit Girard
5950b72a1a
Merge mc->maple
2012-03-09 18:16:26 -05:00
Benoit Girard
83961041e7
Merge mc->Maple
2012-03-09 11:13:30 -05:00
Chris Lord
e3be8a819f
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
Benoit Girard
479f0b2fb1
Merge mc->Maple
2012-03-07 11:10:45 -05:00
Benoit Girard
60aaf487bb
Bug 733113 - Maple: Remove debug logging. r=ajuma
2012-03-05 16:10:43 -05:00
Benoit Girard
d3dd25a616
Merge latest green changeset from mozilla-central to maple
...
--HG--
rename : dom/base/nsDOMMemoryReporter.cpp => dom/base/nsWindowMemoryReporter.cpp
rename : dom/base/nsDOMMemoryReporter.h => dom/base/nsWindowMemoryReporter.h
2012-03-05 13:41:15 -05:00
Benoit Girard
6345ad9c43
Restore merge changeset 39a3044823b0, regression fixed upstream in mc
2012-03-05 13:09:05 -05:00
George Wright
bebb557f97
Bug 674753 - Ensure that sApitraceLibrary is static so that we only load the library once - r=bjacob
2012-03-04 21:43:51 -05:00
Michael Wu
ab5dda36e3
Bug 734081 - Check pixel depth when choosing config on egl, r=cjones
2012-03-08 19:01:12 -05:00
Ryan VanderMeulen
25be994f64
Back out 2175db811fad (bug 734081) due to Android reftest failures.
2012-03-08 18:41:28 -05:00
Michael Wu
94ee732728
Bug 734081 - Check pixel depth when choosing config on egl, r=cjones
2012-03-08 17:06:54 -05:00
Matt Woodrow
d13a203bc1
Bug 732598 - Optionally load glGetTexLevelParameteriv - r=bjacob
2012-03-03 13:12:57 +13:00
Benoit Girard
02e577f6ff
Backed out changeset 39a3044823b0 because of bad interaction with maple.
2012-03-02 18:32:46 -05:00
Benoit Girard
72da51e037
Merge mc->Maple, resolved conflicts
2012-03-02 14:27:05 -05:00
Benoit Girard
3daa99ec38
Merge mc->maple
2012-03-01 10:44:44 -05:00
Joe Drew
08279cfe47
Bug 728625 - Add support for vertically flipping textured quads generated with RectTriangles and DecomposeIntoNoRepeatTriangles. r=bjacob,gw280
...
--HG--
extra : rebase_source : f42bd3c951651339d2ecb1286a6ac5c9e65ddd7d
2012-02-29 14:15:12 -08:00
George Wright
6fcecdee4a
Bug 674753 - Add support for loading apitrace explicitly on Android - r=jrmuizel,bjacob
2012-02-29 16:55:46 -05:00
Benoit Jacob
a993b6f79a
Bug 713305 - Force staying on discrete GPU while any WebGL context is live - r=jrmuizel
2012-02-29 15:49:55 -05:00
Benoit Girard
0520ad5343
Bug 730079 - Move sCurrentGLContext to TLS to support off main thread GLDebug. r=joe
2012-02-24 18:17:27 -05:00
Joe Drew
c8a4b31d1d
Bug 729132 - Correctly handle the case that we try to draw a texture with x = width. r=mattwoodrow
...
--HG--
extra : rebase_source : 02d84bf78ef60d84dfb96832cd39267f5d99aa38
2012-02-24 15:08:31 -08:00
George Wright
bdb94ebc01
Bug 728041 - Only release the surface and not the context. r=ajuma
2012-02-24 16:20:15 -05:00
Doug Turner
63f2081ca1
Merge with mozilla-central
2012-02-24 11:57:27 -08:00
Benoit Girard
be7fc15f8a
Backout f8b7cca3297f, our leaktool can't handle statics :(
2012-02-23 20:10:23 -05:00
Benoit Girard
2586625748
Bug 730079 - Move sCurrentGLContext to TLS to support off main thread GLDebug. r=ajuma
2012-02-23 17:51:57 -05:00
Benoit Girard
70ec83200b
backout 6ae546e8bc55
2012-02-23 17:53:40 -05:00
Benoit Girard
e8a9b6ac25
Bug 730079 - Move sCurrentGLContext to TLS to support off main thread GLDebug. r=ajuma
2012-02-23 16:04:38 -05:00
Florian Boesch
fc9e33241d
Bug 728354 - Implement WebGL EXT_texture_filter_anisotropic extension *proposal* - r=bjacob
...
The spec proposal for this extension is at
https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/extensions/proposals/EXT_texture_filter_anisotropic/index.html
This adds a conformance test as well, that will have to be merged upstream.
2012-02-23 08:43:57 -05:00
Doug Turner
476b362925
merge with mozilla-central:
2012-02-22 09:30:09 -08:00
Oleg Romashin
31770ebccb
Bug 733506 - WebGL FBO offscreen texture not initialized properly. r=bjacob
2012-03-06 23:29:38 +01:00
Daniel Holbert
20b8881f8a
backout 29ee49bff6a1 (Bug 726396) due to webgl test failures
2012-02-22 16:37:36 -08:00
Jeff Gilbert
9144305bb8
Bug 726396 - Repair ANGLE d3d share handle fetching an PBuffer creation behavior - r=bjacob
2012-02-22 14:08:24 -08:00
Joe Drew
8fd2db46fd
Bug 728631 - remove a bunch of accidentally-committed debug code.
2012-02-21 13:15:39 -08:00
Joe Drew
fd29de011a
Bug 728631 - Don't disable blending inside our Java rendering code, because we rely on it remaining set from LayerManagerOGL. r=dougt
...
--HG--
extra : rebase_source : 9fe18ddb4582455fe428f14acb8a931e1b1e4661
2012-02-20 14:48:36 -08:00
George Wright
5e20a8f8fc
Bug 721489 - Older Adreno 200 drivers intermittently crash when uploading RGB565 textures with glTexImage2D - r=jrmuizel
2012-02-18 21:23:06 -05:00
Joe Drew
94d3065dc6
Bug 727311 - Disable BGRA readback support in GLES 2. r=bjacob
2012-02-18 18:12:33 -08:00
Brad Lassey
34aa551009
merge from mozilla-central
2012-02-18 17:29:33 -05:00
Brad Lassey
e85e784817
backing out e45688c8531c because it broke the build
2012-02-18 14:21:48 -05:00
Patrick Walton
a93537390c
Stub untested gralloc support, disabled for now
2012-02-17 23:53:21 -08:00
Ehsan Akhgari
a80aff9d02
Remove the warning because it's not useful, r=joe
...
--HG--
extra : rebase_source : 43086e16e842a602479e69d983107cedb8649aea
2012-02-17 15:12:06 -05:00
Patrick Walton
fb9ea0b3c7
Bug 727688 - Disable tiles on SGX 540 to fix tearing
2012-02-17 13:33:37 -08:00
Doug Turner
222fba130c
Merge with mozilla-central
2012-02-16 18:06:54 -08:00
Oleg Romashin
8262311aac
Bug 732143 - WebGL on maemo6 N9 does not work anymore after FBO switch 720467. r=joe
2012-03-02 11:28:06 -06:00
Benoit Jacob
aad01e684d
Bug 713305 - fix copyright year - r=joedrew
2012-03-02 12:00:12 -05:00
Matt Woodrow
74eb609391
Bug 725209 - Mark TextureImage as valid when self copying, and correctly mark the region needing to be redrawn. r=joe
2012-02-15 16:03:05 -05:00
Benoit Girard
5dc0e12001
Bug 727497 - Don't call CreateSurfaceForWindow in MakeCurrent in EGL. r=ajuma
2012-02-15 16:02:39 -05:00
Benoit Girard
5ff58afadf
Bug 727497 - Don't call CreateSurfaceForWindow in MakeCurrent in EGL. r=ajuma
2012-02-15 15:09:15 -05:00
Matt Woodrow
bf3632ce50
Bug 725209 - Mark TextureImage as valid when self copying, and correctly mark the region needing to be redrawn. r=joe
2012-02-15 22:28:21 +13:00
Benoit Girard
3d94f16f20
Change tilesize to 256x256 for progressive upload and adreno POT uploads
2012-02-14 13:19:46 -05:00
Mike Hommey
25fb9ac832
Bug 728656 - Avoid crashing when there are no GL extensions reported by the GL implementation. r=bjacob
2012-02-20 08:04:38 +01:00
Benoit Girard
04ccae8d41
Bug 721489 - Backout changeset 0cb6641ab21a for a more desirable fix.
...
--HG--
extra : rebase_source : b8100a07f626c3cc51e019911a3b023b482d23b9
2012-02-10 15:12:35 -05:00
Joe Drew
d8e5e93840
Bug 725747 - Immediately translate setting the default FBO into our offscreen FBO, rather than setting it and unsetting it before and after GL draw commands. r=jgilbert
2012-02-09 20:57:26 -05:00
Jeff Gilbert
2a40f31164
Bug 728724 - Check for BGRA read support correctly - r=bjacob
2012-03-12 15:21:16 -07:00
Jeff Gilbert
39f724d177
Bug 726396 - Repair ANGLE d3d share handle fetching an PBuffer creation behavior - r=bjacob
2012-03-12 15:10:38 -07:00
Benoit Girard
0b782cb5e9
Bug 721489 - Allocate a PoT Shmem for the Adreno. This replaces segfaults by visual artifacts
...
--HG--
extra : rebase_source : 400e392843cf2d15b941e7e94b736106e6b447e2
2012-02-09 17:52:03 -05:00
Ali Juma
54af353fd7
Code cleanup.
2012-02-09 17:39:04 -05:00
Benoit Girard
2f35d690b6
Merge m-c into maple
2012-02-08 16:43:22 -05:00
Benoit Girard
bee5dd218e
Undo accidental mq push (no commit hooks for mq)
2012-02-08 12:14:20 -05:00
Benoit Girard
4c8d2f1aef
imported patch TexSize256
2012-02-08 10:50:48 -05:00
Benoit Girard
79f5549c0a
Fix includes
2012-02-07 18:02:47 -05:00
Benoit Girard
6fc42c7ee3
Bug 730079 - Move sCurrentGLContext to TLS to support off main thread GLDebug. r=joe
2012-02-24 18:17:27 -05:00
George Wright
32b48a0615
Bug 674753 - Ensure that sApitraceLibrary is static so that we only load the library once - r=bjacob
2012-03-04 21:43:51 -05:00
George Wright
96ba44fbaa
Bug 674753 - Add support for loading apitrace explicitly on Android - r=jrmuizel,bjacob
2012-02-29 16:55:46 -05:00
Ali Juma
ac787b0863
Move surface ownership to GLContextProviderEGL.
...
--HG--
extra : rebase_source : a3f83d279de5087a521a938d66c4e7b5dee79d74
2012-02-06 16:53:09 -05:00
Benoit Girard
3dea7d013a
Missing piece to previosu patch (bad queue management)
...
--HG--
extra : rebase_source : 9fcc71c557c659e1c8846e7032a4ccccf9c0e43b
2012-02-06 15:41:24 -05:00
Benoit Girard
da156115f9
Transplanet: Bug 724094 - Use fTexImage2D instead of TexSubImage2D when uploading full width. r=ajuma
...
--HG--
extra : rebase_source : 94595465a2b3eb3140f11e932a32575629a266dc
2012-02-06 15:15:36 -05:00
Marco Bonardo
d6687bea88
Merge central to inbound
2012-03-01 16:05:54 +01:00
Matt Woodrow
bf3005c3f4
Bug 700240 - Print display lists to a file. r=roc,bjacob
2012-03-01 21:26:09 +13:00
George Wright
104741bdd3
Bug 721467 - Add a codepath to only use glTexImage2D instead of glTexSubImage2D when texture uploading in GLContext
2012-01-30 15:09:02 -05:00
Benoit Girard
36780c8b69
Progress on omtc integration
2012-02-01 16:18:35 -05:00
Benoit Girard
cc153dc324
Mergi mc to kiwifox, lots of conflicts so may not build
2012-01-30 13:38:20 -05:00
Joe Drew
5b5451e0e4
Back out 9699edcbcedd (bug 721467) for causing bug 722167.
2012-01-29 19:41:48 -05:00
Benoit Girard
2a3688a8df
Partial work for android OGLSurfaceView
...
--HG--
extra : rebase_source : 2c6ce362dd859e9f81a5b4490e2451826259a651
2012-01-26 14:23:13 -05:00
George Wright
cbdcca5c64
Bug 721467 - Add an optional codepath (currently enabled only for Adreno 200 GPUs) to only use glTexImage2D for texture uploads as glTexSubImage2D can be slow and/or buggy r=joe,BenWa
...
--HG--
extra : rebase_source : 0f2903fe23edf3b191ae5dcfa7df6d9066d1d952
2012-01-24 19:44:48 -05:00
Mike Hommey
41e5e42c93
Bug 716825 - Avoid loading system libraries with their full path. r=bjacob,r=gal,r=blassey
2012-01-13 07:23:02 +01:00
Ed Morley
d9f6b7d92c
Backout 0bf0007285f7 (bug 730079) for warnings as errors build failures
2012-02-23 22:14:41 +00:00
Benoit Girard
883cb71913
Bug 730079 - Move sCurrentGLContext to TLS to support off main thread GLDebug. r=ajuma
2012-02-23 16:04:38 -05:00
Jeff Gilbert
21cc83a78b
Bug 721205 - Add correct logic for enabling BGRA readPixels for GLES - r=bjacob
2012-01-26 09:26:36 -08:00
Oleg Romashin
b12b758316
Bug 733951 - Qt port does not compile anymore due to bad includes order. r=jrmuizel
...
--HG--
extra : rebase_source : 7f26da25e0fd3ec15c8c167eae017fe493c31ae7
2012-03-12 11:43:14 -04:00
Oleg Romashin
43d434f60c
Bug 719253 - Fennec cannot init EGL libs due to wrong library name. r=glandium
2012-01-20 09:18:56 -05:00
Jeff Muizelaar
9c9e2eed37
Bug 718440. Add more sampler labels to various places. r=bgirard
...
This shows the problems described in bug 710068.
2012-01-17 15:33:04 -05:00
Matt Brubeck
2e1e2ae3c5
Back out 88733ce1bef3 (bug 718440) because of Windows build failure
2012-01-17 15:15:47 -08:00
Jeff Muizelaar
581f54f157
Bug 718440. Add more sampler labels to various places. r=bgirard
...
This shows the problems described in bug 710068.
2012-01-17 15:33:04 -05:00
Joe Drew
e786e132ce
Bug 724137 - Support GL debug trace printouts for EGL. r=bjacob
2012-02-09 14:05:11 -05:00
Jeff Gilbert
14bb6bcae5
Bug 717442 - Shadow bound FBO ids - r=bjacob
2012-02-08 16:06:03 -08:00
Jeff Gilbert
729eb8a880
Backed out changeset 2aa76676baa3 (Bug 717442)
2012-02-08 16:04:44 -08:00
Jeff Gilbert
a34cdc9aa0
Bug 717422 - Shadow bound FBO ids - r=bjacob
2012-02-08 15:53:46 -08:00
Jeff Gilbert
f298556127
Bug 701269 - Deguarantee that ResizeOffscreenFBO clears its buffers - r=bjacob
2011-12-19 15:47:54 -08:00
Jeff Gilbert
1be07963e0
Bug 705024 - Guarantee GLContexts are resolved properly - r=bjacob
2011-12-16 14:24:46 -08:00
Jeff Gilbert
1109fc2523
Bug 704788 - Add inlined function to allow easy compile-time pruning of mDebugMode branches in GLContext - r=bjacob
2011-12-16 14:24:46 -08:00
Doug Sherk
4260d87a27
Bug 711579: fix WGL context creation without robustness r=Bas
2011-12-16 13:12:02 -08:00
Doug Sherk
44db6564f4
Bug 711226: separate desktop and ES 2.0 symbol loading r=bjacob
...
Symbols were amalgamated into a single table which worked up until recently.
This patch separates them so that there is a common list, then two separate ones
for desktop and OpenGL ES 2.0.
2011-12-16 13:12:00 -08:00
Doug Sherk
f8cc305c99
Bug 708207: implement WebGL's getShaderPrecisionFormat r=bjacob
2011-12-16 13:11:59 -08:00
Robert O'Callahan
c1f1cc4a64
Bug 708109. Remove THEBES_INLINE_DECL_THREADSAFE_REFCOUNTING in favour of NS_ version. r=joe
2011-12-15 23:26:42 +13:00
Doug Sherk
326f4add01
Bug 707861: implement EXT_robustness for ANGLE r=bjacob a=mbrubeck
...
Similar to ARB_robustness, uses our current robustness framework. There are some
problems preventing this from being completely usable, but we can't do anything
about them yet. See the bug for more info.
2011-12-14 16:57:09 -08:00
Jeff Gilbert
a494788ba0
Bug 702413 - Plug leak of new pbuffer when ResizeOffscreenFBO fails - r=bjacob
2011-12-06 15:36:40 -08:00
Benoit Jacob
93a933e9c9
Bug 705665 - Don't whine while glDeleting non-existent GL object - r=jgilbert
...
In OpenGL it is allowed to try to delete a non-existent GL object, and we have code that relies on that in a fairly legitimate way, see discussion in the bug.
2011-12-04 14:15:42 -05:00
aceman
cfc790a3ed
Bug 706610 - remove trailing semicolon after namespace decl. r=joe
2011-12-03 17:02:10 +01:00
aceman
03b5fc2b81
Bug 704210 - Add license headers to files gfx/gl/Makefile.in and gfx/thebes/Makefile.in. r=joe
2011-12-03 13:04:52 +01:00