Commit Graph

536 Commits

Author SHA1 Message Date
Andreas Pehrson
747593a842 Bug 1169126 - Part 3: Add canvas 2d reftest for captureStream(). r=gw280 2015-06-12 10:17:25 +08:00
Andreas Pehrson
2612159281 Bug 1169126 - Part 2: Add webgl reftest for captureStream(). r=jgilbert 2015-06-12 10:17:38 +08:00
Andreas Pehrson
937d313731 Bug 1162357 - Convert some usage of DataSourceSurface::GetData() to Map(). r=bas 2015-06-10 19:01:00 +08:00
Tobias Schneider
d0052061ad Bug 1173544 - Add tests for Canvas CSS/SVG Filters. r=mstange 2015-05-08 12:22:18 -07:00
Markus Stange
232acc2cb7 Bug 1163124 - The initial value of the canvas filter property should be "none". r=roc 2015-05-28 17:08:13 -04:00
Markus Stange
aa6a0d2465 Bug 1163105 - Flush frames before building the filter. r=roc 2015-06-09 18:49:17 -04:00
Dan Glastonbury
148d029425 Bug 1170855 - Part C: Move _WEBGL GLenums from GLConsts.h to WebGLContext.h. r=jgilbert 2015-06-11 15:12:16 +10:00
Dan Glastonbury
9a546c9f00 Bug 1170855 - Part B: READ_BUFFER requires emulation for default FB. r=jgilbert
WebGL internals use framebuffers to implement the default
framebuffer. This means that we can't just return the result from
glGetIntegerv(GL_READ_BUFFER, ...)
2015-06-11 15:12:15 +10:00
Dan Glastonbury
64b56dbcf4 Bug 1170855 - Part A: Don't error on MAX_ELEMENT_INDEX. r=jgilbert
MAX_ELEMENT_INDEX appears in GL 4.3 or via ES3_compatibility. Work
around on OSX 10.10 where max is GL 4.1.
2015-06-11 15:12:14 +10:00
Dan Glastonbury
538c790904 Bug 1170855 - Part 9: MAX_VARYING_COMPONENTS workaround. r=jgilbert
Turns of querying MAX_VARYING_COMPONENTS on OS X 10.10 is buggy. Always
returns 1. The spec says that the value is 4 times MAX_VARYING_VECTORS
so work around using that method.
2015-06-11 15:12:13 +10:00
Dan Glastonbury
707ac42c8a Bug 1170855 - Part 8: MAX_SERVER_WAIT_TIMEOUT is unsigned. r=jgilbert 2015-06-11 15:12:13 +10:00
Dan Glastonbury
1cf0e63dd5 Bug 1170855 - Part 7: Implement MAX_CLIENT_WAIT_TIMEOUT_WEBGL. r=jgilbert, r=smaug 2015-06-11 15:12:12 +10:00
Dan Glastonbury
d020e96d87 Bug 1170855 - Part 6: Implement Sampler binding tracking. r=jgilbert 2015-06-11 15:12:10 +10:00
Dan Glastonbury
9872acf1e2 Bug 1170855 - Part 4: Pour in the WebGL 2 pnames. r=jgilbert 2015-06-11 15:12:08 +10:00
Dan Glastonbury
96a9d35601 Bug 1170855 - Part 3: Cleanup and better comments. r=jgilbert 2015-06-11 15:12:08 +10:00
Dan Glastonbury
b4eb5fa5e8 Bug 1170855 - Part 2: Be consistent when handling pnames from extensions. r=jgilbert 2015-06-11 15:12:06 +10:00
Dan Glastonbury
d2efe2727a Bug 1170855 - Part 1: Extract WebGL 2 specific pnames. r=jgilbert 2015-06-11 15:12:05 +10:00
Phil Ringnalda
c98d9ec4e0 Backed out 12 changesets (bug 1170855) for Windows build bustage
CLOSED TREE

Backed out changeset 47070f494c9e (bug 1170855)
Backed out changeset 86e3fb3a2295 (bug 1170855)
Backed out changeset 49284df5294e (bug 1170855)
Backed out changeset ae7c769cb78d (bug 1170855)
Backed out changeset 1fbb0ef29363 (bug 1170855)
Backed out changeset 1fd9140044be (bug 1170855)
Backed out changeset cca48a1bc6ef (bug 1170855)
Backed out changeset 835570bc63bf (bug 1170855)
Backed out changeset 4ee1883ffc65 (bug 1170855)
Backed out changeset c666d71f4899 (bug 1170855)
Backed out changeset 046422ea849f (bug 1170855)
Backed out changeset d38fb3aea20a (bug 1170855)
2015-06-10 20:47:07 -07:00
Dan Glastonbury
07e8c59325 Bug 1170855 - Part C: Move _WEBGL GLenums from GLConsts.h to WebGLContext.h. r=jgilbert 2015-06-11 12:26:31 +10:00
Dan Glastonbury
67e7f01808 Bug 1170855 - Part B: READ_BUFFER requires emulation for default FB. r=jgilbert
WebGL internals use framebuffers to implement the default
framebuffer. This means that we can't just return the result from
glGetIntegerv(GL_READ_BUFFER, ...)
2015-06-11 12:26:30 +10:00
Dan Glastonbury
24cb63088a Bug 1170855 - Part A: Don't error on MAX_ELEMENT_INDEX. r=jgilbert
MAX_ELEMENT_INDEX appears in GL 4.3 or via ES3_compatibility. Work
around on OSX 10.10 where max is GL 4.1.
2015-06-11 12:26:30 +10:00
Dan Glastonbury
3c78a389e6 Bug 1170855 - Part 9: MAX_VARYING_COMPONENTS workaround. r=jgilbert
Turns of querying MAX_VARYING_COMPONENTS on OS X 10.10 is buggy. Always
returns 1. The spec says that the value is 4 times MAX_VARYING_VECTORS
so work around using that method.
2015-06-11 12:26:29 +10:00
Dan Glastonbury
0d36dd1d7d Bug 1170855 - Part 8: MAX_SERVER_WAIT_TIMEOUT is unsigned. r=jgilbert 2015-06-11 12:26:28 +10:00
Dan Glastonbury
ba48df27dc Bug 1170855 - Part 7: Implement MAX_CLIENT_WAIT_TIMEOUT_WEBGL. r=jgilbert, r=smaug
This is a special addition for WebGL 2. I've updated webidl to match the
spec.

