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

557 Коммитов

Автор SHA1 Сообщение Дата
George Wright 369e94c8b8 Bug 902483 - Expose missing GLES2 extensions to SkiaGL r=mattwoodrow 2013-07-31 20:10:55 -04:00
Guillaume Abadie 25e763c7a5 bug 893180 - [WebGL 2.0] gl.vertexAttribDivisor (GL_ARB_instanced_array) - r=jgilbert 2013-08-06 20:05:51 -04:00
Guillaume Abadie 78c2cdc107 bug 892978 - [WebGL 2.0] Query objects (GL_ARB_occlusion_query_boolean) - r=jgilbert 2013-08-06 17:23:46 -04:00
Guillaume Abadie 94299686a9 bug 901084 - remove deprecated GLContext extension group queries. - r=bjacob 2013-08-02 21:13:46 -04:00
Guillaume Abadie 39842b42d1 Bug 901131 - GLContext's extension group queries do a static assert on sExtensionGroupInfoArr - r=jgilbert 2013-08-02 21:04:16 -04:00
Guillaume Abadie 07a0a8e539 bug 900101 - build bustage fix on an CLOSED TREE - r=bjacob IRL 2013-08-02 18:26:09 -04:00
Guillaume Abadie 8eddab1693 bug 900101 - GLContext let extension group queries XXX_* use mVersion and mProfile - r=jgilbert,bjacob 2013-08-02 17:30:58 -04:00
Guillaume Abadie 5bb1d9fb66 bug 900964 - GLContext::GLErrorToString changed to a static function - r=bjacob 2013-08-02 17:08:55 -04:00
Avi Halachmi 91d31fafd1 Bug 888899 - Part 2 - Uses layout.frame_rate=0 for ASAP mode instead of 10k. r=jrmuizel 2013-08-02 23:29:57 +03:00
Ms2ger 50634577d5 Merge m-c to inbound. 2013-08-02 11:07:57 +02:00
Ms2ger a0c434eb33 Bug 898895 - Define MOZ_WEBGL globally; r=ted 2013-08-02 09:04:35 +02:00
Guillaume Abadie d951e1339f bug 899264 - Add OpenGL version and profile support in GLContext - r=jgilbert 2013-08-01 19:43:27 -04:00
Nicolas Silva 6d7cde1795 Bug 899583 - Disallow BigImage with YCbCr compositing. r=BenWa 2013-08-02 01:02:06 +02:00
Guillaume Abadie b5427bee94 bug 900702 - GLContext DrawArraysInstanced and DrawElementsInstanced doesn't call {Before,After}GLDrawCall() - r=bjacob 2013-08-01 18:27:54 -04:00
Guillaume Abadie 4d646841a5 bug 899811 - step 01 - gfx/gl/GLContext.h consolidation - r=bjacob,jgilbert 2013-07-31 19:18:06 -04:00
Ehsan Akhgari ef4b479714 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Nicolas Silva 8592c4c12d Bug 858914 - New texture classes + OGL backend (preffed off). r=bas, nrc 2013-07-30 11:59:51 +02:00
Guillaume Abadie b788dccc0a bug 892546 - [WebGL 2.0] Instanced Rendering (GL_ARB_draw_instanced) - r=jgilbert 2013-07-25 20:38:58 -04:00
Guillaume Abadie e570bec18c Bug 896814 - GLContext add enum GLExtensionPackages. r=jgilbert
DONTBUILD
2013-07-23 17:33:51 -04:00
Ryan VanderMeulen 7febc04428 Backed out changeset 590fc39b6a1c (bug 892546) for landing with the wrong bug number. 2013-07-23 17:40:28 -04:00
Guillaume Abadie 147a029fdd bug 892546 - GLContext add enum GLExtensionPackages - r=jgilbert 2013-07-23 17:33:51 -04:00
Birunthan Mohanathas 9763ee3807 Bug 784739 - Switch from NULL to nullptr in gfx/gl/; r=ehsan
--HG--
extra : rebase_source : 236322c2d0e4d5c8917d900f768852139b0abc80
2013-07-20 11:48:55 +03:00
James Willcox 2fed89ee3a Bug 894405 - Ref GLContext before sending SurfaceStream to compositor r=jgilbert 2013-07-17 13:03:18 -04:00
James Willcox 8832640b0a Bug 887318 - Fix SkiaGL readback when BGRA unavailable r=jgilbert 2013-06-27 10:20:21 -04:00
Guillaume Abadie 5d5eae3520 Bug 890926 - WebGL2 Min/max blend equations. r=jgilbert 2013-07-18 11:24:23 -04:00
Guillaume Abadie 016c951407 Bug 892169 - [WebGL 2.0] Bypass ANGLE shader compilation (GL_EXT_gpu_shader4). r=jgilbert 2013-07-18 10:31:01 -04:00
Matt Woodrow 1806ba3946 Bug 875232 - Workaround glReadPixels being broken with framebuffers backed by an IOSurface by copying to a temporary texture first. r=jgilbert 2013-07-17 23:24:15 -04:00
Matt Woodrow 9653ce195e Bug 875232 - Add SharedSurface_IOSurface for sharing textures on OSX. r=jgilbert 2013-07-17 23:24:15 -04:00
Matt Woodrow 14d7db3093 Bug 875232 - Make most of the GLContext helper functions take a texture target parameter so that we can support GL_TEXTURE_RECTANGLE. r=jgilbert 2013-07-17 23:24:15 -04:00
Matt Woodrow 588f5a77ec Bug 875232 - Make alpha channel optional for MacIOSurface. r=BenWa 2013-07-17 23:24:14 -04:00
Brian O'Keefe f4815f2203 Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps 2013-07-04 08:28:43 -04:00
Milan Sreckovic 5d093e62f7 Bug 879656 - Clamp the maximum texture size(s) on Nvidia Mac, even on 10.8+. r=jgilbert
8k too large, 8k-1 working. Same limit on the render buffer size. Note that <10.8 are already limited to 4k by the bug 877949.
2013-07-09 17:35:32 -04:00
Joe Drew 960ebf1aa0 Back out bug 807096 for causing bug 891568. 2013-07-11 17:07:11 -04:00
Avi Halachmi 5d2c672668 Bug 888899: Allow fast iterations of the refresh driver on OS X. r=jrmuizel 2013-07-09 03:06:14 +03:00
Matt Woodrow aaba06e7d1 Bug 890950 - Tell OpenGL that our texture upload data is in BGRA format on OSX. r=jrmuizel
This matches the format used internally and prevents the driver from having to do a conversion. We then add a swizzle to the shaders so that we get the correct colors drawn.
2013-07-09 10:13:33 -04:00
Markus Stange 68c124a82c Bug 882523 - Support OMTC on Mac in non-accelerated mode using OpenGL. r=nrc, r=mattwoodrow 2013-07-08 21:21:05 -07:00
Joey Armstrong 38ca368790 bug 870407: cleanup bug. r=mshal 2013-07-08 11:53:00 -04:00
George Wright 3a03c241e5 Bug 889969 - Inform Skia whether we support GL_OES_rgb8_rgba8 or not r=mattwoodrow
---
 gfx/gl/GLContextSkia.cpp | 4 ++++
 1 file changed, 4 insertions(+)
