daniel@transgaming.com
34dc3e8a5e
Creating a 0x0 texture fails.
...
TRAC #11792
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Andrew Lewycky
git-svn-id: https://angleproject.googlecode.com/svn/trunk@150 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-15 20:45:02 +00:00
daniel@transgaming.com
aa1ff87981
Translate/lift vertex attributes when input stride or offset is not a multiple of 4.
...
TRAC #11847
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Andrew Lewycky
git-svn-id: https://angleproject.googlecode.com/svn/trunk@149 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-15 20:44:58 +00:00
daniel@transgaming.com
b587598cb8
Implemented short-circuiting behavior for the ternary operator
...
TRAC #11444
This is achieved by turning the ternary operator into conditional code.
The UnfoldSelect intermediate code traverser places this conditional
code before the statement containing the ternary operator (aka. select).
The computed value is assigned to a temporary variable.
On outputting the actual statement the ternary operator is
replaced by the temporary variable.
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@148 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-15 20:44:53 +00:00
daniel@transgaming.com
ec55d29a1c
Clean up old comments
...
TRAC #11444
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@147 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-15 20:44:49 +00:00
daniel@transgaming.com
edab063ed2
Add NOMINMAX define to the compiler projects
...
Trac #11859
To be consistent with the rest of the projects and GYP.
Signed-off-by: Andrew Lewycky
git-svn-id: https://angleproject.googlecode.com/svn/trunk@146 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 19:53:53 +00:00
daniel@transgaming.com
bb2e963617
Fail compilation on empty source string
...
TRAC #11814
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@145 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 19:53:50 +00:00
daniel@transgaming.com
3c010c02d5
Remove name clash warnings
...
TRAC #11314
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@144 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 19:53:47 +00:00
daniel@transgaming.com
72d0b52e40
Decorate all GLSL user-defined names with an underscore to avoid name clashes
...
TRAC #11314
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@143 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 19:53:44 +00:00
daniel@transgaming.com
5ac521598c
Corrects a green/blue channel swap in loadImageData
...
TRAC #11630
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@142 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 19:53:38 +00:00
daniel@transgaming.com
c847820dc8
Corrects error handling in UseProgram
...
TRAC #11666
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@141 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 19:53:35 +00:00
daniel@transgaming.com
d1abe5b0ed
Corrects error handling in GetUniformLocation
...
TRAC #11845
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@140 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 19:53:33 +00:00
daniel@transgaming.com
23953e3ef3
Fixes error handling in GetAttachedShaders
...
TRAC #11846
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@139 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 19:53:31 +00:00
daniel@transgaming.com
8976c1e864
Store all matrices as column-major and transpose when needed
...
TRAC #11825
Due to the difference in [][] matrix indexing between GLSL and HLSL, all matrices are stored in transposed format (column-major from the HLSL point of view), and transposed back when performing matrix math. Previously some paths didn't follow this principle.
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@138 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 19:53:27 +00:00
alokp@chromium.org
47c058c32e
Fixing compile error. GYP projects use NOMINMAX to suppress non-standard VC++ min/max.
...
Review URL: http://codereview.appspot.com/892046
git-svn-id: https://angleproject.googlecode.com/svn/trunk@137 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 15:30:05 +00:00
daniel@transgaming.com
277b7142ed
Fixes error handling in LinkProgram
...
TRAC #11821
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@136 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 03:26:44 +00:00
daniel@transgaming.com
8e6a6be85e
Fixes error handling in ShaderSource
...
TRAC #11664
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@135 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 03:26:41 +00:00
daniel@transgaming.com
75401e61fb
Fixes improper error generation by DeleteShader
...
TRAC #11662
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@134 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 03:26:39 +00:00
daniel@transgaming.com
0cefaf45e4
Fixes error handling in CompileShader
...
TRAC #11822
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@133 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 03:26:36 +00:00
daniel@transgaming.com
b8c28eddec
Implement CopyTex(Sub)Image2D
...
TRAC #11474
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Andrew Lewycky
git-svn-id: https://angleproject.googlecode.com/svn/trunk@132 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 03:26:32 +00:00
daniel@transgaming.com
980798393d
Fixes error handling in BindAttribLocation
...
TRAC #11661
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@131 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 03:26:29 +00:00
daniel@transgaming.com
cf4aa8790c
Checks link status of program before returning attribute locations.
...
TRAC #11658
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@130 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 03:26:27 +00:00
daniel@transgaming.com
e9d6ed036a
Corrects error handling in AttachShader
...
TRAC #11659
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@129 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 03:26:23 +00:00
daniel@transgaming.com
bb274c35d5
Fixes incorrect error handling in GetAttribLocation
...
TRAC #11657
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@128 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 03:26:21 +00:00
daniel@transgaming.com
d91cfe7e3c
Implemented struct equality
...
TRAC #11727
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@127 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 03:26:17 +00:00
daniel@transgaming.com
950f993b88
Compiler - split header, body and footer output
...
TRAC #11798
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@126 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 03:26:14 +00:00
daniel@transgaming.com
73c2c2eddc
Implements correct error handling for DetachShader
...
TRAC #11663
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@125 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 03:26:11 +00:00
daniel@transgaming.com
79f6677d38
Implements support for IsEnabled
...
TRAC #11750
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@124 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 03:26:09 +00:00
daniel@transgaming.com
bb3d9d03b7
Implements glGetUniform
...
TRAC #11647
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@123 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 03:26:06 +00:00
daniel@transgaming.com
9a95e2bb66
Implements Uniform*i{v}
...
TRAC #11649
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@122 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 03:26:03 +00:00
daniel@transgaming.com
f4a0c8e808
Implements support for boolean uniforms
...
TRAC #11734
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@121 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 03:26:01 +00:00
daniel@transgaming.com
d1acd1ed5a
Implemented function prototyping and in/out parameters
...
TRAC #11725
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@120 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 03:25:57 +00:00
daniel@transgaming.com
afb239577f
Implemented glReadPixels for the implementation-dependent format
...
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@119 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-13 03:25:54 +00:00
daniel@transgaming.com
26e9604f9e
update contributors list
...
git-svn-id: https://angleproject.googlecode.com/svn/trunk@118 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-10 05:29:13 +00:00
daniel@transgaming.com
13881545ce
Compiling error in x64: WidenToFour template incorrect type.
...
TRAC #11811
Submitted-by: Aitor Moreno
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Andrew Lewycky
git-svn-id: https://angleproject.googlecode.com/svn/trunk@117 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-10 05:29:11 +00:00
daniel@transgaming.com
fe56515917
Implemented support for user-defined structures
...
TRAC #11730
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@116 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-10 05:29:07 +00:00
daniel@transgaming.com
f52561c2b6
Can't change attribute locations after original link
...
TRAC #11290
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Andrew Lewycky
git-svn-id: https://angleproject.googlecode.com/svn/trunk@115 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-10 05:29:04 +00:00
daniel@transgaming.com
7441c9cc25
Associate the sample.sln file with visual C++ express.
...
Trac #11802
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@114 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-08 15:01:05 +00:00
daniel@transgaming.com
3fe7fe5d5f
Fix compilation of glslang.l in release mode.
...
Trac #11802
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@113 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-08 15:00:59 +00:00
daniel@transgaming.com
ea5a6ad71a
Re-Associate ANGLE.sln with VC++ Express
...
Signed-off-by: Andrew Lewycky
Signed-off-by: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@112 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-08 03:51:26 +00:00
daniel@transgaming.com
12d38031a5
Remove GLES2/glextimg.h
...
Trac #11785
This is not an official khronos header
Signed-off-by: Andrew Lewycky
Signed-off-by: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@111 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-08 03:51:23 +00:00
daniel@transgaming.com
fe4b827b2b
Fix the GL entry function prototypes to match new GLES header
...
Trac #11785
The changes were void -> GLvoid and char -> GLchar.
Signed-off-by: Andrew Lewycky
Signed-off-by: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@110 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-08 03:51:20 +00:00
daniel@transgaming.com
04694067c4
Refresh KHR headers from Khronos svn@10929
...
Trac #11785
Signed-off-by: Andrew Lewycky
Signed-off-by: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@109 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-08 03:51:18 +00:00
daniel@transgaming.com
c68e92993b
Refresh GLES2 header files from Khronos svn@10929
...
Trac #11785
Signed-off-by: Andrew Lewycky
Signed-off-by: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@108 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-08 03:51:15 +00:00
daniel@transgaming.com
fe110ab754
Refresh EGL files from Khronos svn@10929
...
Trac #11785
Signed-off-by: Andrew Lewycky
Signed-off-by: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@107 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-08 03:51:12 +00:00
daniel@transgaming.com
4195fc431c
Resolve conflict between default cube map and 2D textures in texture map.
...
TRAC #11625
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Andrew Lewycky
git-svn-id: https://angleproject.googlecode.com/svn/trunk@106 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-08 03:51:09 +00:00
daniel@transgaming.com
4a35ef2d4d
Break up loops with over 255 iterations.
...
TRAC# 11724
fixes acos/asin conformance
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@105 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-08 03:51:06 +00:00
alokp@chromium.org
cf2560dda8
Always build libEGL and libGLESv2 as shared libraries. They do not work as static libraries so there is no point in parametrizing the library type.
...
Review URL: http://codereview.appspot.com/810045
git-svn-id: https://angleproject.googlecode.com/svn/trunk@104 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-07 20:39:57 +00:00
alokp@chromium.org
0270ef140e
Changed the default character set to be UNICODE, the same as chromium. Changes to fix compile errors and warnings.
...
Review URL: http://codereview.appspot.com/816046
git-svn-id: https://angleproject.googlecode.com/svn/trunk@103 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-07 19:57:20 +00:00
daniel@transgaming.com
777f26727b
Implements type conversion for queries.
...
TRAC #11593
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Also adds missing query parameters.
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@102 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-07 03:25:16 +00:00
daniel@transgaming.com
5441d665e1
Compiler - Wrong Result from Matrix Multiply
...
TRAC #11751
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@101 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-07 03:25:11 +00:00