|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
78624ca0
|
2011-04-22T04:17:57
|
|
Heuristically optimize buffer usage.
TRAC #16343
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@616 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
72b9e18c
|
2011-04-13T14:58:33
|
|
Optimized prepareVertexData and protect against NULL pointers.
TRAC #14871
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@614 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
baa7451e
|
2011-04-13T14:56:47
|
|
Eliminate lookupAttributeMapping.
TRAC #14871
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@612 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
2cec2f3a
|
2011-04-06T18:59:51
|
|
Profiling shows that creating and destroying vertex declarations is extremely expensive, so we can keep a 16-element cache around to speed that up.
BUG=
TEST=JSGameBench
Review URL: http://codereview.appspot.com/4358051
git-svn-id: https://angleproject.googlecode.com/svn/trunk@609 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
8fd34bd6
|
2011-02-18T02:52:14
|
|
Move geometry files.
TRAC #15649
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@564 736b8ea6-26fd-11df-bfd4-992fa37f6226
|