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

9132 Коммитов

Автор SHA1 Сообщение Дата
daniel@transgaming.com 5903aeb1f9 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
2010-03-17 13:11:57 +00:00
daniel@transgaming.com 1e64143178 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
2010-03-17 03:58:59 +00:00
daniel@transgaming.com 1436e26153 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
2010-03-17 03:58:56 +00:00
daniel@transgaming.com f67f82ec8c 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
2010-03-17 03:58:54 +00:00
daniel@transgaming.com 49bce7ef4a 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
2010-03-17 03:58:51 +00:00
daniel@transgaming.com 7a2c280974 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
2010-03-16 06:23:33 +00:00
daniel@transgaming.com 0009d62451 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
2010-03-16 06:23:31 +00:00
daniel@transgaming.com fe453651c4 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
2010-03-16 06:23:28 +00:00
daniel@transgaming.com 12d5407ec2 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
2010-03-16 06:23:26 +00:00
daniel@transgaming.com 416485fb9c 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
2010-03-16 06:23:23 +00:00
daniel@transgaming.com 9efa6f6b3d 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
2010-03-16 06:23:20 +00:00
daniel@transgaming.com c7d8a9351c 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
2010-03-16 06:16:45 +00:00
daniel@transgaming.com 79b820b73a 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
2010-03-16 05:48:57 +00:00
daniel@transgaming.com 9b5f5443d6 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
2010-03-16 05:43:55 +00:00
daniel@transgaming.com 998dd9ffa1 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
2010-03-16 05:38:01 +00:00
daniel@transgaming.com 4143049817 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
2010-03-11 20:36:18 +00:00
daniel@transgaming.com 00c75964b6 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
2010-03-11 20:36:15 +00:00
daniel@transgaming.com c21c227174 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
2010-03-11 19:44:45 +00:00
daniel@transgaming.com 86487c20aa 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
2010-03-11 19:41:43 +00:00
daniel@transgaming.com 0f7aaf530b 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
2010-03-11 19:41:38 +00:00
daniel@transgaming.com 45d035808a 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
2010-03-11 19:41:29 +00:00
daniel@transgaming.com fbb6dfa3d6 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
2010-03-11 19:41:25 +00:00
daniel@transgaming.com 29d2700535 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
2010-03-11 19:41:22 +00:00
daniel@transgaming.com fab5a1ae78 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
2010-03-11 19:22:30 +00:00
daniel@transgaming.com 1697302adc 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
2010-03-11 19:22:19 +00:00
daniel@transgaming.com e2b2212912 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
2010-03-11 19:22:14 +00:00
alokp@chromium.org 64eedfd706 Added codereview settings file.
git-svn-id: https://angleproject.googlecode.com/svn/trunk@6 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-03-10 23:51:56 +00:00
daniel@transgaming.com 4a9d65cba6 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
2010-03-08 21:30:56 +00:00
daniel@transgaming.com 680553bf90 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
2010-03-08 21:30:52 +00:00
daniel@transgaming.com 2884b78ae1 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
2010-03-08 21:30:48 +00:00
daniel@transgaming.com 4f39fd9956 Initial import from TransGaming
git-svn-id: https://angleproject.googlecode.com/svn/trunk@2 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-03-08 20:26:45 +00:00
(no author) eff14256db Initial directory structure.
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-03-03 19:46:25 +00:00