Commit Graph

490 Commits

Author SHA1 Message Date
Guillaume Abadie
1c838a60f4 bug 892546 - [WebGL 2.0] Instanced Rendering (GL_ARB_draw_instanced) - r=jgilbert 2013-07-25 20:38:58 -04:00
Guillaume Abadie
98bb00eeef Bug 896814 - GLContext add enum GLExtensionPackages. r=jgilbert
DONTBUILD
2013-07-23 17:33:51 -04:00
Ryan VanderMeulen
913ce56ee9 Backed out changeset 590fc39b6a1c (bug 892546) for landing with the wrong bug number. 2013-07-23 17:40:28 -04:00
Guillaume Abadie
782f81f6d0 bug 892546 - GLContext add enum GLExtensionPackages - r=jgilbert 2013-07-23 17:33:51 -04:00
Birunthan Mohanathas
1332e2dec8 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
efe7380da2 Bug 894405 - Ref GLContext before sending SurfaceStream to compositor r=jgilbert 2013-07-17 13:03:18 -04:00
James Willcox
f336c23ebd Bug 887318 - Fix SkiaGL readback when BGRA unavailable r=jgilbert 2013-06-27 10:20:21 -04:00
Guillaume Abadie
bed7e23323 Bug 890926 - WebGL2 Min/max blend equations. r=jgilbert 2013-07-18 11:24:23 -04:00
Guillaume Abadie
a5bc5abd02 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
cd7390b515 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
434a7b577c Bug 875232 - Add SharedSurface_IOSurface for sharing textures on OSX. r=jgilbert 2013-07-17 23:24:15 -04:00
Matt Woodrow
cef59c4d1b 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
15b6cbf471 Bug 875232 - Make alpha channel optional for MacIOSurface. r=BenWa 2013-07-17 23:24:14 -04:00
Brian O'Keefe
f98dd45a72 Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps 2013-07-04 08:28:43 -04:00
Milan Sreckovic
db9fac5147 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
a5edb8e493 Back out bug 807096 for causing bug 891568. 2013-07-11 17:07:11 -04:00
Avi Halachmi
33f8c51e08 Bug 888899: Allow fast iterations of the refresh driver on OS X. r=jrmuizel 2013-07-09 03:06:14 +03:00
Matt Woodrow
6c47d7391d 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
a43c75493b 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
df6123b0bc bug 870407: cleanup bug. r=mshal 2013-07-08 11:53:00 -04:00
George Wright
09e0ff6d4f 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)
139c9584fb 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
38a9d6f38d Backed out changeset cff8971a6519 (bug 882523) for Linux reftest-ipc crashes. 2013-07-03 10:14:11 -04:00
Benoit Jacob
f429d28a81 Bug 875218 - Make sGLContext thread-local r=mattwoodrow 2013-06-17 15:45:56 -04:00
Benoit Jacob
f0a1c91ea8 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
2b5bfc6902 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
d34edcb95b 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
82c46bbf46 Backed out 43e688b70d84 (bug 843667) for compilation failures
CLOSED TREE
2013-07-02 14:30:20 -07:00
Guillaume Abadie
b1f85af139 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
f183040ef5 bug 870407: move CMMSRCS to mozbuild (file batch #2) r=mshal 2013-07-01 12:32:40 -04:00
Milan Sreckovic
01289b10e1 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
09d2312322 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
cab87a0cce 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)
310f9b591a bug 738869 - implement OES_vertex_array_object webgl extension - r=bjacob 2013-06-27 17:07:21 -04:00
Vladimir Vukicevic
e035d93cec b=705022; make GL layers work on Windows; r=bjacob 2013-06-21 14:22:18 -04:00
Benoit Jacob
a592b59f7b 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
2906766499 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
363a64ab55 Bug 867460 - Remove notion of ShaderProgramTypes from gfx/gl. r=bschouten, sr=joe 2013-06-24 13:05:13 -04:00
Guillaume Abadie
8a763cff74 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
6a510d7e7b Bug 738869 - Implement OES_vertex_array_object. r=jgilbert 2013-06-17 16:17:59 -04:00
Matt Woodrow
9547a3712c 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
66a85c4495 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
577cf4c6d4 Bug 877626 - Port GTK2 to GTK3 - build config, gfx dir. r=karlt 2013-06-11 13:40:27 -04:00
Guillaume Abadie
73226a51be Bug 879954 - Implement OES_texture_float_linear - r=bjacob 2013-06-10 16:00:52 -04:00
Thomas Zimmermann
ca96fee1d1 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
47b1338caf Bug 876721 - Allow for failing during creation of ANGLE ShSurf. - r=bjbas 2013-06-06 13:56:15 -07:00
Jeff Gilbert
4d089fb324 Bug 878365 - Fallback to Basic ShSurf as needed, not permanently. - r=bjacob 2013-06-06 13:56:12 -07:00
Vladimir Vukicevic
ef8707b5f0 b=843599; use gralloc buffers for WebGL streaming on B2G; r=nical,jgilbert,jrmuizel 2013-05-27 10:12:13 -04:00
Jeff Gilbert
24cf997b90 Bug 874823 - Support unknown consumer for ShSurf_GLTex. - r=mattwoodrow 2013-06-04 17:05:28 -07:00
Jeff Gilbert
dea56bdef2 Bug 875696 - Disable oes_standard_derivatives for Adreno 320 for being broken. - r=bjacob 2013-06-04 15:23:40 -07:00