|
bdf2d80f
|
2013-02-28T23:16:20
|
|
Add precompiled header support for the libGLESv2 project.
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@1938 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
|
|
0bbb08d9
|
2013-02-28T23:09:11
|
|
Fix the SwapChain11::swapRect x and y coordinates to reference the lower left corner at (0,0).
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@1891 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
8c6d9df2
|
2013-02-28T23:08:57
|
|
Ensure we do not try to create a swapchain with dimensions smaller than 1x1.
TRAC #22548
Signed-off-by: Geoff Lang
Signed-off-by: Nicolas Capens
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1889 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
|
|
7e23285f
|
2013-02-28T23:06:15
|
|
Added a texture object to RenderTarget11.
TRAC #22416
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1867 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
30f52c6c
|
2013-02-28T23:05:34
|
|
Preserve the D3D11 offscreen texture contents when the swap chain is reset (ie from window resize).
TRAC #21929
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1860 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
ae813836
|
2013-02-28T23:05:28
|
|
Move the code related to creating and resetting offscreen texture resources to its own method.
TRAC #21929
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1859 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
211fa2ed
|
2013-02-28T23:05:23
|
|
Only allocate offscreen texture resources when we need them, not every time we reset the swapchain.
This fixes a memory leak that caused the swapchain to initialize unbounded amounts of resources.
TRAC #21929
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1858 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
ddd6c80e
|
2013-02-28T23:05:14
|
|
Add the ability to recover from a removed device (TDR or driver removal) to the D3D11 code path.
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@1857 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
f5f59491
|
2013-02-28T23:04:40
|
|
Enclose isDeviceLostError and checkDeviceLost in their corresponding d3d9/d3d11 namespaces.
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@1854 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
ad74a4b1
|
2013-02-28T23:04:09
|
|
Enabled vsync in SwapChain11.
TRAC #22505
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1849 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
8b400b1e
|
2013-01-30T21:53:40
|
|
Do not use dynamic_cast if RTTI is disabled.
Review URL: https://codereview.appspot.com/7250043
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1808 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
2ac02d5e
|
2013-01-25T21:56:54
|
|
Fixed rounding error in SwapChain11::swapRect vertex coordinates.
#22472
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1794 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
3e773bb4
|
2013-01-25T21:55:47
|
|
Implement gl_PointSize point sprite emulation using D3D11 geometry shaders.
TRAC #22412
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1786 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
|
|
7d4b482a
|
2013-01-25T21:52:27
|
|
Since we can't create a swap chain for another process' window, error out gracefully.
Was triggered from Chrome trying to use a Windows XP path on the DX11 side of things.
TRAC #22438
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1760 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
f3d82079
|
2013-01-25T21:50:43
|
|
Created a basic position and texcoord vertex and helper method in renderer11 utils.
TRAC #22358
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1748 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
2570c34d
|
2013-01-25T21:50:22
|
|
Renamed the passthrough pixel shader to PS_PassthroughRGBA.
TRAC #22358
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1746 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
5c25ed2f
|
2013-01-25T21:49:51
|
|
Reorganized the getter methods of SwapChain11 and added a method to get the offscreen texture shader resource.
TRAC #22358
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1742 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
ed36abd8
|
2013-01-11T21:15:58
|
|
Move dirty DX constant tracking from Context to the Renderers.
TRAC #22308
Signed-off-by: Geoff Lang
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1713 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
f06e539a
|
2013-01-11T21:15:50
|
|
Initialize uninitialized pointers in SwapChain11 to NULL.
This could cause invalid calls in the destructor in debug builds.
TRAC #22393
Signed-off-by: Geoff Lang
Signed-off-by: Daniel Koch
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1712 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
ad3d8270
|
2013-01-11T04:11:14
|
|
Added debug names to swap chain resources.
TRAC #22231
Signed-off-by: Jamie Madill
Signed-off-by: Daniel Koch
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1695 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
8dc8e277
|
2013-01-11T04:10:45
|
|
Moved the shaders from libGLESv2 to the libGLESv2/renderer.
TRAC #22230
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1692 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
9799a2f8
|
2013-01-11T04:09:27
|
|
SwapChain11::swapRects now correctly sets the viewport to the size of the window.
TRAC #22374
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1680 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
e097047e
|
2012-11-28T21:05:07
|
|
Implemented SwapChain11::swapRects.
TRAC #21930
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1540 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
567b9cfd
|
2012-11-28T21:04:46
|
|
SwapChain11 is now created with the correct dimensions.
TRAC #21930
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1538 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
c8c70adc
|
2012-11-28T21:04:37
|
|
Renamed SwapChain11's textures and views.
TRAC #21930
Renamed SwapChain11's textures and views to better represent if they are for the back buffer or offscreen texture.
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1537 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
d733bb88
|
2012-11-28T20:53:40
|
|
Adds makeSwapChain9/11 functions.
TRAC #22134
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1477 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
32fdf822
|
2012-11-28T20:53:30
|
|
Fixes line endings on SwapChain9 and SwapChain11
TRAC #22134
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1476 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
a60160b0
|
2012-11-28T19:41:15
|
|
Implemented SwapChain11 initialization.
TRAC #21928
Signed-off-by: Geoff Lang
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1456 736b8ea6-26fd-11df-bfd4-992fa37f6226
|