Shannon Woods
2ae614ede1
Fixes sign mismatch warning in comparison.
...
TRAC #23714
Author: Shannon Woods
Signed-off-by: Jamie Madill
2013-08-19 13:42:55 -04:00
Geoff Lang
0b78533f96
Fix additional overflow and underflow issues with line loops.
...
Issue #444
Signed-off-by: Shannon Woods
Signed-off-by: Chris Evans
Author: Geoff Lang
2013-08-01 10:10:46 -04:00
Shannon Woods
74fe3199d7
Fix handling of null displays in eglMakeCurrent
...
TRAC #23577
Author: Shannon Woods
Signed-off-by: Jamie Madill
Signed-off-by: Geoff Lang
2013-07-24 19:04:28 -04:00
Shannon Woods
e2be248f89
Bump ANGLE version
2013-07-19 16:27:32 -04:00
Nicolas Capens
d767f41e37
Remove intrinsic parameter names.
...
TRAC #23394
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Nicolas Capens
2013-07-19 16:26:52 -04:00
Nicolas Capens
58aa4e4080
Eliminate isVariableBuiltIn.
...
TRAC #21840
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Nicolas Capens
2013-07-19 16:26:42 -04:00
Nicolas Capens
d4ceab122e
Detect redefinition of functions and variables.
...
TRAC #21840
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Nicolas Capens
2013-07-19 16:26:33 -04:00
Shannon Woods
5d1cffdc6e
Bump ANGLE version
2013-07-11 13:05:55 -04:00
Geoff Lang
07dda9519c
Protect against integer overflows in the IndexBuffer class by validating that the new write position will not overflow.
...
Issue 444
Signed-off-by: Jamie Madil
Signed-off-by: Shannon Woods
Author: Geoff Lang
2013-07-11 13:01:04 -04:00
Geoff Lang
27a1020f01
Protect against integer overflows in the VertexBuffer class by validating the reserved space.
...
Issue 444
Signed-off-by: Jamie Madil
Signed-off-by: Shannon Woods
Author: Geoff Lang
2013-07-11 13:00:45 -04:00
Geoff Lang
2426d5fee0
Protect against integer overflows when generating index buffers for line loop and triangle fan drawing.
...
Issue 444
Signed-off-by: Jamie Madil
Signed-off-by: Shannon Woods
Author: Geoff Lang
2013-07-11 13:00:35 -04:00
Shannon Woods
a240a2f935
Initialize the symbol table without invoking the parser.
...
TRAC #23368
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Nicolas Capens
2013-06-26 19:00:10 -04:00
Shannon Woods
407c6a5360
Bumps ANGLE build revision
2013-06-20 12:10:59 -04:00
Shannon Woods
65c9b480b7
Revert "Diverges version for legacy branch from mainline."
...
This reverts commit 13b4f82bf398633ec400e96a60198c3864de97a8.
2013-06-20 12:10:22 -04:00
Nicolas Capens
16b7ae6eac
Only discard the storage texture when there is a mismatch with its mipmap chain
...
TRAC #23341
Signed-off-by: Shannon Woods
Author: Nicolas Capens
2013-06-20 11:34:30 -04:00
Shannon Woods
63d5e35f4d
Diverges version for legacy branch from mainline.
2013-06-17 18:10:13 -04:00
Shannon Woods
df0ad9b3cb
Adds README.chromium for third-party integration.
2013-06-17 11:35:45 -04:00
Shannon Woods
e8802364f8
Add 64bit safety patch step to generate_parser.sh scripts.
...
TRAC #23274
Authored-by: Shannon Woods
Signed-off-by: Jamie Madill
Signed-off-by: Nicolas Capens
2013-06-17 11:35:29 -04:00
Shannon Woods
0dc4670c73
Adds patch files for 64 bit safety fixes
...
TRAC #23274
Authored-by: Shannon Woods
Signed-off-by: Jamie Madill
Signed-off-by: Nicolas Capens
2013-06-17 11:35:15 -04:00
Shannon Woods
7335d55df1
Makes generate_parser.sh executable
...
TRAC #23274
Authored-by: Shannon Woods
Signed-off-by: Jamie Madill
Signed-off-by: Nicolas Capens
2013-06-17 11:34:59 -04:00
[email protected]
c0ca7b4e07
Use new symbol table initization for vertex shader.
...
BUG=
[email protected]
Review URL: https://codereview.appspot.com/10247043
git-svn-id: https://angleproject.googlecode.com/svn/trunk@2426 736b8ea6-26fd-11df-bfd4-992fa37f6226
2013-06-13 19:36:35 +00:00
[email protected]
18f50f7849
Less memory intensive initializing of builtins.
...
[email protected]
Review URL: https://codereview.appspot.com/9436044
git-svn-id: https://angleproject.googlecode.com/svn/trunk@2425 736b8ea6-26fd-11df-bfd4-992fa37f6226
2013-06-07 00:25:21 +00:00
[email protected]
b07ec5bf27
Fixed line endings to Unix style.
...
[email protected]
Review URL: https://codereview.appspot.com/10088043
git-svn-id: https://angleproject.googlecode.com/svn/trunk@2424 736b8ea6-26fd-11df-bfd4-992fa37f6226
2013-06-06 16:35:32 +00:00
[email protected]
71550929b8
Simplified TType class by carving out TStructure and TField.
...
[email protected]
Review URL: https://codereview.appspot.com/9866043
git-svn-id: https://angleproject.googlecode.com/svn/trunk@2423 736b8ea6-26fd-11df-bfd4-992fa37f6226
2013-06-06 16:24:46 +00:00
[email protected]
41fc482def
Regenerated glslang_tab.cpp to fix compile errors
...
The version committed in Issue 9827044 was generated in a bad environment and doesn't compile againts top-of-tree. This version does.
BUG=429
[email protected]
Review URL: https://codereview.appspot.com/9738044
git-svn-id: https://angleproject.googlecode.com/svn/trunk@2249 736b8ea6-26fd-11df-bfd4-992fa37f6226
2013-05-28 23:33:02 +00:00
[email protected]
7f694d92f2
Added support for EXT_frag_depth
...
This change also required that support be added for associating built-in
variables with an extension, similar to how functions could be associated with
extensions previously.
[email protected]
Review URL: https://codereview.appspot.com/9827044
git-svn-id: https://angleproject.googlecode.com/svn/trunk@2248 736b8ea6-26fd-11df-bfd4-992fa37f6226
2013-05-28 22:15:20 +00:00
[email protected]
4b721cda3e
Removed checks for zero-length arrays because you can never define such arrays.
...
Also removed support for max-array-size. You can only define a fixed-size array.
TEST=WebGL conformance tests
Review URL: https://codereview.appspot.com/9697044
git-svn-id: https://angleproject.googlecode.com/svn/trunk@2247 736b8ea6-26fd-11df-bfd4-992fa37f6226
2013-05-24 18:57:05 +00:00
[email protected]
91627bc713
Removed code for unsupported pack-unpack language.
...
Review URL: https://codereview.appspot.com/9685045
git-svn-id: https://angleproject.googlecode.com/svn/trunk@2246 736b8ea6-26fd-11df-bfd4-992fa37f6226
2013-05-24 18:49:51 +00:00
[email protected]
19aa926597
Fix linker issue on Windows
...
git-svn-id: https://angleproject.googlecode.com/svn/trunk@2245 736b8ea6-26fd-11df-bfd4-992fa37f6226
2013-05-21 05:06:45 +00:00
[email protected]
c25e84d09f
Fix compiler warning on Windows
...
git-svn-id: https://angleproject.googlecode.com/svn/trunk@2244 736b8ea6-26fd-11df-bfd4-992fa37f6226
2013-05-20 21:07:36 +00:00
[email protected]
a3bd525327
bump version to 2243
...
git-svn-id: https://angleproject.googlecode.com/svn/trunk@2243 736b8ea6-26fd-11df-bfd4-992fa37f6226
2013-05-20 19:44:19 +00:00
[email protected]
ada17c229e
Add expression complexity and call stack depth limits.
...
git-svn-id: https://angleproject.googlecode.com/svn/trunk@2242 736b8ea6-26fd-11df-bfd4-992fa37f6226
2013-05-20 18:07:04 +00:00
[email protected]
5abbd861bd
Enable base address randomization.
...
TRAC #22937
Signed-off-by: Shannon Woods
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@2214 736b8ea6-26fd-11df-bfd4-992fa37f6226
2013-05-17 00:33:03 +00:00
[email protected]
b0c3fb34fd
Bumped VERSION number.
...
Review URL: https://codereview.appspot.com/9295045
git-svn-id: https://angleproject.googlecode.com/svn/trunk@2212 736b8ea6-26fd-11df-bfd4-992fa37f6226
2013-05-15 16:53:00 +00:00
[email protected]
ac42933243
Used size_t for object size instead of signed int.
...
BUG=crbug 179653
[email protected] , [email protected]
Review URL: https://codereview.appspot.com/8834048
git-svn-id: https://angleproject.googlecode.com/svn/trunk@2211 736b8ea6-26fd-11df-bfd4-992fa37f6226
2013-05-15 16:46:34 +00:00
[email protected]
fd8e0e6b92
Add adapter LUID to EGL vendor string.
...
This is so Chrome can create another D3D device on the same adapter that can share resources with ANGLE's D3D device.
Review URL: https://codereview.appspot.com/9225046
git-svn-id: https://angleproject.googlecode.com/svn/trunk@2210 736b8ea6-26fd-11df-bfd4-992fa37f6226
2013-05-14 20:07:47 +00:00
nicolas%[email protected]
0ca4a82cd1
Retrieve the texture serial from the incomplete texture when sampler-incomplete.
...
TRAC #23127
Signed-off-by: Geoff Lang
Signed-off-by: Jamie Madill
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@2209 736b8ea6-26fd-11df-bfd4-992fa37f6226
2013-05-14 19:44:07 +00:00
nicolas%[email protected]
0c3f31cbdb
Delete the old texture storage first so that 0x0 textures have no stale data.
...
TRAC #23127
Signed-off-by: Geoff Lang
Signed-off-by: Jamie Madill
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@2208 736b8ea6-26fd-11df-bfd4-992fa37f6226
2013-05-14 19:33:30 +00:00
[email protected]
aebb555b06
Clamped negative index access.
...
Fixed error that allowed negative index for accessing
vector, matrix, and array. Now we report compile error
and clamp the index to 0.
Re-arranged code around it to handle negative index
at the one location.
BUG=crbug.com/239411
TEST=bug test case
[email protected] , [email protected]
Review URL: https://codereview.appspot.com/9193045
git-svn-id: https://angleproject.googlecode.com/svn/trunk@2207 736b8ea6-26fd-11df-bfd4-992fa37f6226
2013-05-14 17:17:55 +00:00
[email protected]
1397dd3554
Refactor location tracking.
...
[email protected]
Review URL: https://codereview.appspot.com/9078046
git-svn-id: https://angleproject.googlecode.com/svn/trunk@2202 736b8ea6-26fd-11df-bfd4-992fa37f6226
2013-05-09 17:54:29 +00:00
[email protected]
ebc93e083f
Remove dead code left over from the old preprocessor.
...
Review URL: https://codereview.appspot.com/9309044
git-svn-id: https://angleproject.googlecode.com/svn/trunk@2200 736b8ea6-26fd-11df-bfd4-992fa37f6226
2013-05-08 21:05:12 +00:00
[email protected]
92ba7794a7
Refactor class to represent structure.
...
We had a TTypeLine to represent a structure field,
which simply encapsulated a TType and line number.
The line number was only used during parsing for error reporting.
There is no need to store a line number because it is already
available in the parser token.
TEST=WebGL conformance tests
[email protected]
Review URL: https://codereview.appspot.com/9223045
git-svn-id: https://angleproject.googlecode.com/svn/trunk@2198 736b8ea6-26fd-11df-bfd4-992fa37f6226
2013-05-07 20:23:14 +00:00
[email protected]
bdb34e881c
Delete dead code for cloning various types.
...
[email protected]
Review URL: https://codereview.appspot.com/9242043
git-svn-id: https://angleproject.googlecode.com/svn/trunk@2197 736b8ea6-26fd-11df-bfd4-992fa37f6226
2013-05-06 22:22:33 +00:00
[email protected]
fd35e3dd7f
We don't need to keep the param variable around for function prototypes.
...
Saves 20% memory for global symbol initialization
[email protected]
Review URL: https://codereview.appspot.com/9152043
git-svn-id: https://angleproject.googlecode.com/svn/trunk@2196 736b8ea6-26fd-11df-bfd4-992fa37f6226
2013-05-06 19:14:11 +00:00
[email protected]
e0b8416a48
A special state to track field selection is not necessary.
...
Identifier is sufficient to parse struct fieldname.
TEST=WebGL conformance tests.
Review URL: https://codereview.appspot.com/8709048
git-svn-id: https://angleproject.googlecode.com/svn/trunk@2195 736b8ea6-26fd-11df-bfd4-992fa37f6226
2013-04-26 23:13:58 +00:00
[email protected]
9061319058
Lexer does not need to handle unknown-char case.
...
It is handled by the preprocessor. Added an assert.
TEST=WebGL conformance tests.
[email protected]
Review URL: https://codereview.appspot.com/8653052
git-svn-id: https://angleproject.googlecode.com/svn/trunk@2194 736b8ea6-26fd-11df-bfd4-992fa37f6226
2013-04-26 18:54:35 +00:00
[email protected]
8e578842ec
Lexer does not need a state stack now that it does not handle comments.
...
TEST=WebGL conformance tests
[email protected]
Review URL: https://codereview.appspot.com/8983043
git-svn-id: https://angleproject.googlecode.com/svn/trunk@2193 736b8ea6-26fd-11df-bfd4-992fa37f6226
2013-04-26 18:45:00 +00:00
[email protected]
c22501d705
Revert "A special state to track field selection is not necessary."
...
This reverts commit 12e9eebd10 .
git-svn-id: https://angleproject.googlecode.com/svn/trunk@2192 736b8ea6-26fd-11df-bfd4-992fa37f6226
2013-04-26 18:34:42 +00:00
[email protected]
12e9eebd10
A special state to track field selection is not necessary.
...
Identifier is sufficient to parse struct fieldname.
Note that we do not need stacked lexer state anymore.
TEST=WebGL conformance tests.
Review URL: https://codereview.appspot.com/8565045
git-svn-id: https://angleproject.googlecode.com/svn/trunk@2191 736b8ea6-26fd-11df-bfd4-992fa37f6226
2013-04-26 17:44:36 +00:00
[email protected]
02064be77a
Robust distinction between IDENTIFIER and TYPE_NAME tokens.
...
To distinguish the tokens we used to track the lexer context,
which is fragile. This patch implements a better way -
combine the two tokens into a common parser rule and let
the parser context decide if the declaration is valid,
which it already does by checking the naming conflicts.
TEST=WebGL conformance tests.
Review URL: https://codereview.appspot.com/8797044
git-svn-id: https://angleproject.googlecode.com/svn/trunk@2190 736b8ea6-26fd-11df-bfd4-992fa37f6226
2013-04-26 15:24:32 +00:00