2013-07-03 14:34:33 -04:00
Andreas Gal ext:(%2C%20Milan%20Sreckovic%20%3Cmilan%40mozilla.com%3E) 4c463d2865 Bug 867460: remove notion of ShaderProgramTypes from gfx/gl. Carry r=bas. r=bgirard for the changes. 2013-07-04 13:25:50 -04:00
Ryan VanderMeulen f23d636f4e Backed out changeset cff8971a6519 (bug 882523) for Linux reftest-ipc crashes. 2013-07-03 10:14:11 -04:00
Benoit Jacob 584cd579b1 Bug 875218 - Make sGLContext thread-local r=mattwoodrow 2013-06-17 15:45:56 -04:00
Benoit Jacob 2647d72fc9 Bug 875218 - Refactor the ownership model under DrawTargetSkia, so that DrawTargetSkia now owns a GLContext, and the only reference that the Skia GrGLInterface gets to the non-Skia world is a pointer back to the DrawTargetSkia r=mattwoodrow 2013-06-16 22:07:18 -04:00
Benoit Jacob e153154b5d Bug 875218 - Make GLContext inherit GenericRefCounted, to allow moz2d to have strong references to GLContexts r=mattwoodrow 2013-06-16 22:05:56 -04:00
Matt Woodrow f5a46f0d03 Bug 882523 - Support OMTC on Mac in non-accelerated mode using OpenGL. r=nrc, r=mattwoodrow 2013-06-13 17:15:15 +12:00
Phil Ringnalda c81f1a24d5 Backed out 43e688b70d84 (bug 843667) for compilation failures
CLOSED TREE
2013-07-02 14:30:20 -07:00
Guillaume Abadie ccb76e6652 bug 843667 - update WebGL EXT_draw_buffers to fix a potential crash on mobile - r=bjacob 2013-07-02 16:50:31 -04:00
Joey Armstrong 03706f341a bug 870407: move CMMSRCS to mozbuild (file batch #2) r=mshal 2013-07-01 12:32:40 -04:00
Milan Sreckovic 2d149e7643 Bug 807096 - Lower the limit on the Intel+Mac to 2048, but only on <10.8. Leave the limit at 4096 otherwise. r=bjacob 2013-06-26 13:53:23 -04:00
Justin Lebar 3e059c7221 Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar 051c5b560a Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else

This is a mechanical change made with sed.  Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Guillaume Abadie ext:(%20and%20James%20King%20%3Cjames%40agentultra.com%3E) a7e54e5fa6 bug 738869 - implement OES_vertex_array_object webgl extension - r=bjacob 2013-06-27 17:07:21 -04:00
Vladimir Vukicevic b8077c2b8c b=705022; make GL layers work on Windows; r=bjacob 2013-06-21 14:22:18 -04:00
Benoit Jacob 1120465f18 Bug 884057 - Fix a memory leak in GLContextProviderGLX: was not destroying pixmaps used for offscreen contexts - r=jgilbert 2013-06-16 22:03:12 -04:00
Ehsan Akhgari 688d6881b1 Backed out changeset 1bf0cdeacb22 (bug 867460) for assertions in various test suites
Landed on a CLOSED TREE
2013-06-25 21:39:07 -04:00
Andreas Gal 4b4d3d8e70 Bug 867460 - Remove notion of ShaderProgramTypes from gfx/gl. r=bschouten, sr=joe 2013-06-24 13:05:13 -04:00
Guillaume Abadie 69a846c1a8 bug 843667 - implement WEBGL_draw_buffers and add the user preference webgl.enable-draft-extensions - r=bjacob 2013-06-21 19:44:17 -04:00
James King 6a6df20b46 Bug 738869 - Implement OES_vertex_array_object. r=jgilbert 2013-06-17 16:17:59 -04:00
Matt Woodrow 50e4cfb594 Bug 882590 - Fix invalid assertion when creating a SharedSurface_GLTexture without a consumer GLContext. r=jgilbert 2013-06-17 14:48:41 +12:00
Matt Woodrow 17e0dc2972 Bug 877949 - Restrict maximum texture size on nvidia cards on OSX 10.6 and 10.7 to 4096. r=bjacob 2013-06-17 14:46:53 +12:00
Martin Stransky b3b0827162 Bug 877626 - Port GTK2 to GTK3 - build config, gfx dir. r=karlt 2013-06-11 13:40:27 -04:00
Guillaume Abadie 5cb8bce316 Bug 879954 - Implement OES_texture_float_linear - r=bjacob 2013-06-10 16:00:52 -04:00
Thomas Zimmermann 127c3fa498 Bug 838995: Improve component swapping when reading texture in RGBA format r=vlad
The function SwapRAndBComponents spends a lot of time in the loops while
walking over the image data. This patch reworks the looping such that the
function only takes 75% of its original time.
2013-06-10 16:00:58 +02:00
Jeff Gilbert 5f68b7e0b1 Bug 876721 - Allow for failing during creation of ANGLE ShSurf. - r=bjbas 2013-06-06 13:56:15 -07:00
Jeff Gilbert 6228c4cf3f Bug 878365 - Fallback to Basic ShSurf as needed, not permanently. - r=bjacob 2013-06-06 13:56:12 -07:00
Vladimir Vukicevic 020a93e885 b=843599; use gralloc buffers for WebGL streaming on B2G; r=nical,jgilbert,jrmuizel 2013-05-27 10:12:13 -04:00
Jeff Gilbert 6c9255e881 Bug 874823 - Support unknown consumer for ShSurf_GLTex. - r=mattwoodrow 2013-06-04 17:05:28 -07:00
Jeff Gilbert 8a70df11c7 Bug 875696 - Disable oes_standard_derivatives for Adreno 320 for being broken. - r=bjacob 2013-06-04 15:23:40 -07:00
Kyle Huey 0d78767303 Bug 876555: Avoid including xpcprivate.h in most generated dom binding code. r=bz 2013-05-30 11:15:31 +08:00
Jeff Gilbert d04e5840f2 Bug 877382 - Remove THEBES_API decorator. - r=BenWa 2013-05-29 14:59:24 -07:00
Mike Shal 5169c0a913 Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Aryeh Gregor 8b16f79037 Bug 867101 - Fix more implicit conversion to already_AddRefed; r=Ms2ger 2013-04-28 14:52:10 +03:00
Jeff Gilbert 717900bdd3 Bug 859608 - Flush GL on overdraw on Tegra devices. - r=bjacob 2013-05-22 00:05:38 -07:00
Chris Lord 120069ee3f Bug 869696 - Add AdrenoTM205 to renderer enum. r=bjacob
Add the 'Adreno (TM) 205' renderer string to the renderer enum in GLContext.
2013-05-15 16:43:22 +01:00
Gregory Szorc cda3054fe8 Bug 863069 - Part 4: Reorder lists to be alphabetical; r=ted
--HG--
extra : rebase_source : 87ed9d862bc32824d518438b0be74b47a77c198a
2013-05-16 15:37:18 -07:00
Ryan VanderMeulen 995052ce79 Backed out changeset 94978dab7186 (bug 863069) for build bustage.
CLOSED TREE
2013-05-16 13:22:02 -04:00
Gregory Szorc 4b45bf9e76 Bug 863069 - Part 4: More sorting of existing lists; r=ted 2013-05-16 09:53:27 -07:00
Ted Mielczarek 3cfd62c3d2 bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium 2013-05-16 09:33:26 -04:00
Matt Woodrow 63acdae78b Bug 870211 - Always save and restore the current framebuffer during BlitTextureImage. r=jgilbert 2013-05-16 15:45:42 +12:00
Michael Wu c5f16dea73 Bug 870198 - Support basic display functions on gonk-JB, r=vlad 2013-05-07 23:58:22 -04:00
Jon Buckley 68bdfcf2af Bug 738867 - Implement WebGL OES_element_index_uint extension. r=bjacob 2013-05-13 09:22:30 -04:00
Ed Morley 5256152aa1 Backed out changeset 496846474ed3 (bug 864774) 2013-05-13 10:05:49 +01:00
Matt Woodrow af5ecaa626 Bug 870211 - Revert to using BasicTextureImage on CGL. r=roc 2013-05-13 16:52:55 +12:00
Mike Shal 954221d9c9 Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey
From 140b9201e3b5d2d8efe7af286d279c2411dbc197 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Matt Woodrow 25cd3e4e03 Bug 756601 - Use TextureImageCGL again, and used TiledTexturedImage for large textures. r=BenWa 2013-05-10 09:02:48 +12:00
Benoit Jacob ba8d97426a Bug 848481 - ♫ Don't say ClientWaitSync unless FOREVER ♫ - r=jgilbert
This fixes a flickering bug with some NVIDIA drivers. From the comment:

Wait FOREVER, primarily because some NVIDIA (at least Tegra) drivers
have ClientWaitSync returning immediately if the timeout delay is anything
else than FOREVER.

FIXME: should we try to use a finite timeout delay where possible?
2013-05-07 16:09:09 -04:00
Nicolas Silva 066185423f Bug 869026 - Fix GLContext::GetTexImage crash when GLContext::mScreen is null. r=jgibert 2013-05-07 02:23:40 -04:00
Matt Woodrow 1eab6c9792 Bug 864287 - Add back code to readback IOSurface plugins when using BasicLayers. r=BenWa 2013-05-01 17:03:27 +12:00
Nicholas Cameron 05710d2e22 Bug 788319, fixups to make EGL work with gtk. r=bjacob 2013-04-30 15:16:04 +12:00
James Willcox caed8640ef Bug 862448 - Fix the fast fencing path for GL when drawing buffer is preserved r=jgilbert 2013-04-25 16:27:43 -04:00
Jeff Gilbert c4e9935490 Bug 863477 - Use SurfaceCaps::Any() for CreateOffscreen for GLContexts for NPAPI plugins. r=cpeterson 2013-04-25 09:35:50 -07:00
Ryan VanderMeulen 24fa014fa3 Backed out changeset ba934ac9fc6b (bug 862448) for B2G reftest crashes.
CLOSED TREE
2013-04-25 11:00:58 -04:00
James Willcox 9a8725c812 Bug 862448 - Fix the fast fencing path for GL when drawing buffer is preserved r=jgilbert 2013-04-25 09:28:04 -04:00
Makoto Kato 721aa48809 Bug 857957 - Use Endian.h for byte swap. f=nfroyd, r=jfkthame, r/sr=bsmedberg 2013-04-24 16:40:33 +09:00
Benoit Jacob a3e0b5fdff Bug 863397 - remove a couple more unused static functions - r=nical 2013-04-20 10:08:18 -04:00
Benoit Jacob 247fdf0702 Bug 863397 - remove more dead B2G paths, mostly in TextureImage - r=nical 2013-04-20 10:08:18 -04:00
Benoit Jacob 065aeca6a3 Bug 863397 - kill BindExternalBuffer and UnbindExternalBuffer with FIRE - r=jgilbert 2013-04-20 10:08:18 -04:00
Benoit Jacob 0c8945b8ca Bug 863397 - Remove all the eglLockSurface-using code; leave the GL symbols in - r=jgilbert 2013-04-20 10:08:18 -04:00
Benoit Jacob 906276315a Bug 860441 - Camera preview update is not smooth on gonk - r=nsilva 2013-04-17 16:56:03 -04:00
Matt Woodrow 26c10d73fa Bug 860615 - Add SharedTextureHandle support to GLContextCGL. r=jgilbert 2013-04-17 14:21:06 +12:00
Matt Woodrow ca690f5eec Bug 860615 - Add CreateSharedHandle to GLContextProvider so we can create one without a GLContext. r=jgilbert 2013-04-17 14:21:06 +12:00