Граф коммитов

31 Коммитов

Автор SHA1 Сообщение Дата
Jeff Gilbert df8e8db803 Bug 1427668 - Move the webgl backbuffer into webgl. - r=daoshengmu
MozReview-Commit-ID: 2WpG7mfMRQ8
2018-01-05 15:27:30 -08:00
Jeff Gilbert ff584c03d1 Bug 1426280 - Remove explicit MakeCurrents from WebGL now that we use implicit MakeCurrent. - r=lenzak
MozReview-Commit-ID: HxWWPmD1Yzu
2017-12-19 22:28:49 -08:00
Chung-Sheng Fu e99b682659 Bug 1217290 - Remove WebGLContext impl members r=daoshengmu,jgilbert
MozReview-Commit-ID: DPrjaf9QHfP

--HG--
extra : rebase_source : 903236ca4a0e0cf76a631188dfa58dc28d7641e4
2017-07-27 15:48:58 +08:00
Jeff Gilbert 63439e0683 Bug 1324626 - Pick a MAX_CLIENT_WAIT_TIMEOUT_WEBGL. - r=lenzak800
MozReview-Commit-ID: L4gaasXZYFb
2016-12-20 13:20:07 -08:00
Jeff Gilbert f919077d47 Bug 1324614 - Make MAX_ELEMENT_INDEX default to UINT32_MAX when ES3_compat unavailable. - r=daoshengmu
MozReview-Commit-ID: 5y3cXDaLYXe
2016-12-20 13:00:40 -08:00
Jeff Gilbert 6b423ece44 Bug 1300946 - Implement transform feedback. - r=jrmuizel
MozReview-Commit-ID: 1xrEX4Srij1
2016-09-22 19:13:21 -07:00
Jeff Gilbert 15fd350886 Bug 1303879 - Refactor framebuffer funcs and completeness caching. - r=mtseng
MozReview-Commit-ID: Hi3uEwpmWF4
2016-09-22 19:13:17 -07:00
Jeff Gilbert 3773a30362 Bug 1276096 - Introspect for readBuffer mode. - r=jrmuizel 2016-05-26 18:07:03 -07:00
Ethan Lin 7392c36bba Bug 1242336 - Fix WebGL2 return type of GL_UNPACK_SKIP. r=jgilbert
--HG--
extra : rebase_source : 3b03d187959fbcac72bda8139b3f37211ede5fcc
2016-01-25 22:11:00 +01:00
Chris Peterson 5191c1753c Bug 1240262 - Annotate intentional switch fallthrough and suppress -Wimplicit-fallthrough warnings in dom/canvas/. r=jgilbert
dom/canvas/WebGL2ContextState.cpp:116:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/canvas/MurmurHash3.cpp:140:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels

--HG--
extra : rebase_source : b69bcd8e68fffcca45a4169dfb68813238041068
2016-01-14 01:34:56 -08:00
Jeff Gilbert 19d84fb0fe Bug 1221822 - Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz 2015-11-24 20:15:29 -08:00
Phil Ringnalda 71a6f5da62 Back out changeset 2f614bcd9405 (bug 1221822) for test_conformance__extensions__ext-sRGB.html and test_webgl2_alpha_luminance.html failures 2015-11-23 21:55:59 -08:00
Jeff Gilbert 87397c265b Bug 1221822 - Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz 2015-11-23 19:27:13 -08:00
Jeff Gilbert 2e4a1c88ee Bug 1182371 - Misc WebGL cleanup. - r=kamidphish 2015-07-14 17:37:28 -07:00
Dan Glastonbury f83220f26e 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 251cafde87 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 85d9d26cdd 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 5fb7b5d875 Bug 1170855 - Part 8: MAX_SERVER_WAIT_TIMEOUT is unsigned. r=jgilbert 2015-06-11 15:12:13 +10:00
Dan Glastonbury e4e894d15e Bug 1170855 - Part 7: Implement MAX_CLIENT_WAIT_TIMEOUT_WEBGL. r=jgilbert, r=smaug 2015-06-11 15:12:12 +10:00
Dan Glastonbury bcd4a3d26c Bug 1170855 - Part 6: Implement Sampler binding tracking. r=jgilbert 2015-06-11 15:12:10 +10:00
Dan Glastonbury 63f2904737 Bug 1170855 - Part 4: Pour in the WebGL 2 pnames. r=jgilbert 2015-06-11 15:12:08 +10:00
Dan Glastonbury 781e652a3f Bug 1170855 - Part 1: Extract WebGL 2 specific pnames. r=jgilbert
--HG--
rename : dom/canvas/WebGLTimerQuery.h => dom/canvas/WebGL2ContextState.cpp
2015-06-11 15:12:05 +10:00
Phil Ringnalda e9695717ce 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 00e7ead100 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 373220c4e4 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 899d9b7186 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 13cdaf7654 Bug 1170855 - Part 8: MAX_SERVER_WAIT_TIMEOUT is unsigned. r=jgilbert 2015-06-11 12:26:28 +10:00
Dan Glastonbury 23c27a31d7 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 77b3bd3050 Bug 1170855 - Part 6: Implement Sampler binding tracking. r=jgilbert 2015-06-11 12:26:27 +10:00
Dan Glastonbury 59ee38394c Bug 1170855 - Part 4: Pour in the WebGL 2 pnames. r=jgilbert 2015-06-11 12:26:25 +10:00
Dan Glastonbury 6aad5f01c4 Bug 1170855 - Part 1: Extract WebGL 2 specific pnames. r=jgilbert
--HG--
rename : dom/canvas/WebGLTimerQuery.h => dom/canvas/WebGL2ContextState.cpp
2015-06-11 12:26:23 +10:00