Граф коммитов

1045 Коммитов

Автор SHA1 Сообщение Дата
Phil Ringnalda 0248b0aed2 Merge m-c to m-i 2014-05-31 20:38:25 -07:00
Jeff Muizelaar 3f98356e82 Bug 1013647. Cache the current context on B2G. r=jgilbert
This avoids the call to EGLGetCurrentContext() which calls
EGLGetError which can be expensive.

--HG--
extra : rebase_source : 7d64a1337cbe951069648422d4c42600fdab28a1
2014-05-31 00:39:16 -04:00
Victor Porof 9ce7e9c089 Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj 2014-05-23 17:12:29 -04:00
Andreas Gal 2fa87a39ef Bug 1016086 - Part 3: Make sure ReadTexImageHelper doesn't change the attribute state during composition (r=Bas) 2014-05-29 18:28:40 -04:00
Ryan VanderMeulen ad36412fe6 Merge m-c to inbound on a CLOSED TREE. 2014-05-29 14:46:47 -04:00
Ryan VanderMeulen 7e970bd782 Backed out changeset 441137505200 (bug 980178) for causing various TBPL crashes. 2014-05-29 14:33:28 -04:00
Wes Kocher f108ef46c1 Backed out 3 changesets (bug 1016086) for robocop bustage on a CLOSED TREE
Backed out changeset 450878674b08 (bug 1016086)
Backed out changeset e6b0a5086a81 (bug 1016086)
Backed out changeset 9e572e6623e7 (bug 1016086)
2014-05-28 15:10:32 -07:00
Andreas Gal 613718288f Bug 1016086 - Part 2: Save/restore attribute state in blit helper (r=Bas) 2014-05-28 16:18:43 -04:00
Andreas Gal 47abe4ef63 Bug 1012407 - Part 8: Remove VBOArena which is now dead code (r=Bas) 2014-05-28 14:04:07 -04:00
Ed Morley 3b6b9c3591 Backed out changeset 9b01df568861 (bug 8430335) for assertions & incorrect bug number; CLOSED TREE 2014-05-30 17:15:40 +01:00
Ed Morley 8316ff0cc7 Backed out changeset 8bf85356ef86 (bug 8430335) 2014-05-30 17:15:09 +01:00
Jeff Muizelaar f220ae51f5 Bug 8430335. Fix NS_ABORT_IF_FALSE breakage.
CLOSED TREE
2014-05-30 11:11:35 -04:00
Jeff Muizelaar b2314773a5 Bug 8430335. Cache the current context on B2G. r=jgilbert
This avoids the call to EGLGetCurrentContext() which calls
EGLGetError which can be expensive.

