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

131 Коммитов

Автор SHA1 Сообщение Дата
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
alokp@chromium.org 403c9e5961 Added libGLESv2, libEGL, and all samples to GYP.
Review URL: http://codereview.appspot.com/878042

git-svn-id: https://angleproject.googlecode.com/svn/trunk@100 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-06 17:53:31 +00:00
daniel@transgaming.com 27bf89bb30 Fixes an improper comparison in map
TRAC #11649
Implementing this fix here because it's causing the glUniform
conformance test not to pass. TranslatedBuffer would have problems
during reloadCurrentValues because its required space and its current
size were equal.
Signed-off-by: Daniel Koch

Author:    Shannon Woods

git-svn-id: https://angleproject.googlecode.com/svn/trunk@99 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-06 16:31:25 +00:00
alokp@chromium.org 29d56fbb60 Added GYP build files. GYP files are needed for integration with chromium and cross-platform build for glsl translator. It would really be nice if we did not have to maintain two build systems. For now I have only moved the GLSL translator to gyp build system. Please note that the gyp files awkwardly have build_ prefix so they do not conflict with the manually-maintained sln files.
Review URL: http://codereview.appspot.com/885043

git-svn-id: https://angleproject.googlecode.com/svn/trunk@98 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-06 15:42:22 +00:00
daniel@transgaming.com 0e3358a6aa Compiler - implement proper varying linking
TRAC #11716
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch

Author:    Nicolas Capens

git-svn-id: https://angleproject.googlecode.com/svn/trunk@97 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-05 20:32:42 +00:00
daniel@transgaming.com 279e38ad14 Compiler - fix mat3 conformance
TRAC #11723
Matrix elements are accessed as [col][row] in GLSL and [row][col] in HLSL. Fixed this by transposing all matrix uniforms so they have a row-major layout. Then transpose them in the shader every time they're used in matrix math.
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch

Author:    Nicolas Capens

git-svn-id: https://angleproject.googlecode.com/svn/trunk@96 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-03 20:56:13 +00:00
daniel@transgaming.com 57a0bab8e1 ShaderSource does not generate needed errors
TRAC #11664
Generate GL_INVALID_VALUE when shader name is 0
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch

Author:    Nicolas Capens

git-svn-id: https://angleproject.googlecode.com/svn/trunk@95 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-03 20:56:10 +00:00
daniel@transgaming.com 296ca9cc4a Compiler - match pixel and vertex shader profiles
TRAC #11717
Signed-off-by: Daniel Koch

Author:    Nicolas Capens

git-svn-id: https://angleproject.googlecode.com/svn/trunk@94 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-03 20:56:07 +00:00
daniel@transgaming.com cbbca00b05 Use the latest D3DX version for D3DXCompileShader instead of forcing D3DX9_31
TRAC #11347
Signed-off-by: Daniel Koch

Author:    Nicolas Capens

git-svn-id: https://angleproject.googlecode.com/svn/trunk@93 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-01 13:39:32 +00:00
daniel@transgaming.com 41187f1d12 Fix glGetShaderSource conformance
TRAC #11718
Signed-off-by: Daniel Koch

git-svn-id: https://angleproject.googlecode.com/svn/trunk@92 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-01 13:39:29 +00:00
alokp@chromium.org 376e106436 Added support for loops.
Review URL: http://codereview.appspot.com/802047

git-svn-id: https://angleproject.googlecode.com/svn/trunk@91 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-03-31 20:25:53 +00:00
alokp@chromium.org 3d2707820e Changes to pass 'abs' conformance tests.
Review URL: http://codereview.appspot.com/858041

git-svn-id: https://angleproject.googlecode.com/svn/trunk@90 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-03-30 20:33:38 +00:00
alokp@chromium.org 2cf1771fd8 Removed tabs. Fixed formatting. Only white-space changes.
Review URL: http://codereview.appspot.com/849043

git-svn-id: https://angleproject.googlecode.com/svn/trunk@89 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-03-30 20:33:18 +00:00
alokp@chromium.org dd037b2a85 Added support for user-defined structs. And fixed a bug in function return type.
Review URL: http://codereview.appspot.com/849042

git-svn-id: https://angleproject.googlecode.com/svn/trunk@88 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-03-30 18:47:20 +00:00
daniel@transgaming.com d25ab25109 Compiler - fix redeclaration of initialized globals
TRAC #11617
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch

Author:    Nicolas Capens

git-svn-id: https://angleproject.googlecode.com/svn/trunk@87 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-03-30 03:36:26 +00:00
daniel@transgaming.com ab58025b62 Use unique intermediate directories for translator projects
TRAC #11635

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

Author:    Andrew Lewycky

git-svn-id: https://angleproject.googlecode.com/svn/trunk@86 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-03-30 03:36:22 +00:00
daniel@transgaming.com 6c78521ea3 Implement glGetAttachedShaders and glGetShaderPrecisionFormat.
TRAC #11599
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch

Author:    Nicolas Capens

git-svn-id: https://angleproject.googlecode.com/svn/trunk@85 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-03-30 03:36:17 +00:00