Commit Graph

522 Commits

Author SHA1 Message Date
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
Andrew Comminos
d48cd04b30 Bug 1170158 - Apply GTK2 reftest exceptions to GTK3. r=karlt 2015-06-02 13:47:00 -04:00
Andrew Comminos
8695719287 Bug 1168845 - Update WebGL interface names to follow the spec. r=smaug, r=dglastonbury 2015-06-01 10:17:00 -04:00
Jonathan Kew
c2b535ec10 Bug 1107096 - Suppress improper drawing of zero-width invisible glyphs in canvas. r=roc 2015-05-30 14:07:16 +01:00
Andrew Comminos
9b8cccf31b Bug 974832 - Add tests for WebGL's EXT_disjoint_timer_query. r=dglastonbury 2015-05-27 12:11:00 -04:00
Andrew Comminos
85eaf561cd Bug 974832 - Add support for WebGL's EXT_disjoint_timer_query. r=dglastonbury, r=smaug 2015-05-27 07:12:00 -04:00
Wes Kocher
b4fef2ad07 Backed out changeset 9a0be81a49e6 (bug 1144906) 2015-05-28 17:08:31 -07:00
Jeff Gilbert
0995072ef6 Bug 1144906 - Mark tests as passing. 2015-05-28 17:00:43 -07:00
Birunthan Mohanathas
cd748a7266 Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj 2015-05-28 11:07:44 -07:00
Birunthan Mohanathas
bae45fd11d Bug 968520 - Use FallibleTArray::Clear instead of SetLength(0). r=froydnj
This preemptively fixes the upcoming -Wunused-result warnings due to unchecked
SetLength calls.
2015-05-28 11:07:43 -07:00
Dan Glastonbury
a05eda2be8 Bug 1159117: Remove assert causing crash. CLOSED TREE 2015-05-28 13:14:27 +10:00
Dan Glastonbury
4fe6abad80 Bug 1159117 - Test emulation of formats removed in core profiles. r=jgilbert 2015-05-28 12:15:42 +10:00
Dan Glastonbury
7d5d523902 Bug 1159117 - Enable support for legacy formats. r=jgilbert
ALPHA, LUMINANCE, and LUMINANCE_ALPHA texture formats are removed in
OpenGL core profiles. Emulate these via RED, RG and texture swizzling.
2015-05-28 12:15:42 +10:00
Geoff Brown
83fae4296b Bug 1143317 - Fix asyncTestsDone check in test_canvas.html; r=gw280 2015-05-26 13:37:19 -06:00
Carsten "Tomcat" Book
62b555d465 Backed out changeset 45998275f423 (bug 857895) 2015-05-26 08:59:47 +02:00