--HG--
extra : rebase_source : dc1357cdd45979b741d132b54f2a77cdde95bd00
2014-05-30 10:43:50 -04:00
Andreas Gal a53bfd7b3a Bug 1016086 - Part 2: Save/restore attribute state in blit helper (r=Bas) 2014-05-29 10:19:48 -04:00
Carsten "Tomcat" Book e096bc3ea7 merge b2g-inbound to mozilla-central 2014-05-28 14:33:48 +02:00
Michael Wu 55637c3cfc Bug 999694 - Followup - Don't assert on 4.2, r=jgilbert 2014-05-27 17:36:52 -04:00
Jeff Gilbert d17ff957ba Bug 980178 - Clean up context loss handling code. - r=kamidphish 2014-05-27 20:01:33 -07:00
Andreas Gal f78d29b988 Bug 1001885: Support NPOT texture wrap modes on older PowerVR drivers (r=mattwoodrow). 2014-05-22 15:05:03 -04:00
Sotaro Ikeda afdf8e01dd Bug 1006957 - Handle buffer ownership between SurfaceStream and CanvasClient r=nical 2014-05-24 09:14:45 -07:00
Steve Fink 12ba3a7a2a Backed out changeset 171edffe0641 (bug 1006957) for crash at BaseAutoLock<mozilla::Mutex>::BaseAutoLock(mozilla::Mutex&) from layers::AsyncTransactionTrackersHolder::ClearAllAsyncTransactionTrackers on a CLOSED TREE 2014-05-23 21:16:02 -07:00
Sotaro Ikeda ac5d74bdb6 Bug 1006957 - Handle buffer ownership between SurfaceStream and CanvasClient r=nical 2014-05-23 17:52:43 -07:00
Jeff Gilbert a459231c85 Bug 1004309 - Add func to assert shadowed state is correct. - r=kamidphish
* * *
Bug 980178 - Dither default is true. - r=kamidphish
2014-05-21 19:03:09 -07:00
Andreas Gal 859d692d6a Bug 1012407 - Part 5: Allow passing a texture rectangle to BindAndDrawQuad (r=Bas) 2014-05-22 12:29:54 +02:00
Nicolas Silva 69c73e6b6b Bug 1013292 - Fix some using namespace + unified build issues in gfx code. r=kats 2014-05-22 12:11:45 +02:00
Birunthan Mohanathas aea8617b92 Bug 869836 - Part 7: Use AppendLiteral instead of Append where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Wes Kocher fd7188a2e3 Backed out 4 changesets (bug 1012407) for b2g reftest5 orange on an otherwise CLOSED TREE
Backed out changeset 08e17f48aed1 (bug 1012407)
Backed out changeset b17b7b59cf88 (bug 1012407)
Backed out changeset 1c692df3f080 (bug 1012407)
Backed out changeset 560bd45d52de (bug 1012407)
2014-05-21 18:05:15 -07:00
Vladimir Vukicevic bf9922a2e0 Bug 1009958 - UnlockProd if we fail during attachment. - r=jgilbert 2014-05-13 17:14:33 -07:00
Andreas Gal 9f4e0487b4 Bug 1012407 - Part 8: Remove VBOArena which is now dead code (r=Bas) 2014-05-22 00:47:02 +02:00
Andreas Gal fe26dacc29 Bug 1012407 - Part 5: Allow passing a texture rectangle to BindAndDrawQuad (r=Bas) 2014-05-22 00:23:18 +02:00
Michael Wu d57a64bf38 Bug 999694 - Use fence objects in SharedSurfaceGralloc, r=jgilbert 2014-04-21 19:59:30 -04:00
Sotaro Ikeda 582a7928b4 Bug 950079 - Add release Fence handling to SurfaceStream on gonk 2014-05-14 15:40:15 -07:00
Matt Woodrow a51250e147 Bug 1001853 - Don't loop waiting on the monitor, and acccount for the fact that timeouts are treated as success. r=jgilbert 2014-05-14 16:10:00 +12:00
Matt Woodrow 0dabff9cf3 Bug 1006198 - Remove a bunch of dead Thebes code. r=jgilbert 2014-05-13 14:20:27 +12:00
Matt Woodrow aa546f8051 Bug 1006198 - Use a temporary surface if alignment is wrong during WebGL readback. r=jgilbert 2014-05-13 14:20:27 +12:00
Wes Kocher a30e4e7afc Backed out 6 changesets (bug 1006198) for webgl assertions on a CLOSED TREE
Backed out changeset 5be3c8c44eed (bug 1006198)
Backed out changeset 4b15abd14f28 (bug 1006198)
Backed out changeset bd11a10e7028 (bug 1006198)
Backed out changeset e1044a8ab189 (bug 1006198)
Backed out changeset 558abe22ab30 (bug 1006198)
Backed out changeset 5462b9babaed (bug 1006198)
2014-05-12 20:47:52 -07:00
Matt Woodrow c58e00be05 Bug 1006198 - Remove a bunch of dead Thebes code. r=jgilbert 2014-05-13 14:20:27 +12:00
Matt Woodrow 925e40af1a Bug 1006198 - Use a temporary surface if alignment is wrong during WebGL readback. r=jgilbert 2014-05-13 14:20:27 +12:00
Wes Kocher 2a39b6c319 Backed out changeset 350f36f463d5 (bug 980178) to fix webgl bustage on a CLOSED TREE 2014-05-12 19:11:08 -07:00
Jeff Gilbert e137b6ef97 Bug 980178 - Clean up context loss handling code. - r=kamidphish 2014-05-12 17:56:31 -07:00
Peter Chang b9eb78db67 Bug 1006336 - Change OwningThreadId in GLContext to PlatformThread::CurrentId(). r=bjacob 2014-05-09 00:18:00 -04:00
Benoit Jacob f789513539 Bug 1005658 - Don't pass stack pointers to the GL for buffers, and have GLContext try to guard against it - r=jgilbert 2014-05-08 21:03:37 -04:00
Jeff Gilbert db332a112a Bug 1004702 - Use KHR_debug in DebugMode(). - r=bjacob 2014-05-06 13:59:18 -07:00
Benoit Jacob e465a7d089 Bug 999445 - Do not fail GLContext initialization if the GL_VERSION is too low. We may get what we need as extensions. - r=jrmuizel 2014-05-05 15:40:51 -04:00
Jeff Gilbert b21a7e2e9c Bug 999260 - Ship both d3dcompiler_43 and _46+. - r=mshal 2014-05-02 15:31:05 -07:00
Jeff Gilbert ae2e4edf8e Bug 1003027 - Use temp surface for bad strides. - r=mattwoodrow 2014-05-02 13:22:07 -07:00
Jeff Gilbert d3a469b54a Bug 978407 - Use glClear to clear deferred-init textures. - r=kamidphish 2014-04-30 14:30:21 -07:00
Jeff Gilbert b86681b638 Bug 997374 - Check FB status in GLScreenBuffer. - r=bjacob 2014-04-28 18:11:14 -07:00
Jonathan Watt 2a54bb27d4 Bug 1001683 - Convert a bunch of ReadPixelsIntoImageSurface callers to ReadPixelsIntoDataSurface callers (Moz2D migration). r=mattwoodrow 2014-04-29 00:26:54 +01:00
Jonathan Watt e619ecaddc Bug 1001682 - Don't reverse the R and B components in the GL CopyDataSourceSurface code for SurfaceFormat::R5G6B5. r=mattwoodrow 2014-04-29 00:26:53 +01:00
Benoit Jacob 3b123f8333 Bug 987311 - 3/6 - Make TextureFlags a typed enum, final manual changes - r=nical 2014-04-25 22:34:05 -04:00
Nicolas Silva a1eb82d358 Bug 1001458 - Rename TileIterator ino BigImageIterator. r=BenWa 2014-04-28 13:27:25 +02:00
Birunthan Mohanathas 5f1fde8824 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Blair McBride 24b74a2af7 Backed out 9 changesets (bug 987311, bug 989027, bug 989144). r=sheriff
Backed out changeset 046c061d91c2 (bug 989144)
Backed out changeset 3f1b41adeaef (bug 987311)
Backed out changeset 8d5a171564bd (bug 987311)
Backed out changeset dcc0d016de7a (bug 987311)
Backed out changeset 27f338fbc835 (bug 989027)
Backed out changeset 4a67f5144ea4 (bug 989027)
Backed out changeset 62ba0a377450 (bug 987311)
Backed out changeset 6a2542a5c865 (bug 987311)
Backed out changeset 1dfd9a457f34 (bug 987311)
2014-04-27 19:45:08 +12:00
Benoit Jacob 49dd7d0c3f Bug 987311 - 3/6 - Make TextureFlags a typed enum, final manual changes - r=nical 2014-04-25 22:34:05 -04:00
Kartikaya Gupta 281d788259 Bug 997380 - Resolve ambiguous reference to strdup. r=bjacob 2014-04-16 20:56:21 -04:00
Tatiana Meshkova 0dbaa9d653 Bug 994856 - Add support for Gecko rendering via GLScreenBuffer into external GL Context. r=bjacob,jgilbert 2014-04-15 07:57:26 -07:00
Ryan VanderMeulen 5f7b8e9737 Merge m-c to inbound. 2014-04-15 23:30:15 -04:00
Jonathan Watt 200e95e9eb Bug 996901 - Remove lots of gfxASurface.h and gfxImageSurface.h includes and forward declarations that are no longer needed. r=mattwoodrow 2014-04-16 01:41:40 +01:00
Benoit Jacob 99898aa3df Bug 986572 - Add missing MakeCurrent call to SharedSurface_GL::ProdCopy - r=jgilbert 2014-04-15 12:01:21 -04:00
Matt Woodrow 6b353b77a8 Bug 995065 - Don't block on the Compositor for more than 100ms. r=jgilbert 2014-02-18 10:12:50 +13:00
Matt Woodrow 9ce6bcda53 Bug 995065 - Backout bug 947227 for causing WebGL performances regressions. r=jgilbert 2014-04-15 10:37:06 +12:00
Benoit Jacob 27cf59e46c Bug 986836 - Don't destroy the native framebuffer's eglSurface on ICS - r=jrmuizel 2014-04-11 08:38:07 -04:00
Nathan Froyd d341118272 Bug 989349 - part 2 - eliminate static constructor in GLContextProviderGLX.cpp; r=bjacob 2014-03-26 09:26:11 -04:00
Nathan Froyd 781fda6642 Bug 989349 - part 1 - use StaticRefPtr instead of nsRefPtr in GLContextProviderGLX.cpp; r=bjacob 2014-03-26 09:10:27 -04:00
Chris Lord 6fbca10a4b Bug 990608 - Make tile size configurable. r=tn,nical,bgirard 2014-04-04 18:42:44 +01:00
Ryan VanderMeulen 27af4d423e Backed out changeset bf184a7a1d63 (bug 990608) for Android crashes.
CLOSED TREE
2014-04-04 15:20:49 -04:00
Chris Lord cee53989a7 Bug 990608 - Make tile size configurable. r=tn,nical,bgirard 2014-04-04 18:42:44 +01:00
Daniel Holbert b6bb05e33b Bug 984786 part 8: Give NS_INLINE_DECL_*REFCOUNTING classes private destructor & MOZ_FINAL annotation where appropriate, in /gfx and /content/canvas. r=bjacob 2014-04-04 09:27:02 -07:00
Benoit Jacob b8b30aeafd Bug 990233 - Back out Bug 978479 and Bug 980364 because of a 5% tresize regression on Mac OSX 10.6 - no review, just a backout on a CLOSED TREE 2014-03-31 22:31:24 -04:00
Benoit Jacob deb0120079 Bug 987828 - 4/4 - Remove IsGLES2 - r=jgilbert 2014-03-31 05:10:49 -04:00
Benoit Jacob dcf7236aab Bug 987828 - 3/4 - Use IsGLES instead of IsGLES2 - r=jgilbert 2014-03-31 05:10:49 -04:00
Dan Glastonbury 1e41f0c5d5 Bug 982475 - Prevent SwapRAndBComponents derefencing NULL pointer. r=jgilbert 2014-03-11 11:01:00 +10:00
Andreas Gal 260e56ecba Bug 980364 - Add GLDrawRectHelper and use it from GLBlitTextureImageHelper. r=bjacob 2014-03-30 17:37:00 +02:00
Masatoshi Kimura 5e7d4335c6 Bug 986811 - Use the latest d3dcompiler dll if available. r=jgilbert 2014-03-26 22:41:57 +09:00
Carsten "Tomcat" Book 674e129845 Backed out changeset 91a4c3026e8a (bug 986811) for bustage 2014-03-26 12:27:52 +01:00
Masatoshi Kimura b49d9b0ca6 Bug 986811 - Use the latest d3dcompiler dll if available. r=jgilbert 2014-03-26 20:14:45 +09:00
Jukka Jylanki 85788aa2c5 Bug 987845 - Avoid unconditionally calling eglGetError() after each EGL MakeCurrent operation - r=bjacob,vlad,jgilbert - anyone else? 2014-03-25 20:23:58 -04:00
Jeff Gilbert e74ceb3aeb Bug 985685 - DrawRangeElements should call Before/AfterGLDrawCall(). - r=kamidphish 2014-03-20 21:20:02 -07:00
George Wright c447e9eb94 [PATCH 6/6] Bug 985217 - Ensure that our GLContext is current and working at GrGLInterface creation time as Skia now determines extensions at creation time r=snorp 2014-03-18 19:37:56 -04:00
George Wright 6d1d477844 [PATCH 4/6] Bug 985217 - Remove client side array functions as Skia no longer uses/wants them, and set the functions differently following refactoring in GrGLInterface r=snorp 2014-03-20 14:08:19 -04:00
Nicolas Silva 2592474737 Bug 973892 - Make TextureClient::GetAsDrawTarget work with canvas. r=bas 2014-03-17 22:35:20 +01:00
Jeff Gilbert c0d67d37f5 Bug 982960 - Use glDrawRangeElements in WebGL.drawElements. r=kamidphish 2014-03-17 10:52:56 -04:00
Jeff Gilbert 18eef3b4d4 Bug 982960 - Add GLContext support for draw_range_elements. r=kamidphish 2014-03-17 10:50:15 -04:00
Jeff Muizelaar 9e503fd30d Bug 981856. Use an 888 config when creating a pbuffer. r=jgilbert
Old versions of llvmpipe (8.0.4) seem to give out 565 configs that it can't
actually make PBuffers for. Explicilty ask for 8,8,8 to avoid that problem.
2014-03-14 11:24:58 -04:00
Kyle Huey b564544cf7 Bug 967364: Pass already_AddRefed by reference instead of by value. r=bsmedberg 2014-03-15 12:00:17 -07:00
Wes Kocher 6c8846b330 Backed out changeset 46d18be48bc4 (bug 981856) for b2g gl bustages
* * *
Backed out changeset a2ec4ab256e8 (bug 981856)
2014-03-14 17:33:54 -07:00
Jeff Muizelaar 8cbfbdc3ad Bug 981856. Use an 888 config when creating a pbuffer. r=jgilbert
Old versions of llvmpipe (8.0.4) seem to give out 565 configs that it can't
actually make PBuffers for. Explicilty ask for 8,8,8 to avoid that problem.

