|
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
|
|
74a46a5c
|
2011-09-15T18:47:53
|
|
Recognize ANDROID as a POSIX OS
BUG=207
Review URL: http://codereview.appspot.com/5016050
git-svn-id: https://angleproject.googlecode.com/svn/trunk@753 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
8a4dad60
|
2011-09-13T00:54:40
|
|
Remove path info without GetCurrentDirectory
Bug=162
TRAC #16902
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@751 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
fe4b0c9e
|
2011-09-13T00:53:11
|
|
Fix resetting of non-existing device
TRAC #18139
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@750 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
a866244f
|
2011-09-13T00:52:26
|
|
Avoid an unnecessary MFC header dependency.
Bug=180
TRAC #18128
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@749 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
f420c424
|
2011-09-12T18:27:59
|
|
Add/remove more functions to use shims.
Remove normalize and add cos instead to avoid a crash in Mac with ATI cards (angle bug 193, 202).
Also add atan and mod as it's also buggy on Mac/Win with NVIDIA cards.
Also, trying to minimize emulated functions by adding masks for fragment/vertex shaders.
ANGLEBUG=196
Review URL: http://codereview.appspot.com/4992047
git-svn-id: https://angleproject.googlecode.com/svn/trunk@748 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
2598ffff
|
2011-09-09T18:25:14
|
|
Updating ANGLE version in version.h
git-svn-id: https://angleproject.googlecode.com/svn/trunk@747 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
f5450910
|
2011-09-09T01:37:19
|
|
Fix extension behavior in shader validation.
If an extension is not specified, it is disabled by default, thus a shader should fail compiling if features from that extension are used.
ANGLEBUG=204
TEST=webgl conformance/extensions/oes-standard-derivatives.html
Review URL: http://codereview.appspot.com/4974071
git-svn-id: https://angleproject.googlecode.com/svn/trunk@745 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
83b61bc6
|
2011-09-02T18:59:24
|
|
Avoid recreating constant vertex buffers unnecessarily.
To avoid continually recreating constant vertex buffers instead use streaming buffers to hold that data.
BUG=
TEST=
Review URL: http://codereview.appspot.com/4437072
git-svn-id: https://angleproject.googlecode.com/svn/trunk@744 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
d8f3faad
|
2011-09-02T01:10:47
|
|
Avoid resending lots of D3D state
This change uses trivial caching to determines whether to reset shaders, the viewport, and the currently set vertex declaration. It also caches the render target desc to avoid rereading that. Serial numbers are added to vertex and index buffers, so resending those can be avoided.
These changes can give a big speedup (30% has been measured) on simple content, particularly when used directly or through pepper/native client.
BUG=
TEST=bunch of pages using webgl
Review URL: http://codereview.appspot.com/4964057
git-svn-id: https://angleproject.googlecode.com/svn/trunk@743 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
43cbe74e
|
2011-09-01T22:09:40
|
|
Use std::map to find correct index range
Instead of iterating through every range to find the one we're looking for, instead put them all in a map and find them with that. This helps performance with index buffers that contain a bunch of different ranges.
BUG=
TEST=
Review URL: http://codereview.appspot.com/4974051
git-svn-id: https://angleproject.googlecode.com/svn/trunk@742 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
e4eb9911
|
2011-08-29T21:13:12
|
|
Fix a bug introduced in r738.
ANGLEBUG=201
TEST=chrome gpu bots green, no complaint from Firefox/Benoit
Review URL: http://codereview.appspot.com/4956050
git-svn-id: https://angleproject.googlecode.com/svn/trunk@740 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
bde15998
|
2011-08-24T15:05:37
|
|
Issue 199: invalid assertion in Surface.cpp makes debug browser crash on conformance test drawingbuffer-static-canvas-test.html
This patch fixes assertions that were wrongly asserting that only OOM errors could occur when allocating a D3D texture/surface. The drawingbuffer-static-canvas-test.html test tries a 32768x150 size, and that fails because of the too large width without being OOM.
git-svn-id: https://angleproject.googlecode.com/svn/trunk@739 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
32e97315
|
2011-08-24T01:03:11
|
|
Emulate certain buil-in functions to work around driver bugs.
This is implemented by adding a new compile option SH_EMULATE_BUILT_IN_FUNCTIONS. The emulated functions are names as webgl_originalName_emu so there will never be naming conflicts.
At the moment only three functions are emulated: normalize, abs, sign. Also, the compile option will emulate all three. However, the mechanism to emulate only a selected subset is also imeplemented. It can be turned on easily.
ANGLEBUG=196
TEST=with this option, the failed test with abs.frag passes.
Review URL: http://codereview.appspot.com/4916043
git-svn-id: https://angleproject.googlecode.com/svn/trunk@738 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
ebbec2e7
|
2011-08-17T20:27:33
|
|
Fix version.
BUG=none
TEST=none
Review URL: http://codereview.appspot.com/4898057
git-svn-id: https://angleproject.googlecode.com/svn/trunk@736 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
0c6bb7a6
|
2011-08-17T19:39:58
|
|
Add an compile option to unroll for-loops with integer indices.
ANGLEBUG=193
TEST=with this option, for-loops with integer indices will be unrolled.
Review URL: http://codereview.appspot.com/4899047
git-svn-id: https://angleproject.googlecode.com/svn/trunk@734 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
c23ff643
|
2011-08-16T20:28:45
|
|
Implement more detailed GetString(GL_RENDERER)
Trac #17815
Issue=161
Signed-off-by: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@733 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
57f7ce00
|
2011-08-15T23:13:05
|
|
Output the precision for the return type in function declarations.
Tested with GLSL ES conformance suite (which doesn't test this) and
the WebGL conformance suite, which now contains tests to ensure that
these constructs compile correctly.
Chromium bug: http://crbug.com/86952
Review URL: http://codereview.appspot.com/4897045
git-svn-id: https://angleproject.googlecode.com/svn/trunk@731 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
75fe6b76
|
2011-08-14T05:31:22
|
|
General cleanup of compiler directory and ParseHelper.
Review URL: http://codereview.appspot.com/4801084
git-svn-id: https://angleproject.googlecode.com/svn/trunk@730 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
0958838f
|
2011-08-12T18:25:52
|
|
Fix the revision in version.h.
Revision r727 didn't set the number correctly, so r728 got it wrong too.
BUG=none
TEST=none
Review URL: http://codereview.appspot.com/4879044
git-svn-id: https://angleproject.googlecode.com/svn/trunk@729 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
09c323a4
|
2011-08-12T18:22:25
|
|
Add an option to support for GL_OES_EGL_image_external.
Comes with this extension is the new sampler type samplerExternalOES.
ANGLEBUG=175
TEST=compile the attached shader file
Review URL: http://codereview.appspot.com/4809076
git-svn-id: https://angleproject.googlecode.com/svn/trunk@728 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
6ae8f6ce
|
2011-08-10T22:21:35
|
|
Removed compiler/unistd.h reference from build_angle.gyp.
Review URL: http://codereview.appspot.com/4844062
git-svn-id: https://angleproject.googlecode.com/svn/trunk@725 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
fc3757c2
|
2011-08-10T08:08:32
|
|
bump version.h
git-svn-id: https://angleproject.googlecode.com/svn/trunk@724 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
2ac3e738
|
2011-08-10T07:59:47
|
|
Fix bugs in DXT support
Review URL: http://codereview.appspot.com/4857045
git-svn-id: https://angleproject.googlecode.com/svn/trunk@722 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
50c526d2
|
2011-08-10T05:19:44
|
|
Add support for DXT3 and DXT5
TEST=none
BUG=none
Review URL: http://codereview.appspot.com/4809068
git-svn-id: https://angleproject.googlecode.com/svn/trunk@721 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
a1a86201
|
2011-08-09T13:41:08
|
|
Release cube map surfaces on successful conversion (avoiding a memory leak).
TRAC #17749
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@720 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
97b12417
|
2011-08-09T13:40:28
|
|
Catch all CreateOffscreenPlainSurface errors in readPixels
Issue=194
TRAC #17748
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@719 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
5a0a8dd3
|
2011-08-03T20:57:52
|
|
Remove unnecessary Visit function overloading.
BUG=none
TEST=build ok, run as before
Review URL: http://codereview.appspot.com/4814063
git-svn-id: https://angleproject.googlecode.com/svn/trunk@715 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
00d02a28
|
2011-08-02T15:29:07
|
|
update version number
git-svn-id: https://angleproject.googlecode.com/svn/trunk@714 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
cb325c8e
|
2011-08-02T12:34:36
|
|
Fix Static buffer invalidation regression
Bug=139
Trac=#15143
Signed-off-by: Daniel Koch
Author: Michael Braithwaite
git-svn-id: https://angleproject.googlecode.com/svn/trunk@712 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
b1762df4
|
2011-07-30T02:04:23
|
|
Detect function recursion and reject a shader if detected.
ANGLEBUG=191
TEST=shaders with function recursion are rejected.
Review URL: http://codereview.appspot.com/4808061
git-svn-id: https://angleproject.googlecode.com/svn/trunk@711 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
bb1d1713
|
2011-07-29T16:32:31
|
|
Add Wayland typedefs to eglplatform.h
Issue=188
Author: Daniel Nicoara
git-svn-id: https://angleproject.googlecode.com/svn/trunk@709 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
8518910d
|
2011-07-29T16:32:23
|
|
Refresh EGL and GLES2 headers from Khronos registry
Based on SVN r15167
git-svn-id: https://angleproject.googlecode.com/svn/trunk@708 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
0608ad1f
|
2011-07-29T16:32:17
|
|
Win64: fix return value from lookupAttribute
Issue=190
Author: Makoto Kato
git-svn-id: https://angleproject.googlecode.com/svn/trunk@707 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
84d7cbc3
|
2011-07-14T22:53:19
|
|
Add extension to create software device.
Add an extension so that users can receive a device that renders in software. Currently this is done by loading a swiftshader dll.
BUG=
TEST=
Review URL: http://codereview.appspot.com/4631093
git-svn-id: https://angleproject.googlecode.com/svn/trunk@705 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
b481b23f
|
2011-07-08T18:03:41
|
|
Update version information
git-svn-id: https://angleproject.googlecode.com/svn/trunk@704 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
b0eb6978
|
2011-07-08T16:23:42
|
|
Fix an overflow issue when a static buffer is invalidated.
Issue=104,139,179
TRAC #15143
Signed-off-by: Daniel Koch
Author: Nicolas Capens
Original-patch-by: Yore Apex
git-svn-id: https://angleproject.googlecode.com/svn/trunk@702 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
a2a85dc1
|
2011-07-06T20:24:27
|
|
Fix DelayLoadDLLs deps for dwmapi in release builds
Issue=177
git-svn-id: https://angleproject.googlecode.com/svn/trunk@701 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
0f87e7fd
|
2011-06-24T14:03:32
|
|
Fix GrowAtomTable() on out-of-memory.
Issue=173
Signed-off-by: Daniel Koch
Author: Benoit Jacob
git-svn-id: https://angleproject.googlecode.com/svn/trunk@699 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
5bf210b2
|
2011-06-21T14:22:03
|
|
Add x86-64 project settings.
Bug=55
TRAC #15606
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@698 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
58f76fe0
|
2011-06-21T14:21:07
|
|
Fix 64-bit support.
Bug=55
TRAC #15606
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@697 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
216aa5ed
|
2011-06-17T22:31:32
|
|
Map long for-loop control variable names in shaders.
Look at TIntermLoop::traverse() in IntermTraverse.cpp, the control init part is not handled explicitly there (unlike the other two parts). It is expected hat visitLoop will cover the init part. The bug in the MapLongVariableNames is that the visitLoop doesn't do anything. This CL fixes it.
BUG=171
TEST=conformance/glsl-long-variable-names.html passing.
Review URL: http://codereview.appspot.com/4644045
git-svn-id: https://angleproject.googlecode.com/svn/trunk@696 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
dc4b4f85
|
2011-06-17T00:42:53
|
|
Always emit precision in shader variable declarations.
After the shader compile (and before code output), the precision scopes are already lost. In order to correctly output precisions, we need to emit precision in each variable declaration, therefore, each variable should have its precision set. This CL fixes the bugs that the precisions are lost for variables using default precsions and struct fields. Also, this CL fixes a bug in the grammar: constructors are not type_specifier and they shouldn't have precisions.
BUG=168
TEST=webgl conformance tests, gles2 conformance tests.
Review URL: http://codereview.appspot.com/4617041
git-svn-id: https://angleproject.googlecode.com/svn/trunk@695 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
189be2f1
|
2011-06-16T18:28:53
|
|
Emit precisions in function arguments and return type for GLES2.
BUG=none
TEST=Translator with GLES2 output backend emit precisions for function arguments and return type.
Review URL: http://codereview.appspot.com/4643042
git-svn-id: https://angleproject.googlecode.com/svn/trunk@694 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
03208d5d
|
2011-06-15T01:15:24
|
|
Attempt to ensure pipeline flush on rendertarget change
Some ATI cards appear not to flush the pipeline correctly, causing textures not to pick up newly-drawn contexts, so do an extra no-op draw when necessary.
BUG=169
TEST=chromium on hulu.com
Review URL: http://codereview.appspot.com/4576051
git-svn-id: https://angleproject.googlecode.com/svn/trunk@693 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
1179ecf4
|
2011-06-14T19:03:39
|
|
Added .rc files to gyp file so the version number appears in the resource section for gyp builds.
Review URL: http://codereview.appspot.com/4568080
git-svn-id: https://angleproject.googlecode.com/svn/trunk@692 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
2c199b17
|
2011-06-13T22:20:06
|
|
Set max vertex correctly when drawing closing line
We were setting the max vertex way too low, causing AMD cards to draw the line with an incorrect vertex.
BUG=
TEST=enable "Composited render layer borders" in chromium
Review URL: http://codereview.appspot.com/4588042
git-svn-id: https://angleproject.googlecode.com/svn/trunk@691 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
0fe4dd00
|
2011-06-10T23:20:53
|
|
update revision
git-svn-id: https://angleproject.googlecode.com/svn/trunk@689 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
5601ea0d
|
2011-06-10T18:23:25
|
|
Implement ES2 backend for Angle translator.
With this CL, we have the option to select a code output backend: GLSL, GLSL ES, or HLSL.
Note that we always emit the highest supported float precision for fragment shader due to anglebug 168. Although this is a temporary solution, it's not against GLSL ES spec, because it's ok for implementation to upgrade precision.
Tested with WebGL conformance test suite, GLES2 conformance test suite (only failed 2/1198), and a few webgl demos, including worlds of webgl, aquarium, etc.
anglebug=81
test=translator emitting correct GLSL ES code when ES2 backend is selected.
Review URL: http://codereview.appspot.com/4550129
git-svn-id: https://angleproject.googlecode.com/svn/trunk@687 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
db5d5f66
|
2011-06-08T23:50:48
|
|
Fix crlf newlines in surface.cpp
TBR=apatrick@chromium.org
git-svn-id: https://angleproject.googlecode.com/svn/trunk@686 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
3b3c1d43
|
2011-06-08T20:38:09
|
|
Revert copyImage changes from r682 as they cause regressions on some webpages
git-svn-id: https://angleproject.googlecode.com/svn/trunk@684 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
82e7e9d0
|
2011-06-08T18:43:16
|
|
Recommit r668, which got undone accidentally by r673.
Review URL: http://codereview.appspot.com/4589043
git-svn-id: https://angleproject.googlecode.com/svn/trunk@683 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
406cc109
|
2011-06-08T12:42:28
|
|
No need to update texture before overwriting it with CopyImage.
Issue=163
TRAC #17019
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@682 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
3203c108
|
2011-06-08T12:41:32
|
|
Fix multi-sample state management.
Issue=160
TRAC #16817
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@681 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
d6e74da1
|
2011-06-08T12:40:23
|
|
Add missing DWM libraries to Release project.
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@680 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
837dd9ab
|
2011-06-07T00:40:33
|
|
Do not set a WNDPROC on a window created by another thread.
It turns out SetWindowLong succeeds for other threads in the same process but we do not want the WNDPROC to be called from threads other than the thread on which EGL is running on. This was one of the reasons --in-process-gpu was not working with ANGLE in Chrome.
Review URL: http://codereview.appspot.com/4576045
git-svn-id: https://angleproject.googlecode.com/svn/trunk@677 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
79169b5a
|
2011-06-06T19:01:08
|
|
Use DwmAPI, if available, to minimize queueing of presents.
Review URL: http://codereview.appspot.com/4559065
git-svn-id: https://angleproject.googlecode.com/svn/trunk@673 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
250f06c9
|
2011-06-06T16:59:53
|
|
Made it possible to turn off D3D9Ex support with a command-line compiler option.
The "Debug This Pixel..." feature in PIX often fails when using the
D3D9Ex interfaces. In order to get debug pixel to work on a Vista/Win 7
machine, define "ANGLE_ENABLE_D3D9EX=0" in your project file.
Review URL: http://codereview.appspot.com/4526106
git-svn-id: https://angleproject.googlecode.com/svn/trunk@672 736b8ea6-26fd-11df-bfd4-992fa37f6226
|