Ehsan Akhgari
a903aefdc0
Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
...
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)
Landed on a CLOSED TREE
--HG--
rename : content/canvas/src/WebGLMemoryTracker.h => content/canvas/src/WebGLMemoryReporterWrapper.h
2013-11-27 20:05:00 -05:00
Nicholas Nethercote
bc475c75df
Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 611e8d35907959b163aeced1c4ffe1d265048fe6
2013-11-07 16:35:30 +11:00
Benoit Girard
16ac6804b2
Bug 935476 - Remove OpenGL printf on mac startup. r=nical
2013-11-06 08:04:12 -05:00
Dan Glastonbury
821c4d7a3f
Bug 843668 - Implement WebGL -draft- extension EXT_sRGB. r=jgilbert
...
https://www.khronos.org/registry/webgl/extensions/EXT_sRGB/
See content/canvas/test/webgl/conformance/extensions/ext-sRGB.html for example
usage.
OSX 10.6 has a failure when reading back the results from an sRGB format
texture attached to an FBO. Blacklist MacOSX 10.6 and all lower versions.
2013-11-04 16:05:04 -05:00
Ed Morley
7fddf413ca
Backed out changeset f8e64e91e443 (bug 843668) for webgl test failures
2013-10-16 15:18:20 +01:00
Dan Glastonbury
93f44b676a
Bug 843668 - Implement WebGL -draft- extension EXT_sRGB. r=jgilbert
...
https://www.khronos.org/registry/webgl/extensions/EXT_sRGB/
See content/canvas/test/webgl/conformance/extensions/ext-sRGB.html for example
usage.
2013-10-16 08:27:59 -04:00
Jeff Gilbert
b1a54ea7bd
Bug 910429 - Add KHR_debug support to GLContext. - r=bjacob
2013-10-08 16:20:24 -07:00
Ehsan Akhgari
eff9a278ad
Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob
...
--HG--
extra : rebase_source : af198eb9b9739ce718ba0d16c385624a722cde51
2013-10-07 19:15:59 -04:00
Robert O'Callahan
4dc1ffe65a
Bug 923194. Make GLContext::InitWithPrefix not fatally assert when the GL version is too low. r=bjacob
...
--HG--
extra : rebase_source : 50af716547bbfb7cd25a828d708b2a9553e91c56
2013-10-03 07:40:28 -04:00
Ehsan Akhgari
b155782d0a
Bug 921753 - Part 2: Move GraphicsFilters outside of gfxPattern.h so that we won't need to #include that header everywhere GraphicsFilter is needed; r=roc
...
This patch reduces the number of files that transitively #include
gfx/2d.h from 1582 to 1362.
2013-10-01 17:01:19 -04:00
Benoit Jacob
ba3c27b014
Bug 783914 - WEBGL_depth_texture doesn't work using ANGLE - r=jgilbert
2013-09-30 20:58:57 -04:00
Nicholas Cameron
009454da8e
Bug 882113. Azurification of compositor classes. r=mattwoodrow
2013-09-27 12:37:19 +12:00
Benoit Jacob
55d6cf1e20
Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
...
Generated by these regexes:
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Jeff Gilbert
4c067b3083
Bug 916816 - Disable broken ANGLE divisor support. - r=bjacob
2013-09-19 15:25:35 -07:00
Benoit Jacob
a653be5aa4
Bug 912974 - Split two classes out of GLContext.h, and remove many #includes in GLContext.h - r=jrmuizel
2013-09-06 22:13:37 -04:00
Benoit Jacob
75c8eab846
Bug 905227 - On Android Emulator, assume that OES_rgb8_rgba8 is available even though it's not in the GL_EXTENSIONS string - r=nical
2013-09-06 08:03:08 -04:00
Benoit Jacob
8ec75b058c
Bug 912042 - Avoid including GLContext.h in headers that don't need it - r=jrmuizel
2013-09-04 08:14:52 -04:00
Ryan VanderMeulen
7560a62586
Backed out changeset 630b25ba7f69 (bug 910429) for build bustage on a CLOSED TREE.
2013-08-29 12:10:44 -04:00
Jeff Gilbert
8a29b39cdc
Bug 910429 - Implement KHR_debug in GLContext. r=bjacob
2013-08-29 11:41:08 -04:00
Guillaume Abadie
526e4870a5
bug 899855 - GLContext parse GL_VERSION - r=bjacob,jgilbert
2013-08-29 10:07:58 -04:00
Nicholas Nethercote
23e35ad8e1
Bug 831193 (part 10) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in parts of gfx/. r=bjacob.
...
--HG--
extra : rebase_source : 433b12748c8562b384a02fbee6d98e3bc991802d
2013-01-17 16:45:11 -08:00
Jeff Gilbert
2115df8d82
Bug 908905 - Reduce blocking of packed_depth_stencil on mac+nv. r=bjacob
2013-08-27 18:00:16 -04:00
Guillaume Abadie
b85947a3df
bug 905161 - Remove the return type of GLContext::MarkUnsupported - r=jgilbert
2013-08-23 19:33:42 -04:00
Guillaume Abadie
0dcbcd0abc
bug 905161 - Cache OpenGL features in GLContext - r=jgilbert
2013-08-23 19:33:42 -04:00
Guillaume Abadie
046654aff1
bug 907946 - re-enable EXT_packed_depth_stencil on OS X 10.9 - r=bjacob,jgilbert
2013-08-22 20:13:59 -04:00
Guillaume Abadie
35912f7684
bug 904330 - step 03 - Uses mozilla::GLFeature instead of old extension group queries - r=jgilbert
2013-08-22 13:42:05 -04:00
Guillaume Abadie
4f2b0458e0
bug 903481 - step 2 - [WebGL 2.0] transform feedback: add symbols in GLContext - r=jgilbert
2013-08-20 11:36:20 -04:00
Guillaume Abadie
ca5a59e93f
bug 903455 - [WebGL 2.0] Implement transform feedback: RASTERIZER_DISCARD - r=jgilbert
2013-08-15 20:43:47 -04:00
Guillaume Abadie
55c9d6f3f5
bug 902063 - GLContext complete extension group queries - r=bjacob,jgilbert
2013-08-15 15:58:20 -04:00
Adrian May
c1c1f4e2e2
Bug 877115 - Moz2Dify GLContext and GLTextureImage. r=nical
2013-08-13 15:44:53 +02:00
Edwin Flores
803c0fbe47
Bug 892934 - Pass RGB image format into CreateTextureImage r=mattwoodrow
2013-08-08 10:38:21 +12: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
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
d951e1339f
bug 899264 - Add OpenGL version and profile support in GLContext - r=jgilbert
2013-08-01 19:43:27 -04: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
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
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
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
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
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
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
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