I've set the value to be 0 to match Chrome. If I query the underlying
GL, I get -1 back. (On OSX). We can discuss what a better value would
be.
2015-06-11 12:26:28 +10:00
Dan Glastonbury
163e0cc803 Bug 1170855 - Part 6: Implement Sampler binding tracking. r=jgilbert 2015-06-11 12:26:27 +10:00
Dan Glastonbury
ae2b63809d Bug 1170855 - Part 4: Pour in the WebGL 2 pnames. r=jgilbert 2015-06-11 12:26:25 +10:00
Dan Glastonbury
f4acdcb89d Bug 1170855 - Part 3: Cleanup and better comments. r=jgilbert 2015-06-11 12:26:24 +10:00
Dan Glastonbury
4fba862693 Bug 1170855 - Part 2: Be consistent when handling pnames from extensions. r=jgilbert 2015-06-11 12:26:24 +10:00
Dan Glastonbury
54bb7b6be2 Bug 1170855 - Part 1: Extract WebGL 2 specific pnames. r=jgilbert 2015-06-11 12:26:23 +10:00
JerryShih
414dbd90ac Bug 1150310 - Only check stencil LSB 8bit value. r=jgilbert 2015-06-09 00:46:00 -04:00
JerryShih
c36f235994 Bug 1150310 - Return context cached value for stencil* queries. r=jgilbert 2015-06-09 00:37:00 -04:00
Dan Glastonbury
cfd91bc29a Bug 1167504 - Part 13: Unbind buffers from cached state on buffer deletion. r=jgilbert 2015-06-10 13:52:11 +10:00
Dan Glastonbury
7bab7e285d Bug 1167504 - Part 12: Return new buffer binding points from getParameter. r=jgilbert 2015-06-10 13:52:10 +10:00
Dan Glastonbury
530319b0f1 Bug 1167504 - Part 11: Clean up buffer binding constraints. r=jgilbert
Checked against http://www.khronos.org/registry/webgl/sdk/tests/conformance2/buffers/
2015-06-10 13:52:10 +10:00
Dan Glastonbury
c5b6966e4a Bug 1167504 - Part 10: Remove WebGLBindableName.h. r=jgilbert 2015-06-10 13:52:08 +10:00
Dan Glastonbury
e34a4a3fc4 Bug 1167504 - Part 9: Remove BindableName - Queries. r=jgilbert 2015-06-10 13:52:08 +10:00
Dan Glastonbury
0408f51b7d Bug 1167504 - Part 7: Remove BindableName - Buffer. r=jgilbert 2015-06-10 13:52:07 +10:00
Dan Glastonbury
458fc2c367 Bug 1167504 - Part 6: Remove BindableName - Vertex Array. r=jgilbert 2015-06-10 13:52:06 +10:00
Dan Glastonbury
164e5c9ba5 Bug 1167504 - Part 5: Remove BindableName - Transform Feedback. r=jgilbert 2015-06-10 13:24:19 +10:00
Dan Glastonbury
b720f2014c Bug 1167504 - Part 4: Remove BindableName - Texture. r=jgilbert 2015-06-10 13:24:18 +10:00
Dan Glastonbury
f2e19cda36 Bug 1167504 - Part 3: Remove BindableName - Sampler. r=jgilbert 2015-06-10 13:24:18 +10:00
Dan Glastonbury
d3d8d946d6 Bug 1167504 - Part 2: Remove BindableName - Renderbuffer. r=jgilbert 2015-06-10 13:24:17 +10:00
Dan Glastonbury
8415739a28 Bug 1167504 - Part 1: Remove BindableName - Framebuffer. r=jgilbert 2015-06-10 13:24:16 +10:00
Dan Glastonbury
7a5311658f Bug 1170454: Fix up instance type for VAOs. r=smaug,r=jgilbert 2015-06-10 11:53:08 +10:00
Lee Salzman
6277db5e19 Bug 1169609 - test for all zero dash pattern leaving context in error state. r=jmuizelaar 2015-06-03 10:29:52 -04:00
Jeff Muizelaar
c210f35b6a Bug 1171021. Rewrite SetFullAlpha to choose one method of iterating.
Perviously it had two.
2015-06-04 14:48:43 -04:00
Jeff Gilbert
c781b7fbde Bug 1144906 - Add accel E10S backend for WebGL compositing. - r=jrmuizel,mattwoodrow,nical,sotaro 2015-06-04 17:15:38 -07:00
David Anderson
c2063bdde8 Add an API for snapshotting widgets as they are presented by the operating system. (bug 1167477, r=mattwoodrow, dom r=khuey) 2015-06-04 14:19:06 -07:00
Lee Salzman
1f8bc42ac6 Bug 1156582 - Initialize WebGLShader bools in constructor. r=jgilbert 2015-05-29 19:54:04 -04:00
Lee Salzman
b42f4733ac Bug 1167176 - Only premultiply webgl snapshot pixels if alpha is used. r=jgilbert 2015-05-29 19:27:58 -04:00