|
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
|
|
68715287
|
2012-07-12T23:28:41
|
|
Scale up non-multiple-of-4 dxt textures
D3D doesn't support DXT textures that aren't a multiple of 4 in size, so multiply the sizes by 2 or 4 so they work. Then ensure sampler parameters are set up correctly so they don't sample the unuploaded miplevels.
BUG=https://code.google.com/p/angleproject/issues/detail?id=237
TEST=
Review URL: https://codereview.appspot.com/6287045
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1222 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
07ab841a
|
2012-07-12T15:17:09
|
|
Implement Anisotropic Texture filtering support
Bug=297
Authored-by: Conor Dickinson, Cloud Party, Inc.
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1219 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
95a758f3
|
2012-07-12T15:17:06
|
|
Remove dos-style line-endings (EOL changes only)
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1218 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
9616e583
|
2012-06-22T18:27:01
|
|
Merge no-flip-rows r1142 to trunk.
Review URL: https://codereview.appspot.com/6304052
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1162 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
68145c6f
|
2012-05-31T01:14:46
|
|
Apply the depth texture correctly as the DepthStencil surface in applyRenderTarget
Trac #20875
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1115 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
63e6afe9
|
2012-05-31T01:14:42
|
|
Ensure all getDepthStencil and getRenderTarget calls consistently handle references to the underlying d3d surfaces
Trac #20875
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1114 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
08bfcc47
|
2012-05-31T01:14:29
|
|
Add TextureStorage support for INTZ depth textures and ensure Images never create INTZ surfaces
Trac #20875
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1110 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
7aeab46f
|
2012-05-31T01:14:26
|
|
Factor renderability check into GetTextureUsage
Trac #20875
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1109 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
e32d5699
|
2012-05-31T01:14:22
|
|
Pass the usage parameter into TextureStorage instead of passing a boolean
Trac #20875
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1108 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
36884639
|
2012-05-31T01:14:18
|
|
Refactor texture usage logic to helper function
Trac #20875
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1107 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
0c854684
|
2012-05-31T01:14:11
|
|
Report errors for unsupported Depth/stencil texture operations
Trac #20875
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1105 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
355989bc
|
2012-05-09T15:49:29
|
|
Remove duplicate error checks from Texture subImage and subImageCompressed.
Issue=306
Signed-of-by: Nicolas Capens
These errors are validated by validateSubImageParams* now, no need to do it twice.
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1083 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
4df88e8a
|
2012-05-09T15:49:24
|
|
Make TextureCubeMap size/format/compressed checks explicit about the level and face they are checking
Issue=306
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1082 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
92f49929
|
2012-05-09T15:49:19
|
|
Make Texture2D format and compression checks be explicit about the level they are checking
Issue=306
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1081 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
46f2d0a9
|
2012-05-09T15:49:06
|
|
Split RenderbufferTexture into 2D and CubeMap specific variants
Issue=306
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1078 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
bf6e5d4d
|
2012-05-09T15:49:03
|
|
Remove the unused Texture::getType method
Issue=306
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1077 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
28eb3921
|
2012-05-09T15:48:57
|
|
Move the internal format check for compressed subImage commands to the API layer
Issue=306
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1075 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
2d669fce
|
2012-05-09T15:42:48
|
|
Texture: Avoid attempting to create 0 sized D3D textures
Issue=301
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1074 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
519c32ba
|
2012-05-01T15:24:05
|
|
Implement SSE2 version of loadAlphaData
http://codereview.appspot.com/6050054/
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Authored-by: Jin Yang
With this patch, my HTML5 2D canvas benchmark with Chromium on Windows7 with GPU
acceleration can boost about 4% though the most execution time is in GPU.
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1067 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
fc74c375
|
2012-04-11T17:53:24
|
|
Guard against null surface in Image::updateSurface.
Review URL: https://codereview.appspot.com/5985051
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1026 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
3b130253
|
2012-04-03T18:20:18
|
|
Make Image::lock and unlock private and call them from Image::loadData.
This is because I want loadData to be able to decide whether to use LockRect/UnlockRect or UpdateSurface as the method to load the data, depending on whether the Images are backed by textures in the default pool or not.
I think it actually cleans up the code a bit.
Also, fixed a bug in subImageCompressed. The associated WebGL conformance test now passes.
Review URL: https://codereview.appspot.com/5948043
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1013 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
a1d8059d
|
2012-01-25T21:52:10
|
|
Increase MSVC warning level to 4.
There are some exceptions, a subset of the exceptions used by Chromium. They didn't seem to be useful warnings.
In code which we don't change much, like the preprocessor, I just suppressed the warnings in the specific files rather than changing the code.
There should be no functional changes in this patch.
Review URL: https://codereview.appspot.com/5570066
git-svn-id: https://angleproject.googlecode.com/svn/trunk@964 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
2678b34b
|
2012-01-18T16:29:40
|
|
Changes the pointer from textures to their renderbuffer proxies to non-refcounted (2/2)
TRAC #19335
Issue=271
Instead, the texture maintains an internal refcount which causes the pointer to behave
kind of like a "weak" shared pointer-- its reference won't prevent the renderbuffer from
being deleted, but if the renderbuffer's refcount drops to zero, the texture should set
its pointer to the renderbuffer to null so that a new one can be created at the next
getRenderbuffer call.
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/trunk@948 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
c8d46066
|
2011-12-22T19:39:14
|
|
Ensure texture storage exists before retrieving serial
Trac #19330
Signed-off-by: Nicolas Capens
In some cases we were trying to retrieve a serial from
a rendertarget texture which didn't have the storage allocated yet.
This was resulting in a 0 serial which was indistinguishable from
the case where context was just marked dirty and we assumed
the target was up-to-date. This resulted in
failing to apply the correct rendertarget and as a result
some d3d clear calls were failing (picked up by debug runtime).
git-svn-id: https://angleproject.googlecode.com/svn/trunk@929 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
4d6c6d75
|
2011-12-22T19:36:50
|
|
Only allow renderable d3dformats to be flagged as rendertarget texstorage
Trac #19356
Issue=273
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@928 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
2e566dc3
|
2011-12-22T19:36:47
|
|
rename TextureStorage renderable flag to reflect it's actual usage
Trac #19356
Issue=273
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@927 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
b9aa00b2
|
2011-12-22T19:36:42
|
|
Refactor image renderability lookup
Trac #19356
Issue=273
Signed-off-by: Nicolas Capens
Based on preliminary patch from Ken Russell
Images are never renderable directly, so renaming the Image::isRenderable function clarifies that we are
only checking on the renderability of the format.
Also factor out the lookup to a static helper function (it will be used elsewhere in the next patch)
git-svn-id: https://angleproject.googlecode.com/svn/trunk@926 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
ad0ca1c4
|
2011-12-16T23:28:52
|
|
make the renerable usage consistant and const
Trac #19259
Issue=268
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@922 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
92399aa2
|
2011-12-16T23:28:47
|
|
Add TextureStorage::getPool method
Trac #19259
Issue=268
Use it to avoid duplicate calls to getTexturePool
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@921 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
101f8697
|
2011-12-16T23:28:43
|
|
Let TextureStorage track the texture pool explicitly
Trac #19259
Issue=268
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@920 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
f5cffc91
|
2011-12-16T23:28:39
|
|
Rename various mTexture variables to mTexStorage to reflect what they really are
Trac #19259
Issue=268
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@919 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
63928d78
|
2011-12-16T23:28:34
|
|
Cache the computation of getD3DFormat
Trac #19259
Issue=268
Instead of looking this up every time, we'll just compute it when the type/format changes.
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@918 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
1dda3b18
|
2011-12-16T23:28:31
|
|
Move ConvertTextureFormatType
Trac #19259
Issue=268
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@917 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
38f28cba
|
2011-12-16T23:28:26
|
|
Track the texture pool explicitly in the Image class
Trac #19259
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@916 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
1d116b42
|
2011-12-16T23:28:22
|
|
Fix managed texturestorage textures
Trac #19259
Issue=268
managed textures need to be set on the images so they can be updated
properly and to avoid the additional system memory copy of the surfaces.
Also make sure track the managed state properly.
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@915 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
f71a339a
|
2011-12-16T23:28:18
|
|
Use the correct d3dformat for texstorage textures.
Trac #19259
Issue=268
The image we were trying to get the d3dformat from hadn't been initialized yet.
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@914 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
8d6252eb
|
2011-12-16T23:28:14
|
|
Add a static helper function to convert a GL format/type to d3dformat and call this from Image::getD3DFormat
Trac #19259
Issue=268
Signed-off-by: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@913 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
5f7dc33d
|
2011-12-13T22:48:00
|
|
Use the correct function to determine texture pool
Trac #19259
Issue=269
git-svn-id: https://angleproject.googlecode.com/svn/trunk@912 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
7f4dee14
|
2011-12-07T21:14:00
|
|
Guard against releasing NULL textures.
ANGLEBUG=265
TRAC #19196
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@905 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
f1286449
|
2011-11-29T19:42:23
|
|
Adds a level parameter to texture getWidth and getHeight
TRAC #18802
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Shannon Woods
git-svn-id: https://angleproject.googlecode.com/svn/trunk@899 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
1e44645a
|
2011-11-16T03:56:50
|
|
Immutable textures are always mipmap complete.
TRAC #18730
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@883 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
6364b350
|
2011-11-16T03:56:44
|
|
Split completeness tests into sampler and mipmap completeness.
TRAC #18730
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@882 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
d28da894
|
2011-11-12T04:23:53
|
|
Use the texture surfaces as image surfaces when managed.
TRAC #14743
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@875 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
59580a3d
|
2011-11-12T04:23:44
|
|
Used the MANAGED pool for non-renderable textures on XP.
TRAC #14743
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@874 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
ef4cb8b3
|
2011-11-11T04:18:27
|
|
Create a render target texture when intended as framebuffer attachment.
TRAC #18732
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@861 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
7d18c17f
|
2011-11-11T04:18:21
|
|
Added the texture usage parameter.
TRAC #18732
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@860 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
64a0fb2a
|
2011-11-11T04:10:40
|
|
Implemented glTexStorage2DEXT.
TRAC #18730
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@857 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
d30bd0a7
|
2011-11-11T04:10:34
|
|
Added the immutable parameter.
TRAC #18730
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@856 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
fbc39524
|
2011-11-11T04:10:28
|
|
Issue render target serials per texture storage.
TRAC #18730
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@855 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
9f8f6229
|
2011-11-11T04:10:23
|
|
Move serial management to TextureStorage.
TRAC #18730
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@854 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
5e4dbb30
|
2011-11-11T04:10:18
|
|
Create D3D textures within Storage classes. Fixed render target reference counting.
TRAC #18730
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@853 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
afa8ef36
|
2011-11-11T04:10:13
|
|
Simplified cube face handling and render target conversion.
TRAC #18730
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@852 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
dc82bf91
|
2011-11-11T04:10:08
|
|
Encapsulate D3D textures into Storage classes.
TRAC #18730
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@851 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
f81103a6
|
2011-11-09T17:46:28
|
|
maxLevels is always 0.
TRAC #18714
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@842 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
4163405e
|
2011-11-09T17:46:24
|
|
Release the D3D texture on any actual redefine.
TRAC #18714
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@841 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
d14558a2
|
2011-11-09T17:46:18
|
|
Separate Colorbuffer into storage and texture variants, implementing a common interface.
TRAC #16284
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@840 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
bbeffbb6
|
2011-11-09T17:46:11
|
|
Be more explicit about floating-point format support.
TRAC #16284
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@839 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
c1fde76c
|
2011-11-09T17:46:07
|
|
Issue a new serial for every new D3D texture.
TRAC #16284
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@838 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
1a01e830
|
2011-11-09T17:45:57
|
|
Always release pbuffer surfaces on redefine.
TRAC #18714
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@836 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
9d4eac7a
|
2011-11-09T17:45:53
|
|
mIsRenderable is only valid when there is a texture.
TRAC #18714
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@835 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
90cfcc95
|
2011-11-09T17:45:48
|
|
Move copyToImage to Image::copy.
TRAC #18714
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@834 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
839fb9b0
|
2011-11-09T17:45:43
|
|
New image surfaces are not dirty (nothing to copy over). Lock marks images as dirty.
TRAC #18714
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@833 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
0c67f3cd
|
2011-11-09T17:45:38
|
|
Eliminated the format parameter.
TRAC #18714
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@832 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
f749f0e8
|
2011-11-09T17:45:34
|
|
Moved load*Data methods to Image.
TRAC #18714
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@831 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
6e4b1219
|
2011-11-09T17:45:28
|
|
Eliminated GetDesc calls.
TRAC #18714
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@830 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
73de05a5
|
2011-11-09T17:45:24
|
|
Encapsulate image surface creation.
TRAC #18714
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@829 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
4c0a7715
|
2011-11-09T17:45:19
|
|
Defer image surface creation.
TRAC #18714
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@828 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
5cce3ff0
|
2011-11-09T17:45:14
|
|
Abstracted image locking/unlocking.
TRAC #18714
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@827 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
dff362f5
|
2011-11-09T17:45:08
|
|
Turned Image into a class to improve encapsulation.
TRAC #18714
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@826 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
de631783
|
2011-11-09T17:45:04
|
|
Moved Image outside of Texture.
TRAC #18714
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@825 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
0da803be
|
2011-11-09T17:44:58
|
|
Refactored texture dirtiness.
TRAC #18714
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@824 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
01dae855
|
2011-11-09T17:44:53
|
|
Don't redefine at copySubImage.
TRAC #18714
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@823 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
68ae299a
|
2011-11-09T17:44:49
|
|
Refactored redefine.
TRAC #18714
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@822 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
31e22e1d
|
2011-11-09T17:44:44
|
|
Moved createSurface() to Image.
TRAC #18714
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@821 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
9ab8e3e0
|
2011-11-09T17:44:39
|
|
Clear the dirty flag on copied images.
TRAC #18495
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@820 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
c9ba4ad2
|
2011-11-09T17:44:35
|
|
Only destroy the redefined image level.
TRAC #18495
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@819 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
b612f88b
|
2011-11-09T17:44:31
|
|
Use commitRect within updateTexture to avoid duplicate logic.
TRAC #18495
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@818 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
25c5cf6a
|
2011-08-10T08:07:54
|
|
One more DXT bug
Review URL: http://codereview.appspot.com/4844057
git-svn-id: https://angleproject.googlecode.com/svn/trunk@723 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
2ac3e738
|
2011-08-10T07:59:47
|
|
Fix bugs in DXT support
Review URL: http://codereview.appspot.com/4857045
git-svn-id: https://angleproject.googlecode.com/svn/trunk@722 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
50c526d2
|
2011-08-10T05:19:44
|
|
Add support for DXT3 and DXT5
TEST=none
BUG=none
Review URL: http://codereview.appspot.com/4809068
git-svn-id: https://angleproject.googlecode.com/svn/trunk@721 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
a1a86201
|
2011-08-09T13:41:08
|
|
Release cube map surfaces on successful conversion (avoiding a memory leak).
TRAC #17749
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@720 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
3b3c1d43
|
2011-06-08T20:38:09
|
|
Revert copyImage changes from r682 as they cause regressions on some webpages
git-svn-id: https://angleproject.googlecode.com/svn/trunk@684 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
406cc109
|
2011-06-08T12:42:28
|
|
No need to update texture before overwriting it with CopyImage.
Issue=163
TRAC #17019
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@682 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
57a2cd65
|
2011-06-08T00:04:07
|
|
Purge associated render buffer object when texture is resized.
Similar fix for cube maps to follow.
Review URL: http://codereview.appspot.com/4532124
git-svn-id: https://angleproject.googlecode.com/svn/trunk@678 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
4f9ef0d6
|
2011-05-30T23:51:19
|
|
Implemented OES_texture_npot support.
TRAC #16871
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@661 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
f1f28c80
|
2011-05-12T20:53:34
|
|
Use SSE2 to swizzle RGBA to BGRA
Using SSE2 can drastically reduce the amount of time it takes to do glTexImage2D. I've also added a plain-C path that's much faster than the one that was there before.
BUG=151
TEST=
Review URL: http://codereview.appspot.com/4465052
git-svn-id: https://angleproject.googlecode.com/svn/trunk@649 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
e2f954cd
|
2011-05-03T20:45:27
|
|
Validate cube texsubimage based on current face
Apps can load cube faces in an arbitrary order, so validating texsubimage based on the format of only the first face won't work.
BUG=149
TEST=
Review URL: http://codereview.appspot.com/4445085
git-svn-id: https://angleproject.googlecode.com/svn/trunk@629 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
eef864ad
|
2011-04-22T11:33:27
|
|
Use StretchRect to speed up simple blits.
Fixed copy position transformation.
TRAC #16494
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@618 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
ae345807
|
2011-03-30T22:04:25
|
|
Add support for eglBindTexImage and eglReleaseTexImage
With this patch we can bind pbuffers as textures. Once we add support for using
a sharing handle to create a pbuffer we can use this to allow us to use it as a
texture as well.
BUG=129
TEST=modified Simple_Texture2D works
Review URL: http://codereview.appspot.com/4291066/
git-svn-id: https://angleproject.googlecode.com/svn/trunk@604 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
b627699f
|
2011-03-29T00:58:18
|
|
Use D3DX to copy between renderable texture surfaces.
TRAC #16118
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@598 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
549bdefe
|
2011-03-29T00:57:01
|
|
Retrieve the D3D texture format per image.
TRAC #16118
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@597 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
a06aa870
|
2011-03-21T17:22:21
|
|
Track dirty texture parameters and images separately.
TRAC #15703
Issue=86
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@590 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
a9eb5dac
|
2011-03-21T16:39:16
|
|
Track texture serials instead of id's.
TRAC #15703
Issue=86
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@589 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
38e76e53
|
2011-03-21T16:39:10
|
|
Keep track of applied textures and dirty state to minimize D3D calls.
TRAC #15703
Issue=86
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@588 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
51887316
|
2011-03-21T16:39:03
|
|
Fix checking for floating-point render target texture support.
TRAC #15703
Issue=86
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@587 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
f4e36037
|
2011-03-21T16:38:59
|
|
Copy texture data of incomplete textures to the image arrays.
TRAC #15703
Issue=86
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@586 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
94a4f03f
|
2011-03-21T16:38:55
|
|
Retrieve current texture properties from the image array to avoid D3D call.
TRAC #15703
Issue=86
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@585 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
6120820e
|
2011-03-21T16:38:50
|
|
Retrieve texture width, height and type from the top-level image.
TRAC #15703
Issue=86
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@584 736b8ea6-26fd-11df-bfd4-992fa37f6226
|
|
b5a3a6b6
|
2011-03-21T16:38:46
|
|
Texture image refactoring.
TRAC #15703
Issue=86
Signed-off-by: Daniel Koch
Author: Nicolas Capens
git-svn-id: https://angleproject.googlecode.com/svn/trunk@583 736b8ea6-26fd-11df-bfd4-992fa37f6226
|