Commit Graph

456 Commits

Author SHA1 Message Date
Benoit Jacob
625d40fbff Bug 924191 - Use MOZ_BEGIN_ENUM_CLASS for the WebGLTexelFormat enum - r=jgilbert 2013-10-11 09:16:43 -04:00
Benoit Jacob
2998967184 Bug 924189 - Use MOZ_BEGIN_ENUM_CLASS for the WebGL VertexAttrib0 enum - r=jgilbert 2013-10-11 09:16:43 -04:00
Benoit Jacob
9ffc6b23d8 Bug 924188 - Use MOZ_ASSERT where appropriate in WebGL code - r=jgilbert 2013-10-11 09:16:43 -04:00
Benoit Jacob
31b388a74f Bug 922810 - Fix the build on compilers not supporting strong enums - r=jgilbert 2013-10-11 09:16:43 -04:00
Benoit Jacob
c1068e71b9 Bug 922810 - Part 8: Defer/avoid initialization of texture images - r=jgilbert 2013-10-11 09:16:43 -04:00
Benoit Jacob
f381117c01 Bug 922810 - Part 6: Clean up and optimize fake black textures implementation - r=jgilbert 2013-10-11 09:16:43 -04:00
Benoit Jacob
70e268f927 Bug 922810 - Part 5: do not initialize depth textures before they get rendered to, use a fake black texture instead - r=jgilbert 2013-10-11 09:16:43 -04:00
Benoit Jacob
d3ed28c249 Bug 922810 - Part 4: make BindTexture smart enough to not clear the context's mFakeBlackStatus when nothing changed - r=jgilbert 2013-10-11 09:16:43 -04:00
Benoit Jacob
0ada058e54 Bug 922810 - Part 3: introduce transparent fake black textures alongside existing opaque ones - r=jgilbert 2013-10-11 09:16:43 -04:00
Benoit Jacob
5e11f6d43d Bug 922810 - Part 2: reorganize the tracking of fake back statuses - r=jgilbert 2013-10-11 09:16:43 -04:00
Benoit Jacob
d2a1326b16 Bug 922810 - Part 1: track image initialization with a WebGLImageDataStatus enum - r=jgilbert 2013-10-11 09:16:43 -04:00
Jeff Gilbert
e5fb5f3a5d Bug 685184 - Emulate depth_stencil RBs. - r=bjacob 2013-10-01 17:31:09 -07:00
Jeff Gilbert
37a2edd7e6 Bug 685184 - Differentiate textureTarget, texImageTarget, and internal 'face' vars. - r=bjacob 2013-10-01 17:30:38 -07:00
Jeff Gilbert
07bed4985f Bug 685184 - Delay attachment of RBs to FBs. - r=bjacob 2013-10-01 17:30:05 -07:00
Benoit Jacob
6ecd6b5eaa Bug 783914 - WEBGL_depth_texture doesn't work using ANGLE - r=jgilbert 2013-09-30 20:58:57 -04:00
Benoit Jacob
0f90257361 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
e453e29e37 Bug 890432 - Limit expression complexity on Mac+NV. - r=bjacob 2013-09-19 14:59:44 -07:00
Benoit Jacob
94f74c705d Bug 912042 - Avoid including GLContext.h in headers that don't need it - r=jrmuizel 2013-09-04 08:14:52 -04:00
Benoit Jacob
ba172a45f5 Bug 911879 - Give WebGLContext.h a good round of removing unneeded inline method bodies - r=jgilbert 2013-09-04 08:14:50 -04:00
Benoit Jacob
4f1dd420f6 Bug 911857 - Move CheckedBufferData to WebGLContextBuffers.cpp - r=jgilbert 2013-09-04 08:14:46 -04:00
Benoit Jacob
e915fc8cb0 Bug 911856 - Remove the custom concept of "stable context" in favor of the standard concept of "lost context" - r=jgilbert 2013-09-04 08:14:44 -04:00
Benoit Jacob
a53a6563d1 Bug 911855 - Remove redundant WebGL integer typedefs - r=jgilbert 2013-09-04 08:14:43 -04:00
Mina Almasry
c1f57ce7f9 Bug 775843 - Always BindAttribLocation something to attrib 0 if possible. r=jgilbert 2013-08-27 09:01:44 -04:00
Kyle Huey
f05ce97507 Bug 907595: Forward declare ImageData and stop including it in headers. r=bz 2013-08-22 22:17:11 -07:00
Guillaume Abadie
3175b5af43 bug 903481 - step 1 - Move WebGL buffers function into GLContextBuffers.cpp - r=jgilbert 2013-08-20 11:36:19 -04:00
Guillaume Abadie
204c1119e6 bug 903455 - [WebGL 2.0] Implement transform feedback: RASTERIZER_DISCARD - r=jgilbert 2013-08-15 20:43:47 -04:00
Guillaume Abadie
55c0e32502 bug 893180 - [WebGL 2.0] gl.vertexAttribDivisor (GL_ARB_instanced_array) - r=jgilbert 2013-08-06 20:05:51 -04:00
Jeff Gilbert
6030e6834f Bug 901297 - Save and restore WebGL state for Mesa FB workarounds. - r=bjacob 2013-08-05 15:11:43 -07:00
Boris Zbarsky
82ba945cef Bug 900898 part 2. Move to using Nullable<TypedArray> to represent possibly-null TypedArray structs. r=smaug 2013-08-05 13:40:01 -04:00
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
17c8348d7a bug 896601 - WebGL draw commands overflow - r=bjacob 2013-07-25 13:15:24 -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
Guillaume Abadie
f11e4e269e Bug 890379 - [WebGL 2.0] Add existing WebGL 1 extensions as WebGL 2 features. r=jgilbert 2013-07-17 12:13:38 -04:00
Guillaume Abadie
16e0f88f06 Bug 890311 - [WebGL 2.0] Add WebGL2Context C++ class inheriting WebGLContext. r=jgilbert 2013-07-17 09:58:09 -04:00
Guillaume Abadie
3181ff1886 Bug 892769 - Fix a bug about fake black textures in WebGLContext. r=jgilbert 2013-07-12 09:54:59 -04:00
Jeff Gilbert
32874625f1 Bug 888107 - Zero-fill webgl BufferData allocations. - r=bjacob 2013-07-01 17:32:06 -07: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
Jeff Gilbert
26adfa7177 Bug 885911 - Clamp (Web)GLclampf values for shadowing. - r=bjacob 2013-06-26 17:42:56 -07:00
Guillaume Abadie
e55055922f Bug 882890 - Add fake vertex attribute 0 disabling to the getVertexAttrib function to improve WebGL compatibility with driver limitations. r=bjacob 2013-06-23 20:40:12 -04:00
Jeff Gilbert
d6913dfc91 Bug 880734 - Assert bound to correct FB in FB funcs, and bind the correct FB on Mesa. - r=bjacob 2013-06-21 16:42:32 -07: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
Jeff Gilbert
0ed895294c Backout 01aec9db40d9 for bustage on a CLOSED TREE 2013-06-21 16:33:57 -07:00
Jeff Gilbert
51153e439c Bug 880734 - Assert that we're the current FB in FB funcs, and bind the correct FB on Mesa. - r=bjacob 2013-06-21 16:15:19 -07:00
Guillaume Abadie
3af6b292e5 Bug 879952 - OES_texture_float should not allow linear filtering - r=bjacob 2013-06-10 16:00:46 -04:00
Guillaume Abadie
06361ed09b bug 879802 - Clean up the #includes in the WebGL implementation - r=bjacob 2013-06-10 16:00:35 -04:00
Jeff Gilbert
19b000327a Bug 877934 - Only clear what we need to for off-fb ReadPixels. - r=bjacob 2013-05-30 18:54:00 -07:00
Jeff Gilbert
b7775449d9 Bug 859608 - Flush GL on overdraw on Tegra devices. - r=bjacob 2013-05-22 00:05:38 -07:00
Jeff Gilbert
6c745b0b44 Bug 837213 - Use SH_CLAMP_INDIRECT_ARRAY_BOUNDS on windows. - r=bjacob 2013-05-19 19:10:47 -07:00