Roll ANGLE 889:904.
Roll ANGLE 889:904.

Revision: 904
Author: apatrick@chromium.org
Date: 11:11:33 AM, Wednesday, December 07, 2011
Message:
Update version to 904.
Review URL: http://codereview.appspot.com/5449113
----
Modified : /trunk/src/common/version.h

Revision: 903
Author: apatrick@chromium.org
Date: 11:10:16 AM, Wednesday, December 07, 2011
Message:
Fixed leak of render target associated with ColorBuffer.

Following r853, I am assuming that any render target returned by FrameBuffer::getRenderTarget has to be released. Updating the usage of getRenderTarget to reflect that.

This is not reproducible in Chrome at the moment but it will be once I start rendering to pbuffers.

I ran the WebGL conformance tests. No regressions or crashes.
Review URL: http://codereview.appspot.com/5451110
----
Modified : /trunk/src/libGLESv2/Context.cpp

Revision: 902
Author: apatrick@chromium.org
Date: 6:05:22 PM, Monday, December 05, 2011
Message:
Implemented EGL_NV_post_sub_buffer.

The change to the sample is just to demonstrate how I tested it. I won't check in the stuff under samples/.

It's not clear to me what eglPostSubBufferNV should do if EGL_POST_SUB_BUFFER_SUPPORTED_NV is false. At the moment it fails silently as though it was called on the wrong surface type:

 "If <surface> is a back-buffered surface, then the requested portion
    of the color buffer is copied to the native window associated with
    that surface. If <surface> is a single-buffered window, pixmap, or
    pbuffer surface, eglSwapBuffers and eglPostSubBufferNV have no
    effect."
Review URL: http://codereview.appspot.com/5345050
----
Modified : /trunk/samples/build_samples.gyp
Modified : /trunk/samples/gles2_book/Common/esUtil.c
Modified : /trunk/samples/gles2_book/Common/esUtil.h
Added : /trunk/samples/gles2_book/PostSubBuffer
Added : /trunk/samples/gles2_book/PostSubBuffer/PostSubBuffer.c
Added : /trunk/samples/gles2_book/PostSubBuffer/PostSubBuffer.vcproj
Modified : /trunk/samples/samples.sln
Modified : /trunk/src/libEGL/Display.cpp
Modified : /trunk/src/libEGL/Surface.cpp
Modified : /trunk/src/libEGL/Surface.h
Modified : /trunk/src/libEGL/libEGL.cpp

Revision: 901
Author: daniel@transgaming.com
Date: 11:42:32 AM, Tuesday, November 29, 2011
Message:
Creates helper function for common subimage param checking

TRAC #18802
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Shannon Woods
----
Modified : /trunk/src/common/version.h
Modified : /trunk/src/libGLESv2/libGLESv2.cpp

Revision: 900
Author: daniel@transgaming.com
Date: 11:42:28 AM, Tuesday, November 29, 2011
Message:
Adds missing parameter checks to texture functions

TRAC #18802
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Shannon Woods
----
Modified : /trunk/src/common/version.h
Modified : /trunk/src/libGLESv2/libGLESv2.cpp

Revision: 899
Author: daniel@transgaming.com
Date: 11:42:23 AM, Tuesday, November 29, 2011
Message:
Adds a level parameter to texture getWidth and getHeight

TRAC #18802
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Shannon Woods
----
Modified : /trunk/src/common/version.h
Modified : /trunk/src/libGLESv2/Renderbuffer.cpp
Modified : /trunk/src/libGLESv2/Texture.cpp
Modified : /trunk/src/libGLESv2/Texture.h
Modified : /trunk/src/libGLESv2/libGLESv2.cpp

Revision: 898
Author: daniel@transgaming.com
Date: 9:23:51 AM, Tuesday, November 29, 2011
Message:
Checks parameters of matrices for under-fullness in shader constructor check.

TRAC #18906
Issue=218
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
----
Modified : /trunk/src/common/version.h
Modified : /trunk/src/compiler/ParseHelper.cpp

Revision: 897
Author: daniel@transgaming.com
Date: 9:21:42 AM, Tuesday, November 29, 2011
Message:
Fix post-build steps when spaces appear in directory names

TRAC #18901
Issue=245
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
----
Modified : /trunk/samples/gles2_book/MultiTexture/MultiTexture.vcproj
Modified : /trunk/samples/gles2_book/ParticleSystem/ParticleSystem.vcproj
Modified : /trunk/src/common/version.h

Revision: 895
Author: daniel@transgaming.com
Date: 2:34:26 PM, Thursday, November 24, 2011
Message:
Update major version.
----
Modified : /trunk/src/common/version.h

Revision: 894
Author: daniel@transgaming.com
Date: 2:34:22 PM, Thursday, November 24, 2011
Message:
Add another contributor
----
Modified : /trunk/CONTRIBUTORS
Modified : /trunk/src/common/version.h

Revision: 893
Author: daniel@transgaming.com
Date: 2:34:18 PM, Thursday, November 24, 2011
Message:
Update contributors
----
Modified : /trunk/CONTRIBUTORS
Modified : /trunk/src/common/version.h

Revision: 892
Author: daniel@transgaming.com
Date: 2:34:14 PM, Thursday, November 24, 2011
Message:
Fix rendering for the closing line of line loops.

Trac #19035
Signed-off-by: Nicolas Capens

Line loops via DrawArrays were incorrect because the vertex buffer already
has the vertex offset factored in.
Line loops via DrawElements were incorrect because the vertex buffer was
offset by the minIndex. We need to use the same minIndex when rendering
the closing loop.
----
Modified : /trunk/src/common/version.h
Modified : /trunk/src/libGLESv2/Context.cpp
Modified : /trunk/src/libGLESv2/Context.h

Revision: 891
Author: daniel@transgaming.com
Date: 2:34:09 PM, Thursday, November 24, 2011
Message:
Avoid rendering the last pixel of lines.

Trac #19035
Issue=257
Author: Yuriy O'Donnell

Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
----
Modified : /trunk/src/common/version.h
Modified : /trunk/src/libEGL/Display.cpp

Revision: 890
Author: daniel@transgaming.com
Date: 2:34:04 PM, Thursday, November 24, 2011
Message:
Fix HLSL translation for mod(vec2,vec2)

ANGLEBUG=258
Signed-off-by: Daniel Koch
Signed-off-by: Nicolas Capens
Author: Sam Hocevar
----
Modified : /trunk/src/common/version.h
Modified : /trunk/src/compiler/OutputHLSL.cpp
Modified : /trunk/src/compiler/OutputHLSL.h


Review URL: http://codereview.chromium.org/8856011

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@113483 0039d316-1c4b-4281-b951-d872f2087c98

gavinp/chromium,yitian134/chromium,adobe/chromium,yitian134/chromium,adobe/chromium,ropik/chromium,adobe/chromium,ropik/chromium,yitian134/chromium,ropik/chromium,gavinp/chromium,ropik/chromium,gavinp/chromium,ropik/chromium,yitian134/chromium,gavinp/chromium,ropik/chromium,adobe/chromium,ropik/chromium,yitian134/chromium,adobe/chromium,yitian134/chromium,yitian134/chromium,yitian134/chromium,yitian134/chromium,adobe/chromium,gavinp/chromium,gavinp/chromium,adobe/chromium,yitian134/chromium,adobe/chromium,gavinp/chromium,adobe/chromium,gavinp/chromium,ropik/chromium,adobe/chromium,ropik/chromium,gavinp/chromium,adobe/chromium,gavinp/chromium