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

13371 Коммитов

Автор SHA1 Сообщение Дата
daniel@transgaming.com e4b08c8cf8 Implement VertexAttrib
TRAC #11878

Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch

Author:    Andrew Lewycky

git-svn-id: https://angleproject.googlecode.com/svn/trunk@174 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-20 18:53:06 +00:00
daniel@transgaming.com bf2b52a313 Implement GL_LINE_LOOP primitive handling
TRAC #11823

Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch

Author:    Andrew Lewycky

git-svn-id: https://angleproject.googlecode.com/svn/trunk@173 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-20 18:53:03 +00:00
daniel@transgaming.com 93a8147fba Support FBO attachment to cubemaps
TRAC #11364

Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch

Author:    Andrew Lewycky

git-svn-id: https://angleproject.googlecode.com/svn/trunk@172 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-20 18:52:58 +00:00
daniel@transgaming.com e6842296d0 Fix more relative #include paths (mostly header files)
Trac #11408
Signed-off-by: Andrew Lewycky
Signed-off-by: Nicolas Capens

git-svn-id: https://angleproject.googlecode.com/svn/trunk@171 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-20 18:52:50 +00:00
daniel@transgaming.com e8c0ca29e1 Don't advertise 10, 10, 10, 2 RGBA format
TRAC #11610

The color_ramp conformance test renders each colour and reads it back to verify it, but it uses ReadPixels with UNSIGNED_BYTE with does not have enough precision.

Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch

Author:    Andrew Lewycky

git-svn-id: https://angleproject.googlecode.com/svn/trunk@170 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-20 18:52:47 +00:00
daniel@transgaming.com 18b426be77 Implement support for mipmap generation (CopyTexImage2D regression)
TRAC #11338

CopyTex(Sub)Image2D was broken by the coordinate space change. Render targets are rendered flipped in the Y axis.

Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch

Author:    Andrew Lewycky

git-svn-id: https://angleproject.googlecode.com/svn/trunk@169 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-20 18:52:44 +00:00
daniel@transgaming.com 4901fca3aa Implements GetRenderbufferParameteriv
TRAC #11877
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch

Author:    Shannon Woods

git-svn-id: https://angleproject.googlecode.com/svn/trunk@168 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-20 18:52:41 +00:00
daniel@transgaming.com 70d312a701 Implements color renderbuffers
TRAC #11890
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch

Author:    Shannon Woods

git-svn-id: https://angleproject.googlecode.com/svn/trunk@167 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-20 18:52:38 +00:00
daniel@transgaming.com 3e7c803314 Remove usage of relative paths for #include search path
Trac #11408
Signed-off-by: Andrew Lewycky
Signed-off-by: Nicolas Capens

git-svn-id: https://angleproject.googlecode.com/svn/trunk@166 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-20 18:52:35 +00:00
daniel@transgaming.com bbf56f755e Use directory qualified #include files
Trac #11408
Signed-off-by: Andrew Lewycky
Signed-off-by: Nicolas Capens

git-svn-id: https://angleproject.googlecode.com/svn/trunk@165 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-20 18:52:13 +00:00
daniel@transgaming.com e07980c45f removed execute permissions on smoke.tga
(was causing problems on windows)

git-svn-id: https://angleproject.googlecode.com/svn/trunk@164 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-20 18:52:09 +00:00
daniel@transgaming.com 86f7c9df37 Only output referenced attributes, uniforms and varyings
TRAC #11590
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch

Author:    Nicolas Capens

git-svn-id: https://angleproject.googlecode.com/svn/trunk@163 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-20 18:52:06 +00:00
daniel@transgaming.com 5024cc4940 Implemented biased textureCube sampling
TRAC #11884
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch

Author:    Nicolas Capens

git-svn-id: https://angleproject.googlecode.com/svn/trunk@162 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-20 18:52:04 +00:00
daniel@transgaming.com 8fd99e2696 Implement support for mipmap generation
TRAC #11338

Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch

Author:    Andrew Lewycky

git-svn-id: https://angleproject.googlecode.com/svn/trunk@161 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-20 18:52:00 +00:00
daniel@transgaming.com 5d2bee9325 Implements GetTexParameteriv
TRAC #11721
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch

Author:    Shannon Woods

git-svn-id: https://angleproject.googlecode.com/svn/trunk@160 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-20 18:51:56 +00:00
daniel@transgaming.com 743d773d80 Accidentally moved a read of translated[i].stride before the write.
TRAC #11847

(Fixes PVR-RenderToTexture regression)

Signed-off-by: Daniel Koch

Author:    Andrew Lewycky

git-svn-id: https://angleproject.googlecode.com/svn/trunk@159 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-15 20:45:32 +00:00
daniel@transgaming.com a0c34d27e1 Fixed crashes caused by a string buffer overflow
TRAC #11888
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch

Author:    Nicolas Capens

git-svn-id: https://angleproject.googlecode.com/svn/trunk@158 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-15 20:45:30 +00:00
daniel@transgaming.com 005c73922f Create unique names for unnamed parameters
TRAC #11873
HLSL requires parameter names in function prototypes
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch

Author:    Nicolas Capens

git-svn-id: https://angleproject.googlecode.com/svn/trunk@157 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-15 20:45:27 +00:00
daniel@transgaming.com bb8853289b Don't crash on null conditional block
TRAC #11871
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch

Author:    Nicolas Capens

git-svn-id: https://angleproject.googlecode.com/svn/trunk@156 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-15 20:45:24 +00:00
daniel@transgaming.com 7127f2076d Initialize all shader variables
TRAC #11869
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch

Author:    Nicolas Capens

git-svn-id: https://angleproject.googlecode.com/svn/trunk@155 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-15 20:45:22 +00:00
daniel@transgaming.com 7603947656 Fixed the GLSL ES version
TRAC #11867
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch

Author:    Nicolas Capens

git-svn-id: https://angleproject.googlecode.com/svn/trunk@154 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-15 20:45:18 +00:00
daniel@transgaming.com 5af6427dc3 Implemented gl_FrontFacing for lines and points
TRAC #11419
Lines and points are always considered front-facing
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch

Author:    Nicolas Capens

git-svn-id: https://angleproject.googlecode.com/svn/trunk@153 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-15 20:45:12 +00:00
daniel@transgaming.com e007896b1a Implements GetVertexAttrib
TRAC #11653
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch

Author:    Shannon Woods

git-svn-id: https://angleproject.googlecode.com/svn/trunk@152 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-15 20:45:08 +00:00
daniel@transgaming.com aa0ccbd9f0 Implements GetBufferParameteriv
TRAC #11720

Author:    Shannon Woods

git-svn-id: https://angleproject.googlecode.com/svn/trunk@151 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-15 20:45:05 +00:00
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