|
cd65ae16
|
2013-12-17T15:20:14
|
|
Trigger lost device on an error in D3D9 Present.
This fixes device remove handling on AMD systems, as well as notifying
the app layer there may have been an internal problem during Present.
BUG=313210
Change-Id: I843ffb3946dd9ef34fbd24b3a46a7b97e3c0fd16
Reviewed-on: https://chromium-review.googlesource.com/179140
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Geoff Lang <geofflang@chromium.org>
Tested-by: Geoff Lang <geofflang@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/180450
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Tested-by: Jamie Madill <jmadill@chromium.org>
|
|
7a93437b
|
2013-12-06T18:17:48
|
|
Fix initialization of thread local storage in libGLESv2.
When an app would load libGLESv2.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: I9b05de462232a16d639c58ec07386b7c38a01793
Reviewed-on: https://chromium-review.googlesource.com/179132
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Geoff Lang <geofflang@chromium.org>
Tested-by: Geoff Lang <geofflang@chromium.org>
|
|
3b866b6c
|
2013-09-30T15:21:00
|
|
Clear11 will not clear channels that are not supposed to exist in the render target's format.
Change-Id: I9c2bb927ec63d67d315893d44f199ceab4b5df82
Reviewed-on: https://chromium-review.googlesource.com/176856
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Commit-Queue: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Shannon Woods <shannonwoods@chromium.org>
|
|
c142e9da
|
2013-09-30T15:19:47
|
|
Renderer classes now set their blend states to mask out channels that do not exist in the render target.
Change-Id: Ia49bf8de07bbdfa31275ec9835de28adc3717485
Reviewed-on: https://chromium-review.googlesource.com/176855
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Commit-Queue: 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>
|
|
f8c2f5cb
|
2013-12-05T13:52:33
|
|
Fix indices not being offset to the bound vertex buffer when drawing indexed points in D3D9.
bug=angle:535
Change-Id: I5b86874cddbd3b90fe141e94085f5a4afb9f3db3
Reviewed-on: https://chromium-review.googlesource.com/179101
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Shannon Woods <shannonwoods@chromium.org>
|
|
34256ed8
|
2013-09-30T15:15:52
|
|
Image and RenderTarget classes now initialize their textures if required.
Change-Id: I2cce6f4ffdc7e2a6c23c50d663c6316f9b125880
Reviewed-on: https://chromium-review.googlesource.com/176854
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Commit-Queue: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Shannon Woods <shannonwoods@chromium.org>
|
|
0c99b1b0
|
2013-09-30T15:07:43
|
|
Add functions to check if texture data initialization is required.
Change-Id: I54c3b90780c304d6001b9e52278672981c96cb83
Reviewed-on: https://chromium-review.googlesource.com/176853
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Commit-Queue: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Shannon Woods <shannonwoods@chromium.org>
|
|
2916b30e
|
2013-11-28T13:41:10
|
|
Removed extra AddRef and Release calls on D3D11 objects.
Change-Id: I5918c67735658912663c79e964b8edfb288784a3
Reviewed-on: https://chromium-review.googlesource.com/178450
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Commit-Queue: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Shannon Woods <shannonwoods@chromium.org>
|
|
fa3d9f30
|
2013-12-03T16:58:17
|
|
Fix swapchain resize errors when sizing to 0 width or height.
BUG=angle:519
Change-Id: I3d3d0746b2b3027d04c91cc5fdcd301930e3b22a
Reviewed-on: https://chromium-review.googlesource.com/178439
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Geoff Lang <geofflang@chromium.org>
Tested-by: Geoff Lang <geofflang@chromium.org>
|
|
88f779dd
|
2013-12-03T10:57:56
|
|
Fix device removed handling for systems which do not
immediately allow recreating a new device.
On Intel systems there's a cool-down period when you must
wait before recreating the device.
BUG=313210
Change-Id: I22cdf41eecf0eae5058b59e1b0863173d604d606
Reviewed-on: https://chromium-review.googlesource.com/178437
Tested-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Commit-Queue: Shannon Woods <shannonwoods@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>
|
|
a049fe1e
|
2013-12-02T13:14:57
|
|
Add NULL init for swizzle SRVs with eglBindTexImage textures.
Change-Id: I8a1069013f37988632db07359d65f8215041978e
Reviewed-on: https://chromium-review.googlesource.com/178431
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Tested-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Nicolas Capens <nicolascapens@chromium.org>
Commit-Queue: Nicolas Capens <nicolascapens@chromium.org>
Tested-by: Nicolas Capens <nicolascapens@chromium.org>
|
|
42477a43
|
2013-09-17T17:07:02
|
|
Renderer11 now generates swizzles and invalidates the cached swizzles.
Change-Id: If5c998a91195942297beeb26a0ec635ff6a466ea
Reviewed-on: https://chromium-review.googlesource.com/177035
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Commit-Queue: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Shannon Woods <shannonwoods@chromium.org>
|
|
391c8c50
|
2013-09-17T17:05:51
|
|
Added a RenderBuffer/RenderBufferInterface getTextureStorage method.
Change-Id: I710fba737524e735349ce1c0b09fa535555bd029
Reviewed-on: https://chromium-review.googlesource.com/177034
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Commit-Queue: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Shannon Woods <shannonwoods@chromium.org>
|
|
e2e0ce0c
|
2013-09-17T17:05:08
|
|
Context now detects if a texture needs to be swizzled and calls Renderer::generateSwizzles.
Change-Id: I89f30e028b1d6ec384536cdbeedd91bb98359e8f
Reviewed-on: https://chromium-review.googlesource.com/178440
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Commit-Queue: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Shannon Woods <shannonwoods@chromium.org>
|
|
644bbf24
|
2013-09-17T17:02:43
|
|
Added a swizzle cache to TextureStorage11.
Change-Id: Iebf297ef5b8560bb468428fc369eb3df8f43ec11
Reviewed-on: https://chromium-review.googlesource.com/177032
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Tested-by: Jamie Madill <jmadill@chromium.org>
|
|
00f6bc32
|
2013-09-20T14:59:06
|
|
Add GetSwizzle*Format functions to formatutils11.
Change-Id: Idcd4aa5fd18c1629168ba7cdd41e8fb3f6c3ead3
Reviewed-on: https://chromium-review.googlesource.com/177031
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Commit-Queue: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Shannon Woods <shannonwoods@chromium.org>
|
|
bc90a480
|
2013-09-17T16:51:27
|
|
Added TEXTURE_SWIZZLE_* parameters to the texture sampler state and API queries.
Change-Id: I20aff392ec4cd9e49424afae94a862fdd8eef9b8
Reviewed-on: https://chromium-review.googlesource.com/177030
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Commit-Queue: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Shannon Woods <shannonwoods@chromium.org>
|
|
ed883f54
|
2013-09-10T17:20:54
|
|
Added a swizzleTexture method to Blit11.
Change-Id: I0af836f761893c8928a84d138a6b2d07a3e04da6
Reviewed-on: https://chromium-review.googlesource.com/176989
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Commit-Queue: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Shannon Woods <shannonwoods@chromium.org>
|
|
3c9eeb97
|
2013-11-04T11:09:26
|
|
Disable optimizations for shaders with conditional discard in D3D9, and
only use expanded short-circuiting conditionals for expressions with
potential side-effects.
Conservatively assume aggreate and selection operators have side effects for now.
BUG=
ANGLEBUG=486
R=geofflang@chromium.org, kbr@chromium.org, nicolas@transgaming.com, shannonwoods@chromium.org
Review URL: https://codereview.appspot.com/14441075
Conflicts:
src/common/version.h
src/compiler/translator.vcxproj
src/compiler/translator.vcxproj.filters
src/compiler/translator/OutputHLSL.cpp
src/libGLESv2/ProgramBinary.cpp
src/libGLESv2/Shader.cpp
src/libGLESv2/Shader.h
Change-Id: Iaf9f10b5de7b33c927ef032f3c4fe9d5095f64dd
|
|
5a60b739
|
2013-11-26T09:49:23
|
|
Ensure stream source frequency for stream 0 is set to 1 in swapRect
for D3D9.
This prevents D3D errors which we could see when using the Debug runtime.
BUG=321834
Change-Id: I1dd66d9d80def5e558fc13c218fde9c4047ab2b4
|
|
b7935e51
|
2013-11-20T15:47:47
|
|
Proper handling of D3D9Ex device removed.
BUG=313210
Change-Id: I85dae10bc2ec38a1e9c09f318b8f6b9196466d60
|
|
1293cf4b
|
2013-11-21T18:33:44
|
|
Merge "Renamed some Blit11 types and methods to imply they are for blitting (as opposed to swizzleing)." into es3proto
|
|
453aaba4
|
2013-11-20T11:02:23
|
|
Don't let mBufferSize fall out of sync with the actual buffer size. Pervents unnecessary buffer re-creations.
Change-Id: Ie40300865dcd7830fe8eafbccfaa3edad46c7b52
|
|
26533604
|
2013-09-09T16:41:42
|
|
Renamed some Blit11 types and methods to imply they are for blitting (as opposed to swizzleing).
|
|
fcef3366
|
2013-11-13T19:37:19
|
|
Fix bug with nested struct uniforms.
TRAC #22875
Change-Id: I204cea18a710f6b9206a578a69f1dbc1e13fbd71
Signed-off-by: Shannon Woods
Signed-off-by: Geoff Lang
|
|
c6a2dcf8
|
2013-10-31T13:54:01
|
|
Fix improper getSamplerState in Context::applyTextures.
Introduced in cdf22f94acaf86.
R=geofflang@chromium.org
BUG=
Review URL: https://codereview.appspot.com/20320043
|
|
f07558ac
|
2013-10-31T11:16:22
|
|
Fix glGetUniform for non-square matrices.
TRAC #22846
Signed-off-by: Shannon Woods
Signed-off-by: Geoff Lang
|
|
95f9f986
|
2013-10-21T17:09:19
|
|
Remove use of DXGI_FORMAT_R32G32B32_FLOAT as a backing format for GL_LUMINANCE32F_EXT.
TRAC #24036
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
|
|
cdf22f94
|
2013-10-31T10:38:23
|
|
Don't apply textures that are currently bound to the framebuffer.
BUG=496
Review URL: https://codereview.appspot.com/18450045
|
|
89bf4bff
|
2013-10-31T10:32:46
|
|
Fixed a bug where the vertex data manager was not caching the current value attributes properly.
ANGLEBUG=489
Review URL: https://codereview.appspot.com/18670043
|
|
1ec57f80
|
2013-10-16T11:43:23
|
|
Add support for GL_EXT_color_buffer_float.
TRAC #23794
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
|
|
6b7440ca
|
2013-10-24T17:49:47
|
|
Remove TextureStorage::GetActualLevelCount.
TRAC #23978
|
|
4cfff5f3
|
2013-10-24T17:49:46
|
|
Modify texture storage classes to store a base and max level, instead of a range of levels.
TRAC #23978
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
b16b8ed7
|
2013-10-24T17:49:45
|
|
Add helper functions for returning the dimensions of a level in a texture storage.
TRAC #23978
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
07bb8cf4
|
2013-10-24T17:49:44
|
|
Remove Texture::levelCount() and replace it with isValidLevel().
TRAC #23978
Signed-off-by: Shannon Woods
Signed-off-by: Geoff Lang
|
|
51a94370
|
2013-10-24T17:49:43
|
|
Replace API queries of immutable texture level count with a specialized function.
TRAC #23978
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
2ebab858
|
2013-10-24T17:49:42
|
|
Remove Texture::getStorage, which is no longer needed after the previous refactorings.
TRAC #23976
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
884a4626
|
2013-10-24T17:49:41
|
|
Refactor storage management in Texture2DArray.
TRAC #23976
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
e664e206
|
2013-10-24T17:49:40
|
|
Refactor storage management in Texture3D.
TRAC #23976
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
3c0989c6
|
2013-10-24T17:49:39
|
|
Refactor storage management in TextureCube.
TRAC #23976
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
73b5d06e
|
2013-10-24T17:49:38
|
|
Refactor texture storage management in the Texture2D.
TRAC #23976
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
169d1118
|
2013-10-24T17:49:37
|
|
Rename Texture and Image methods which operate on storage objects to refer to storage instead of textures.
TRAC #23961
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
22f843a1
|
2013-10-24T17:49:36
|
|
Make a virtual method Texture::mipLevels to return the value of mip levels defined as in the GL spec.
Also known as the "q" function.
TRAC #23961
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
2db197cd
|
2013-10-24T17:49:35
|
|
Use a consistent naming scheme for the cube map face index variables in Texture.cpp.
TRAC #23961
Signed-off-by: Shannon Woods
Signed-off-by: Geoff Lang
|
|
d4589c97
|
2013-10-24T17:49:34
|
|
Simplify passing the texture usage parameters through the texture classes.
Avoid passing a raw GLenum when possible.
TRAC #23961
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
e83d1a93
|
2013-10-24T17:49:33
|
|
Change Texture::convertToRenderTarget to ensureRenderTarget, which tries to convert a storage to a RT if it isn't already.
TRAC #23961
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
632192dd
|
2013-10-04T13:40:46
|
|
Added support for EXT_texture_rg in D3D9 and D3D11.
TRAC #22423
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
|
|
4133f5c2
|
2013-10-10T13:51:18
|
|
24bit depth formats need to flip the depth and stencil bits when loading.
TRAC #23540
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
|
|
85ea9abb
|
2013-10-10T13:50:34
|
|
Fixed the GL_FLOAT_32_UNSIGNED_INT_24_8_REV type having the incorrect number of bytes and allowed the depth stencil formats to specify that they have unused bits.
TRAC #23540
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
|
|
88f9cbf2
|
2013-10-18T14:33:37
|
|
SwapChain11 now stores a SRV of it's depth stencil.
TRAC #24025
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
|
|
d9b9a508
|
2013-10-10T17:46:13
|
|
Instead of checking if a texture is mipmap complete before we update the storage, only update complete storage levels.
TRAC #23996
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
aee7ad88
|
2013-10-10T16:07:32
|
|
Only update the currently active render target level in getRenderTarget, instead of the whole texture.
Also add a few more ASSERTs to the texture level update methods.
TRAC #23996
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
ba597af9
|
2013-10-22T13:12:15
|
|
Re-enable hazard warnings for setting render targets that are currently bound as SRVs.
We can manually unset applied textures in SetRenderTargets. This should fix the spurious warnings
while still showing a warning on error cases.
TRAC #24039
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
bfcda81d
|
2013-10-22T13:07:33
|
|
Add a method to return the Texture serial of a Renderbuffer, or zero if this is a non-texture Renderbuffer.
TRAC #24039
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
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
|
|
eef52cc6
|
2013-10-16T15:07:39
|
|
Fix mis-printed type in event message.
TRAC #23785
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
|
|
005df41f
|
2013-10-16T14:12:50
|
|
Use GLenum instead of GLint to store internal format variables.
TRAC #23785
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
|
|
2a6f956d
|
2013-10-18T17:25:45
|
|
Move the PBO unpack shaders to the proper folder.
These were not properly merged with the project changes.
TRAC #24028
Signed-off-by: Shannon Woods
Signed-off-by: Geoff Lang
|
|
036aa49b
|
2013-10-09T16:23:30
|
|
Disable warnings about size_t conversion and fix ambiguous template parameters in 64 bit builds.
TRAC #23409
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
|
|
ba4f10a3
|
2013-10-10T15:12:20
|
|
Support pixel unpack buffers in TexSubImage3D.
TRAC #23847
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
53683053
|
2013-10-10T15:30:15
|
|
Support the "fast path" (GPU copies) for pixel unpack buffers in TexImage3D.
TRAC #23846
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
a2d4e55d
|
2013-10-10T15:12:01
|
|
Add support for pixel unpack buffers to TexImage3D.
TRAC #23846
Signed-off-by: Shannon Woods
Signed-off-by: Geoff Lang
|
|
065e1a32
|
2013-10-10T15:11:50
|
|
Add support for pixel unpack buffers to TexSubImage2D.
TRAC #23845
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
4461f097
|
2013-10-10T15:10:39
|
|
Add support for the "fast path" (GPU copy) pixel unpack buffers in TexImage2D.
TRAC #23844
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
171ca0ea
|
2013-10-10T15:10:31
|
|
Refactor direct buffer storage to only create two backing buffers, for constant buffers and all other bindings.
This simplifies the logic used in retrieving the ID3D11Buffer.
TRAC #23844
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
c8c102b5
|
2013-10-10T15:10:24
|
|
Add a helper method to return the native format backing a GL texture type.
TRAC #23844
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
8cc7d975
|
2013-10-10T15:51:55
|
|
Refactor the fast path for pixel unpack buffers, and fix a few validation gaps with texture completeness.
TRAC #23997
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
0e0510fd
|
2013-10-10T15:46:23
|
|
Place the method responsible for checking for fast pixel unpack buffer support into the Renderer.
TRAC #23997
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
851a4f66
|
2013-10-10T15:15:36
|
|
Add precompiled D3D11 shaders for pixel unpack buffers.
TRAC #23844
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
ee7010d4
|
2013-10-17T10:45:47
|
|
Add support for querying major and minor GL version in ES3 contexts.
TRAC #23989
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
7c697201
|
2013-10-07T17:18:14
|
|
Deleted manually maintained visual studio projects and replaced them with gyp generated ones.
|
|
17732823
|
2013-08-29T13:46:49
|
|
Moved the compiler source files into directories based on their project and added a compiler.gypi to generate the compiler projects.
|
|
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.
|
|
401a0bc5
|
2013-10-16T13:20:49
|
|
Fix D3D9 attributes being marked as requireing conversion when they did
not.
R=jmadill@chromium.org,shannonwoods@chromium.org
Review URL: https://codereview.appspot.com/14737043
|
|
71cc91fc
|
2013-09-18T12:51:22
|
|
Remove an assert statement to do with uniforms and element indexes.
This assert could trigger false positives on sampler types. We should eventually
replace our uniform handling logic with something more consistent with D3D11's
"everything is a constant buffer" model.
TRAC #23749
Signed-off-by: Shannon Woods
Signed-off-by: Nicolas Capens
|
|
5925a4e4
|
2013-10-10T10:16:47
|
|
Only check for missmatched HWND process IDs if swap chain creation fails.
R=shannonwoods@chromium.org,zmo@chromium.org,jmadill@chromium.org
Review URL: https://codereview.appspot.com/14540050
|
|
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
|
|
bfc93bba
|
2013-10-09T11:36:53
|
|
Use cube textures as 2D texture arrays in rendertarget SRVs
This fixes mipmapping for renderable cube textures in D3D11.
Signed-off-by: Geoff Lang
Signed-off-by: Jamie Madill
|
|
f5ef21cd
|
2013-10-03T11:20:48
|
|
Add a define to force off the vertical sync for profiling.
TRAC #23973
Signed-off-by: Jamie Madill
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
|
|
01c21d28
|
2013-09-24T11:52:16
|
|
Fix incorrect targets for TexStorage2D with cube maps.
TRAC #23913
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
|
|
d1e9a9a6
|
2013-09-30T15:22:57
|
|
Add missing ES3 unsized internal formats and properly return 1 for alpha in integer formats with no alpha channel.
TRAC #23949
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
|
|
f6d6901c
|
2013-10-07T12:10:37
|
|
Fall back to LoadLibrary if preloading d3d compiler modules fails.
TRAC #23985
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
|
|
35d1501b
|
2013-10-07T10:46:37
|
|
Clean up the validation logic in glGenerateMipmap by using the generic base format property methods.
TRAC #23959
Signed-off-by: Shannon Woods
Signed-off-by: Geoff Lang
|
|
33f9c2ef
|
2013-10-07T10:46:36
|
|
In GenerateMipmap, determine if texture is a compressed or depth texture via generic methods instead of from the typed class.
Part of GenerateMipmap cleanups.
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
|
|
b04b708c
|
2013-09-30T15:54:57
|
|
Refactored the generate_shaders.bat script to use a function to compile the shaders and have the option of creating debug shaders.
TRAC #23907
Signed-off-by: Jamie Madill
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
|
|
d4f180b2
|
2013-09-24T13:57:44
|
|
Validate compressed texture dimensions based on the per-format compressed block sizes rather than hard-coded values.
TRAC #23630
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
|
|
ce635695
|
2013-09-24T13:56:32
|
|
Context now returns maximum texture levels per texture type, updated validation to validate mip level based on the texture target.
TRAC #23630
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
|
|
784a8fd5
|
2013-09-24T12:33:16
|
|
Defer early-exit due to zero-sized copies until after all other validation for CopyTex*Image.
TRAC #20925
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
|
|
efb2a6ff
|
2013-09-24T10:22:42
|
|
Add the proper API errors for pixel unpack buffers.
1. For overflowing the currently bound pixel unpack buffer in TexImage and TexSubImage calls.
2. Enforce unpack buffer offset alignment for TexImage and TexSubImage calls.
We'll have to check for currently mapped buffers when we implement map.
TRAC #23842
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
3c6344e7
|
2013-09-23T14:57:00
|
|
add TRACE_EVENT to ANGLE (reland)
Tracing code the same as previous CL:
https://codereview.appspot.com/12699047/
Setup code simplified, and follows the GetProcAddress model of other
gl functions.
R=shannonwoods@google.com
|
|
ba615196
|
2013-09-24T14:07:39
|
|
Normalize line endings of tracked files in the repository.
TRAC #23896
Signed-off-by: Shannon Woods
|
|
402bdcca
|
2013-09-24T13:01:24
|
|
Re-generate our compiled shaders with the new version of FXC.
TRAC #23838
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
cc9aa0f5
|
2013-09-04T11:10:22
|
|
Support the Windows 8 SDK version of fxc by default in generate_shaders.bat.
TRAC #23838
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|