|
685dd27a
|
2014-08-29T15:46:43
|
|
Replace getDepthStencil with getRenderTarget.
In all places where we called this method, we treated a NULL return
value as an internal error. This implies to me that we don't need the
two getRenderTarget and getDepthStencil methods, since we aren't using
them to check if a surface is depth or stencil.
BUG=angle:732
Change-Id: I4d1dc148abf3383b1b101bbff4f4d22de27ad03e
Reviewed-on: https://chromium-review.googlesource.com/213852
Tested-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Brandon Jones <bajones@chromium.org>
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
|
|
0b7eef7c
|
2014-06-12T14:10:47
|
|
Removed common_includes.h reordered includes.
Since we are not using precompiled headers anymore, remove common_includes.h
so that fewer files are included in cpp files.
Reordered includes to be in the following order:
1) Local ANGLE project headers, ordered by directory in descending depth
2) GL headers
3) STL headers
This helps enforce the include-what-you-use principal by reducing the
number of STL headers unexpectedly shared between files.
This include order conflicts with some of the Google c++ style guide
which states that STL includes should be first but this helps us catch
more issues.
Change-Id: I8f7785f4ad574e253dd3c7b4fb1e54d3ce3b99fc
Reviewed-on: https://chromium-review.googlesource.com/214850
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Tested-by: Geoff Lang <geofflang@chromium.org>
|
|
ea24759f
|
2014-08-28T10:37:08
|
|
Remove remnants of old PCH code.
Remove the precompiled.cpp file which was producing a build warning,
and rename the header to make it clear we no longer support PCH.
BUG=angle:
Change-Id: I944081ae477b1478ca9c18924fb02bb920d420a7
Reviewed-on: https://chromium-review.googlesource.com/214187
Tested-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
|
|
6053a52e
|
2014-07-25T16:22:09
|
|
Moved some validation back to Texture, unified all TextureImpl variants
BUG=angle:688
Change-Id: Ie2df18277c84345fceaa31d4f63f5cbbb47540c6
Reviewed-on: https://chromium-review.googlesource.com/211387
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Tested-by: Brandon Jones <bajones@chromium.org>
|
|
cef06ff2
|
2014-08-05T13:27:48
|
|
Unifying the various texture interfaces where possible
Also fixed diamond inheritance pattern that was causing trouble
on Windows 8
BUG=angle:688, angle:720
Change-Id: I678826bd4f3927c68ca1eb2e018dbb5aad33a8cc
Reviewed-on: https://chromium-review.googlesource.com/211037
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Tested-by: Brandon Jones <bajones@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
|
|
5d601382
|
2014-07-22T15:14:06
|
|
Simplify formatutils.h by exposing the info structures.
Removed all the separate query functions and simply expose the internal
info structures. This reduces the number of std::map/std::set operations
that were hidden behind the API.
Moved the validation tables for ES3 format combinations and effective
internal formats into validationES3.cpp so that formatutils.h only has
generic GL format queries.
BUG=angle:658
Change-Id: Ieb60d42b8eafcdb4f21dcbec130b39478ce5f7c5
Reviewed-on: https://chromium-review.googlesource.com/206835
Reviewed-by: Nicolas Capens <capn@chromium.org>
Tested-by: Geoff Lang <geofflang@chromium.org>
|
|
f8bdfebc
|
2014-07-31T18:31:28
|
|
Revert "Unifying the various texture interfaces where possible"
This reverts commit 8c9038d6f57a4b53c97c4fb803259e7a50ab4cea.
Change-Id: I29c25121870e6f8d12144d235029f46fff90be7c
Reviewed-on: https://chromium-review.googlesource.com/210651
Tested-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
|
|
8c9038d6
|
2014-07-21T09:43:22
|
|
Unifying the various texture interfaces where possible
BUG=angle:688
Change-Id: I43be738e0a42f7a7e1448e1d9300b30d4bc54125
Reviewed-on: https://chromium-review.googlesource.com/209343
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Tested-by: Brandon Jones <bajones@chromium.org>
|
|
6b19b002
|
2014-07-16T14:32:05
|
|
Removing D3D-isms from gl::Texture
BUG=angle:688
Change-Id: I0cdc758000993f2d54240c69a84f5ae149306d9e
Reviewed-on: https://chromium-review.googlesource.com/209332
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Tested-by: Brandon Jones <bajones@chromium.org>
|
|
142ec426
|
2014-07-16T10:31:30
|
|
Refactored Texture2DArray, separated out D3D logic
BUG=angle:688
Change-Id: Ie3e5ac2bedcffb816ef1537575f09afb3f5e7a35
Reviewed-on: https://chromium-review.googlesource.com/208381
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Tested-by: Brandon Jones <bajones@chromium.org>
|
|
6cf8e1b9
|
2014-07-03T13:03:57
|
|
Reduce the number of TextureFormatCaps members.
Since GL has no notion of texture formats that can be used for different
types of textures, merge the TextureFormatCaps texture support members.
Also merge the various renderability members since the texture type is
enough to determine what type of renderable a format is.
BUG=angle:658
Change-Id: I7cba50b147fcca8f3880d65c06c57df9c65ed19c
Reviewed-on: https://chromium-review.googlesource.com/206830
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Tested-by: Geoff Lang <geofflang@chromium.org>
|
|
78b1acdb
|
2014-07-15T15:33:07
|
|
Refactored Texture3D, separated out D3D logic
BUG=angle:688
Change-Id: I6cda73c2e4c8a026b8c5222bc40cea93ad4e0ba3
Reviewed-on: https://chromium-review.googlesource.com/208102
Tested-by: Brandon Jones <bajones@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
|
|
0511e808
|
2014-07-14T16:27:26
|
|
Refactored TextureCubeMap, separated out D3D logic
BUG=angle:688
Change-Id: I2300aaad4fab25df484e0bc3613ac3b176addc93
Reviewed-on: https://chromium-review.googlesource.com/208191
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Tested-by: Brandon Jones <bajones@chromium.org>
|
|
f47bebc4
|
2014-07-09T14:28:42
|
|
Refactored Texture2D, separated out D3D logic
BUG=angle:688
Change-Id: I93c2ff0b125278234d61324844b79cc58135d4d8
Reviewed-on: https://chromium-review.googlesource.com/207675
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Brandon Jones <bajones@chromium.org>
|
|
6518fe24
|
2014-07-08T15:16:52
|
|
Moved TextureStorage and Image into d3d
BUG=angle:688
Change-Id: I98ffa1082340a829a77fe5082958898b9c6ab1a2
Reviewed-on: https://chromium-review.googlesource.com/207054
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Tested-by: Brandon Jones <bajones@chromium.org>
|
|
c0b9ef4b
|
2014-07-02T10:02:37
|
|
Split Caps into Caps, Extensions and TextureFormatCaps.
Context now holds it's own Caps, Extensions and TextureFormat caps so that it
can modify them based on client version or work-arounds.
BUG=angle:658
Change-Id: Id71b6c89b7aa36e1f3dc42b0e4720eaed1851fb9
Reviewed-on: https://chromium-review.googlesource.com/206480
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Tested-by: Geoff Lang <geofflang@chromium.org>
|
|
a328d569
|
2014-07-01T13:52:40
|
|
Removed sampler state getters and setters from gl::Texture
BUG=angle:688
Change-Id: I3f203e4d10059c12a0c00e967ad6c7d3b3a18074
Reviewed-on: https://chromium-review.googlesource.com/206335
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Brandon Jones <bajones@chromium.org>
|
|
d38f926a
|
2014-06-18T16:26:45
|
|
Refactoring Buffers
BUG=angle:681
Change-Id: I6c3809e0b9468dfe38465c55759c2572c21485da
Reviewed-on: https://chromium-review.googlesource.com/204896
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Tested-by: Geoff Lang <geofflang@chromium.org>
|
|
e4a492be
|
2014-06-19T14:14:41
|
|
Remove the clientVersion parameter from the format utils.
clientVersion was only useful for intitial validation of formats and not
required for queries. Only use the client version and caps structure to
validate if a format is available and then trust that it is supported past
the validation layer.
Fixed some inconsistancies between tables such as missing formats or
incorrect load functions in the ES3 tables.
BUG=angle:659
Change-Id: I8d33c902156ee6fb41efe937d93b0586191726e5
Reviewed-on: https://chromium-review.googlesource.com/201167
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Geoff Lang <geofflang@chromium.org>
|
|
e261b44a
|
2014-06-25T12:42:21
|
|
Remove obsolete Renderbuffer types.
RenderbufferProxySet and FramebufferTextureBindingPointer aren't
necessary any more with our refactored renderbuffer classes and
ownership of attachments by the Framebuffer.
We can also consolidate the FramebufferAttachment and implementation
to a single class, and no longer need to store ref counted objects
in the Framebuffer class directly.
BUG=angle:660
Change-Id: Idcc06dfb42b47242b33494e797a0ba06d6669511
Reviewed-on: https://chromium-review.googlesource.com/201838
Tested-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
|
|
1e3fa74d
|
2014-06-16T10:34:00
|
|
Remove Renderer pointer from FBO attachments.
Removing the Renderer pointer is one step towards making FBO
attachments a minimal state object. Eventually we will be able
to store them as arrays instead of arrays of pointers.
BUG=angle:660
Change-Id: Idce34e06c339ecb18c60fef12d2ed911d0c4e0f6
Reviewed-on: https://chromium-review.googlesource.com/201835
Tested-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
|
|
cec3590a
|
2014-04-16T10:52:36
|
|
Use a Caps structure to store extension and texture format support.
Removes support for fallbacks in D3D9 texture formats. The fallback
formats did not work properly anyways.
BUG=angle:658
Change-Id: Idfa5183bf71fd8ebf4608f940f9d93177b9eff08
Reviewed-on: https://chromium-review.googlesource.com/200813
Tested-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
|
|
3c7fa226
|
2014-06-05T13:08:51
|
|
Rename Renderbuffer to FramebufferAttachment.
Part of the refactoring effort to clean up our classes for FBO
attachments and Renderbuffers.
BUG=angle:660
Change-Id: Id23df904f56499568159611b66c8922b9dce6a3d
Reviewed-on: https://chromium-review.googlesource.com/201832
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Jamie Madill <jmadill@chromium.org>
|
|
560a8d88
|
2014-05-21T13:06:20
|
|
Refactor CopyTexImage validation.
Move the common validation code to a shared base function.
BUG=angle:571
Change-Id: Id70b413b408a21f0a8933cfd4a09e261e637bae1
Reviewed-on: https://chromium-review.googlesource.com/200559
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Jamie Madill <jmadill@chromium.org>
|
|
946b948d
|
2014-05-12T16:37:25
|
|
Optimize Texture*::updateStorage by iterating over fewer levels.
Only update the storage on levels that exist. Especially helps for cube
maps which have 90 images that would be iterated over in all cases. Added
an additional early-out check if the image is dirty for cube maps to match
the other texture types.
BUG=260069
Change-Id: I3d298f4f9ebdc23136a31138a3ef8364667fa78c
Reviewed-on: https://chromium-review.googlesource.com/199344
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Nicolas Capens <nicolascapens@chromium.org>
Tested-by: Geoff Lang <geofflang@chromium.org>
|
|
8de68287
|
2014-04-04T11:10:27
|
|
Implement state tracking for BASE/MAX_LEVEL, and MIN/MAX_LOD.
BUG=angle:596
Change-Id: I773720a19b766c7a6930967983db0a34e84f2790
Reviewed-on: https://chromium-review.googlesource.com/193235
Tested-by: Nicolas Capens <nicolascapens@chromium.org>
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
|
|
cebb5aa0
|
2014-04-07T14:13:40
|
|
Fix warnings about unreferenced local variables.
BUG=angleproject:602
Change-Id: I2eb04fe6eed60b3877b14628e81c0b1fe3b68647
Reviewed-on: https://chromium-review.googlesource.com/193431
Tested-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
|
|
bf712d0a
|
2014-03-31T14:23:35
|
|
Remove max level from texture storage.
BUG=angle:596
Change-Id: I174e3b73c0cb675b5c9aea5722a7051a34639831
Reviewed-on: https://chromium-review.googlesource.com/192340
Tested-by: Nicolas Capens <nicolascapens@chromium.org>
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
|
|
fa7b76d0
|
2014-03-31T14:51:45
|
|
Remove base level from texture storage.
BUG=angle:596
Change-Id: I66173f77b6c5aed3b8836cd2c9f1da02ae769429
Reviewed-on: https://chromium-review.googlesource.com/192056
Tested-by: Nicolas Capens <nicolascapens@chromium.org>
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
|
|
f61738a5
|
2014-03-31T14:50:18
|
|
Rename lod offset to top level.
BUG=angle:596
Change-Id: Ic256445528d6587adcf0adfd8aaba5e47778988b
Reviewed-on: https://chromium-review.googlesource.com/192055
Tested-by: Nicolas Capens <nicolascapens@chromium.org>
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
|
|
98705b7d
|
2014-03-31T16:00:03
|
|
Fix off-by-one error with the number of storage mip levels.
This caused there to be too few mip levels in the TextureStorage and it
would be discarded if there was a modification to a lower mip.
Also modified Texture::mipLevels to return the number of mip levels rather
than the index of the smallest mip to avoid confusion.
Fixes WebGL D3D9 conformance failures in:
mipmap-fbo
BUG=angleproject:550
Change-Id: Idf3f543487232edceb520337331b39dab2bd26ba
Reviewed-on: https://chromium-review.googlesource.com/192341
Reviewed-by: Nicolas Capens <nicolascapens@chromium.org>
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Geoff Lang <geofflang@chromium.org>
|
|
2a20562f
|
2014-02-12T10:41:24
|
|
Fix depth texture validation in ES2 contexts.
We were checking for extra conditions that apply to ES3 within all
ES2 contexts, causing the webgl depth texture conformance test to
fail.
BUG=angle:550
Change-Id: Iae9a4880b9efc6be8c6857bce27a47d42fecc23a
Reviewed-on: https://chromium-review.googlesource.com/186122
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Jamie Madill <jmadill@chromium.org>
|
|
cbf727ae
|
2014-02-10T12:50:45
|
|
Remove references to D3D formats in the Texture class.
Change-Id: I67add42cc69ec372840c67656bd2c77c623b23d0
Reviewed-on: https://chromium-review.googlesource.com/185567
Reviewed-by: Nicolas Capens <nicolascapens@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Tested-by: Geoff Lang <geofflang@chromium.org>
|
|
648c9683
|
2014-01-21T16:50:58
|
|
Minor optimizations to texture functions.
By shuffling some parameters and calls around we can reduce the
number of function calls we run for texture operations.
Change-Id: If6d14cb6dff668cdfcb2f1fe6705e0d488dbc03f
Reviewed-on: https://chromium-review.googlesource.com/183582
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Jamie Madill <jmadill@chromium.org>
|
|
c30003d6
|
2014-01-10T12:51:23
|
|
Fix zero-size textures and unpack buffers.
We would sometimes attempt to use a NULL staging texture when
initializing a zero size texture when using unpack buffers.
Change-Id: I2e03141c19d9c47eeffb0d56c03bcfe476a9e48d
Reviewed-on: https://chromium-review.googlesource.com/181781
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Nicolas Capens <nicolascapens@chromium.org>
Commit-Queue: Nicolas Capens <nicolascapens@chromium.org>
Tested-by: Jamie Madill <jmadill@chromium.org>
|
|
b8f8b89b
|
2014-01-07T10:12:50
|
|
Fix using wrong value for array size in 2D array storage.
We were incorrectly calling Texture::getBaseLevelDepth() which was
correctly reporting the number of 3D slices of the texture (1).
Also rename Texture2DArray::getDepth to getLayers for clarity.
Change-Id: I1968cbcb0a3528bb76ec3e4ea4148e5dc0f302c7
Reviewed-on: https://chromium-review.googlesource.com/181553
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Shannon Woods <shannonwoods@chromium.org>
Tested-by: Jamie Madill <jmadill@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>
|
|
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
|
|
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
|
|
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
|
|
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
|
|
ba4f10a3
|
2013-10-10T15:12:20
|
|
Support pixel unpack buffers in TexSubImage3D.
TRAC #23847
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
|
|
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
|
|
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
|