|
f112217a
|
2012-10-31T18:07:20
|
|
Eliminate use of global getDevice() function.
Trac #21727
Everything must go through the renderer.
Conflicts:
src/libGLESv2/Texture.cpp
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1334 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
e4733d7e
|
2012-10-31T18:07:01
|
|
Move shader cache into Renderer
Trac #21727
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1333 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
f688c0d1
|
2012-10-31T17:52:57
|
|
Make testDeviceLoss able to perform the notifications
Trac #21727
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1332 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
ef21ab29
|
2012-10-31T17:52:47
|
|
Move query and sync support to Renderer
Trac #21727
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1331 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
313e3924
|
2012-10-31T17:52:39
|
|
Move Sharehandle support query to renderer
Trac #21727
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1330 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
621ce053
|
2012-10-31T17:52:29
|
|
Add Renderer class and move functionality from Display
Trac #21727
Conflicts:
src/libGLESv2/Texture.cpp
src/libGLESv2/libGLESv2.vcxproj
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1329 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
71621a88
|
2012-10-30T20:53:15
|
|
creating branch for dx11 prototype
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1328 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
fdeb2547
|
2012-10-26T19:53:10
|
|
Issue 354: remove ANGLE_USE_NSPR (revert r454)
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1327 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
b401a92b
|
2012-10-26T18:58:24
|
|
Move the new preprocessor out of the 'new' directory.
TRAC #21966
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1326 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
3be1d571
|
2012-10-26T18:58:16
|
|
Removed the old preprocessor source, interface and license.
TRAC #21966
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1325 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
a646c916
|
2012-10-26T18:58:12
|
|
Removed the compile flag to select between preprocessors, always using the new one.
TRAC #21966
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1324 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
ca9a3c87
|
2012-10-26T18:55:07
|
|
Avoids uploading levels other than 0 for incomplete textures.
TRAC #21815
Fixes compressed texture test assertion in WebGL top-of-tree conformance suite when running with debug build
Signed-off-by: Daniel Koch
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1323 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
bef72cee
|
2012-10-23T20:36:33
|
|
Fix Float16ToFloat32.py. Issue #376.
Review URL: https://codereview.appspot.com/6651047
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1320 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
778cd1ba
|
2012-10-18T00:03:26
|
|
Add missing <string> include in D3DConstantTable.h
Issue=379
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1318 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
8d804799
|
2012-10-17T21:33:48
|
|
Add Variable Packing checks to ANGLE
BUG=373
TEST=unit tests
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1317 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
0d3b36de
|
2012-10-17T20:58:50
|
|
.gitignore: Add *.target.mk, generated when building as part of ChromiumOS
BUG=None
TEST=Build Chromium and ChromiumOS from source, and run "repo status",
with and without this change.
Contributed by Josh Triplett <josh.triplett@intel.com>
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1316 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
6b38df54
|
2012-10-17T18:31:24
|
|
Update project includes to remove explicit DXSDK usage.
Trac #21647
This allows ANGLE to be built with either the Win8 SDK or the DX SDK
with appropriate configuration on a VS2010 install. See wiki for details.
Signed-off-by: Shannon Woods
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1315 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
a841b11d
|
2012-10-17T18:30:14
|
|
Only replace image surfaces with equal-sized managed surfaces.
TRAC #21621
Issue=311
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1314 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
853b577f
|
2012-10-17T18:30:10
|
|
Fixed support for updating from managed surfaces.
TRAC #21621
Issue=311
Signed-off-by: Daniel Koch
Author: Nicolas Capens
(Fixes XP path that was broken in r1308)
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1313 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
2e38b800
|
2012-10-17T18:30:06
|
|
Eliminated D3DXLoadSurfaceFromSurface from glGenerateMipmaps.
TRAC #21621
Issue=311
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1312 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
8ea6942a
|
2012-10-17T18:30:03
|
|
Eliminated D3DXLoadSurfaceFromSurface from Image::copy.
TRAC #21621
Issue=311
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1311 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
dabf0027
|
2012-10-17T18:29:59
|
|
Eliminated D3DXLoadSurfaceFromSurface from copyToRenderTarget.
TRAC #21621
Issue=311
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1310 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
4bb04bef
|
2012-10-17T18:29:55
|
|
Eliminate D3DXLoadSurfaceFromSurface from setManagedSurface.
TRAC #21621
Issue=311
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1309 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
e0adbd80
|
2012-10-17T18:29:52
|
|
Removed an unreachable path in texture loading code
TRAC #21621
Issue=311
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1308 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
0e5bb409
|
2012-10-17T18:24:53
|
|
Also prototype the Lod0 function variant if needed.
TRAC #21842
Issue=374
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1307 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
fad16ed4
|
2012-10-17T18:24:01
|
|
Make DllMain have C linkage.
TRAC #21839
Issue=377
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1306 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
5127803f
|
2012-10-17T18:22:51
|
|
Don't promote packed RGB textures to RGBA d3d surfaces.
TRAC #21591
Issue=362
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1305 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
6b1a0a0c
|
2012-10-17T18:22:47
|
|
Some cleanup after the previous sized internal format patches
TRAC #21609
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1304 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
8e91d25a
|
2012-10-17T18:22:44
|
|
Removes D3D format usage from framebuffer completeness check.
TRAC #21609
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1303 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
d4211110
|
2012-10-17T18:22:40
|
|
Adds BGRA packed sized internal formats
TRAC #21609
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1302 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
6452adf7
|
2012-10-17T18:22:35
|
|
Tracks sized internal formats for textures.
TRAC #21609
Signed-off-by: Daniel Koch
Author: Shannon Woods <shannon.woods@transgaming.com>
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1301 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
c60c15c0
|
2012-10-17T18:15:14
|
|
Add filter files for VS2010 Solution browser
Trac #21647
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1300 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
ad52cb1a
|
2012-10-17T18:14:45
|
|
Fixes cases where desired destination format was ignored by CopyTexImage.
TRAC #21595
Issue=339
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1299 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
2187b4a3
|
2012-10-17T18:12:07
|
|
Delete old .vcproj files that were replaced by .vcxproj files
Trac #21647
Signed-off-by: Shannon Woods
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1298 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
de779f14
|
2012-10-17T18:11:59
|
|
Add DXSDK_DIR include and lib paths
Trac #21647
Signed-off-by: Shannon Woods
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1297 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
d99f9a45
|
2012-10-17T18:11:55
|
|
Adjust dependencies for samples
Trac #21647
Signed-off-by: Shannon Woods
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1296 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
e9b408bf
|
2012-10-17T18:11:40
|
|
Add auto converted .vxcproj files for VC++ 2010 Express
Trac #21647
Signed-off-by: Shannon Woods
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1295 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
bd91da48
|
2012-10-17T18:11:34
|
|
Update standalone solution files to VC++ 2010 Express
Trac #21647
Signed-off-by: Shannon Woods
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1294 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
918c4684
|
2012-10-16T22:27:36
|
|
Changed the name of the extension exposed to shaders to
GL_ANGLE_multiple_render_targets in order to match the GL extension
name. Using XYZ_draw_buffers as in GL_ARB_draw_buffers and
GL_NV_draw_buffers was causing inconsistencies.
Review URL: https://codereview.appspot.com/6715045
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1293 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
6a026c49
|
2012-10-16T21:54:27
|
|
Based on feedback from Al Patrick, Nicolas Capens and Daniel Koch,
removed the restriction about draw buffer 0 having to be non-NULL if
any higher draw buffers are non-NULL. Appears this can be supported
with a NULL FOURCC render target. Removed issue and adjusted
introductory text.
Review URL: https://codereview.appspot.com/6725048
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1292 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
c41bb9a2
|
2012-10-12T23:13:17
|
|
Fixed issues pointed out by gman; removed references to GetDoublev and
ReadBuffer, which don't exist in either OpenGL ES 2.0 or 3.0.
Review URL: https://codereview.appspot.com/6681043
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1291 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
60354ec6
|
2012-10-11T00:32:01
|
|
Add draft ANGLE_multiple_render_targets extension.
Review URL: https://codereview.appspot.com/6642069
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1290 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
637ca47c
|
2012-10-04T18:12:56
|
|
Retry D3DCompile with different compile settings if it fails.
Now also tries with D3DCOMPILE_AVOID_FLOW_CONTROL, and
D3DCOMPILE_PREFER_FLOW_CONTROL.
Review URL: https://codereview.appspot.com/6593069
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1289 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
2b5af7b9
|
2012-09-27T17:46:15
|
|
Optimized adding dirty rectangles.
TRAC #21588
Issue=353
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1288 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
1ee986b8
|
2012-09-27T17:46:12
|
|
Make sure the driver knows the texture is dirty when only lower level mipmaps are updated.
TRAC #21588
Issue=353
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1287 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
8abd0b79
|
2012-09-27T17:46:07
|
|
Generate a more descriptive error when trying to initialize a const array.
TRAC #21589
Issue=359
Signed-off-by: Daniel Koch
Signed-off-by: Shannon Woods
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1286 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
22ba0f70
|
2012-09-27T17:46:04
|
|
Only look at whether the member variable has an array prefix.
TRAC #21593
Issue=367
Signed-off-by: Daniel Koch
Signed-off-by: Shannon Woods
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1285 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
4fbf3392
|
2012-09-27T17:46:01
|
|
Adds missing formats to ComputePixelSize
TRAC #21607
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1284 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
42944b02
|
2012-09-27T17:45:57
|
|
Adds support for per-framebuffer IMPLEMENTATION_COLOR_READ_FORMAT and TYPE
TRAC #21607
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1283 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
ce1189b0
|
2012-09-18T20:06:35
|
|
Fix bug 368: Specify the Levels parameter of CreateCubeTexture and CreateTexture correctly.
This fixes ATS test cases 38840,38841 (while making sure that 44095, 44096, 44097, 44100, 44101, 44102 still work)
The Direct3D spec for the 'Levels' parameter of IDirect3DDevice9::CreateCubeTexture (and IDirect3DDevice9::CreateTexture) says: "If this is zero, Direct3D will generate all cube texture sublevels down to 1x1 pixels for each face for hardware that supports mipmapped cube textures."
The 'levels' parameter can be 0 (which means "generate all texture sublevels") or a non-zero value for the actual number of levels to create (often 1 if mapmapping is disabled).
But 1x1 and 2x2 mipmapped textures are not supported, so textures with these dimensions will actually create a 4x4 texture, and set mLodOffset to 2 or 1 respectively so that the level index can be offset as appropriate.
There is only one special case (for textures with dimensions smaller than 4): when levels=1 and the texture is 2x2, it is unnecessary to create all miplevels, since the 1x1 texture will never be used. For all other cases, all miplevels must be generated even though the upper ones will be unused in order to generate the lower ones. If 'levels' is zero all miplevels must always be generated.
It's important to preserve the special case, to ensure that attempting to access the non-existant level produces the correct error.
So if 'levels' is zero, the 'Levels' parameter should always be zero, otherwise it's the sum of 'levels + mLodOffset'
Also, the calls to 'creationLevels' from the TextureCubeMap methods were not quite right. Passing a zero for the second parameter causes this API to always fail, since '0' is not a power of two. There is already a version of 'creationLevels' that takes just one parameter and works correctly, so just deleting the extra parameter fixes this problem.
BUG=https://code.google.com/p/angleproject/issues/detail?id=368
TEST=Run test cases 38840, 38841, 44095, 44096, 44097, 44100, 44101, 44102 in http://ats.macromedia.com/Players/ATS/ATS10AS3/Staging/ATS.html?dynamicXML=false&wmode=direct§ion=Manual&xmlSetURL=http://fpqa.macromedia.com/crospepperbuild/XMLSets/ATS10AS3ManualPepper.xml
Review URL: https://codereview.appspot.com/6492098
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1279 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
e6a09846
|
2012-09-17T21:28:55
|
|
Returns early from createTexture if its width or height are zero.
TRAC #21594
Bug=350
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1278 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
087e5789
|
2012-09-17T21:28:47
|
|
Skip drawing points when gl_PointSize isn't written.
Trac #21574
Bug=365
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1277 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
6bc4a146
|
2012-09-06T21:28:30
|
|
Ensure texture level count accounts for lod offset.
The lower texture levels (below the lod offset) aren't used and can't be seen, so don't count them in levelCount.
BUG=
Review URL: https://codereview.appspot.com/6492084
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1275 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
1e8228df
|
2012-09-06T20:23:47
|
|
Add D3DConstantTable.* to build_angle.gypi.
Review URL: https://codereview.appspot.com/6497092
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1274 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
8d47c114
|
2012-09-06T16:03:23
|
|
Emit "#version 120" if the shader has array as out parameter.
Review URL: https://codereview.appspot.com/6494082
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1273 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
85fee29c
|
2012-09-06T00:43:06
|
|
Fix bad commit.
Review URL: https://codereview.appspot.com/6499078
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1272 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
60dafe8f
|
2012-09-05T22:26:10
|
|
Implement D3DConstantTable.
Remove ProgramBinary dependencies on D3DX.
Review URL: https://codereview.appspot.com/6485061
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1271 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
aa48067a
|
2012-09-05T19:32:38
|
|
Replace D3DXFloat16To32Array.
Method described here: ftp://ftp.fox-toolkit.org/pub/fasthalffloatconversion.pdf
Review URL: https://codereview.appspot.com/6506058
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1270 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
3b6ff3e8
|
2012-09-05T15:50:49
|
|
Reconcile AUTHORS and CONTRIBUTORS files
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1269 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
3e8fc7f6
|
2012-08-30T21:15:39
|
|
Move targets from src\build_angle.gyp to src\build_angle.gypi
This enables Skia to compile ANGLE
Review URL: https://codereview.appspot.com/6492063
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1268 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
ac5ae3b5
|
2012-08-27T23:29:48
|
|
Allow glUniform to set nth element of array of structs uniform where n != 0.
Review URL: https://codereview.appspot.com/6477046
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1267 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
a6e9428a
|
2012-08-27T20:46:41
|
|
Avoid storing references to temporary strings in RenameFunction
Issue=360
Review URL: https://codereview.appspot.com/6483045/
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1266 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
0806cb27
|
2012-08-27T18:14:32
|
|
Disable npot texture support on AMD cards on XP.
We had been seeing some BSODs due to this.
BUG=
Review URL: https://codereview.appspot.com/6485058
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1264 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
5a1bfa2e
|
2012-08-27T16:26:34
|
|
Add Jacek Caban to Authors list
Issue=358
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1263 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
ca8c1693
|
2012-08-27T16:25:43
|
|
Moved SSE2 code to separated file to allow using different compiler flags on GCC
To use SSE2 in GCC, a compiler -msse2 flag is needed. It adds both possibility to write SSE2 code in the file, but also allows compiles to optimize the whole file with SSE2. To make sure that the code works on non-SSE2 machines, moving SSE2 functions to separated file and compiling only that file with -msse2 is the common practice.
Issue=358
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1262 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
29ab9525
|
2012-08-27T16:25:37
|
|
Minor GCC fixes
- Added missing typename keyword
- Use proper filenames includes (this matters when cross compiling on case sensitive OSes)
- Added <string> include where GCC requires it
- Avoid collision between enum variables and template params
Issue=358
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1261 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
db2115d8
|
2012-08-27T16:25:33
|
|
Use unordered_map instead of hash_map on GCC
stdext namespace is a non-standard extension. Use standard std::unordered_map on GCC.
Issue=358
Signed-of-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1260 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
1825d8e5
|
2012-08-27T16:25:29
|
|
Fixed preprocessors errors on GCC
- Preprocessor variables need to be separated from string constants to be separated token
- Use ##__VA_ARGS__ GCC extension to support empry __VA_ARGS__ (should be no-op on MSVC). See:
http://www.delorie.com/gnu/docs/gcc/gcc_44.html
for details.
The following series fixes compilation on GCC (from mingw-w64) and allows cross compiling the source on Linux. It was tested in Mozilla tree since ANGLE has no support for GCC in its build system.
Issue=358
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1259 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
85e4419f
|
2012-08-17T20:58:01
|
|
Only round back buffer to 64 pixels when vendor ID in Intel.
This is actually to fix AMD / Intel switchable systems when using integrated Intel where the source rectangle to Present is not respected.
Review URL: https://codereview.appspot.com/6459101
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1254 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
909f21cc
|
2012-08-17T20:06:02
|
|
Reset shaders to null in makeCurrent.
Review URL: https://codereview.appspot.com/6460100
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1253 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
74ff2edc
|
2012-08-13T17:37:36
|
|
Fixed version number
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1247 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
ab8c026f
|
2012-08-13T17:36:25
|
|
Shader translator converted single-element vector swizzle to direct index access. It is not wrong, but unnecessary and moreover it triggers a MESA optimizer bug.
Review URL: https://codereview.appspot.com/6460074
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1246 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
0c71fd40
|
2012-08-10T18:08:47
|
|
Round swap chain surfaces to 64 pixels in width.
Review URL: https://codereview.appspot.com/6449123
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1245 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
28a6b5f8
|
2012-07-25T21:01:45
|
|
Add angle_code var to common.gypi and build_angle.gyp. Add GCC and clang warning flags from WebKit to ANGLE Mac and Linux builds.
The angle_code var differentiates between core ANGLE code vs. test code, sample code, and third party code.
Review URL: https://codereview.appspot.com/6427049/
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1244 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
728f2798
|
2012-07-24T19:46:53
|
|
Revert r1230.
See https://codereview.appspot.com/6427049/.
Review URL: https://codereview.appspot.com/6422063
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1243 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
989c1c85
|
2012-07-24T18:40:38
|
|
Make ProgramBinary a refcount object and use Binding pointers to maintain it's lifetime on context and program.
Trac #21270
Bug=351
Signed-off-by: Nicolas Capens
This fixes the underlying bug since it allows the context to keep the program binary alive, after a relink has occurred.
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1242 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
716056c7
|
2012-07-24T18:38:59
|
|
Restore the explicit isLinked() method for Programs and fix link().
Trac #21270
Bug=351
Signed-off-by: Nicolas Capens
If link fails we still need to keep the failed binary around for information
such as number of active attributes, varyings, etc.
Thus we can no longer use the presence of a binary to tell us if we've successfully
linked a program object.
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1241 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
12394cf7
|
2012-07-24T18:37:59
|
|
Install new program binary when current program is successfully relinked or reloaded
Trac #21270
Bug=351
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1240 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
4c962bf1
|
2012-07-24T18:37:02
|
|
Make Program link() and setProgramBinary() return the status of the operation
Trac #21270
Bug=351
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1239 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
95d29424
|
2012-07-24T18:36:10
|
|
redirect the LinkProgram and ProgramBinary calls through the context.
Trac #21270
Bug=351
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1238 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
834af913
|
2012-07-24T18:35:17
|
|
Explicitly track the current program binary instead of just caching it.
Trac #21270
Bug=351
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1237 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
7f3bfe13
|
2012-07-24T18:34:39
|
|
Don't erase the cached program binary on deletion.
Trac #21270
Bug=351
Signed-off-by: Nicolas Capens
This is unnecessary since the current program can never be deleted, only flagged for deletion.
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1236 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
62a2846c
|
2012-07-24T18:33:59
|
|
Cache the current program binary instead of the current program.
Trac #21270
Bug=351
Signed-off-by: Nicolas Capens
Everywhere we used the currentProgram it was immediately used to get the program's binary.
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1235 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
39c9d952
|
2012-07-24T18:32:29
|
|
Remove Program serial tracking. It is no longer useful (or used).
Trac #21270
Bug=351
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1234 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
e6af4f93
|
2012-07-24T18:31:31
|
|
Use the ProgramBinary's serial to track changed D3D9 shaders instead of the Program's
Trac #21270
Bug=351
Signed-off-by: Nicolas Capens
This is necessary since the shaders can change every time a new ProgramBinary is created
(eg when re-linking or loading a new binary).
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1233 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
e87ca000
|
2012-07-24T18:30:43
|
|
Add serial tracking to ProgramBinary
Trac #21270
Bug=351
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1232 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
5ae3ccc3
|
2012-07-24T18:29:38
|
|
Pass the programBinary directly to applyDeclaration
Trac #21270
Bug=351
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1231 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
d6fddbf1
|
2012-07-24T18:13:49
|
|
Add GCC and clang warning flags from WebKit to ANGLE Mac and Linux builds
Review URL: https://codereview.appspot.com/6427049/
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1230 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
99fbbe86
|
2012-07-19T19:11:24
|
|
Embed Blit shader byte code in binary.
Ran a WebGL conformance test that exercises the blitter - copy-tex-image-2d-formats.
Review URL: https://codereview.appspot.com/6403043
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1229 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
433f4aaa
|
2012-07-18T17:29:52
|
|
Fix always true condition in assert in MacroExpander.cpp.
Issue: 349
Review URL: https://codereview.appspot.com/6420046/
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1228 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
6c0c2d87
|
2012-07-18T15:49:56
|
|
Do not call MacroExpander::popMacro() from MacroExpander::~MacroExpander().
MacroExpander::popMacro() assumes that the macro being popped has been fully parsed.
This may not be true for MacroExpander destructor which may get called anytime the compiler decides to abort the compilation process.
This patch just deletes the macro-contexts pushed in the stack without validating the parse state of current macro.
BUG=348
Review URL: https://codereview.appspot.com/6415043
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1227 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
95c25cfc
|
2012-07-13T22:39:17
|
|
Bump version.h
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1226 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
3cfd7225
|
2012-07-13T22:36:58
|
|
Cache D3D vertex and pixel shader objects so they can be reused and shared by multiple contexts.
WebGL conformance tests did not regress. I verified they exercise the Blit code.
Review URL: https://codereview.appspot.com/6345105
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1225 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
e640ef8e
|
2012-07-13T18:42:40
|
|
Make the new preprocessor backwards compatible with Bison 2.3
Review URL: http://codereview.appspot.com/6356098/
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1224 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
d91a0e99
|
2012-07-13T17:32:57
|
|
Recognize QNX as POSIX.
Review URL: https://codereview.appspot.com/6353097/
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1223 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
68715287
|
2012-07-12T23:28:41
|
|
Scale up non-multiple-of-4 dxt textures
D3D doesn't support DXT textures that aren't a multiple of 4 in size, so multiply the sizes by 2 or 4 so they work. Then ensure sampler parameters are set up correctly so they don't sample the unuploaded miplevels.
BUG=https://code.google.com/p/angleproject/issues/detail?id=237
TEST=
Review URL: https://codereview.appspot.com/6287045
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1222 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
07ab841a
|
2012-07-12T15:17:09
|
|
Implement Anisotropic Texture filtering support
Bug=297
Authored-by: Conor Dickinson, Cloud Party, Inc.
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1219 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
95a758f3
|
2012-07-12T15:17:06
|
|
Remove dos-style line-endings (EOL changes only)
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1218 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
9fba10e9
|
2012-07-12T01:43:41
|
|
Update version
Review URL: https://codereview.appspot.com/6352103
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1217 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
144f2804
|
2012-07-12T01:42:34
|
|
Enable OES_get_program_binary.
Review URL: https://codereview.appspot.com/6349053
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1216 736b8ea6-26fd-11df-bfd4-992fa37f6226
|