src


Log

Author Commit Date CI Message
daniel@transgaming.com 7cb796e7 2012-10-31T18:46:44 Eliminated isD3d9ExDevice(). TRAC #21963 Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1357 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 4ca789e5 2012-10-31T18:46:40 Eliminated D3DADAPTER_IDENTIFIER9 uses. TRAC #21963 Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1356 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 024786d7 2012-10-31T18:42:55 Pass swapchain to DepthStencil constructor instead of d3d9 surface Trac #21810 Signed-off-by: Nicolas Capens Also get rid of unused StencilBuffer and Depthbuffer constructors git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1355 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 96c3893c 2012-10-31T18:42:52 Pass swapchain to Colorbuffer constructor instead of a d3d9 surface Trac #21810 Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1354 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 114bd460 2012-10-31T18:42:47 Remove min/max swapinterval from Display. Get from Renderer if needed. Trac #21810 Signed-off-by: Nicolas Capens Also have the Surface explicitly hang onto the Renderer git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1353 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 21cfaef3 2012-10-31T18:42:43 Fix share handle usage Trac #21810 Signed-off-by: Nicolas Capens I don't think it was possible to use the sharehandle passed in, and if one was, we shouldn't clear it on release() git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1352 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 3c72078a 2012-10-31T18:42:34 Add renderer::SwapChain class and move functionality from egl::Surface Trac #21810 Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1351 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 3281f97d 2012-10-31T18:38:51 Moves Config generation to Renderer. TRAC #21819 Signed-off-by: Daniel Koch Author: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1350 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 6f50457c 2012-10-31T18:38:45 Adds D3DFMT_UNKNOWN to depth stencil format conversion function. TRAC #21819 Signed-off-by: Daniel Koch Author: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1349 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 92955623 2012-10-31T18:38:41 Adds constant format arrays to Renderer class TRAC #21819 Signed-off-by: Daniel Koch Author: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1348 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 106e1f7b 2012-10-31T18:38:36 Removes D3D types from the Config class TRAC #21819 Signed-off-by: Daniel Koch Author: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1347 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com e7b2f056 2012-10-31T18:38:32 Temporarily adds format conversion functions to EGL. TRAC #21819 Signed-off-by: Daniel Koch Author: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1346 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 21290e67 2012-10-31T18:38:28 Removes mConfig from Context, as it was only used for setting unused default values. TRAC #21819 Signed-off-by: Daniel Koch Author: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1345 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 4cfba2a9 2012-10-31T18:31:54 Removes the unused setDefaults function TRAC #21819 Signed-off-by: Daniel Koch Author: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1344 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 06eef170 2012-10-31T18:31:50 Removes getContext calls from Colorbuffer and DepthStencilbuffer constructors. TRAC 21817 Signed-off-by: Daniel Koch Author: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1343 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com b783398c 2012-10-31T18:31:46 Moves multisample support data to Renderer from Context. TRAC #21817 Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1342 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 6716a278 2012-10-31T18:31:39 Removes d3d9 device usage from IndexDataManager and subjugate classes. TRAC #21816 Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1341 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com b7386999 2012-10-31T18:29:58 Remove d3d9 devices from use in VertexDataManager and subjugate classes TRAC #21816 Signed-off-by: Daniel Koch Author: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1340 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 5f4c136e 2012-10-31T18:29:00 Removes D3DCaps from Context and Display, instead querying Renderer for support status. TRAC #21611 Signed-off-by: Daniel Koch Author: Shannon Woods git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1339 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 64e6290e 2012-10-31T18:27:46 Fix merge compilation errors git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1338 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com a734f27c 2012-10-31T18:07:48 Move SetTexture calls to the renderer class Trac #21727 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1337 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com ba0570ef 2012-10-31T18:07:39 Move sampler state setting to the Renderer Trac #21727 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1336 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com ebf139fe 2012-10-31T18:07:32 Move texture sampler state into a separate sampler state structure. Trac #21727 Conflicts: src/libGLESv2/Texture.cpp git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1335 736b8ea6-26fd-11df-bfd4-992fa37f6226
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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
jacob.benoit.1@gmail.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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
apatrick@chromium.org 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
daniel@transgaming.com 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
gman@chromium.org 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
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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
kbr@chromium.org 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
kbr@chromium.org 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
kbr@chromium.org 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
apatrick@chromium.org 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
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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
sminns@adobe.com 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&section=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
daniel@transgaming.com 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
daniel@transgaming.com 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
jbauman@chromium.org 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
apatrick@chromium.org 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
alokp@chromium.org 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
apatrick@chromium.org 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
apatrick@chromium.org 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
apatrick@chromium.org 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
apatrick@chromium.org 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
apatrick@chromium.org 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
maxvujovic@gmail.com 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
jbauman@chromium.org 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
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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
apatrick@chromium.org 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
apatrick@chromium.org 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
alokp@chromium.org 74ff2edc 2012-08-13T17:37:36 Fixed version number git-svn-id: https://angleproject.googlecode.com/svn/trunk@1247 736b8ea6-26fd-11df-bfd4-992fa37f6226
alokp@chromium.org 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
apatrick@chromium.org 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
maxvujovic@gmail.com 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
apatrick@chromium.org 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
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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
daniel@transgaming.com 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