--HG--
extra : rebase_source : 2a667cc002b5ff4ad279e9483701eaf7952aeda8
2014-03-14 11:24:58 -04:00
Ehsan Akhgari f1b87eccd8 Bug 983014 - Move the rest of the -I build flags that stayed in Makefiles because of ANDROID_SOURCE to moz.build; r=mshal 2014-03-13 19:31:18 -04:00
Morris Tseng d8764d7f99 Bug 975930 - [LayerScope] All textured buffers show RB swapped which is incorrect. r=jgilbert, r=kamidphish 2014-03-11 11:14:50 -04:00
Jeff Gilbert 6027388cd9 Bug 980684 - Actually use IOSurfaces on Mac. - r=snorp 2014-03-10 19:08:50 -07:00
Jeff Gilbert 8f53ae3993 Bug 976813 - Separate ShSurf::Texture for Prod and Cons. - r=snorp 2014-03-10 19:08:49 -07:00
Jeff Gilbert 7e236f76f8 Bug 943190 - Implement WEBGL_compressed_texture_et1. - r=kamidphish 2014-03-10 15:42:58 -07:00
Ehsan Akhgari 276e2d1e15 Bug 978472 - Add support for leak checking in GenericRefCounted classes; r=bjacob 2014-03-09 14:40:49 -04:00
Jeff Gilbert 77c841f7fd Bug 843666 - Implement color-buffer-(half-)float for WebGL. - r=kamidphish 2014-03-07 13:26:17 -08:00
Jonathan Watt aa2222cae6 Bug 980415 - Fix multiple points in the codebase where we fail to call DataSourceSurface::Unmap(). r=Bas 2014-03-07 13:21:38 +00:00
James Willcox aa0b93b644 Bug 956993 - Fix typo with GL_TEXTURE_EXTERNAL textures r=jgilbert 2014-03-06 14:50:42 -06:00
Jeff Gilbert 6ca9eaaa7d Bug 980108 - GLContext.h should not use GLAPIENTRY decls. - r=kamidphish 2014-03-05 17:35:40 -08:00
James Willcox 38c98ab8dc Bug 980048 - Don't use EGL fences on Pandaboard r=jgilbert 2014-03-05 15:49:55 -06:00
James Willcox dfee0058ef Bug 939276 - Use a single GLContext for all SkiaGL canvases r=jgilbert,vlad,gwright,bjacob
--HG--
rename : gfx/gl/GLContextSkia.cpp => gfx/gl/SkiaGLGlue.cpp
2014-03-05 15:49:37 -06:00
James Willcox 1fd761ef37 Bug 956993 - Rely on OES_EGL_image_external for SharedSurface_EGLImage r=jgilbert 2014-03-05 15:48:58 -06:00
Andreas Gal 044a8b635b Bug 975772 - Cleanup RectTriangles and allow DrawQuads to take triangles or triangle strips. r=bjacob 2014-03-05 14:18:38 -05:00
Dan Glastonbury 105377fc80 Bug 975824 - Disable S3TC compressed texture support on VMware Gallium 0.4 with
llvmpipe. r=jgilbert
2014-02-28 16:57:03 +10:00
Jeff Gilbert 3a7ff29a22 Bug 978414 - GLContextCGL::IsDoubleBuffered should be const at definition. - r=bustage on a CLOSED TREE 2014-03-03 19:13:34 -08:00
Jeff Gilbert ecac7faae3 Bug 978414 - Mark GLContext virtuals const and MOZ_OVERRIDE where appropriate. - r=bjacob 2014-03-03 18:47:43 -08:00
Milan Sreckovic 644e4b482a Bug 971943: 6. gfx.android.rgb16.force (startup only), gfx.gralloc.fence-with-readpixels (changing during session) moved to gfxPrefs. r=sikeda. 2014-03-03 17:11:06 -05:00
Kyle Huey a10bc216e9 No bug: dos2unix GLTextureImage.cpp. r=me
DONTBUILD
2014-02-28 17:32:07 -08:00
Milan Sreckovic 3236414e71 Bug 971943: 3. gfx.apitrace.enabled (ANDROID only) preference moved to gfxPrefs. r=gwright 2014-02-28 12:59:38 -05:00
Phil Ringnalda 71d2221ff0 Back out d0b4c5c28fb0 (bug 956993) for Android test failures
CLOSED TREE
2014-02-27 20:25:55 -08:00
James Willcox 6dc4d165a4 Bug 956993 - Rely on OES_EGL_image_external for SharedSurface_EGLImage r=jgilbert 2014-02-27 20:48:38 -06:00
Milan Sreckovic 95619c8d0d Bug 971942: 2. layout.frame_rate, layers.offmainthreadcomposition.frame-rate, layers.orientation.sync.timeout moved to gfxPrefs. The layers.offmainthreadcomposition.frame-rate is also changed to be a live preference so it does not need a restart. r=bgirard 2014-02-26 21:52:54 -05:00
Matt Woodrow 9662b1ad04 Bug 680817 - Keep GLXPixmaps bound to textures between updates on NVIDIA drivers to improve performance. r=joe 2014-02-25 12:56:51 +13:00
James Willcox fb3ec81132 Bug 970096 - Try a 16 bit OpenGL context as a last result on Android r=bjacob 2014-02-24 16:17:34 -06:00
Milan Sreckovic 825c103203 Bug 946907: Make sure GLContext reads preferences through gfxPrefs which means it's done on the main thread. Rename the macro to DECL_GFX_PREF before it gets used in a lot of places. r=bjacob 2014-02-22 18:53:04 -05:00
Oleg Romashin 630ac326a5 Bug 974335 - Refactor Qt Widget Backend implementation. gl changes . r=bjacob 2014-02-20 18:08:50 -08:00
Wes Kocher 8d647a6ec0 Backed out changeset cf6a31bca4e0 (bug 939276) for webgl reftest crash
--HG--
rename : gfx/gl/SkiaGLGlue.cpp => gfx/gl/GLContextSkia.cpp
2014-02-20 15:23:52 -08:00
James Willcox 91032a3dca Bug 939276 - Use a single GLContext for all SkiaGL canvases r=vlad,gwright,bjacob
--HG--
rename : gfx/gl/GLContextSkia.cpp => gfx/gl/SkiaGLGlue.cpp
extra : rebase_source : 8e85dd34a67c2e193480e9f1f5baf68a898790fe
2014-02-20 16:20:28 -06:00
Matt Woodrow b131d17ba8 Bug 947227 - Remove SurfaceStream_TripleBuffer_Async since it no longer has any users. r=jgilbert 2014-02-21 11:08:36 +13:00
Matt Woodrow 0ee7d39f66 Bug 947227 - Stop using SurfaceStream_TripleBuffer_Async since it can hang if the compositor fails to pull the latest surface. r=jgilbert 2014-02-21 11:08:05 +13:00
Benoit Jacob c4ef6434fc Bug 972682 - make UploadImageDataToTexture not pass uninitialized parameters to glTexImage2D - r=jgilbert 2014-02-20 08:05:34 -05:00
George Wright 2e2e65e7e1 Bug 910754 - Add a bunch more required OpenGL functions for SkiaGL when using desktop OpenGL r=vlad 2013-06-07 23:11:58 -04:00
George Wright 309648f662 Back out changesets from bug 910754 due to build bustage 2014-02-18 17:54:04 -05:00
George Wright ee3c883bbb Bug 910754 - Add a bunch more required OpenGL functions for SkiaGL when using desktop OpenGL r=vlad 2013-06-07 23:11:58 -04:00
Ryan VanderMeulen 8a4698657b Merge inbound to m-c. 2014-02-18 15:18:19 -05:00
Sotaro Ikeda de99fe10c0 Bug 972494 - Use RefPtr to hold GrallocTextureClientOGL pointer r=nical 2014-02-18 06:46:13 -08:00
Jeff Muizelaar bf37765934 Bug 973257. GL: Fix broken printf string. r=vlad
--HG--
extra : rebase_source : 4e2381555b7b1a49cb05cb438f63b4fe8f2fe0ed
2014-02-15 23:44:05 -05:00
Ehsan Akhgari 5643b79842 Backed out 2 changesets (bug 939276) because of build bustage
Backed out changeset 1cedc759f877 (bug 939276)
Backed out changeset 61cef3b533ba (bug 939276)

