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

31 Коммитов

Автор SHA1 Сообщение Дата
Jeff Gilbert a719834c77 Bug 1330022 - Remove trivial ValidateUniformMatrixTranspose virtual. - r=kvark
Removing a file reshuffled our unified builds, so this includes the fixes that required as well.
MozReview-Commit-ID: 7ZIoG2xIlS9
2017-02-13 15:37:57 -08:00
Sebastian Hengst 2e61c07a59 Backed out changeset cd91d6b1b500 (bug 1330022) 2017-02-10 23:31:47 +01:00
Jeff Gilbert 19c60a97a2 Bug 1330022 - Remove trivial ValidateUniformMatrixTranspose virtual. - r=kvark
Removing a file reshuffled our unified builds, so this includes the fixes that required as well.
MozReview-Commit-ID: 7ZIoG2xIlS9
2017-02-10 13:31:10 -08:00
Jeff Gilbert 0b065a7b71 Bug 1325301 (flattened) - Validate attribute base types match data base types. - r=bz,daoshengmu
Flattened with:
* Clean up generic vertex attribs. - r=bz,daoshengmu
* Remove EnsureAttrib() and friends. - r=daoshengmu
* Simplify EnumName behavior and usage and add ErrorInvalidEnumArg(). - r=daoshengmu
2016-12-29 02:46:46 -08:00
Jeff Gilbert bdc88b3f78 Bug 1324710 - Fix deqp/functional/gles3/negativestateapi.html - r=daoshengmu
MozReview-Commit-ID: 2seTY1tEtvX
2016-12-20 13:20:11 -08:00
Jeff Gilbert 51d744aa93 Bug 1320030 - Simplify marking and deletion checks. - r=ethlin 2016-12-07 01:35:28 -08:00
Jeff Gilbert (:jgilbert) 1a57a7121a Bug 1318507 - Update implementation. - r=ethlin 2016-11-22 23:59:24 -08:00
Jeff Gilbert (:jgilbert) 4b2a875e8b Bug 1313541 - Reimplement glue in accordance to webidl deviation minimization. - r=ethlin
MozReview-Commit-ID: 6w56cfegTz5
2016-10-31 15:03:22 -07:00
Jeff Gilbert (:jgilbert) ec29704197 Bug 1313541 - Uniform impl. - r=ethlin
MozReview-Commit-ID: DN8sUfRR0z7
2016-10-31 15:03:09 -07:00
Jeff Gilbert 6b423ece44 Bug 1300946 - Implement transform feedback. - r=jrmuizel
MozReview-Commit-ID: 1xrEX4Srij1
2016-09-22 19:13:21 -07:00
JerryShih 98b9a25b33 Bug 1290328 - Return null for webgl GetActiveUniformBlockName() error. r=jgilbert 2016-07-28 18:21:00 -04:00
Jeff Gilbert b13a015811 Bug 1136494 - Update uniform setters. - r=mtseng
MozReview-Commit-ID: 4jZrqgu4qQm
2016-07-18 00:19:19 -07:00
Ethan Lin 5a257d1505 Bug 1237193 - Fix WebGL getActiveUniforms return type. r=jgilbert, r=smaug
--HG--
extra : amend_source : 93482b7af2062ede64a5e736735830d6b5bfb82b
2016-02-15 15:14:00 +01:00
Jeff Muizelaar 54ee20ab50 Bug 1233094. Handle null buffers in GetIndexedParameter. r=jgilbert 2015-12-16 14:10:45 -05:00
Morris Tseng 6f06c75266 Bug 1228488 - Return INVALID_ENUM for GL_UNIFORM_NAME_LENGTH. r=jgilbert
--HG--
extra : commitid : DORQSRrsbTP
2015-12-01 10:16:12 +08:00
Jeff Muizelaar 6933e0086e Bug 1220783. Map GetUniformIndices names. r=jgilbert
This is needed for things to work with the shader translator
2015-11-04 13:35:35 -05:00
Nathan Froyd 01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Bobby Holley 97b9240b34 Bug 1188696 - Hoist nsRefPtr.h into MFBT. r=froydnj 2015-07-29 10:44:59 -07:00
Dan Glastonbury 605040e8df Bug 1170455 - Part 2: Split vertex attribute functions into separate file. r=jgilbert 2015-07-22 11:59:16 +10:00
Jeff Gilbert 2e4a1c88ee Bug 1182371 - Misc WebGL cleanup. - r=kamidphish 2015-07-14 17:37:28 -07:00
Dan Glastonbury 5893d8a315 Bug 1048747 - Cleanup how uniform interface blocks are handled. r=jgilbert 2015-04-21 15:38:30 +10:00
Dan Glastonbury 5df93c206d Bug 1048745 - Uniform with GLuint. r=jgilbert 2015-03-23 16:38:00 +10:00
Dan Glastonbury 800637e333 Bug 1048745 - Non square UniformMatrix. r=jgilbert 2015-03-23 16:37:59 +10:00
Jeff Gilbert 625fccbb86 Bug 1109945 - Rewrite shader/program handling. - r=kamidphish 2015-01-15 15:40:39 -08:00
Carsten "Tomcat" Book ad7392f70a Backed out changeset b5c6dd9423cf (bug 1109945) for gl2 test failures on a CLOSED TREE 2015-01-13 09:07:26 +01:00
Jeff Gilbert 20706f09c9 Bug 1109945 - Rewrite shader/program handling. - r=kamidphish 2015-01-12 19:51:20 -08:00
Wes Kocher 43fd1c9428 Backout ca411b1cf001 (bug 1109945) for shader editor failures 2015-01-09 21:03:54 -08:00
Jeff Gilbert c0dd0d5346 Bug 1109945 - Rewrite shader/program handling. - r=kamidphish 2015-01-09 18:40:56 -08:00
Dan Glastonbury ee96576d7b Bug 1048747 - [WebGL2] Implement uniform block/buffer. r=jgilbert, r=smaug
--HG--
extra : rebase_source : 0ac73b719bf63b216bc593959385d162a4e8b0cd
extra : source : 63eebe8ca90770461267b8a365392db8e091da55
2014-12-16 15:20:15 +10:00
Dan Glastonbury 2a4ac288e1 Bug 1048745 - [WebGL2] Integer vertex attributes. r=jgilbert
--HG--
extra : rebase_source : 590eaef6f7582701607e48f7e67bbe7100ff7199
2014-06-24 10:56:21 +10:00
Dan Glastonbury bdf0470856 Bug 1002302 - WebGL2 - Stub WebGL 2.0 WebIDL, WebGL 2.0 Objects, and functions in WebGL2Context.; r=jgilbert,bjacob,smaug
--HG--
extra : rebase_source : a7f9510b34a9f43afc0418c50b8821928c2a4262
extra : source : 89c2a61cd4c543c78b9bf0963f0227488fa27802
2014-09-18 08:08:41 +10:00