|
4e52b635
|
2013-02-28T23:08:01
|
|
Added a BufferStorage creation method to renderer.
TRAC #22297
Signed-off-by: Jamie Madill
Signed-off-by: Nicolas Capens
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1882 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
8ce2f8f8
|
2013-02-28T23:07:10
|
|
Implement larger bounds for viewports and scissor rectangles in D3D11.
This fixes a bug where we would not allow the application to draw outside the viewport, which is valid.
TRAC #22497
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1875 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
ea4a0c66
|
2013-02-28T23:06:29
|
|
Changed the rectangle arguments of Renderer11::blitRect from pointers to const references since they are never null or modified.
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@1869 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
|
|
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
|
|
cfe787e7
|
2013-02-28T23:03:35
|
|
Added a fence creation method to Renderer.
TRAC #22418
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1844 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
50df6c5f
|
2013-02-28T23:02:49
|
|
Added query creation methods to Renderer.
TRAC #22418
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1839 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
|
|
0b236e2e
|
2013-01-25T21:57:07
|
|
Removed the programBinary argument from Renderer::setViewport.
TRAC #22478
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1796 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
00032cb2
|
2013-01-25T21:56:30
|
|
Implement instancing support in D3D11.
TRAC #22414
Signed-off-by: Geoff Lang
Signed-off-by: Nicolas Capens
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1791 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
69ff7766
|
2013-01-25T21:55:24
|
|
Add a new internal enum for shader type, instead of re-using GL enums.
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@1783 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
76cd88c5
|
2013-01-25T21:54:36
|
|
Avoid calling getContext() for resource limits.
TRAC #22243
Signed-off-by: Jamie Madill
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1776 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
28d268ea
|
2013-01-25T21:54:26
|
|
Increase the varying register count to what the feature level supports.
TRAC #22243
Signed-off-by: Jamie Madill
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1775 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
4e48204a
|
2013-01-25T21:54:18
|
|
Increase DX11 uniform count to 1024.
TRAC #22243
Signed-off-by: Jamie Madill
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1774 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
254317da
|
2013-01-25T21:54:09
|
|
Retrieve the maximum uniform register count from the renderer.
TRAC #22243
Signed-off-by: Jamie Madill
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1773 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
bec04bf4
|
2013-01-25T21:53:52
|
|
Implement proper BGRA extension support on D3D11.
See GL_EXT_texture_format_BGRA8888.
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@1771 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
21ba6478
|
2013-01-25T21:53:32
|
|
Only update a constant buffer when any of its uniforms are dirty.
TRAC #22327
Signed-off-by: Daniel Koch
Signed-off-by: Geoff Lang
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1768 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
358e88d7
|
2013-01-25T21:53:11
|
|
Add constant buffers to ShaderExecutable11.
TRAC #22327
Signed-off-by: Daniel Koch
Signed-off-by: Geoff Lang
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1766 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
233fe954
|
2013-01-25T21:51:57
|
|
Added support for vertex texure fetch in DX11 mode.
Trac #22354
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1757 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
664916b7
|
2013-01-25T21:50:32
|
|
Renderer::copyImage now uses the ANGLE rectangle structure instead of the windows one.
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@1747 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
bd8c10c4
|
2013-01-25T21:15:03
|
|
Move the get maximum point size logic to Renderer9.
Trac #22413
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1737 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
4d036457
|
2013-01-11T21:16:22
|
|
Remove all possible libEGL includes from libGLESv2
Trac #22394
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1715 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
204677af
|
2013-01-11T21:16:09
|
|
Cleanup extraneous D3D9_REPLACE comments
Trac #22394
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Blit.cpp and Renderer9.h/.cpp will remain d3d9-specific.
Remove various unused includes and a typedef.
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1714 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
|
|
ca1ac1f1
|
2013-01-11T04:13:05
|
|
Add D3D version and shader models to renderer string reported by GetString.
It looks like this now:
ANGLE (NVIDIA Quadro 600 Direct3D9Ex vs_3_0 ps_3_0)
I also noticed that the strings returned by GetString are not all static so I fixed that as well.
Review URL: https://codereview.appspot.com/7068058
Author: apatrick@chromium.org <apatrick@chromium.org@736b8ea6-26fd-11df-bfd4-992fa37f6226>
Manual merge from Master by daniel@transgaming.com
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1709 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
7629bb6c
|
2013-01-11T04:12:28
|
|
Disable GL_OES_standard_derivatives when ps_2_x or later is not available.
BUG=392
Review URL: https://codereview.appspot.com/7027051
Author: bsalomon@google.com
(manual merge from master by daniel@transgaming.com)
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1704 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
e33c8bfa
|
2013-01-11T04:11:33
|
|
Moved applied texture and sampler caching from Context into the Renderers.
TRAC #22248
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1698 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
e76b64b2
|
2013-01-11T04:10:08
|
|
Implemented support for DX11 integer and boolean uniforms.
TRAC #22364
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1686 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
a390e1ee
|
2013-01-11T04:09:39
|
|
Implemented support for DX11 driver uniforms by assigning fixed register slots.
TRAC #22369
Signed-off-by: Daniel Koch
Signed-off-by: Geoff Lang
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1682 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
669c9959
|
2013-01-11T04:08:16
|
|
Cached texture and event support on Renderer9.
TRAC #22232
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1668 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
2275f915
|
2012-12-20T21:13:22
|
|
Eliminated D3DConstantTable.
TRAC #22326
Signed-off-by: Daniel Koch
Signed-off-by: Shannon Woods
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1634 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
e6d12e9d
|
2012-12-20T21:12:47
|
|
Implemented support for DX11 uniform arrays.
TRAC #22239
Signed-off-by: Daniel Koch
Signed-off-by: Shannon Woods
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1629 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
f956186f
|
2012-12-20T21:12:07
|
|
Collapsed register indexes into one.
TRAC #22293
Signed-off-by: Daniel Koch
Signed-off-by: Shannon Woods
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1623 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
413d2711
|
2012-12-20T21:11:04
|
|
Moves creation of renderer-specific texture storage objects to the renderer.
TRAC #22300
Author: Shannon Woods
Signed-off-by: Geoff Lang
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1614 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
87705f82
|
2012-12-20T21:10:45
|
|
Renames classes in the TextureStorage heirarchy for clarity
TRAC #22300
Author: Shannon Woods
Signed-off-by: Geoff Lang
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1613 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
34da397e
|
2012-12-20T21:10:29
|
|
Moves TextureStorage class to TextureStorage9, mostly.
TRAC #22300
Author: Shannon Woods
Signed-off-by: Geoff Lang
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1612 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
1e3a8041
|
2012-12-20T21:09:55
|
|
Integrated new IndexBuffer into IndexDataManager and Renderer9.
TRAC #22237
Author: Geoff Lang
Signed-off-by: Shannon Woods
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1607 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
0b6d7741
|
2012-12-20T21:09:47
|
|
Added an IndexBuffer creation method to Renderer.
TRAC #22237
Author: Geoff Lang
Signed-off-by: Shannon Woods
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1606 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
50cc7251
|
2012-12-20T21:09:23
|
|
Renamed IndxBuffer to IndexBufferInterface.
TRAC #22237
Author: Geoff Lang
Signed-off-by: Shannon Woods
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1603 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
b6e55102
|
2012-12-20T21:08:14
|
|
Move setting the uniforms to the Renderer implementation.
TRAC #22245
Signed-off-by: Daniel Koch
Signed-off-by: Geoff Lang
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1594 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
3f255b48
|
2012-12-20T21:07:35
|
|
Added vertex buffer creation methods to renderer.
TRAC #22226
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1588 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
88853c50
|
2012-12-20T20:56:40
|
|
Don't expose DX constants as GL uniforms.
TRAC #22245
Signed-off-by: Daniel Koch
Signed-off-by: Geoff Lang
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1583 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
12985188
|
2012-12-20T20:56:31
|
|
Combine dx_Depth and dx_FrontCCW into dx_DepthFront.
TRAC #22245
Signed-off-by: Daniel Koch
Signed-off-by: Geoff Lang
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1582 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
e4991416
|
2012-12-20T20:55:34
|
|
Move program binary serial caching to renderer
Trac #22249
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1576 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
9a067375
|
2012-12-20T20:55:24
|
|
Ensure state caching variables are handled consistently in markAllStateDirty
Trac #22249
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1575 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
4ba24067
|
2012-12-20T20:54:24
|
|
Migrate Image to Image9 and add an abstract base
TRAC #22254
Author: Shannon Woods
Signed-off-by: Geoff Lang
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1572 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
f721fdbd
|
2012-12-20T20:53:11
|
|
Moves GenerateMipmap function to the Renderer
TRAC #22254
Author: Shannon Woods
Signed-off-by: Geoff Lang
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1571 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
244e1838
|
2012-12-20T20:52:35
|
|
Adds a function to the Renderer which will return a newly created Image.
TRAC #22254
Author: Shannon Woods
Signed-off-by: Geoff Lang
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1569 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
e4e1a33c
|
2012-12-20T20:52:09
|
|
Move NullColorbuffer handling from Framebuffer to Renderer9
Trac #22229
Uses a 12-entry LRU cache to avoid recreating them unnecessarily.
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1567 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
d55e8c1b
|
2012-11-28T21:07:02
|
|
Scissor test state is set as part of the Renderer::setScissor method.
TRAC #22206
Moved scissorTest out of RasterizerState.
Fixes buffer-offscreen-test and buffer-preserve-test CTS regressions.
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1549 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
31240487
|
2012-11-28T21:06:41
|
|
Changed D3DConstant table, IndexDataManager,VertexDataManager and vertexconversion namespaces.
TRAC #22198
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1548 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
50aadb05
|
2012-11-28T21:06:11
|
|
Moved D3DConstantTable, IndexDataManager, VertexDataManager and vertexconversion files.
TRAC #22198
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1547 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
25e16afc
|
2012-11-28T21:05:57
|
|
Move HLSL compilation to Renderer.
TRAC #22205
Signed-off-by: Daniel Koch
Signed-off-by: Geoff Lang
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1546 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
be281b08
|
2012-11-28T21:05:48
|
|
Move constant table retrieval out of compileToBinary.
TRAC #22205
Signed-off-by: Daniel Koch
Signed-off-by: Geoff Lang
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1545 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
7b18d0c4
|
2012-11-28T21:04:10
|
|
Store the shader bytecode in ShaderExecutable to pass it to CreateInputLayout.
TRAC #22191
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1535 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
071ee6a6
|
2012-11-28T21:03:21
|
|
Implemented Renderer11::compileToExecutable.
TRAC #22191
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1529 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
04af90f0
|
2012-11-28T21:03:09
|
|
Load the compiler module for D3D11.
TRAC #22191
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1528 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
4c4ce233
|
2012-11-28T21:01:40
|
|
Added an ignoreViewport parameter to Renderer::setViewport.
TRAC #22145
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1518 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
3a0ef480
|
2012-11-28T21:01:20
|
|
Refactored Renderer::setDepthStencilState to no longer require the stencil size parameter.
TRAC #22145
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1517 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
237bc7e5
|
2012-11-28T21:01:06
|
|
Refactored Renderer::setRasterizerState to no longer need a depthSize parameter.
TRAC #22145
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1516 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
e2f7b6b3
|
2012-11-28T21:00:51
|
|
Refactored Renderer::setViewport to no longer take render target size arguments.
TRAC #22145
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1515 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
04f1b33c
|
2012-11-28T21:00:40
|
|
Refactored Renderer::setScissor to no longer require render target size.
TRAC #22145
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1514 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
536dd6e9
|
2012-11-28T21:00:18
|
|
Release Blob after creating executables.
Trac #22155
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1512 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
f0516cfd
|
2012-11-28T20:59:18
|
|
Inline the Renderer9::compilerShaderSource function
Trac #22155
Signed-off-by: Geoff Lang
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1506 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
95892416
|
2012-11-28T20:59:09
|
|
Store ShaderExecutables on the ProgramBinary instead of d3d9 shaders
Trac #22155
Signed-off-by: Geoff Lang
Signed-off-by: Nicolas Capens
Also hooks up binary loading to the loadExecutable function.
The other notable change is that getVertex/Pixel shader no longer
add reference counts to the returned objects.
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1505 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
5531890f
|
2012-11-28T20:58:58
|
|
Add loadExecutable function to Renderer
Trac #22155
Signed-off-by: Geoff Lang
Signed-off-by: Nicolas Capens
factored out of compileToExecutable as we also need this when loading binaries from disk.
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1504 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
a9c71424
|
2012-11-28T20:58:45
|
|
Move compileToBinary to Renderer
Trac #22155
Signed-off-by: Geoff Lang
Signed-off-by: Nicolas Capens
The body of compileToBinary was moved to Renderer9 and the
ProgramBinary simply calls compileToExecutable which does both
the compilation to binary and creation of the shaders which
are then wrapped into a ShaderExecutable and then returned.
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1503 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
9549bead
|
2012-11-28T20:57:23
|
|
Retrieve the shader model number instead of a shader model 3 support boolean.
TRAC #22072
Signed-off-by: Daniel Koch
Signed-off-by: Geoff Lang
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1495 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
97400dd3
|
2012-11-28T20:57:00
|
|
Clean up passing around translated index data.
TRAC #22016
Signed-off-by: Daniel Koch
Signed-off-by: Geoff Lang
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1493 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
91207b79
|
2012-11-28T20:56:43
|
|
Move the index data manager and draw calls into the renderer implementation.
TRAC #22016
Signed-off-by: Daniel Koch
Signed-off-by: Geoff Lang
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1492 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
4a186ed8
|
2012-11-28T20:56:15
|
|
Moved VertexDeclarationCache to its own header and source file.
TRAC #22016
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1490 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
e569fc52
|
2012-11-28T20:56:02
|
|
Move blitter creation / destruction to device specific initialization / release.
TRAC #22016
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1489 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
0393e5b5
|
2012-11-28T20:55:33
|
|
Implemented Renderer9::clear.
TRAC #22125
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1486 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
084a257e
|
2012-11-28T20:55:17
|
|
Changed the Renderer::clear method parameters to use the new ClearParameters structure.
TRAC #22125
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1485 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
414c9168
|
2012-11-28T20:54:57
|
|
Moves checkDeviceLost to renderer9_utils.h
TRAC #22141
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1483 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
5fbf177c
|
2012-11-28T20:54:43
|
|
Moves applyShaders to Renderer
TRAC #22154
Signed-off-by: Geoff Lang
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1482 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
965bcd2e
|
2012-11-28T20:54:14
|
|
Removes getSurface function from base RenderTarget
TRAC #22134
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1480 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
b64ed282
|
2012-11-28T20:54:02
|
|
Adds makeRenderer9/11 functions
TRAC #22134
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1479 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
f2423659
|
2012-11-28T20:53:50
|
|
Moves creation of RenderTargets to the renderer.
TRAC #22134
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1478 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
67094ee4
|
2012-11-28T20:53:04
|
|
Move the vertex data manager and vertex declaration cache from Context to Renderer9.
TRAC #22016
Signed-off-by: Daniel Koch
Signed-off-by: Shannon Woods
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1474 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
1dd557ae
|
2012-11-28T19:44:00
|
|
Fixed bug with scissor rectangles Y values being clamped incorrectly.
TRAC #22167
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1472 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
7d738a27
|
2012-11-28T19:43:08
|
|
Remove dependency on d3dcompiler import library.
It is now loaded with LoadLibrary.
Added compile time option of having ANGLE enumerate various versions of d3dcompiler_nn.dll that the application can preload before eglInitialize().
Review URL: https://codereview.appspot.com/6816074
Author: Al Patrick
(applied to branch)
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1467 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
e3e826d4
|
2012-11-28T19:42:35
|
|
Fixed some warnings on GCC
Mozilla has recently made using NULL as integer an error (via
-Werror=conversion-null GCC flag), which caused ANGLE to no longer compile on
mingw in Mozilla tree. The ones that may not be obvious are removal of some <0
checks. They are not needed because they were done on unsigned types.
Author: Jacek Caban
http://codereview.appspot.com/6679049
(With changes to apply to dx11proto branch)
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1464 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
dc94956c
|
2012-11-28T19:42:26
|
|
Removed the setRenderTarget and setDepthStencil methods from the Renderers.
TRAC #22124
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1463 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
220e79a6
|
2012-11-28T19:42:11
|
|
Implemented Renderer9::applyRenderTarget using Context::applyRenderTarget's code.
TRAC #22124
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1461 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
ae39ee28
|
2012-11-28T19:42:02
|
|
Renderer::applyRenderTarget now returns a success/failure bool.
TRAC #22124
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1460 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
c43a6055
|
2012-11-28T19:41:51
|
|
Created a Renderer9::markAllStateDirty method and moved state initialization into it.
TRAC #22124
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1459 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
83e80ee4
|
2012-11-28T19:40:53
|
|
Add an abstract Renderer::setViewport method and implemented it for Renderer9.
TRAC #22116
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1453 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
d186dc7f
|
2012-11-28T19:40:16
|
|
Pass the RenderTarget, not the D3D surface, up the Renderbuffer heirarchy.
TRAC #22094
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1449 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
a27e05ba
|
2012-11-28T19:39:42
|
|
Split the swap chain into an abstract interface and a D3D9 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@1445 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
6c872174
|
2012-11-28T19:39:33
|
|
Adds renderer functions for rendertarget operations.
TRAC #22093
Signed-off-by: Geoff Lang
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1444 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
08c331d4
|
2012-11-28T19:38:39
|
|
Moved the stencilRef and stencilBackRef back to Context's state structure.
TRAC #22044
stencilRef and stencilBackRef are now set through the setDepthStencilState on
Renderer.
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1438 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
|
|
38380883
|
2012-11-28T19:36:39
|
|
Add stubs for missing virtual method implementations.
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@1426 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
8a8b24c7
|
2012-11-28T19:36:26
|
|
Fixed issues with state force flag initialization and applyRenderTarget placement.
TRAC #22041
Fixed the state force flags being incorrectly initialized in Renderer9's
destructor, they are now in the constructor. Renderer::applyRenderTarget
is now correctly called fromt he begining of Context::applyRenderTarget
instead of the end.
Signed-off-by: Daniel Koch
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1425 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
d084c620
|
2012-11-28T19:36:05
|
|
Added an abstract Renderer::clear method.
TRAC #22041
Unimplemented in Renderer11 and Renderer9 only forces the depth stencil state
to reset.
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1423 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
493d4f87
|
2012-11-28T19:35:45
|
|
Added abstract methods to Renderer for state setting.
TRAC #22041
Added abstract methods for setting rasterizer, blend, depth stencil, render
targets and scissors on Renderer. Implemented methods on Renderer9 using the
state setting from Context as a reference and new members for storing prevously
set state to minimize graphics device calls. Implemented methods on Renderer11
with the UNIMPLEMENTED notice.
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1421 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
682a37c5
|
2012-11-28T19:34:44
|
|
Renames es2dx and dx2es namespaces to something better.
TRAC #22002
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1415 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
31b13e1f
|
2012-11-28T19:34:30
|
|
Moves Image & Renderer into rx namespace
TRAC #22002
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1414 736b8ea6-26fd-11df-bfd4-992fa37f6226
|