|
bb5223d0
|
2012-01-24T13:38:10
|
|
Fix float texture support test
Trac #19573
Issue=281
Signed-off-by: Shannon Woods
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@957 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
b66a7015
|
2012-01-23T20:04:48
|
|
Moved RefCountObject to common so it can be used by libEGL.
Review URL: https://codereview.appspot.com/5557064
git-svn-id: https://angleproject.googlecode.com/svn/trunk@956 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
551022eb
|
2012-01-23T19:56:54
|
|
Rename IslTextureTarget to IsInternalTextureTarget.
TEXTURE_EXTERNAL is not considered an internal texture target.
Review URL: https://codereview.appspot.com/5556067
git-svn-id: https://angleproject.googlecode.com/svn/trunk@955 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
77b95e1c
|
2012-01-23T17:09:06
|
|
Detect GNU Hurd and Debian kFreeBSD as ANGLE_OS_POSIX
See https://bugzilla.mozilla.org/show_bug.cgi?id=711353
Patch by Mike Hommey
git-svn-id: https://angleproject.googlecode.com/svn/trunk@954 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
d08aa75e
|
2012-01-20T23:50:06
|
|
Increase size of output buffer for pix to 32768
We output entire hlsl shaders into this buffer, so 4096 bytes was too small.
BUG=
TEST=
Review URL: https://codereview.appspot.com/5532094
git-svn-id: https://angleproject.googlecode.com/svn/trunk@953 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
86bdb824
|
2012-01-20T18:24:39
|
|
Adds support for EXT_occlusion_query_boolean
TRAC #19360
Signed-off-by: Daniel Koch
Authored-by: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@951 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
b9f64aae
|
2012-01-20T00:35:15
|
|
Use a global ref-counted singleton for long name map.
This makes sure the same varying/uniform variables maps to the unique name in vertex/fragment shader.
BUG=
TEST=webgl conformance tests
Review URL: https://codereview.appspot.com/5556065
git-svn-id: https://angleproject.googlecode.com/svn/trunk@950 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
9996b8e6
|
2012-01-19T01:43:55
|
|
Rollback r942.
MapLongVariableNames inherits from TIntermTraverser, and TIntermTraverser uses ANGLE's memory allocator, thus the memory is released per compilation. Our design is for MapLongVariableNames to be a singleton across all compilations, thus, this is not working.
BUG=
TEST=
TBR=kbr
Review URL: https://codereview.appspot.com/5556053
git-svn-id: https://angleproject.googlecode.com/svn/trunk@949 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
2678b34b
|
2012-01-18T16:29:40
|
|
Changes the pointer from textures to their renderbuffer proxies to non-refcounted (2/2)
TRAC #19335
Issue=271
Instead, the texture maintains an internal refcount which causes the pointer to behave
kind of like a "weak" shared pointer-- its reference won't prevent the renderbuffer from
being deleted, but if the renderbuffer's refcount drops to zero, the texture should set
its pointer to the renderbuffer to null so that a new one can be created at the next
getRenderbuffer call.
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/trunk@948 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
6575602e
|
2012-01-17T21:45:38
|
|
Finished off the GLSL compiler's support for parsing shaders using OES_EGL_image_external.
The GLSL to HLSL translator work is not done yet so the extension is disabled in Shader.cpp.
Review URL: https://codereview.appspot.com/5530081
git-svn-id: https://angleproject.googlecode.com/svn/trunk@946 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
8983cbc5
|
2012-01-17T14:10:19
|
|
Refresh EGL/eglext.h from Khronos
git-svn-id: https://angleproject.googlecode.com/svn/trunk@944 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
4625d27b
|
2012-01-13T00:29:21
|
|
Long name mapping needs to be consistent between vertex/fragment shaders.
For example: varying variables, uniforms.
This CL makes MapLongVariableNames a ref-counted singleton and therefore, the map is shared by all shaders.
Also, function/variable names changes from Varying to Global because uniforms also need to be consistent, not just varying variables.
ANGLEBUG=279
TEST=webgl conformance tests, especially invalid-passed-params.html and glsl-long-variable-names.html
Review URL: http://codereview.appspot.com/5539046
git-svn-id: https://angleproject.googlecode.com/svn/trunk@942 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
f289ee8d
|
2012-01-11T20:03:29
|
|
Allocate D3D queries from a pool for the Display.
This is a workaround for an Intel bug.
The crash looks like this:
0x5f816c53 [d3d9.dll + 0x00036c53] CQuery::~CQuery()
0x5f816bec [d3d9.dll + 0x00036bec] CQuery::`vector deleting
destructor'(unsigned int)
0x5f7e8129 [d3d9.dll + 0x00008129] CBaseObject::~CBaseObject()
0x5f9e19c7 [libglesv2.dll + 0x000319c7] gl::Fence::`vector deleting
destructor'(unsigned int)
0x5f9de78e [libglesv2.dll - context.cpp:975] gl::Context::deleteFence(unsigned
int)
0x5f9e1491 [libglesv2.dll - context.cpp:198] gl::Context::~Context()
0x5f9e182f [libglesv2.dll - context.cpp:3936] glDestroyContext
0x717654ec [libegl.dll -
display.cpp:749] egl::Display::destroyContext(gl::Context *)
0x7176a3da [libegl.dll - libegl.cpp:907] eglDestroyContext
0x64fbaf33 [chrome.dll - gl_context_egl.cc:75] gfx::GLContextEGL::Destroy()
The vendor ID is always 8086 (Intel). Not an XP issue - it's happening on Win
7.
With this change, D3D queries are only released when the display is destroyed or reset or if a very high number of D3D queries have been allocated.
Tested by stepping exercising the NV_fence entry points in a debugger.
Review URL: http://codereview.appspot.com/5534065
git-svn-id: https://angleproject.googlecode.com/svn/trunk@941 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
a5ddde91
|
2012-01-10T23:00:07
|
|
Move Context::sync to Display::sync.
This is a workaround for an Intel bug.
The crash looks like this:
0x5f816c53 [d3d9.dll + 0x00036c53] CQuery::~CQuery()
0x5f816bec [d3d9.dll + 0x00036bec] CQuery::`vector deleting
destructor'(unsigned int)
0x5f7e8129 [d3d9.dll + 0x00008129] CBaseObject::~CBaseObject()
0x5f9e19c7 [libglesv2.dll + 0x000319c7] gl::Fence::`vector deleting
destructor'(unsigned int)
0x5f9de78e [libglesv2.dll - context.cpp:975] gl::Context::deleteFence(unsigned
int)
0x5f9e1491 [libglesv2.dll - context.cpp:198] gl::Context::~Context()
0x5f9e182f [libglesv2.dll - context.cpp:3936] glDestroyContext
0x717654ec [libegl.dll -
display.cpp:749] egl::Display::destroyContext(gl::Context *)
0x7176a3da [libegl.dll - libegl.cpp:907] eglDestroyContext
0x64fbaf33 [chrome.dll - gl_context_egl.cc:75] gfx::GLContextEGL::Destroy()
This is a crash in deleteFence but the same could happen in flush. Fix for the former to follow.
The vendor ID is always 8086 (Intel). Not an XP issue - it's happening on Win
7.
Tested by stepping through a call to glFinish in the debugger and ensuring that
it sleeps but eventually returns.
Review URL: http://codereview.appspot.com/5503094
git-svn-id: https://angleproject.googlecode.com/svn/trunk@940 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
89c9813b
|
2012-01-06T02:17:03
|
|
Fix a bug in long variable name mapping.
Originally we only match varying variables in vertex/fragment shaders. However, we should also match uniform names. For example, if a uniform variable name is used in both vertex and fragment shader, and after mapping the names are different, then the name mapping table is no longer 1:1.
BUG=106638 (crbug)
TEST=http://seanseefried.com/chrome-bug/simple-broken.html shows a magenta square
Review URL: http://codereview.appspot.com/5520051
git-svn-id: https://angleproject.googlecode.com/svn/trunk@939 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
9a4d112c
|
2012-01-05T20:06:28
|
|
Fix off-by-one error in enforcement of WebGL's maximum struct nesting.
BUG=http://code.google.com/p/angleproject/issues/detail?id=275
TEST=WebGL conformance suite
TBR=nicolas
Review URL: http://codereview.appspot.com/5520049
git-svn-id: https://angleproject.googlecode.com/svn/trunk@938 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
56397df3
|
2011-12-22T19:39:18
|
|
Removes an unneeded GetDesc call from Clear
TRAC #19330
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Authored-by: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@930 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
c8d46066
|
2011-12-22T19:39:14
|
|
Ensure texture storage exists before retrieving serial
Trac #19330
Signed-off-by: Nicolas Capens
In some cases we were trying to retrieve a serial from
a rendertarget texture which didn't have the storage allocated yet.
This was resulting in a 0 serial which was indistinguishable from
the case where context was just marked dirty and we assumed
the target was up-to-date. This resulted in
failing to apply the correct rendertarget and as a result
some d3d clear calls were failing (picked up by debug runtime).
git-svn-id: https://angleproject.googlecode.com/svn/trunk@929 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
4d6c6d75
|
2011-12-22T19:36:50
|
|
Only allow renderable d3dformats to be flagged as rendertarget texstorage
Trac #19356
Issue=273
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@928 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
2e566dc3
|
2011-12-22T19:36:47
|
|
rename TextureStorage renderable flag to reflect it's actual usage
Trac #19356
Issue=273
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@927 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
b9aa00b2
|
2011-12-22T19:36:42
|
|
Refactor image renderability lookup
Trac #19356
Issue=273
Signed-off-by: Nicolas Capens
Based on preliminary patch from Ken Russell
Images are never renderable directly, so renaming the Image::isRenderable function clarifies that we are
only checking on the renderability of the format.
Also factor out the lookup to a static helper function (it will be used elsewhere in the next patch)
git-svn-id: https://angleproject.googlecode.com/svn/trunk@926 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
d9a54f98
|
2011-12-22T18:32:53
|
|
Fixed gl_FragCoord.y calculation
TRAC #19349
ANGLEBUG=272
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@925 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
e7289839
|
2011-12-16T23:30:52
|
|
Check device loss between GetData calls when blocking
Trac #19246
Issue=262
Some drivers don't properly return device lost
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@924 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
df363721
|
2011-12-16T23:29:53
|
|
Re-enable advertising EXT_texture_storage
Trac #19259
Issue=268
The problems on d3d9/winxp have been fixed.
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@923 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
5f7dc33d
|
2011-12-13T22:48:00
|
|
Use the correct function to determine texture pool
Trac #19259
Issue=269
git-svn-id: https://angleproject.googlecode.com/svn/trunk@912 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
6a05be4c
|
2011-12-13T18:19:29
|
|
Update version.
git-svn-id: https://angleproject.googlecode.com/svn/trunk@911 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
e19d8328
|
2011-12-13T17:30:48
|
|
Ensure the device states are reinitialized after a device Reset
Trac #19246
Issue=262
After a device lost the "mSceneStarted" variable was getting out
of sync and thus we were never restarting the scene before drawing.
It's probably best to ensure that any default states we need are
also set after a reset.
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@909 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
a5798959
|
2011-12-13T17:30:43
|
|
Fix more rendertarget leaks
Trac #19246
Issue=262
FBO rendertargets are explicitly refcounted.
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@908 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
82b28913
|
2011-12-12T21:01:35
|
|
Fix error reporting for lost contexts
Trac #19246
Issue=262
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@906 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
7f4dee14
|
2011-12-07T21:14:00
|
|
Guard against releasing NULL textures.
ANGLEBUG=265
TRAC #19196
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@905 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
d3552230
|
2011-12-07T19:11:33
|
|
Update version to 904.
Review URL: http://codereview.appspot.com/5449113
git-svn-id: https://angleproject.googlecode.com/svn/trunk@904 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
343373ab
|
2011-11-29T19:42:32
|
|
Creates helper function for common subimage param checking
TRAC #18802
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@901 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
21f05d75
|
2011-11-29T19:42:28
|
|
Adds missing parameter checks to texture functions
TRAC #18802
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@900 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
f1286449
|
2011-11-29T19:42:23
|
|
Adds a level parameter to texture getWidth and getHeight
TRAC #18802
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@899 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
67d72526
|
2011-11-29T17:23:51
|
|
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
git-svn-id: https://angleproject.googlecode.com/svn/trunk@898 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
805a49ab
|
2011-11-29T17:21:42
|
|
Fix post-build steps when spaces appear in directory names
TRAC #18901
Issue=245
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/trunk@897 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
4d04f90d
|
2011-11-24T22:34:26
|
|
Update major version.
git-svn-id: https://angleproject.googlecode.com/svn/trunk@895 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
ffc4e74d
|
2011-11-24T22:34:22
|
|
Add another contributor
git-svn-id: https://angleproject.googlecode.com/svn/trunk@894 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
f5cfcd2d
|
2011-11-24T22:34:18
|
|
Update contributors
git-svn-id: https://angleproject.googlecode.com/svn/trunk@893 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
102ca746
|
2011-11-24T22:34:14
|
|
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.
git-svn-id: https://angleproject.googlecode.com/svn/trunk@892 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
7a2fdc9c
|
2011-11-24T22:34:09
|
|
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
git-svn-id: https://angleproject.googlecode.com/svn/trunk@891 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
4229f59f
|
2011-11-24T22:34:04
|
|
Fix HLSL translation for mod(vec2,vec2)
ANGLEBUG=258
Signed-off-by: Daniel Koch
Signed-off-by: Nicolas Capens
Author: Sam Hocevar
git-svn-id: https://angleproject.googlecode.com/svn/trunk@890 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
56d46abe
|
2011-11-23T14:53:10
|
|
Add GL_ANGLE_pack_reverse_row_order. Performs vertical flip in readPixels and
may write direct to client ptr.
Bug=none
Test= Tested in a modified version of Chromium using canvas2D.
Review URL: http://codereview.appspot.com/5373104
git-svn-id: https://angleproject.googlecode.com/svn/trunk@889 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
205fef33
|
2011-11-22T20:50:02
|
|
Added support for GL_ARB_texture_rectangle to shader validator.
Parser was regenerated with the flex/bison shipped with Ubuntu 10.04.
BUG=251
TEST=tested with new Core Animation plugin rendering path on Mac OS X
Review URL: http://codereview.appspot.com/5432044
git-svn-id: https://angleproject.googlecode.com/svn/trunk@888 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
32b11443
|
2011-11-19T02:42:48
|
|
Checks level on relevant gl calls against implementation maximum.
TRAC #18905
Issue=243
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/trunk@885 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
059fc15f
|
2011-11-18T19:26:17
|
|
Fix count of elements in buffer
There can be one extra element at the end even if an entire stride doesn't fit.
BUG=
TEST=
Review URL: http://codereview.appspot.com/5401046
git-svn-id: https://angleproject.googlecode.com/svn/trunk@884 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
1e44645a
|
2011-11-16T03:56:50
|
|
Immutable textures are always mipmap complete.
TRAC #18730
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@883 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
6364b350
|
2011-11-16T03:56:44
|
|
Split completeness tests into sampler and mipmap completeness.
TRAC #18730
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@882 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
45b888ad
|
2011-11-16T03:56:39
|
|
Correct texture storage levels count validation.
TRAC #18730
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@881 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
c333699d
|
2011-11-14T21:15:45
|
|
Fixed vertex sampler index retrieval.
TRAC #18865
ANGLEBUG=247
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@880 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
1625d7d4
|
2011-11-14T21:15:39
|
|
Fixed the incorrect TQualifier on gl_FragData.
Signed-off-by: Daniel Koch
Author: Mark Callow
git-svn-id: https://angleproject.googlecode.com/svn/trunk@879 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
e1301a3c
|
2011-11-12T04:44:03
|
|
Add extension specifications
git-svn-id: https://angleproject.googlecode.com/svn/trunk@878 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
43911ec8
|
2011-11-12T04:30:04
|
|
Add new function prototypes to gl2ext.h
Trac #18608
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@877 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
888df06d
|
2011-11-12T04:26:13
|
|
Resync version #876
git-svn-id: https://angleproject.googlecode.com/svn/trunk@876 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
33b609f5
|
2011-11-12T03:25:36
|
|
Update revision info
git-svn-id: https://angleproject.googlecode.com/svn/trunk@873 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
9112d2a9
|
2011-11-11T04:19:55
|
|
update revision
git-svn-id: https://angleproject.googlecode.com/svn/trunk@864 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
8747f18f
|
2011-11-09T17:50:38
|
|
Advertise robustness extension strings.
Trac #18607
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@850 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
4ccb8b5e
|
2011-11-03T23:10:58
|
|
Bump version
BUG=
TEST=
Review URL: http://codereview.appspot.com/5320073
git-svn-id: https://angleproject.googlecode.com/svn/trunk@813 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
476541f6
|
2011-10-27T21:14:51
|
|
Implemented new restrictions on nesting of structs in WebGL shaders.
Added previously missing check for embedded structs; even though these
attempts would be caught by an underlying GLSL compiler, the shader
validator should not let them through.
BUG=http://code.google.com/p/angleproject/issues/detail?id=235
TEST=WebGL conformance tests
Review URL: http://codereview.appspot.com/5327046
git-svn-id: https://angleproject.googlecode.com/svn/trunk@809 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
c5a7b690
|
2011-10-26T02:45:44
|
|
Fix compilation due to merge issue.
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@808 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
0d86aa7b
|
2011-10-26T02:35:10
|
|
Implement glFinish using event queries.
ANGLEBUG=232
TRAC #18650
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@807 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
96a4a6ce
|
2011-10-26T02:33:46
|
|
Avoid repeated getDevice() calls when applying uniforms.
TRAC #18399
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@806 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
c941e25b
|
2011-10-26T02:32:31
|
|
Eliminate getDisplay() and getDevice() calls within the Context.
TRAC #18399
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@805 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
22152117
|
2011-10-26T01:18:28
|
|
Limit copied uniform and vertex attribute names to the implicit size of the
buffers passed in. Increase the size of the buffer the client will allocate
for mapped names to be equal to the maximum token length.
BUG=http://code.google.com/p/angleproject/issues/detail?id=234
TEST=WebGL conformance test to be checked in soon
Review URL: http://codereview.appspot.com/5306063
git-svn-id: https://angleproject.googlecode.com/svn/trunk@804 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
fdea6946
|
2011-10-24T22:28:18
|
|
Checked in change that should have been in r801.
Review URL: http://codereview.appspot.com/5318051
git-svn-id: https://angleproject.googlecode.com/svn/trunk@803 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
cf094c00
|
2011-10-24T19:42:38
|
|
Issue 220 - let mCurrentValueOffsets be an array of size_t's to fix a 64bit compilation error
git-svn-id: https://angleproject.googlecode.com/svn/trunk@802 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
22eab922
|
2011-10-21T01:16:42
|
|
Allowed translator_hlsl and glsl to be built as shared libs on windows.
The problem was gyp was out-of-date (I rolled it to 1080) and ShaderLang.cpp exports were not being exported because it was in translator_common which is a static lib.
I tested shared library and static library builds in debug and release and also the checked in ANGLE.sln build.
See original attempt: http://codereview.appspot.com/5305052/.
Review URL: http://codereview.appspot.com/5305053
git-svn-id: https://angleproject.googlecode.com/svn/trunk@801 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
72e8f447
|
2011-10-20T00:22:01
|
|
Avoid unnecessarily copying uniforms
Transpose and expand matrices and float vectors when copied on setUniform (and getUniform) to avoid allocating an array and doing that on applyUniform. Then use straight D3D calls, not D3DX, to possibly avoid another copy. Gets NaCl donuts test from 19->25 fps.
BUG=
TEST=webgl conformance tests
Review URL: http://codereview.appspot.com/5229056
git-svn-id: https://angleproject.googlecode.com/svn/trunk@800 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
3442c2bb
|
2011-10-19T15:32:37
|
|
Fix contribution
git-svn-id: https://angleproject.googlecode.com/svn/trunk@799 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
a033e02d
|
2011-10-19T13:29:32
|
|
VC11 fails to build angle because oppl_allocator::operator= does not exist
ANGLEBUG=229
Signed-off-by: Nicolas Capens
Author: Ehsan Akhgari
git-svn-id: https://angleproject.googlecode.com/svn/trunk@798 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
a9ae4aa9
|
2011-10-19T13:29:27
|
|
Fix for bogus "Bad aggregation op" error when dumping intermediate tree
Bug=228
Author: Mark Callow
git-svn-id: https://angleproject.googlecode.com/svn/trunk@797 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
b6e7222c
|
2011-10-18T23:01:46
|
|
Avoid iterating over unused samplers.
Keep track of the maximum used sampler to avoid expensive iterations in applyTextures and validateSamplers.
BUG=
TEST=webgl conformance tests
Review URL: http://codereview.appspot.com/5246061
git-svn-id: https://angleproject.googlecode.com/svn/trunk@795 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
040c4db3
|
2011-10-13T21:35:52
|
|
Cache currently-bound draw buffer.
Avoids a hash table lookup
BUG=
TEST=webgl conformance tests
Review URL: http://codereview.appspot.com/5261042
git-svn-id: https://angleproject.googlecode.com/svn/trunk@794 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
54f59ef8
|
2011-10-12T17:03:34
|
|
Don't reupload DX uniforms unless necessary
Makes Donuts NaCl test go from 14->16 fps.
BUG=
TEST=webgl conformance tests
Review URL: http://codereview.appspot.com/5233056
git-svn-id: https://angleproject.googlecode.com/svn/trunk@793 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
a28233e5
|
2011-10-12T16:51:33
|
|
Iterate directly over uniforms when applying them
Directly iterate over uniforms, not over uniform locations, so we don't waste time looking at locations in the middle of arrays. Gets about 1 fps on a NaCl benchmark.
BUG=
TEST=webgl conformance tests
Review URL: http://codereview.appspot.com/5210042
git-svn-id: https://angleproject.googlecode.com/svn/trunk@792 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
4d27f3b4
|
2011-10-12T16:20:00
|
|
Update contributor list
git-svn-id: https://angleproject.googlecode.com/svn/trunk@791 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
7f02008a
|
2011-10-12T16:19:54
|
|
Fix compiler warnings in translator.cpp
Bug=227
Author: Mark Callow
git-svn-id: https://angleproject.googlecode.com/svn/trunk@790 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
876f47ad
|
2011-10-12T16:19:48
|
|
Fix essl_to_hlsl project configurations
Bug=226
Author: Mark Callow
git-svn-id: https://angleproject.googlecode.com/svn/trunk@789 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
eef0e27c
|
2011-10-12T16:19:36
|
|
Fix link errors caused by static use of perf related functions even when ANGLE_DISABLE_PERF is defined.
Bug=225
Author: Mark Callow
git-svn-id: https://angleproject.googlecode.com/svn/trunk@788 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
8b3c1afb
|
2011-10-12T01:21:41
|
|
Improve performance of applyRenderTarget and applyTextures
Get rid of unnecessary GetSurfaceLevel/Release calls, move invariants out of the applyTextures loop, and fix the if in getSemanticIndex so we can avoid calling getMaximumCombinedTextureImageUnits. Gets donuts NaCl demo from 14->16 fps.
BUG=
TEST=webgl conformance tests
Review URL: http://codereview.appspot.com/5248057
git-svn-id: https://angleproject.googlecode.com/svn/trunk@787 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
c6209856
|
2011-10-07T15:19:26
|
|
Cache the current program pointer
Hash table lookups are somewhat expensive, so cache a pointer to the current program for on a context. This gains about 3 fps (from 58) on a Native Client demo.
BUG=
TEST=webgl conformance tests
Review URL: http://codereview.appspot.com/5206042
git-svn-id: https://angleproject.googlecode.com/svn/trunk@786 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
50297fc1
|
2011-10-05T18:43:27
|
|
Assign proper enum to GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE
Trac #18416
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@785 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
ccb38417
|
2011-10-04T18:43:40
|
|
Support multiple nested ternary operators per statement
TRAC #18382
ANGLEBUG=203,208
Signed-off-by: Daniel Koch
Author: Nicolas Capens
- by incrementing the temporary index, adding 1 for every nesting level, and rewinding it after each traverse.
Also fixed multiple ternary operator unfolding for loops.
git-svn-id: https://angleproject.googlecode.com/svn/trunk@784 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
c0d73ed8
|
2011-10-04T18:43:30
|
|
Use a different name for ternary operator unfolding temporaries, to avoid clashes with T x = x handling.
TRAC #18382
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@783 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
2fa45510
|
2011-10-04T18:43:18
|
|
Correct glFramebufferRenderbuffer behavior for renderbuffer = 0.
TRAC #18388
ANGLEBUG=211
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@782 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
aa5e59b3
|
2011-10-04T18:43:12
|
|
Don't unlink when detaching shaders.
TRAC #18385
ANGLEBUG=221
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@781 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
a574f78f
|
2011-10-03T21:45:23
|
|
Add an extension for querying translated HLSL shader source.
Review URL: http://codereview.appspot.com/5149046
git-svn-id: https://angleproject.googlecode.com/svn/trunk@780 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
ad7ab332
|
2011-09-27T21:34:10
|
|
Fix the version number.
Review URL: http://codereview.appspot.com/5132054
git-svn-id: https://angleproject.googlecode.com/svn/trunk@774 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
aa9c5ca9
|
2011-09-26T21:10:13
|
|
Reset mUnmodifiedDataUse after bufferSubData
Without this, enough draws from a buffer modified only with bufferSubData will cause it to switch become static.
BUG=
TEST=
Review URL: http://codereview.appspot.com/5123042
git-svn-id: https://angleproject.googlecode.com/svn/trunk@769 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
1a1fe249
|
2011-09-26T18:25:45
|
|
Sort EGL extension string
Trac #18320
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@768 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
8440e3f0
|
2011-09-26T18:25:12
|
|
Enumerate GL extensions in sorted order
Trac #18320
Sort order is OES, EXT, vendor
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@767 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
55d48c74
|
2011-09-26T18:24:36
|
|
Create structure definitions for structures in a return statement.
TRAC #18319
ANGLEBUG=185
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@766 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
7fb81e83
|
2011-09-23T18:20:46
|
|
Fix single statement loops.
TRAC #18301
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@765 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
aa00b593
|
2011-09-23T18:19:50
|
|
Disable FLIPEX when the formats are not 32-bit and when swap interval is 0.
TRAC #18108
ANGLEBUG=209
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@764 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
fd80254e
|
2011-09-23T18:19:41
|
|
Validate the stride of static buffer attributes.
TRAC #18268
ANGLEBUG=213
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@763 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
23c9e315
|
2011-09-21T22:16:44
|
|
Save stream source 0 in stateblock when doing masked color clear.
BUG=214
TEST=webgl conformance tests
Review URL: http://codereview.appspot.com/5085046
git-svn-id: https://angleproject.googlecode.com/svn/trunk@762 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
51db7fb1
|
2011-09-20T16:11:06
|
|
Optimize string comparisons by avoiding the creation of temporary substrings.
TRAC #16567
Bug=136
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@761 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
c72c6416
|
2011-09-20T16:09:17
|
|
Decorate arrays uniforms with "ar_" to identify arrays of size 1.
TRAC #16567
Bug=136
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@760 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
024f1a91
|
2011-09-20T16:06:25
|
|
Optimize uniform handling by storing both decorated and undecorated names. Use a consistent naming scheme to clarify decorated/undecorated name usage.
TRAC #16567
Bug=136
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@759 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
a3b4ab4c
|
2011-09-16T00:53:26
|
|
Further work on the function emulation.
This is to work around driver bugs. We added more functions, and removed some unnecessary ones. Remove the function group because we have flags for each function now. Use more macros instead of functions. Don't emit global precision because that will affect all later code.
ANGLEBUG=196
TEST=build and test on Mac ATI/NVIDIA, fixes the failing webgl glsl conformance tests.
Review URL: http://codereview.appspot.com/5011053
git-svn-id: https://angleproject.googlecode.com/svn/trunk@754 736b8ea6-26fd-11df-bfd4-992fa37f6226
|