|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
5949aa10
|
2010-03-21T04: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-21T04: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-21T04: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-21T04: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-21T04: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
|
|
63e472dd
|
2010-03-17T13: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
|
|
7c46b9e6
|
2010-03-17T13: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
|