kc3-lang/angle

Branch :


Log

Author Commit Date CI Message
ea0e1af4 2010-03-22 19: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
0599dc6d 2010-03-21 04: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
b5b06160 2010-03-21 04: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
d4620a36 2010-03-21 04: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
159acdf5 2010-03-21 04: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
ace5e663 2010-03-21 04: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
5949aa10 2010-03-21 04:31:15 Adds support for hints TRAC #11343 Author: Shannon Woods Signed-off-by: Andrew Lewycky Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/trunk@56 736b8ea6-26fd-11df-bfd4-992fa37f6226
3489e3ae 2010-03-21 04:31:11 Implement glPixelStorei for Tex(Sub)Image2D. TRAC #11475 Author: Andrew Lewycky Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/trunk@55 736b8ea6-26fd-11df-bfd4-992fa37f6226
7051b97e 2010-03-21 04:31:07 Default textures to non-renderable. TRAC #11309 * Lift getRenderTarget() into base class Texture. * Add pure virtual convertToRenderTarget() and getSurface(). Author: Andrew Lewycky Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/trunk@54 736b8ea6-26fd-11df-bfd4-992fa37f6226
842f7a4e 2010-03-21 04:31:03 Partial TexSubImage after FBO rendering overwrites entire image. TRAC #11439 * Store texel data in IDirect3DSurface9 rather than client memory. * TexSubImage uploads new data immediately. * Fix 5551 texture format conversion. Author: Andrew Lewycky Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/trunk@53 736b8ea6-26fd-11df-bfd4-992fa37f6226
bbb6cd0c 2010-03-21 04:30:59 Fix starting indices other than 0 for DrawArrays TRAC #11495 Author: Andrew Lewycky Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/trunk@52 736b8ea6-26fd-11df-bfd4-992fa37f6226
3d53fda0 2010-03-21 04:30:55 ANGLE | Compiler - implement the ternary operator TRAC #11421 Doesn't take short-circuiting behavior into account yet. Author: Nicolas Capens Signed-off-by: Andrew Lewycky Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/trunk@51 736b8ea6-26fd-11df-bfd4-992fa37f6226
adb5087a 2010-03-21 04:30:52 ANGLE | Don't perform any filtering when swapping TRAC #11513 Author: Nicolas Capens Signed-off-by: Andrew Lewycky Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/trunk@50 736b8ea6-26fd-11df-bfd4-992fa37f6226
d70aa339 2010-03-17 13:59:53 Delete empty folders after reorganization Trac #11406 git-svn-id: https://angleproject.googlecode.com/svn/trunk@48 736b8ea6-26fd-11df-bfd4-992fa37f6226
4da3d935 2010-03-17 13:13:32 update .gitignore file for new file locations Trac #11406 Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@47 736b8ea6-26fd-11df-bfd4-992fa37f6226
14c4631c 2010-03-17 13:13:30 Fix include paths in libEGL.vcproj Trac #11406 Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@46 736b8ea6-26fd-11df-bfd4-992fa37f6226
63e472dd 2010-03-17 13:13:28 Fix include paths for libGLESv2.vcproj Trac #11406 Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@45 736b8ea6-26fd-11df-bfd4-992fa37f6226
50290ec9 2010-03-17 13:13:26 Fix the case of all directories used by compiler.vcproj Trac #11406 Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@44 736b8ea6-26fd-11df-bfd4-992fa37f6226
7f990177 2010-03-17 13:13:24 Rename Compiler.vcproj -> compiler.proj and fix solution properties Trac #11406 Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@43 736b8ea6-26fd-11df-bfd4-992fa37f6226
f0866696 2010-03-17 13:13:18 mv Include -> include Trac #11406 Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@42 736b8ea6-26fd-11df-bfd4-992fa37f6226
f4d3a314 2010-03-17 13:13:13 mv ANGLE.sln -> src/ANGLE.sln Trac #11406 Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@41 736b8ea6-26fd-11df-bfd4-992fa37f6226
7c46b9e6 2010-03-17 13:12:58 mv libGLESv2 -> src/libGLESv2 Trac #11406 Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@40 736b8ea6-26fd-11df-bfd4-992fa37f6226
203934dc 2010-03-17 13:12:52 mv libEGL -> src/libEGL Trac #11406 Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@39 736b8ea6-26fd-11df-bfd4-992fa37f6226
b5462fce 2010-03-17 13:12:47 mv Include/*.h -> /src/include/ Trac #11406 Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@38 736b8ea6-26fd-11df-bfd4-992fa37f6226
acc51130 2010-03-17 13:12:17 mv Compiler/* -> src/compiler/* Trac #11406 Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@37 736b8ea6-26fd-11df-bfd4-992fa37f6226
42b207da 2010-03-17 13:12:07 mv Compiler/Preprocessor -> src/compiler/preprocessor Trac #11406 Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@36 736b8ea6-26fd-11df-bfd4-992fa37f6226
395d5035 2010-03-17 13:12:00 Move Compiler/Tools -> src/compiler/tools Trac #11406 Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@35 736b8ea6-26fd-11df-bfd4-992fa37f6226
5903aeb1 2010-03-17 13:11:57 Move Common -> src/common Trac #11406 Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@34 736b8ea6-26fd-11df-bfd4-992fa37f6226
1e641431 2010-03-17 03:58:59 Add README and license information for bison and flex Trac #11422 Signed-off-by: Shannon Woods Signed-off-by: Gavriel State git-svn-id: https://angleproject.googlecode.com/svn/trunk@33 736b8ea6-26fd-11df-bfd4-992fa37f6226
1436e261 2010-03-17 03:58:56 Implements separate stencil support to proposed WebGL limitations TRAC #11450 Author: Shannon Woods Signed-off-by: Andrew Lewycky Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/trunk@32 736b8ea6-26fd-11df-bfd4-992fa37f6226
f67f82ec 2010-03-17 03:58:54 Compiler - implement break/continue TRAC #11441 Author: Nicolas Capens Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/trunk@31 736b8ea6-26fd-11df-bfd4-992fa37f6226
49bce7ef 2010-03-17 03:58:51 Compiler - implement matrix construction and equality TRAC #11440 Author: Nicolas Capens Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/trunk@30 736b8ea6-26fd-11df-bfd4-992fa37f6226
7a2c2809 2010-03-16 06:23:33 Correcting un-returned depth size in utility function. TRAC #11333 Implemented during masking conformance testing. Author: Shannon Woods Signed-off-by: Andrew Lewycky Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/trunk@29 736b8ea6-26fd-11df-bfd4-992fa37f6226
0009d624 2010-03-16 06:23:31 Creates new depthstencils for surfaces. Trac #11396 Creates new depthstencils for new windows when multiple windows exist, repurposes original depthstencil if old windows have all been destroyed. Author: Shannon Woods Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/trunk@28 736b8ea6-26fd-11df-bfd4-992fa37f6226
fe453651 2010-03-16 06:23:28 Blend conformance bugfixes. Trac #11327 Fixes a bug where color conversion swapped blue and green values. Fixes a bug where CONSTANT_COLOR/CONSTANT_ALPHA conflict guard failed to check for ONE_MINUS variants. Author: Shannon Woods Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/trunk@27 736b8ea6-26fd-11df-bfd4-992fa37f6226
12d5407e 2010-03-16 06:23:26 Handle sampling from incomplete textures TRAC #11321 Context owns incomplete textures of each texture type. Also fix completeness determination: check minfilter to see if mipmapping is on. Author: Andrew Lewycky Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/trunk@26 736b8ea6-26fd-11df-bfd4-992fa37f6226
416485fb 2010-03-16 06:23:23 Select texture type based on program usage. TRAC #11410 Add Program::getSamplerType() and internal machinery to track the reported sampler uniforms. Make State::samplerTexture into a 2D array with a dimension for sampler type. Context::applyTextures queries the sampler type and asks for the right texture. Author: Andrew Lewycky Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/trunk@25 736b8ea6-26fd-11df-bfd4-992fa37f6226
9efa6f6b 2010-03-16 06:23:20 Provide default return values for unreachable code paths. TRAC #11414 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch Author: Andrew Lewycky git-svn-id: https://angleproject.googlecode.com/svn/trunk@24 736b8ea6-26fd-11df-bfd4-992fa37f6226
c7d8a935 2010-03-16 06:16:45 Whitespace fixes (trailing whitespace, CRLF). TRAC #11414 Author: Andrew Lewycky Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/trunk@23 736b8ea6-26fd-11df-bfd4-992fa37f6226
79b820b7 2010-03-16 05:48:57 Compiler - implement gl_FrontFacing TRAC #11368 Signed-off-by: Andrew Lewycky Signed-off-by: Daniel Koch From: Nicolas Capens <nicolas@transgaming.com> git-svn-id: https://angleproject.googlecode.com/svn/trunk@22 736b8ea6-26fd-11df-bfd4-992fa37f6226
9b5f5443 2010-03-16 05:43:55 Compiler - implement gl_FragCoord TRAC #11381 Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/trunk@21 736b8ea6-26fd-11df-bfd4-992fa37f6226
998dd9ff 2010-03-16 05:38:01 Factor out all operators that are invalid for ES2. TRAC #11347 Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/trunk@20 736b8ea6-26fd-11df-bfd4-992fa37f6226
41430498 2010-03-11 20:36:18 Implement non-support for compressed textures. TRAC #11339 * glCompressedTexImage2D and glCompressedTexSubImage2D verify parameters and then fail with GL_INVALID_ENUM since there are no supported formats. * glGetIntegerv recognises GL_NUM_COMPRESSED_TEXTURE_FORMATS (returns 0) and GL_COMPRESSED_TEXTURE_FORMATS (returns none). Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch Original-Author: Andrew Lewycky <andrew.lewycky@transgaming.com> git-svn-id: https://angleproject.googlecode.com/svn/trunk@19 736b8ea6-26fd-11df-bfd4-992fa37f6226
00c75964 2010-03-11 20:36:15 Support glTexSubImage2D. TRAC #1167 Signed-off-by: Shannon Woods Signed-off-by: Daniel Koch Author: Andrew Lewycky <andrew.lewycky@transgaming.com> git-svn-id: https://angleproject.googlecode.com/svn/trunk@18 736b8ea6-26fd-11df-bfd4-992fa37f6226
c21c2271 2010-03-11 19:44:45 Vertex data translation broke the text in PVR samples. TRAC #11412 Indexed rendering was always broken because the size calculated was offset incorrectly (part of a removed optimisation). copyComponents was broken when I switched from incremental addressing to explicitly-indexed addressing. Signed-off-by: Daniel Koch Author: Andrew Lewycky <andrew.lewycky@transgaming.com> git-svn-id: https://angleproject.googlecode.com/svn/trunk@17 736b8ea6-26fd-11df-bfd4-992fa37f6226
86487c20 2010-03-11 19:41:43 Compiler - implement gl_DepthRange TRAC #11380 Signed-off-by: Daniel Koch Author: Nicolas Capens <nicolas@transgaming.com> git-svn-id: https://angleproject.googlecode.com/svn/trunk@16 736b8ea6-26fd-11df-bfd4-992fa37f6226
0f7aaf53 2010-03-11 19:41:38 Add support for Vertex Buffer Data Translation TRAC #11024 Signed-off-by: Nicolas Capens Signed-off-by: Daniel Koch Author: Andrew Lewycky <andrew.lewycky@transgaming.com> git-svn-id: https://angleproject.googlecode.com/svn/trunk@15 736b8ea6-26fd-11df-bfd4-992fa37f6226
45d03580 2010-03-11 19:41:29 Compiler - access struct fields TRAC #11379 Signed-off-by: Daniel Koch Author: Nicolas Capens <nicolas@transgaming.com> git-svn-id: https://angleproject.googlecode.com/svn/trunk@14 736b8ea6-26fd-11df-bfd4-992fa37f6226
fbb6dfa3 2010-03-11 19:41:25 Compiler - handle high loop iteration counts TRAC #11345 Signed-off-by: Daniel Koch Author: Nicolas Capens <nicolas@transgaming.com> git-svn-id: https://angleproject.googlecode.com/svn/trunk@13 736b8ea6-26fd-11df-bfd4-992fa37f6226
29d27005 2010-03-11 19:41:22 Support redefinition of textures through glTexImage2D. TRAC #11316. Keep a dirty data flag, recreate the texture when it is set. Texture now owns getTexture() and calls a virtual createTexture method when the derived classes need to recreate. Signed-off-by: Daniel Koch Author: Andrew Lewycky <andrew.lewycky@transgaming.com> git-svn-id: https://angleproject.googlecode.com/svn/trunk@12 736b8ea6-26fd-11df-bfd4-992fa37f6226
fab5a1ae 2010-03-11 19:22:30 Remove trailing whitespace. TRAC #11024 Signed-off-by: Daniel Koch Author: Andrew Lewycky <andrew.lewycky@transgaming.com> git-svn-id: https://angleproject.googlecode.com/svn/trunk@11 736b8ea6-26fd-11df-bfd4-992fa37f6226
1697302a 2010-03-11 19:22:19 Use std::min/max instead of the Windows macros. TRAC #11024 * Define NOMINMAX so that the Windows headers don't define min or max. * Use std::min/std::max where we were using the min/max macros. Signed-off-by: Daniel Koch Author: Andrew Lewycky <andrew.lewycky@transgaming.com> git-svn-id: https://angleproject.googlecode.com/svn/trunk@10 736b8ea6-26fd-11df-bfd4-992fa37f6226
e2b22129 2010-03-11 19:22:14 Whitespace fixes. TRAC #11024 Signed-off-by: Daniel Koch Author: Andrew Lewycky <andrew.lewycky@transgaming.com> git-svn-id: https://angleproject.googlecode.com/svn/trunk@9 736b8ea6-26fd-11df-bfd4-992fa37f6226
64eedfd7 2010-03-10 23:51:56 Added codereview settings file. git-svn-id: https://angleproject.googlecode.com/svn/trunk@6 736b8ea6-26fd-11df-bfd4-992fa37f6226
4a9d65cb 2010-03-08 21:30:56 Implemented support for GL_STENCIL_INDEX8 renderbuffers TRAC #11366 Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/trunk@5 736b8ea6-26fd-11df-bfd4-992fa37f6226
680553bf 2010-03-08 21:30:52 Compiler - implement faceforward TRAC #11365 Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/trunk@4 736b8ea6-26fd-11df-bfd4-992fa37f6226
2884b78a 2010-03-08 21:30:48 Fix regression from HRESULT checking changes TRAC #11234 Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/trunk@3 736b8ea6-26fd-11df-bfd4-992fa37f6226
4f39fd99 2010-03-08 20:26:45 Initial import from TransGaming git-svn-id: https://angleproject.googlecode.com/svn/trunk@2 736b8ea6-26fd-11df-bfd4-992fa37f6226
eff14256 2010-03-03 19:46:25 Initial directory structure. git-svn-id: https://angleproject.googlecode.com/svn/trunk@1 736b8ea6-26fd-11df-bfd4-992fa37f6226