|
7bf0c867
|
2014-08-01T10:04:09
|
|
Fix GN build for libEGL.
Our build in GN differed slightly from our gyp build, causing the
linker to complain about inconsistent linkage. Also remove some
stray definitions of EGLAPI from our headers.
Change-Id: I5d3a09ccb0cec528ead33944ce0996cceed32d86
Reviewed-on: https://chromium-review.googlesource.com/210821
Tested-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
|
|
bfdea66b
|
2014-07-23T14:16:32
|
|
Remove try-catch blocks from entry points.
BUG=angle:700
Change-Id: I036901c397053a75677923304d7e1ed697c82aa2
Reviewed-on: https://chromium-review.googlesource.com/209570
Reviewed-by: <ehsan@mozilla.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Tested-by: Geoff Lang <geofflang@chromium.org>
|
|
ad8636ee
|
2014-07-09T12:10:03
|
|
Fix missing EGL extension function exports.
BUG=angle:490
Change-Id: Ie4e7b0075f60676aa5f9fb51a0d6fb8f84b9ed90
Reviewed-on: https://chromium-review.googlesource.com/207140
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Geoff Lang <geofflang@chromium.org>
|
|
591e6afe
|
2014-06-18T18:08:57
|
|
Add support for ANGLE_platform_angle.
BUG=angle:490
Change-Id: If3c897a9ae3d27b96e4b9bf9475a9ac23a1090ba
Reviewed-on: https://chromium-review.googlesource.com/185396
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Tested-by: Geoff Lang <geofflang@chromium.org>
|
|
c0b9ef4b
|
2014-07-02T10:02:37
|
|
Split Caps into Caps, Extensions and TextureFormatCaps.
Context now holds it's own Caps, Extensions and TextureFormat caps so that it
can modify them based on client version or work-arounds.
BUG=angle:658
Change-Id: Id71b6c89b7aa36e1f3dc42b0e4720eaed1851fb9
Reviewed-on: https://chromium-review.googlesource.com/206480
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Tested-by: Geoff Lang <geofflang@chromium.org>
|
|
aae65a4e
|
2014-05-26T12:43:44
|
|
Add caps for texture size limits and other caps in the 6.28 table.
BUG=angle:658
Change-Id: Ia265fe1d3713db7701b41e8430d6d186f352ab4a
Reviewed-on: https://chromium-review.googlesource.com/201363
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Tested-by: Geoff Lang <geofflang@chromium.org>
|
|
10530c34
|
2014-07-02T20:37:53
|
|
Add ANGLE_NO_EXCEPTIONS macro
This macro allows us to hide angle's usage of try/catch so that we can
properly hide them from compilers that do not support exceptions
properly (such as clang-cl and gcc/clang with -fno-exceptions).
Change-Id: I75f466a5322e5840e007711ea851f444bd6ca299
Reviewed-on: https://chromium-review.googlesource.com/206562
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Tested-by: <ehsan@mozilla.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
|
|
2b5f3b36
|
2014-06-18T18:07:49
|
|
Add support for EGL_EXT_client_extensions.
BUG=angle:490
Change-Id: Iafc476cef7a3d11b3bb3640e673c28c6df3cf2a1
Reviewed-on: https://chromium-review.googlesource.com/204566
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Geoff Lang <geofflang@chromium.org>
|
|
f51639a4
|
2014-06-25T16:04:57
|
|
Use a common include for GL headers.
A common place to define required GL includes gives us a nice
point to centralize GL customizations. In the header currently
are the basic GLES headers with extensions, and a define
carried over from desktop GL.
BUG=angle:466
Change-Id: I6fc61947b4514654ec21355a786904eac04656c0
Reviewed-on: https://chromium-review.googlesource.com/204936
Tested-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Zhenyao Mo <zmo@chromium.org>
Reviewed-by: Nicolas Capens <nicolascapens@chromium.org>
|
|
21c05532
|
2014-06-18T11:50:49
|
|
Clean up libEGL.def.
BUG=angle:490
Change-Id: I6f0f707862066c9906aa38601aa6839b78a5cc39
Reviewed-on: https://chromium-review.googlesource.com/204565
Reviewed-by: Brandon Jones <bajones@chromium.org>
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Geoff Lang <geofflang@chromium.org>
|
|
cec3590a
|
2014-04-16T10:52:36
|
|
Use a Caps structure to store extension and texture format support.
Removes support for fallbacks in D3D9 texture formats. The fallback
formats did not work properly anyways.
BUG=angle:658
Change-Id: Idfa5183bf71fd8ebf4608f940f9d93177b9eff08
Reviewed-on: https://chromium-review.googlesource.com/200813
Tested-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
|
|
44fa7594
|
2014-05-30T11:50:07
|
|
Refactor platform related functionality into platform.h and tls.h.
Since libGLESv2 and libEGL will eventually be cross platform, it will be
useful to have platform defines and TLS functions that work everywhere.
BUG=angle:664
Change-Id: Ia357925a0992d82e8b446d88d32a1984d319e6e8
Reviewed-on: https://chromium-review.googlesource.com/202133
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Tested-by: Geoff Lang <geofflang@chromium.org>
|
|
9cd1915c
|
2014-05-28T15:54:34
|
|
Fix warnings about unreferenced local variables.
BUG=skia:2272
Change-Id: Ibf03efedc662fea2a389ad2dc5af5b7b014181a8
Reviewed-on: https://chromium-review.googlesource.com/201900
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Geoff Lang <geofflang@chromium.org>
|
|
3501c165
|
2014-05-21T13:27:15
|
|
Make available EGL surface parameters queryable.
BUG=angle:331
Change-Id: Idb3c3ddc6ddd6bfc21b15b7e8942975ce4cd051f
Reviewed-on: https://chromium-review.googlesource.com/200811
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Tested-by: Nicolas Capens <nicolascapens@chromium.org>
|
|
64c83249
|
2014-05-06T10:49:24
|
|
Remove references to software rendering in Renderer9.
BUG=angle:641
Change-Id: I3724c2504d43eae0528e8c72eb51e96c9d7c7a71
Reviewed-on: https://chromium-review.googlesource.com/198377
Reviewed-by: Nicolas Capens <nicolascapens@chromium.org>
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Geoff Lang <geofflang@chromium.org>
|
|
d127d8e6
|
2014-05-06T14:21:23
|
|
Replace libEGL catch bad_alloc clauses with ellipses.
Since we incur some kind of type confusion that stops us from properly
catching bad_alloc exceptions generated when compiled with exceptions
or when ANGLE is compiled with C++ exceptions, use catch-all clauses.
BUG=angle:634
Change-Id: I6d6efbf1fc7a4ebf8f13150b2814bfcd5edaad91
Reviewed-on: https://chromium-review.googlesource.com/198421
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Nicolas Capens <nicolascapens@chromium.org>
Tested-by: Jamie Madill <jmadill@chromium.org>
|
|
3dc300a5
|
2014-01-28T15:30:35
|
|
Allow creating fixed-size window surfaces.
BUG=320021
Change-Id: I97cdd65ac17ee142700dbf0f363891500e967571
Reviewed-on: https://chromium-review.googlesource.com/184205
Reviewed-by: John Bauman <jbauman@chromium.org>
Tested-by: John Bauman <jbauman@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/190563
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Nicolas Capens <nicolascapens@chromium.org>
Tested-by: Shannon Woods <shannonwoods@chromium.org>
|
|
0aa84f63
|
2014-02-13T13:17:23
|
|
Merge 'Tie program binary version to commit hash.'
Port changes from master branch with commit hash embedding
to the development branch.
BUG=angle:529
Change-Id: I307bf44103913aaaeb875a2e3ade1fab77838c48
Reviewed-on: https://chromium-review.googlesource.com/186390
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Tested-by: Jamie Madill <jmadill@chromium.org>
|
|
a4de2657
|
2014-02-11T09:39:20
|
|
Mark destructors of Surface and Context as virtual.
Change-Id: If09d621cc249754caa57b057f76ff84726c18265
Reviewed-on: https://chromium-review.googlesource.com/185861
Tested-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
|
|
83217796
|
2014-01-16T09:52:38
|
|
Remove system.h.
The gyp files already define NOMINMAX and WIN32_LEAN_AND_MEAN. windows.h
is also included via the D3D includes.
This ends up speeding up the build process significantly by not having
windows.h included in nearly every file.
Also fixes issues on non-windows systems by not having stdarg.h included
in debug.cpp.
Change-Id: Id32d9aac37a5a29df832a062dd8024302a798a1c
Reviewed-on: https://chromium-review.googlesource.com/183251
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Geoff Lang <geofflang@chromium.org>
|
|
f5713124
|
2013-10-07T17:06:30
|
|
Rework tracing and perf defines.
Changed ANGLE_DISABLE_* to ANGLE_ENABLE_* for perf and tracing defines so
they are disabled by default. Updated the gyp files to only turn on perf
by default for windows debug builds.
Change-Id: I71706674e6d12fbf4208acc8f100d963b82c7674
Reviewed-on: https://chromium-review.googlesource.com/183250
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Geoff Lang <geofflang@chromium.org>
|
|
a4e68d43
|
2013-12-09T14:37:13
|
|
Fix initialization of thread local storage in libEGL.
When an app would load libEGL.dll via LoadModule, then would call
methods on a thread that was already created, we could creash because
of uninitialized thread local storage.
BUG=angle:488
Change-Id: If3f73fb59dcc5f0713f5b6fb9ca9f8535ee23c73
Reviewed-on: https://chromium-review.googlesource.com/179131
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Geoff Lang <geofflang@chromium.org>
Tested-by: Geoff Lang <geofflang@chromium.org>
|
|
827a471b
|
2013-10-29T16:03:11
|
|
Disable automatically resizing swapchain if window is iconified
The size of the window is changed if the window is iconified, but that change should be ignored.
BUG=
R=shannonwoods@chromium.org
Review URL: https://codereview.appspot.com/19460043
Conflicts:
src/libEGL/Surface.cpp
Change-Id: Ia5053a2f210b29d39551796de3d8a394d7897ac9
Reviewed-on: https://chromium-review.googlesource.com/178997
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Shannon Woods <shannonwoods@chromium.org>
|
|
3929c1c4
|
2013-12-05T11:48:38
|
|
Store the commit date in version.h, and in the DLL properties.
This will allow Chrome, or other apps who reference ANGLE internally,
to pull chronological version information about ANGLE.
Change-Id: I7dbd5b60b533f176b34f7248d70a1d9757ae99d6
Reviewed-on: https://chromium-review.googlesource.com/179100
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Reviewed-by: Nicolas Capens <nicolascapens@chromium.org>
Commit-Queue: Nicolas Capens <nicolascapens@chromium.org>
Tested-by: Nicolas Capens <nicolascapens@chromium.org>
|
|
86f601cb
|
2013-09-17T13:28:00
|
|
Adds algorithm.h dependency to support VS2013 builds.
Change-Id: I1c254be3532d9b69380f8e2b0dde0be76a8ad262
Reviewed-on: https://chromium-review.googlesource.com/178990
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Tested-by: Shannon Woods <shannonwoods@chromium.org>
|
|
58e60327
|
2013-12-02T11:09:36
|
|
Fix the display not updating after a call to eglSwapInterval.
This could happen because we reset the dirty swap interval flag
before we called makeCurrent.
BUG=angle:481
Change-Id: I15750db8908eb379d89b2b20104dac87c1399987
Reviewed-on: https://chromium-review.googlesource.com/178520
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Commit-Queue: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Shannon Woods <shannonwoods@chromium.org>
Reviewed-by: Nicolas Capens <nicolascapens@chromium.org>
Commit-Queue: Nicolas Capens <nicolascapens@chromium.org>
Tested-by: Nicolas Capens <nicolascapens@chromium.org>
|
|
049108df
|
2013-11-19T10:41:49
|
|
Include the current commit as part of the build process.
BUG=angle:529
Change-Id: I6d1d227b495e9bae6e017c88642679210c6d2355
Reviewed-on: https://chromium-review.googlesource.com/177233
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Commit-Queue: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Shannon Woods <shannonwoods@chromium.org>
|
|
2e559bbc
|
2013-10-22T15:31:29
|
|
Do not allow context sharing between egl Displays.
This is an explicit error according to the EGL specification.
ANGLEBUG=487
BUG=
Test=WebGL CTS
R=shannonwoods@chromium.org,geofflang@chromium.org
|
|
7c697201
|
2013-10-07T17:18:14
|
|
Deleted manually maintained visual studio projects and replaced them with gyp generated ones.
|
|
ba615196
|
2013-09-24T14:07:39
|
|
Normalize line endings of tracked files in the repository.
TRAC #23896
Signed-off-by: Shannon Woods
|
|
978911ca
|
2013-08-15T12:43:29
|
|
InputLayoutCache only hashes input layout keys up to last used element.
R=geofflang@chromium.org
Review URL: https://codereview.appspot.com/12676043
Conflicts:
src/common/version.h
src/libGLESv2/libGLESv2.vcxproj
src/libGLESv2/renderer/InputLayoutCache.cpp
|
|
ac4109a3
|
2013-07-24T19:11:23
|
|
Fixes handling in eglMakeCurrent to allow for null displays.
TRAC #23577
On behalf of callow.mark@artspark.co.jp
Landed-by: Shannon Woods
Signed-off-by: Jamie Madill
Signed-off-by: Geoff Lang
|
|
a081df82
|
2013-06-21T09:15:39
|
|
Fix missing spaces in the Display extensions string.
TRAC #23397
Signed-off-by: Shannon Woods
Authored-by: Jamie Madill
|
|
fe28ca06
|
2013-06-04T10:10:48
|
|
Added table entries for reading colors from D3D and DXGI formats and writing colors to format/type combinations.
TRAC #23256
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Geoff Lang
|
|
7d9f7bea
|
2013-05-30T00:20:51
|
|
Advertise EGL_KHR_create_context so dEQP can successfully create an ES3 context.
We will need to investigate fully supporting this extension in the future.
TRAC #23089
Signed-off-by: Shannon Woods
Signed-off-by: Nicolas Capens
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2407 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
6e4f2a6b
|
2013-05-30T00:15:19
|
|
Add adapter LUID to EGL vendor string.
This is so Chrome can create another D3D device on the same adapter that can
share resources with ANGLE's D3D device.
Review URL: https://codereview.appspot.com/9225046
SVN URL: https://code.google.com/p/angleproject/source/detail?r=2210
TRAC #23166
Signed-off-by: Shannon Woods
Signed-off-by: Geoff Lang
Merged-by: Jamie Madill
Author: apatrick@chromium.org
git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2367 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
a2ecfccc
|
2013-05-30T00:11:59
|
|
Moved utilities.h/cpp and mathutils.h to the shared common code folder.
The HLSL translator needs to compute the sizes of various GL types for computing block layouts.
TRAC #22930
Signed-off-by: Nicolas Capens
Signed-off-by: Geoff Lang
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2342 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
9f913fb4
|
2013-05-30T00:10:18
|
|
Merge r2002 to dx11proto: Remove dependency on dwmapi.dll.
Review URL: https://codereview.appspot.com/9279048
git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2330 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
eff3a127
|
2013-05-30T00:10:04
|
|
Control the creation of DX9 or DX11 renderers through eglGetDisplay.
TRAC #23029
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2328 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
1dd89f3e
|
2013-05-30T00:01:31
|
|
Enable base address randomization.
TRAC #22937
Signed-off-by: Shannon Woods
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2262 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
2104d93a
|
2013-04-13T03:38:46
|
|
Only support ES3 contexts on Shader Model 4+ hardware.
TRAC #22854
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2126 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
8bce3f59
|
2013-04-13T03:35:32
|
|
Add SwapChain::recreate for dealing with certain cases of lost devices.
See https://code.google.com/p/angleproject/source/detail?r=1993
TRAC #22826
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2107 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
dcf33d53
|
2013-04-13T03:33:11
|
|
Advertise ES3 renderable in available configs
TRAC #22806
Signed-off-by: Geoff Lang
Signed-off-by: Jamie Madill
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2089 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
f26ddae9
|
2013-04-13T03:29:13
|
|
Added the GLES3 headers and updated all locations where the GLES2 headers were included to also include the GLES3 headers.
TRAC #22694
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2069 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
daea4b45
|
2013-04-13T03:28:54
|
|
eglCreateContext passes the client version to the context. gl::Context stores the client version to validate gl function parameters.
TRAC #22694
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2067 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
d438fd49
|
2013-02-28T23:17:45
|
|
Use ArraySize to determine size of static arrays.
TRAC #22558
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1943 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
486d9e9b
|
2013-02-28T23:15:41
|
|
Remove a lot of unnecessary include files and break include chains.
This should speed up incremental compile times when modifying headers, by reducing the number of dependencies.
TRAC #22518
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1937 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
d2811d68
|
2013-02-28T23:11:19
|
|
Break some of the include chains that cause unneeded dependencies between headers.
TRAC #22499
Signed-off-by: Geoff Lang
Signed-off-by: Nicolas Capens
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1904 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
b01158b2
|
2013-02-28T23:10:59
|
|
Change filter organization for the Renderer source files, further subdivided between 9 and 11.
TRAC #22499
Signed-off-by: Geoff Lang
Signed-off-by: Nicolas Capens
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1903 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
8d2f086a
|
2013-02-28T23:09:19
|
|
Only advertise postSubBuffer extension if we can actually present less than the whole buffer.
This is not available in D3D11, though it is added in D3D11.1.
TRAC #22506
Signed-off-by: Geoff Lang
Signed-off-by: Nicolas Capens
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1892 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
c71ca75a
|
2013-02-28T23:06:50
|
|
Add support for resizing the window without recreating the swap chain in D3D11.
TRAC #22406
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1872 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
779aa261
|
2013-02-28T23:04:58
|
|
Enclose error(GLint) and error(EGLint) into gl and egl namespaces.
This should generate a compile time error if we try to call the wrong function.
TRAC #22411
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1856 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
eb049e2c
|
2013-02-28T23:04:49
|
|
Move the call to notify device lost to the Renderer.
TRAC #22411
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1855 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
a9b96d0d
|
2013-01-25T21:56:18
|
|
Include windows.h from one place to ensure that min and max macros are not defined.
These conflict with the STL functions of the same name.
This is to make the standalone ANGLE gyp build work again.
Review URL: https://codereview.appspot.com/7211043
Also includes r1729 which adds the missing new file.
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1790 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
c60c5215
|
2013-01-25T21:54:01
|
|
Implemented D3D11 offscreen texture share handle support.
Chrome uses this to for composited rendering. Currently Chrome uses a BGRA texture format
for surface sharing, so we must create our offscreen textures this way.
See EGL_ANGLE_query_surface_pointer, EGL_ANGLE_surface_d3d_texture_2d_share_handle,
EGL_ANGLE_d3d_share_handle_client_buffer.
TRAC #22410
Signed-off-by: Geoff Lang
Signed-off-by: Daniel Koch
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1772 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
e688e651
|
2013-01-25T21:51:36
|
|
Remove the ResourceLimits.h reference, which was causing the translator_common to always rebuild.
Also tinker with the deps a bit to allow for more parallelism during the build process.
TRAC #22437
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1754 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
dd6ad22c
|
2013-01-11T21:16:47
|
|
Fix a few unnecessary uses of Renderer9
Trac #22394
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1716 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
28e3692d
|
2012-11-28T21:02:47
|
|
Remove getRenderer9 from Display
Trac #22200
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1525 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
1f57d18a
|
2012-11-28T21:02:38
|
|
Remove unnecessary d3d9.h includes
Trac #22200
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1524 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
b9bb2793
|
2012-11-28T19:36:49
|
|
Make egl::Surface independent of the Renderer implementation.
TRAC #21926
Signed-off-by: Daniel Koch
Signed-off-by: Geoff Lang
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1427 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
03d39094
|
2012-11-28T19:31:59
|
|
Pass the Renderer to the Context at construction time
TRAC #22000
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1402 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
c1e26341
|
2012-11-28T19:31:16
|
|
Create a Direct3D 11 device, if enabled and available.
TRAC #21925
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1399 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
cfa8efdf
|
2012-11-28T19:30:55
|
|
Moved declarations of EGL dependencies to main.h.
TRAC #21925
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1397 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
2a99bfa2
|
2012-10-31T19:55:50
|
|
fix early return value from resetSwapChain
Trac #22003
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1381 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
76d3e6e0
|
2012-10-31T19:55:33
|
|
Rename renderer namespace to rx
Trac #21999
Author: Shannon Woods
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1379 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
bdfb3914
|
2012-10-31T19:55:21
|
|
Explicitly retrieve a Renderer9 or Renderer interface from Display.
TRAC #21963
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1377 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
2507f41e
|
2012-10-31T18:46:48
|
|
Split Renderer into version independent interface and Renderer9 implementation.
TRAC #21963
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1358 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
11190ec6
|
2012-07-11T20:37:21
|
|
Disable debug logging on Release builds.
TRAC #21169
ISSUE=322
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1207 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
13be3e43
|
2012-07-04T19:16:24
|
|
Increase the maximum point size to what is reported by Direct3D.
TRAC #21121
Issue=345,305
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1191 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
6409edb0
|
2012-06-25T14:57:18
|
|
Fix line-endings in libEGL.cpp
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1165 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
9616e583
|
2012-06-22T18:27:01
|
|
Merge no-flip-rows r1142 to trunk.
Review URL: https://codereview.appspot.com/6304052
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1162 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
63e6afe9
|
2012-05-31T01:14:42
|
|
Ensure all getDepthStencil and getRenderTarget calls consistently handle references to the underlying d3d surfaces
Trac #20875
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1114 736b8ea6-26fd-11df-bfd4-992fa37f6226
|