daniel@transgaming.com
b6bd727d23
Implemented eglSwapInterval
...
TRAC #12137
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@235 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-05-05 18:48:22 +00:00
daniel@transgaming.com
fc23fe28b4
Fixed retrieving a render target interface and not releasing it
...
TRAC #12149
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@234 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-05-05 18:48:17 +00:00
daniel@transgaming.com
c9def0b65d
Reset mSceneStarted on Reset
...
TRAC #12139
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@233 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-05-05 18:48:06 +00:00
daniel@transgaming.com
8ede24f7b8
Skip clear when writes masked
...
TRAC #12157
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@232 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-05-05 18:47:58 +00:00
daniel@transgaming.com
ae072afe19
Minimize BeginScene / EndScene calls
...
TRAC #12139
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@231 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-05-05 18:47:28 +00:00
daniel@transgaming.com
c28e76bee9
Fix config depth bits and centralize device type control
...
TRAC #12120
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@230 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-05-05 18:47:16 +00:00
alokp@chromium.org
b3f7fb68c6
Recursively write ConstantUnion to correctly construct structs.
...
Review URL: http://codereview.appspot.com/1108041
git-svn-id: https://angleproject.googlecode.com/svn/trunk@229 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-05-05 18:21:51 +00:00
alokp@chromium.org
256b751db2
Fixed broken build. Somehow glslang.y got left out while renaming constUnion to ConstantUnion.
...
TBR=dgkoch@transgaming.com
Review URL: http://codereview.appspot.com/1116041
git-svn-id: https://angleproject.googlecode.com/svn/trunk@228 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-05-05 16:51:49 +00:00
alokp@chromium.org
6ff56fd489
Renamed constUnion class to ConstantUnion.
...
Review URL: http://codereview.appspot.com/1106042
git-svn-id: https://angleproject.googlecode.com/svn/trunk@227 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-05-05 16:37:50 +00:00
daniel@transgaming.com
428d15873f
Makes the State struct a member of Context, rather than its parent.
...
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@226 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-05-04 03:35:25 +00:00
daniel@transgaming.com
19ffc24b0e
Moves non-D3D-specific utility functions to the gl namespace.
...
TRAC #12043
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@225 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-05-04 03:35:21 +00:00
daniel@transgaming.com
713914b5ae
Implements PACK_ALIGNMENT for ReadPixels
...
TRAC #11484
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@224 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-05-04 03:35:17 +00:00
daniel@transgaming.com
ce3d0f2f38
Implemented eglGetProcAddress
...
TRAC #12102
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@223 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-05-04 03:35:14 +00:00
daniel@transgaming.com
bade892718
Untabify libGLESv2.def
...
TRAC #12102
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@222 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-05-04 03:35:11 +00:00
daniel@transgaming.com
6b99840876
Correct use of anonymous / nameless struct
...
TRAC #12108
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@221 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-05-04 03:35:07 +00:00
alokp@chromium.org
a499cfc5ff
Fixed multiple issues with struct declaration and construction.
...
Review URL: http://codereview.appspot.com/1076041
git-svn-id: https://angleproject.googlecode.com/svn/trunk@220 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-05-03 23:14:49 +00:00
alokp@chromium.org
2986a8cbcb
Implemented a bunch of missing constructs.
...
Review URL: http://codereview.appspot.com/1031045
git-svn-id: https://angleproject.googlecode.com/svn/trunk@219 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-30 22:32:32 +00:00
daniel@transgaming.com
4f3ce80711
Output propagated struct constants as literals
...
TRAC #11809
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@218 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-29 03:39:15 +00:00
daniel@transgaming.com
51d0dc2a6b
Declare structures before uniform definitions and support varying arrays
...
TRAC #11809
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@217 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-29 03:39:11 +00:00
daniel@transgaming.com
a637e55f6f
Support anonymous structures
...
TRAC #11809
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@216 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-29 03:39:08 +00:00
daniel@transgaming.com
3aa7420b5a
Fix parenthesis balance
...
TRAC #11809
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@215 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-29 03:39:04 +00:00
daniel@transgaming.com
9e78e5edfd
Fix Shader compilation failures with nested #ifdefs
...
TRAC #12054
Don't exit from CPPelse prematurely.
Clear elsedepth when entering a new #if nesting level.
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Andrew Lewycky
git-svn-id: https://angleproject.googlecode.com/svn/trunk@214 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-29 03:39:02 +00:00
daniel@transgaming.com
951243464f
Deleting program does not delete shaders that are marked
...
TRAC #12012
Resolve the crash on context deletion.
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Andrew Lewycky
git-svn-id: https://angleproject.googlecode.com/svn/trunk@213 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-29 03:38:58 +00:00
daniel@transgaming.com
a87bdf533d
Check for multisample conformance
...
TRAC #11747
Only warn about sample coverage settings in a multisample context.
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Andrew Lewycky
git-svn-id: https://angleproject.googlecode.com/svn/trunk@212 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-29 03:38:55 +00:00
daniel@transgaming.com
d1f667fed4
Ensure ShaderBinary is conformant
...
TRAC #12061
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Andrew Lewycky
git-svn-id: https://angleproject.googlecode.com/svn/trunk@211 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-29 03:38:52 +00:00
daniel@transgaming.com
f31401573e
Append [0] to active array uniform names
...
TRAC #11796
Singed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@210 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-29 03:38:50 +00:00
daniel@transgaming.com
8ee00ea24f
Investigate issues with transform_viewport conformance
...
TRAC #12035
transform_viewport failed when rendering into an Nx1 or 1xN viewport.
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Andrew Lewycky
git-svn-id: https://angleproject.googlecode.com/svn/trunk@209 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-29 03:38:47 +00:00
daniel@transgaming.com
aede63013f
Implements PolygonOffset
...
TRAC #11719
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@208 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-29 03:35:48 +00:00
daniel@transgaming.com
c3a0e946e9
Fixes program validation regression.
...
TRAC #11654
The sampler validation at render time was occurring before uniforms
were applied and samplers were bound to their texture units. Sampler
validation now occurs after shaders and textures have been applied.
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@207 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-29 03:35:45 +00:00
daniel@transgaming.com
dec19e2014
Detect and report multiple #version directives
...
TRAC #12072
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@206 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-29 03:35:42 +00:00
daniel@transgaming.com
b41c977b3f
Implemented support for lists of arrays
...
TRAC #12075
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@205 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-29 03:35:39 +00:00
daniel@transgaming.com
ead2304749
Add all structure definitions to constructor map and simplify initialization
...
TRAC #11809
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@204 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-29 03:35:36 +00:00
daniel@transgaming.com
7a7003c383
Output structure declarations and constructors in the header
...
TRAC #11809
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@203 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-29 03:35:33 +00:00
daniel@transgaming.com
67de6d6c6d
Refactored outputTriplet to allow complex string expressions
...
TRAC #11809
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@202 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-29 03:35:30 +00:00
daniel@transgaming.com
71cd868d14
Deleting program does not delete shaders that are marked
...
TRAC #12012
Also fixes failure to delete flagged program upon glUseProgram(0).
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Andrew Lewycky
git-svn-id: https://angleproject.googlecode.com/svn/trunk@201 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-29 03:35:25 +00:00
daniel@transgaming.com
feba9ba5e6
Undecorate uniform names when computing max length
...
TRAC #12050
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@200 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-29 03:32:45 +00:00
daniel@transgaming.com
6369186708
Implemented complex vector/matrix construction
...
TRAC #11868
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@199 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-29 03:32:42 +00:00
daniel@transgaming.com
bef0b6d93e
Allow matrix-in-matrix construction
...
TRAC #11868
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@198 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-29 03:32:39 +00:00
daniel@transgaming.com
ea15b0edc0
Change ParseHelper.cpp indenting from tabs to spaces
...
TRAC #11868
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@197 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-29 03:32:36 +00:00
daniel@transgaming.com
86a7a138c5
Implements ValidateProgram
...
TRAC #11654
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@196 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-29 03:32:32 +00:00
daniel@transgaming.com
0b6b834a6d
Support matrix attributes
...
TRAC #11095
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Andrew Lewycky
git-svn-id: https://angleproject.googlecode.com/svn/trunk@195 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-26 15:33:45 +00:00
daniel@transgaming.com
fbc09533f1
Allow other attachment points for glFramebufferTexture2D
...
TRAC #12040
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@194 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-26 15:33:41 +00:00
daniel@transgaming.com
0bbb031dc8
Only output faceforward when needed
...
TRAC #12042
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@193 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-26 15:33:39 +00:00
daniel@transgaming.com
c164135ce9
Implemented querying GL_BLEND_COLOR
...
TRAC #12039
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@192 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-26 15:33:36 +00:00
daniel@transgaming.com
c103b60cda
Support BufferData with size zero.
...
TRAC #12027
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Andrew Lewycky
git-svn-id: https://angleproject.googlecode.com/svn/trunk@191 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-23 18:34:58 +00:00
daniel@transgaming.com
c46c9c0773
Implements GetFramebufferAttachmentParameteriv
...
TRAC #11876
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@190 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-23 18:34:55 +00:00
daniel@transgaming.com
916ffaa9ae
Implements support for retrieving uniforms by subscripted name.
...
TRAC #11796
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@189 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-23 18:34:52 +00:00
daniel@transgaming.com
c5c1538032
Fixed glGetShaderPrecisionFormat output
...
TRAC #12041
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@188 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-23 18:34:49 +00:00
daniel@transgaming.com
69f084b1b7
Fix matrix by matrix multiplication
...
TRAC #11751
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@187 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-23 18:34:46 +00:00
alokp@chromium.org
eab1ef126b
Removed unnecessary include paths. Removed the dependency on unistd.h. Moved the generated files to intermediate directory so that the source is not polluted.
...
These changes only affect the gyp build system because they required flex-bison options that are not supported by old binaries in compiler/tools. Another reason to switch to gyp build system.
Review URL: http://codereview.appspot.com/994041
git-svn-id: https://angleproject.googlecode.com/svn/trunk@186 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-23 17:33:49 +00:00