|
d47e0fcc
|
2013-08-29T11:40:43
|
|
Split the d3d9 and d3d11 backends into folders and updated the gyp file to use a python script to generate the file lists for the libGLESv2 and libEGL projects.
|
|
152ed093
|
2013-10-09T17:01:15
|
|
Do not dereference a NULL pointer when retrieving the base level image of an empty 2D array texture.
TRAC #23957
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
d311019e
|
2013-09-24T11:52:47
|
|
Fix incorrect mip sizes for cube maps when creating them with TexStorage2D.
TRAC #23913
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
|
|
c1f8b16b
|
2013-10-07T10:46:38
|
|
Move validation of API errors out of Texture*::generateMipmaps() to the API.
TRAC #23959
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
d3d2a342
|
2013-10-07T10:46:35
|
|
Add methods to return the properties of the base level image of a texture. We can call these of any texture type.
These methods are only well-defined for complete textures (IE, not cube maps with one face defined in one level).
TRAC #23957
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
63b5f1fd
|
2013-09-23T14:52:14
|
|
Removed parameter validation from Texture::set* calls since validation is already done in ValidateTexParamParameters.
TRAC #23908
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
|
|
1beb1db8
|
2013-09-18T14:36:28
|
|
Enable unpack buffer support for initializing 2D textures in TexImage2D.
TRAC #23843
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
88f18f45
|
2013-09-18T14:36:19
|
|
Use the context's PixelUnpackState as an argument to Texture's implementation of setImage and subImage.
We need to access the current unpack buffer for our implementation of PBOs.
TRAC #23840
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
abef6807
|
2013-09-05T16:54:19
|
|
Remove an unnecessary and non-compliant format check from the SubImage family of calls.
We were overly restricting the user's input data for SubImage calls.
TRAC #23834
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
0bbd11c1
|
2013-08-21T14:42:01
|
|
Fix Texture2DArray calling Texture::set/subImage with invalid pointers when the pixels pointer is NULL.
TRAC #23767
Author: Geoff Lang
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
|
|
e836cf2a
|
2013-08-05T14:12:37
|
|
Fixed a bug where height was used instead of width to calculate a mip size.
TRAC #23669
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Geoff Lang
|
|
ed573c25
|
2013-08-05T14:11:51
|
|
Fixed a bug where the parameters to gl::GetDepthPitch were passed in the wrong order.
TRAC #23669
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Geoff Lang
|
|
d5d8e393
|
2013-07-25T16:53:03
|
|
Added Renderbuffers for 3D and 2DArray textures.
TRAC #23470
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Geoff Lang
|
|
8040f57d
|
2013-07-25T16:49:54
|
|
Updated Renderbuffers, Textures and TextureStorageInterface to be aware of render targets which are based on miplevels and layers other than zero.
TRAC #23470
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Geoff Lang
|
|
4907f2c4
|
2013-07-25T12:53:57
|
|
The Texture class now stores the target instead of using a virtual method.
TRAC #23470
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Geoff Lang
|
|
f898990d
|
2013-07-19T16:36:58
|
|
Pass a SamplerState as a parameter to Texture::isSamplerComplete, instead of using the internal SamplerState.
TRAC #23453
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Authored-by: Jamie Madill
|
|
07edd448
|
2013-07-19T16:36:58
|
|
Change the checks for texture completeness in Texture*::copySubImage to only check if the specified level is complete.
This removes the dependency between copySubImage and isSamplerComplete,
which makes operation with sampler objects simpler.
TRAC #23453
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Authored-by: Jamie Madill
|
|
eb3665c2
|
2013-07-19T16:36:57
|
|
Do not check the texture's filtering mode in Texture*::updateTexture, instead check the texture's dirty flags.
With sampler objects, it becomes difficult to rely on the texture filtering mode state to determine if mipmapping
is going to be enabled in the texture, as sampler object may or may not override the texture internal state.
TRAC #23453
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Authored-by: Jamie Madill
|
|
c82fc413
|
2013-07-10T14:43:42
|
|
Added support for TEXTURE_COMPARE_MODE and TEXTURE_COMPARE_FUNC sampler states.
TRAC #23394
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Geoff Lang
|
|
dce735c3
|
2013-06-04T10:21:18
|
|
Renamed the Blit class to Blit9.
TRAC #23256
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Geoff Lang
|
|
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
|
|
f6fb959e
|
2013-05-30T00:09:40
|
|
Replaced remaining uses of old texture conversion functions in gl objects.
TRAC #22972
Signed-off-by: Jamie Madill
Signed-off-by: Nicolas Capens
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2325 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
557aab05
|
2013-05-30T00:08:27
|
|
Texture image setting functions use the refactored texture conversion and loading functions.
TRAC #22972
Signed-off-by: Jamie Madill
Signed-off-by: Nicolas Capens
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2316 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
4ad58e08
|
2013-05-30T00:08:11
|
|
Texture::setImage methods now have an internal format parameter, if the internal format is unsized, a sized one is computed so that Texture classes always store sized internal formats.
TRAC #22972
Signed-off-by: Jamie Madill
Signed-off-by: Nicolas Capens
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2314 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
89200d93
|
2013-05-30T00:07:50
|
|
Split the floating point texture queries into individual methods and mark all support methods as const.
TRAC #22972
Signed-off-by: Jamie Madill
Signed-off-by: Nicolas Capens
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2312 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
37b8a91a
|
2013-05-30T00:04:21
|
|
Implemented mipmap generation for 3D textures.
TRAC #22926
Signed-off-by: Jamie Madill
Signed-off-by: Nicolas Capens
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2283 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
30aa1a9f
|
2013-05-30T00:03:13
|
|
Implemented mipmap generation for 2D array textures.
TRAC #22927
Signed-off-by: Jamie Madill
Signed-off-by: Nicolas Capens
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2276 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
644f766c
|
2013-05-30T00:02:07
|
|
Texture2DArray now uses dynamically allocated arrays to store Image objects.
TRAC #22918
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2267 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
7625f798
|
2013-04-13T03:46:07
|
|
Created the Texture2DArray class.
TRAC #22705
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2178 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
56074f33
|
2013-04-13T03:45:30
|
|
Image::redfine now takes a target parameter, Image11 creates an appropriate resource based off of the target.
TRAC #22705
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2174 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
9599656a
|
2013-04-13T03:44:58
|
|
Created a gl::Texture3D class.
TRAC #22705
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2169 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
0b3a8dfb
|
2013-04-13T03:44:51
|
|
Added the GL_TEXTURE_WRAP_R parameter.
TRAC #22705
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2168 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
e5dcce75
|
2013-04-13T03:44:33
|
|
Updated Image::copy to have a zoffset parameter.
TRAC #22705
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2166 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
4760c563
|
2013-04-13T03:42:30
|
|
Added depth parameters to all image loading functions.
TRAC #22705
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2159 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
5016f8e4
|
2013-02-28T23:20:57
|
|
Removed lod level subtraction since TextureStorage::levelCount already subtracts the lod level.
TRAC #13332
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1973 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
e2e9798b
|
2013-02-28T23:18:50
|
|
Only discard the storage texture when there is a mismatch with its mipmap chain.
TRAC #20587
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1954 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
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
|
|
8a406684
|
2013-02-28T23:15:26
|
|
Don't discard texture storage when redefining and image to generate mip maps.
TRAC #22632
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1935 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
6bb4886c
|
2013-02-28T23:09:34
|
|
Fix the conversion of textures to rendertargets to use the right number of mip levels if we already initialized storage.
When a texture was initialized with glStorage2DEXT or similar, the conversion to RT could change the number of mips.
TRAC #22560
Signed-off-by: Geoff Lang
Signed-off-by: Nicolas Capens
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1894 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
|
|
29c36410
|
2013-01-25T21:53:40
|
|
Fix assert error triggered in D3D11 path when we redefine textures to GL_NONE.
Instead internally convert them between GL_NONE and DXGI_FORMAT_UNKNOWN.
TRAC #22463
Signed-off-by: Geoff Lang
Signed-off-by: Daniel Koch
Author: Jamie Madill
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1769 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
|
|
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
|
|
3c17ba65
|
2013-01-11T04:11:41
|
|
Removed the dirty parameters flag from Texture.
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@1699 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
d8353dd8
|
2012-12-20T21:11:14
|
|
Removes extraneous D3D9-ims in TextureStorage code.
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@1615 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
|
|
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
|
|
c5c806d3
|
2012-12-20T20:52:53
|
|
Passes a base-class Renderer pointer to Image where needed, instead of Renderer9
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@1570 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
|
|
d9ec9022
|
2012-12-20T20:52:16
|
|
Changes the Image array contained in Texture classes to an array of Image pointers.
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@1568 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
|
|
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
|
|
de8a7fff
|
2012-11-28T19:34:13
|
|
Moves the Blitter into the Renderer's domain
TRAC #22001
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1413 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
1d80eeec
|
2012-11-28T19:33:31
|
|
Moves copyToRenderTarget to Renderer
TRAC #22000
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1409 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
ea32d48b
|
2012-11-28T19:33:18
|
|
Removes getDisplay and getContext calls
TRAC #22000
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1408 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
a9571686
|
2012-11-28T19:33:08
|
|
Moves ConvertTextureInternalFormat to the Renderer
TRAC #22000
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1407 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
70062c98
|
2012-11-28T19:32:30
|
|
Passes the Renderer to various objects at construction time.
TRAC #22000
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1406 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
370482e7
|
2012-11-28T19:32:13
|
|
Pass the Renderer to the ResourceManager at construction time.
TRAC #22000
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1404 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
|
|
3cef5391
|
2012-10-31T19:52:15
|
|
Alters the blitter's copy function so that you can pass a framebuffer to it directly.
TRAC #21910
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1375 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
0ad830bf
|
2012-10-31T19:52:12
|
|
Moves mipmap generation to texture storage and image objects.
TRAC #21910
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1374 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
690d8aea
|
2012-10-31T19:52:08
|
|
Moves copyToRenderTarget operation into texture storage object.
TRAC #21910
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1373 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
9d4346f0
|
2012-10-31T19:52:04
|
|
Eliminates getD3DTexture, instead returning the texture storage object.
TRAC #21910
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1372 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
0f195ada
|
2012-10-31T19:51:59
|
|
Passes texture storage object to image directly to update its surfaces
TRAC #21910
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1371 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
25ee7441
|
2012-10-31T19:51:56
|
|
Passes the swapchain to texture storage constructor instead of d3d texture.
TRAC #21910
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1370 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
f032cb88
|
2012-10-31T19:51:52
|
|
Initializes storage from GL params instead of D3D params
TRAC #21910
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1369 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
df14c761
|
2012-10-31T19:51:48
|
|
Moves static d3d texture format conversion utilities to TextureStorage.
TRAC #21910
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1368 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
20d36667
|
2012-10-31T19:51:43
|
|
Mostly eliminates usage of getD3DFormat in Texture.
TRAC #21906
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1367 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
b5e1a272
|
2012-10-31T19:10:00
|
|
Moves TextureStorage class to its own file in the Renderer directory
TRAC #21909
Author: Shannon Woods
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1363 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
b9d7e6f8
|
2012-10-31T19:08:32
|
|
Moves Image class to its own file in the Renderer's directory.
TRAC #21909
Author: Shannon Woods
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1362 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
4b2fffb8
|
2012-10-31T19:08:29
|
|
Fix minor spacing issue blocking merge
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1361 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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
a841b11d
|
2012-10-17T18:30:14
|
|
Only replace image surfaces with equal-sized managed surfaces.
TRAC #21621
Issue=311
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1314 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
853b577f
|
2012-10-17T18:30:10
|
|
Fixed support for updating from managed surfaces.
TRAC #21621
Issue=311
Signed-off-by: Daniel Koch
Author: Nicolas Capens
(Fixes XP path that was broken in r1308)
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1313 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
2e38b800
|
2012-10-17T18:30:06
|
|
Eliminated D3DXLoadSurfaceFromSurface from glGenerateMipmaps.
TRAC #21621
Issue=311
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1312 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
8ea6942a
|
2012-10-17T18:30:03
|
|
Eliminated D3DXLoadSurfaceFromSurface from Image::copy.
TRAC #21621
Issue=311
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1311 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
dabf0027
|
2012-10-17T18:29:59
|
|
Eliminated D3DXLoadSurfaceFromSurface from copyToRenderTarget.
TRAC #21621
Issue=311
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1310 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
4bb04bef
|
2012-10-17T18:29:55
|
|
Eliminate D3DXLoadSurfaceFromSurface from setManagedSurface.
TRAC #21621
Issue=311
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1309 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
e0adbd80
|
2012-10-17T18:29:52
|
|
Removed an unreachable path in texture loading code
TRAC #21621
Issue=311
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1308 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
5127803f
|
2012-10-17T18:22:51
|
|
Don't promote packed RGB textures to RGBA d3d surfaces.
TRAC #21591
Issue=362
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1305 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
6b1a0a0c
|
2012-10-17T18:22:47
|
|
Some cleanup after the previous sized internal format patches
TRAC #21609
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1304 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
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
|
|
2b5af7b9
|
2012-09-27T17:46:15
|
|
Optimized adding dirty rectangles.
TRAC #21588
Issue=353
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1288 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
1ee986b8
|
2012-09-27T17:46:12
|
|
Make sure the driver knows the texture is dirty when only lower level mipmaps are updated.
TRAC #21588
Issue=353
Signed-off-by: Shannon Woods
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1287 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
ce1189b0
|
2012-09-18T20:06:35
|
|
Fix bug 368: Specify the Levels parameter of CreateCubeTexture and CreateTexture correctly.
This fixes ATS test cases 38840,38841 (while making sure that 44095, 44096, 44097, 44100, 44101, 44102 still work)
The Direct3D spec for the 'Levels' parameter of IDirect3DDevice9::CreateCubeTexture (and IDirect3DDevice9::CreateTexture) says: "If this is zero, Direct3D will generate all cube texture sublevels down to 1x1 pixels for each face for hardware that supports mipmapped cube textures."
The 'levels' parameter can be 0 (which means "generate all texture sublevels") or a non-zero value for the actual number of levels to create (often 1 if mapmapping is disabled).
But 1x1 and 2x2 mipmapped textures are not supported, so textures with these dimensions will actually create a 4x4 texture, and set mLodOffset to 2 or 1 respectively so that the level index can be offset as appropriate.
There is only one special case (for textures with dimensions smaller than 4): when levels=1 and the texture is 2x2, it is unnecessary to create all miplevels, since the 1x1 texture will never be used. For all other cases, all miplevels must be generated even though the upper ones will be unused in order to generate the lower ones. If 'levels' is zero all miplevels must always be generated.
It's important to preserve the special case, to ensure that attempting to access the non-existant level produces the correct error.
So if 'levels' is zero, the 'Levels' parameter should always be zero, otherwise it's the sum of 'levels + mLodOffset'
Also, the calls to 'creationLevels' from the TextureCubeMap methods were not quite right. Passing a zero for the second parameter causes this API to always fail, since '0' is not a power of two. There is already a version of 'creationLevels' that takes just one parameter and works correctly, so just deleting the extra parameter fixes this problem.
BUG=https://code.google.com/p/angleproject/issues/detail?id=368
TEST=Run test cases 38840, 38841, 44095, 44096, 44097, 44100, 44101, 44102 in http://ats.macromedia.com/Players/ATS/ATS10AS3/Staging/ATS.html?dynamicXML=false&wmode=direct§ion=Manual&xmlSetURL=http://fpqa.macromedia.com/crospepperbuild/XMLSets/ATS10AS3ManualPepper.xml
Review URL: https://codereview.appspot.com/6492098
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1279 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
e6a09846
|
2012-09-17T21:28:55
|
|
Returns early from createTexture if its width or height are zero.
TRAC #21594
Bug=350
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1278 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
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
|
|
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
|