Log

Author Commit Date CI Message
daniel@transgaming.com bb885328 2010-04-15T20:45:24 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
daniel@transgaming.com 7127f207 2010-04-15T20:45:22 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
daniel@transgaming.com 76039476 2010-04-15T20:45:18 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
daniel@transgaming.com 5af6427d 2010-04-15T20:45:12 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
daniel@transgaming.com e007896b 2010-04-15T20:45:08 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
daniel@transgaming.com aa0ccbd9 2010-04-15T20:45:05 Implements GetBufferParameteriv TRAC #11720 Author: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/trunk@151 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 34dc3e8a 2010-04-15T20:45:02 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
daniel@transgaming.com aa1ff879 2010-04-15T20:44:58 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
daniel@transgaming.com b587598c 2010-04-15T20:44:53 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
daniel@transgaming.com ec55d29a 2010-04-15T20:44:49 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
daniel@transgaming.com edab063e 2010-04-13T19:53:53 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
daniel@transgaming.com bb2e9636 2010-04-13T19:53:50 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
daniel@transgaming.com 3c010c02 2010-04-13T19:53:47 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
daniel@transgaming.com 72d0b52e 2010-04-13T19:53:44 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
daniel@transgaming.com 5ac52159 2010-04-13T19:53:38 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
daniel@transgaming.com c847820d 2010-04-13T19:53:35 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
daniel@transgaming.com d1abe5b0 2010-04-13T19:53:33 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
daniel@transgaming.com 23953e3e 2010-04-13T19:53:31 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
daniel@transgaming.com 8976c1e8 2010-04-13T19:53:27 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
alokp@chromium.org 47c058c3 2010-04-13T15:30:05 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
daniel@transgaming.com 277b7142 2010-04-13T03:26:44 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
daniel@transgaming.com 8e6a6be8 2010-04-13T03:26:41 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
daniel@transgaming.com 75401e61 2010-04-13T03:26:39 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
daniel@transgaming.com 0cefaf45 2010-04-13T03:26:36 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
daniel@transgaming.com b8c28edd 2010-04-13T03:26:32 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
daniel@transgaming.com 98079839 2010-04-13T03:26:29 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
daniel@transgaming.com cf4aa879 2010-04-13T03:26:27 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
daniel@transgaming.com e9d6ed03 2010-04-13T03:26:23 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
daniel@transgaming.com bb274c35 2010-04-13T03:26:21 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
daniel@transgaming.com d91cfe7e 2010-04-13T03:26:17 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
daniel@transgaming.com 950f993b 2010-04-13T03:26:14 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
daniel@transgaming.com 73c2c2ed 2010-04-13T03:26:11 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
daniel@transgaming.com 79f6677d 2010-04-13T03:26:09 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
daniel@transgaming.com bb3d9d03 2010-04-13T03:26:06 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
daniel@transgaming.com 9a95e2bb 2010-04-13T03:26:03 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
daniel@transgaming.com f4a0c8e8 2010-04-13T03:26:01 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
daniel@transgaming.com d1acd1ed 2010-04-13T03:25:57 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
daniel@transgaming.com afb23957 2010-04-13T03:25:54 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
daniel@transgaming.com 26e9604f 2010-04-10T05:29:13 update contributors list git-svn-id: https://angleproject.googlecode.com/svn/trunk@118 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 13881545 2010-04-10T05:29:11 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
daniel@transgaming.com fe565159 2010-04-10T05:29:07 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
daniel@transgaming.com f52561c2 2010-04-10T05:29:04 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
daniel@transgaming.com 7441c9cc 2010-04-08T15:01:05 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
daniel@transgaming.com 3fe7fe5d 2010-04-08T15:00:59 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
daniel@transgaming.com ea5a6ad7 2010-04-08T03:51:26 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
daniel@transgaming.com 12d38031 2010-04-08T03:51:23 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
daniel@transgaming.com fe4b827b 2010-04-08T03:51:20 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
daniel@transgaming.com 04694067 2010-04-08T03:51:18 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
daniel@transgaming.com c68e9299 2010-04-08T03:51:15 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
daniel@transgaming.com fe110ab7 2010-04-08T03:51:12 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
daniel@transgaming.com 4195fc43 2010-04-08T03:51:09 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
daniel@transgaming.com 4a35ef2d 2010-04-08T03:51:06 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
alokp@chromium.org cf2560dd 2010-04-07T20:39:57 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
alokp@chromium.org 0270ef14 2010-04-07T19:57:20 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
daniel@transgaming.com 777f2672 2010-04-07T03:25:16 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
daniel@transgaming.com 5441d665 2010-04-07T03:25:11 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
alokp@chromium.org 403c9e59 2010-04-06T17:53:31 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
daniel@transgaming.com 27bf89bb 2010-04-06T16:31:25 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
alokp@chromium.org 29d56fbb 2010-04-06T15:42:22 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
daniel@transgaming.com 0e3358a6 2010-04-05T20:32:42 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
daniel@transgaming.com 279e38ad 2010-04-03T20:56:13 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
daniel@transgaming.com 57a0bab8 2010-04-03T20:56:10 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
daniel@transgaming.com 296ca9cc 2010-04-03T20:56:07 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
daniel@transgaming.com cbbca00b 2010-04-01T13:39:32 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
daniel@transgaming.com 41187f1d 2010-04-01T13:39:29 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
alokp@chromium.org 376e1064 2010-03-31T20:25:53 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
alokp@chromium.org 3d270782 2010-03-30T20:33:38 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
alokp@chromium.org 2cf1771f 2010-03-30T20:33:18 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
alokp@chromium.org dd037b2a 2010-03-30T18:47:20 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
daniel@transgaming.com d25ab251 2010-03-30T03:36:26 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
daniel@transgaming.com ab58025b 2010-03-30T03:36:22 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
daniel@transgaming.com 6c78521e 2010-03-30T03:36:17 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
daniel@transgaming.com 02bc1594 2010-03-30T03:36:13 Support software vertex processing TRAC #11632 Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@84 736b8ea6-26fd-11df-bfd4-992fa37f6226
alokp@chromium.org 4388487c 2010-03-30T00:08:52 Moved code to unmangle function name to a common place and used it in both OutputGLSL and OutputHLSL. Review URL: http://codereview.appspot.com/838041 git-svn-id: https://angleproject.googlecode.com/svn/trunk@83 736b8ea6-26fd-11df-bfd4-992fa37f6226
alokp@chromium.org 60fe407c 2010-03-29T20:58:29 Added TIntermSelection::usesTernaryOperator() to distinguish between selection nodes using ternary operator and if-else. Used in both OutputGLSL and OutputHLSL. Review URL: http://codereview.appspot.com/830042 git-svn-id: https://angleproject.googlecode.com/svn/trunk@82 736b8ea6-26fd-11df-bfd4-992fa37f6226
alokp@chromium.org 1180ea73 2010-03-29T19:43:46 Fixed the title of texture-wrap sample. Review URL: http://codereview.appspot.com/834041 git-svn-id: https://angleproject.googlecode.com/svn/trunk@81 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 76dbf17f 2010-03-28T19:36:20 Support UNSIGNED_BYTE indices in DrawElements Trac #11393 Support was added a prior patch but this wasn't activated git-svn-id: https://angleproject.googlecode.com/svn/trunk@80 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 5e890731 2010-03-28T19:36:18 Update .gitignore Use better wildcards to hide files we don't commit git-svn-id: https://angleproject.googlecode.com/svn/trunk@79 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 0361b92f 2010-03-28T19:36:15 Compiler - active uniforms and attributes TRAC #11590 Preparation refactoring that removes UniformType since there are already GL enums for uniform types. Signed-off-by: Andrew Lewycky Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@78 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 93a96c3e 2010-03-28T19:36:13 Compiler - implement vector times matrix operation TRAC #11611 Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@77 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com cba5057c 2010-03-28T19:36:09 Compiler - implement shader and program queries TRAC #11599 Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@76 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com e78c0c99 2010-03-28T19:36:06 Compiler - only declare used HLSL functions TRAC #11315 Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@75 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 5e417109 2010-03-26T04:08:53 fix warning for std::copy TRAC #11558 * VertexDataManager::internalPreRenderValidate operates directly on the output pointer. Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch Author: Andrew Lewycky git-svn-id: https://angleproject.googlecode.com/svn/trunk@74 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com b994e3bd 2010-03-26T04:08:50 fix warning from "normalized" cast TRAC #11556 * Restore warning C4800. * Compare GLboolean normalized against GL_TRUE per the spec. Signed-off-by: Daniel Koch Author: Andrew Lewycky git-svn-id: https://angleproject.googlecode.com/svn/trunk@73 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com f8b58a0c 2010-03-26T04:08:45 Support translating indices. TRAC #11393 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch Author: Andrew Lewycky git-svn-id: https://angleproject.googlecode.com/svn/trunk@72 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com d989add5 2010-03-26T04:08:42 Compiler - implement gl_PointCoord and point size clamping TRAC #11592 Fixed a regression caused by bad merging. Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@71 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com ccad59f0 2010-03-26T04:08:39 Compiler - implement gl_PointCoord and point size clamping TRAC #11592 Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@70 736b8ea6-26fd-11df-bfd4-992fa37f6226
alokp@chromium.org 76b82085 2010-03-24T17:59:39 Added GLSL backend for ESSL translator. Review URL: http://codereview.appspot.com/698041 git-svn-id: https://angleproject.googlecode.com/svn/trunk@69 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 32e58cde 2010-03-24T09:44:10 Implements support for setting/getting line width. TRAC #11531 Implements glLineWidth, and provides glGet results for LINE_WIDTH and ALIASED_LINE_WIDTH_RANGE. Signed-off-by: Andrew Lewycky Signed-off-by: Daniel Koch Author: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/trunk@68 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com debe2591 2010-03-24T09:44:08 HLSL compilation shouldn't assume a 3.0 profile TRAC #11054 Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@67 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com d37dec85 2010-03-24T09:44:05 The trace parameter is better termed 'message' instead of 'argument' Trac #11526 Signed-off-by: Shannon Woods Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@66 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 24a04861 2010-03-24T09:44:03 Add smoke.tga for gles2\ParticleSystem sample Trac #11596 Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@65 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com f64dd04c 2010-03-24T09:44:00 Fix warning from "normalized" cast. TRAC #11556 Disable warning C4800 as it does not indicate defects in the code, just the compiler. Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch Author: Andrew Lewycky git-svn-id: https://angleproject.googlecode.com/svn/trunk@64 736b8ea6-26fd-11df-bfd4-992fa37f6226
alokp@chromium.org 5539a34f 2010-03-22T19:34:05 Added a few samples from GLES 2.0 book. git-svn-id: https://angleproject.googlecode.com/svn/trunk@63 736b8ea6-26fd-11df-bfd4-992fa37f6226
alokp@chromium.org ea0e1af4 2010-03-22T19:33:14 Minor reshuffling of directory structure in preparation of ESSL to GLSL compiler work. 1. Added include/GLSLANG which includes compiler API 2. Deleted src/include and moved the header files to the same directory as the corresponding source files 3. Modied include path to be relative to src/. I have only fixed paths for files I moved. We should fix it for all new files at least. It is much easier to see where an included file is coming from. I noticed that a few libGLESv2 source files include headers from libEGL project, which seems wrong. I think we should address this issue. Next step: move compiler source files to compiler/frontend and create two new projects compiler/glsl_backend and compiler/hlsl_backend. Review URL: http://codereview.appspot.com/662042 git-svn-id: https://angleproject.googlecode.com/svn/trunk@62 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 0599dc6d 2010-03-21T04:31:36 To output debug info use the TRACE macro instead of calling trace() Trac #11526 Signed-off-by: Shannon Woods Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@61 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com b5b06160 2010-03-21T04:31:32 Refactor the parenthesis from the TRACE/FIXME/ERR macros Trac #11526 Signed-off-by: Shannon Woods Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@60 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com d4620a36 2010-03-21T04:31:28 Don't crash on a null pointer passed to glBufferData TRAC #11528 * Initialise buffer to 0 if BufferData is called with data = NULL (special case: if not resizing, just leave the old data in place). * BufferSubData ignores calls with data = NULL * Replace Buffer::data_t with GLubyte. Author: Andrew Lewycky Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/trunk@59 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 159acdf5 2010-03-21T04:31:24 Corrects scissor & viewport initialization. TRAC #11134 Takes viewport/scissor dimensions from surface at first makeCurrent, rather than from display at context construction. Author: Shannon Woods Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/trunk@58 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com ace5e663 2010-03-21T04:31:20 Implements support for FRONT_AND_BACK culling. TRAC #11331 Author: Shannon Woods Signed-off-by: Andrew Lewycky Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/trunk@57 736b8ea6-26fd-11df-bfd4-992fa37f6226