--HG--
rename : gfx/gl/SkiaGLGlue.cpp => gfx/gl/GLContextSkia.cpp
2014-02-14 18:48:05 -05:00
James Willcox 933b5c003c Bug 939276 - build bustage 2014-02-14 16:12:10 -06:00
James Willcox ee9a1556e5 Bug 939276 - Use a single GLContext for all SkiaGL canvases r=bjacob,gwright,dglastonbury
--HG--
rename : gfx/gl/GLContextSkia.cpp => gfx/gl/SkiaGLGlue.cpp
2014-02-14 15:55:58 -06:00
Andreas Pehrson 6ece642af0 Bug 959154 - Part 8: Moz2Dify GLUploadHelpers. r=nical 2014-02-13 17:28:48 +01:00
Andreas Pehrson a5391f0284 Bug 959154 - Part 7: Moz2Dify GLTextureImage::BeginUpdate/EndUpdate. r=nical 2014-02-13 19:00:01 +01:00
Andreas Pehrson 84d0270067 Bug 959154 - Part 6: Move away from DeprecatedDirectUpdate and remove them. r=nical 2014-02-13 17:27:19 +01:00
Andreas Pehrson 87680313c8 Bug 959154 - Part 5: Create Moz2D version of TextureImage::DirectUpdate. r=nical 2014-02-13 17:25:55 +01:00
Andreas Pehrson 7441ec625d Bug 959154 - Part 4: Deprecate thebes version of GLTextureImage::DirectUpdate. r=nical 2014-02-13 17:25:36 +01:00
Andreas Pehrson 5a8c7a12da Bug 959154 - Part 3: Deprecate naming of gl::UploadTextureForSurface for thebes. r=nical 2014-02-13 17:22:31 +01:00
Andreas Pehrson c03e76eba6 Bug 959154 - Part 2: Remove local ImageFormatForSurfaceFormat. r=nical 2014-02-13 17:20:43 +01:00
Andreas Pehrson ffdb89ceec Bug 959154 - Part 1: Moz2Dify gl::UploadImageData. r=nical 2014-02-14 12:40:26 +01:00
Ryan VanderMeulen f373429333 Backed out 8 changesets (bug 959154) for various oranges.
Backed out changeset 00e465be0552 (bug 959154)
Backed out changeset 0f9be8d2caaf (bug 959154)
Backed out changeset 6ca9ba706c94 (bug 959154)
Backed out changeset c6ec9df2d729 (bug 959154)
Backed out changeset 53da6aef5629 (bug 959154)
Backed out changeset 88a6337fc8fb (bug 959154)
Backed out changeset b2535f63d78e (bug 959154)
Backed out changeset fffb200a94bc (bug 959154)
2014-02-14 13:30:39 -05:00
Andreas Pehrson 4918472db8 Bug 959154 - Part 8: Moz2Dify GLUploadHelpers. r=nical 2014-02-13 17:28:48 +01:00
Andreas Pehrson cb77688579 Bug 959154 - Part 7: Moz2Dify GLTextureImage::BeginUpdate/EndUpdate. r=nical 2014-02-13 19:00:01 +01:00
Andreas Pehrson 131fa96287 Bug 959154 - Part 6: Move away from DeprecatedDirectUpdate and remove them. r=nical 2014-02-13 17:27:19 +01:00
Andreas Pehrson ec5790e30d Bug 959154 - Part 5: Create Moz2D version of TextureImage::DirectUpdate. r=nical 2014-02-13 17:25:55 +01:00
Andreas Pehrson 1aa4d83915 Bug 959154 - Part 4: Deprecate thebes version of GLTextureImage::DirectUpdate. r=nical 2014-02-13 17:25:36 +01:00
Andreas Pehrson 1aea6981d1 Bug 959154 - Part 3: Deprecate naming of gl::UploadTextureForSurface for thebes. r=nical 2014-02-13 17:22:31 +01:00
Andreas Pehrson 971c164cf4 Bug 959154 - Part 2: Remove local ImageFormatForSurfaceFormat. r=nical 2014-02-13 17:20:43 +01:00
Andreas Pehrson 2252cffa0a Bug 959154 - Part 1: Moz2Dify gl::UploadImageData. r=nical 2014-02-14 12:40:26 +01:00
Morris Tseng d4cdf301e3 Bug 926128 - Use a single configurable shader in OpenGL layers backend. r=vlad, r=nical, r=gal 2013-11-07 22:22:05 -08:00
Jeff Gilbert d85030b570 Bug 960378 - Allow Reading into non-tightly-packed surfaces. - r=bjacob 2014-02-13 15:38:53 -08:00
Jeff Gilbert ee6f816ed1 Bug 969632 - More const cleanup in gfx/gl. - r=bjacob 2014-02-13 15:02:03 -08:00
Jeff Gilbert 6c7fc28cfd Bug 823454 - Implement EXT_frag_depth for WebGL. - r=kamidphish 2014-02-13 15:00:12 -08:00
Jeff Gilbert 337c3608dc Bug 912280 - Implement OES_texture_half_float_linear for WebGL. r=kamidphish 2014-02-13 09:53:53 -05:00
Benoit Girard 15b0d7e7f7 Bug 971154 - Implement APPLE_texture_range. r=jrmuizel 2013-12-12 13:27:10 -05:00
Tor Arvid Lund cdfd45fed5 Bug 948765 - Port CopyableCanvasLayer to Moz2D. r=nical
This patch deprecates the UpdateSurface and PaintWithOpacity methods in the
CCL class. To do this, many other changes were made in the process.

BasicImplData::Paint was deprecated, and its mOperator was ported to Moz2D.
This caused changes in several *Layer subclasses.

GLScreenBuffer::Readback was deprecated.

I want to change the usages of the (now) deprecated functions, so that they
use the new Moz2D ones: CanvasClient::Update has been updated, but the big
one (BasicLayerManager::PaintSelfOrChildren) will have to be its own
project.
2014-02-12 10:07:46 -05:00
Jeff Gilbert 24c4ab9d4d Bug 968469 - Add check for ARB_half_float_pixel to GLFeature::texture_half_float. r=kamidphish 2014-02-10 18:03:12 -05:00
Ms2ger 2e89bf81de Merge m-i to m-c. 2014-02-09 10:31:55 +01:00
Ms2ger 42aa546e2f Bug 952033 - Part b: Use IntSize in CreateOffscreenSurface; r=roc 2014-02-09 09:04:38 +01:00
Jeff Gilbert 823f3fef45 Bug 969632 - Make GLContext::fDeleteFoo funcs const-correct. r=bjacob 2014-02-08 21:06:08 -05:00
Ryan VanderMeulen 2b2cf89a68 Backed out changeset 8d885b139d7d (bug 912280) for bustage. 2014-02-07 10:38:27 -05:00
Jeff Gilbert 0db3af46b0 Bug 912280 - Implement OES_texture_half_float_linear for WebGL. r=kamidphish 2014-02-07 10:21:49 -05:00
Jeff Gilbert a4ce3a842e Bug 968617 - Refresh GLConsts.h as of Feb 5, 2014. r=bjacob 2014-02-06 20:33:20 -05:00
Jeff Gilbert 68a5745355 Bug 968617 - Fix the file name in the GLConsts.h update script. r=bjacob 2014-02-06 20:33:05 -05:00
Dan Glastonbury 76a85b614c Bug 963455 - Fix the setting of viewport in GLReadTexImageHelper::ReadTexImage. r=BenWa 2014-01-31 09:18:15 +10:00
Vladimir Vukicevic 69d8bb943a b=738872, implement WebGL OES_texture_half_float; part 2 - core impl; r=jgilbert 2014-01-23 16:47:37 -05:00
Vladimir Vukicevic 9d5d5dab4a b=738872, implement WebGL OES_texture_half_float; part 1 - GLContext; r=jgilbert 2014-01-23 12:47:56 -05:00
Dan Glastonbury cdecdd0a93 Bug 953221 - GLenum to C string helper. r=bjacob 2014-01-22 19:21:19 +10:00
Milan Sreckovic c0ca2a00d1 Bug 946860 - Move the preference evaluation to main thread. r=gwright 2014-01-24 17:19:34 -05:00
David Zbarsky 7cb634da66 Bug 952977: Convert GetTextureTransform to gfx::Matrix4x4 r=nical 2014-01-24 17:49:02 -08:00
Benoit Jacob aebf0bb92a Bug 959380 - 4/5 - Make gfxContentType a typed enum - r=jrmuizel
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)GFX_CONTENT_\(COLOR\|ALPHA\|COLOR_ALPHA\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1gfxContentType::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob ed427f9600 Bug 959380 - 3/5 - Make gfxSurfaceType a typed enum - r=jrmuizel
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxSurfaceType\(Image\|PDF\|PS\|Xlib\|Xcb\|Glitz\|Quartz\|Win32\|BeOS\|DirectFB\|SVG\|OS2\|Win32Printing\|QuartzImage\|Script\|QPainter\|Recording\|VG\|GL\|DRM\|Tee\|XML\|Skia\|Subsurface\|D2D\|Max\)\($\|[^A-Za-z0-9_]\)/\1gfxSurfaceType::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob e5ed95579b Bug 959380 - 2/5 - Make gfxImageFormat a typed enum - r=jrmuizel
find . -type f | grep -v \./obj | grep -v \.hg | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxImageFormat\(ARGB32\|RGB24\|A8\|A1\|RGB16_565\|Unknown\)\($\|[^A-Za-z0-9_]\)/\1gfxImageFormat::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Girard 400396fb82 Bug 900033 - Don't rely on the driver to detect a bad MakeCurrent. r=jrmuizel 2014-01-17 18:10:54 -05:00
Bas Schouten fdb4be9e33 Bug 960254 - Part 2: Update some callers that write to DataSourceSurface. r=jrmuizel 2014-01-16 13:17:23 +01:00
Bas Schouten 6a885186bb Backed out 5 changesets (bug 960254, bug 960354)
Backed out changeset 4441c32c724c (bug 960254)
Backed out changeset 4aecc5ca2a19 (bug 960254)
Backed out changeset 9f499e5f7954 (bug 960354)
Backed out changeset fd9b6b044a5a (bug 960354)
Backed out changeset c1f6fbc397bd (bug 960354)
2014-01-16 14:36:53 +01:00
Bas Schouten faa7d6f7e2 Bug 960354 - Part 2: Update some callers that write to DataSourceSurfaces. r=jrmuizel 2014-01-16 13:17:23 +01:00
Markus Stange 83a5bad4dc Bug 958550 - Use ScopedGLState for scissor test + blend state in two more places. r=bjacob 2014-01-13 15:29:10 +01:00
Benoit Jacob 7bdb8095bb Bug 943925 - Fix the loading of the glDrawBuffers symbol - r=jgilbert 2014-01-10 22:14:17 -05:00
Benoit Jacob af24b2af27 Bug 958256 - Mark standard_derivatives as unsupported on Vivante drivers - r=jgilbert,snorp 2014-01-10 14:50:25 -05:00
Benoit Jacob ccaa35314d Bug 958375 - 6/9 - Make BackendType and NativeSurfaceType typed enums - r=Bas
Specifically:
  r=Bas for manual changes
  f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Benoit Jacob a1e7c32630 Bug 958375 - 4/9 - Make SurfaceFormat a typed enum - r=Bas
Specifically:
  r=Bas for manual changes
  f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Benoit Jacob 4374a80063 Bug 958369 - 5/5 - Make ContextType a typed enum - r=jgilbert 2014-01-10 13:55:24 -05:00
Benoit Jacob f2062e25d7 Bug 958369 - 4/5 - remove the ContextFlags enum - r=jgilbert 2014-01-10 13:55:23 -05:00
Benoit Jacob e89c4521fc Bug 958369 - 3/5 - Make SharedTextureShareType and SharedTextureBufferType typed enums - r=jgilbert 2014-01-10 13:55:23 -05:00
Benoit Jacob f02a9b87ea Bug 958369 - 2/5 - Make GLVendor and GLRenderer typed enums - r=jgilbert 2014-01-10 13:55:23 -05:00
Benoit Jacob b05e26dc69 Bug 958369 - 1/5 - Make GLFeature a typed enum - r=jgilbert 2014-01-10 13:55:23 -05:00
Benoit Jacob bba51d87ca Bug 958368 - Remove the code paths to load a custom Mesa/llvmpipe build instead of system OpenGL (sadface) - r=jgilbert 2014-01-10 13:55:23 -05:00
Morris Tseng f5d29ea6c7 Bug 893304 - Convert CanvasClient to new TextureClint/Host and replace SurfaceDescriptors with TextureClients inside SharedSurfaces. r=nical, r=snorp, r=jgilbert, r=bjacob 2014-01-10 08:06:06 -05:00
Andreas Pehrson 0955c3684b Bug 877115 - Remove GetTexImage from GLContext helper. r=nical 2014-01-08 09:37:58 +01:00
Markus Stange 160a80b3d7 Bug 956266 - Don't rebuffer quad vertex + texture coordinates when drawing simple quads in CompositorOGL. r=nrc 2014-01-08 13:00:04 +01:00
Markus Stange 4379a54037 Backing out changeset 1ff04cca465b (bug 956266) due to compilation failures on Android. 2014-01-08 11:36:13 +01:00
Markus Stange 95f05c9276 Bug 956266 - Don't rebuffer quad vertex + texture coordinates when drawing simple quads in CompositorOGL. r=nrc 2014-01-08 10:31:07 +01:00
Benoit Jacob 7bf05f5074 Bug 956401 - 9/9 - Optimization: cache the scissor rect in GLContext - r=vladv 2014-01-07 15:02:19 -05:00
Benoit Jacob 6d0a696864 Bug 956401 - 8/9 - Remove GLContext's scissor stack - r=jgilbert 2014-01-07 15:02:19 -05:00
Benoit Jacob 89a33dce75 Bug 956401 - 4/9 - Add ScopedGLState ctor without value parameter, leaving state unchanged - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob 72a2bbe248 Bug 956401 - 2/9 - Add ScopedScissorRect helper - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob 36c0991352 Bug 956154 - 2/2 - Optimization: cache the viewport rect - r=vladv 2014-01-07 15:02:18 -05:00
Benoit Jacob 4d8fcc24c1 Bug 956154 - 1/2 - Remove GLContext's viewport stack - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob bb2984e1eb Bug 956141 - Move y-flipping feature out of GLContext, into CompositorOGL - r=jgilbert,nrc 2014-01-07 15:02:18 -05:00
Benoit Jacob 3b48c14b33 Bug 950903 - 7/8 - Simplifications around EGLSurface override - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob ba93ad0ec2 Bug 950903 - 6/8 - Remove GLContext::GetNativeData - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob df17e73e7c Bug 950903 - 5/8 - Add static Cast methods to allow getting the backend-specific object from a GLContext - r=jgilbert 2014-01-07 15:02:18 -05:00
Benoit Jacob 98ca33fe7f Bug 950903 - 4/8 - Expose GLContextWGL publicly - r=jgilbert 2014-01-07 15:02:18 -05:00