|
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
|
|
baa6116c
|
2013-10-22T15:53:49
|
|
Regenerate public Visual Studio projects.
TRAC #24044
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
|
|
7731d6a7
|
2013-10-22T15:43:10
|
|
Update the GYP dependency to a revision with Visual Studio 2010 Express solution generation working correctly.
TRAC #24044
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
|
|
16a1c072
|
2013-10-22T15:42:15
|
|
Expose the textureLod functiosn to GLES 3.00 shaders.
We should have support for these methods, but they were not exposed to the shaders.
TRAC #23991
Signed-off-by: Shannon Woods
Signed-off-by: Geoff Lang
|
|
251f57a0
|
2013-10-22T14:34:08
|
|
Ignore output from new Visual Studio projects.
TRAC #24020
|
|
512a7b7b
|
2013-10-22T14:07:46
|
|
Regenerate project files.
TRAC #24020
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
|
|
2b8f6fb4
|
2013-10-21T13:35:39
|
|
Public project generation script is now a python script and generates projects into the projects directory.
TRAC #24020
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
|
|
dd7234c5
|
2013-10-16T15:07:55
|
|
Remove un-referenced functions.
TRAC #23785
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
|
|
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
|
|
f02ec390
|
2013-10-18T17:11:07
|
|
Regenerate public project files.
|
|
b236212e
|
2013-10-15T14:16:43
|
|
Updated the gyp build system for the ninja generator to work.
TRAC #24018
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
|
|
78059907
|
2013-10-11T14:33:01
|
|
Added a 64 bit build target to the gyp file.
TRAC #24018
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
|
|
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
|
|
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
|
|
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
|
|
6b9cb259
|
2013-10-17T10:45:47
|
|
Rename ParseHelper.cpp/h to ParseContext.cpp/h.
TRAC #24002
Signed-off-by: Shannon Woods
Signed-off-by: Geoff Lang
|
|
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
|
|
455a6f5c
|
2013-10-17T10:45:46
|
|
Expose gl_MaxDrawBuffers to ESSL 3.00 shaders.
Previously was only exposed in ESSL 1.00.
TRAC #23990
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
e26b15a2
|
2013-10-17T14:18:42
|
|
Regenerate project files.
|
|
61af78d1
|
2013-10-17T12:05:24
|
|
Add a project update script.
TRAC #24017
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
|
|
4a9e236b
|
2013-10-17T10:31:32
|
|
Fixed issues compiling gtest in using the visual studio 2012 compiler.
|
|
216644ba
|
2013-10-15T10:40:30
|
|
Regenerate project files.
|
|
31f0dc0a
|
2013-10-08T13:29:13
|
|
Merge a0bd8ef0aca9eab29a0e5a437b803c5d95a777c6 from master.
Use ANGLE_TRANSLATOR_STATIC to enforce a static build of the translator in
chromium.
This prevents strange warnings from defining COMPONENT_BUILD=0.
Also rename COMPILER_IMPLEMENTATION to ANGLE_TRANSLATOR_IMPLEMENTATION
for better consistency in chromium.
ANGLEBUG=477
R=zmo@chromium.org
BUG=
|
|
5e5f990e
|
2013-10-08T11:46:54
|
|
Merge 7692ca41dbfe20e6acf3319a37aa38b8160f51c6 from master.
Remove %(AdditionalDependencies) from gyp linker deps, and add full windows dependency library list.
ANGLEBUG=477
BUG=
R=zmo@chromium.org
Review URL: https://codereview.appspot.com/14161043
|
|
8690da8b
|
2013-10-08T10:57:09
|
|
Merge 49cbc5768c15d930d5d8751f5263e9546a07d037 from master.
Fix a typo introduced in "GCC Compiler Fixes".
ANGLEBUG=478
BUG=
R=shannonwoods@chromium.org
Review URL: https://codereview.appspot.com/14155043
|
|
8622e554
|
2013-10-08T10:52:52
|
|
Merge 16a3eb3e9fdee83ab9ed15769ec629eab4bc4174 from master.
Fix compiler test initialization issues.
We should call ShInitialize() / ShFinalize() once per process, so moving
them out of individual test's Setup() / Shutdown() to the test main().
BUG=
R=alokp@chromium.org
Review URL: https://codereview.appspot.com/13568048
|
|
2b6008c9
|
2013-10-08T10:44:05
|
|
Merge 366229430ea056cf7f33917a4fa37b721512a42c from master.
Create a static translator project and allow the previous translator
project to be used in component builds.
|
|
7c697201
|
2013-10-07T17:18:14
|
|
Deleted manually maintained visual studio projects and replaced them with gyp generated ones.
|
|
179b0046
|
2013-10-08T16:43:03
|
|
Enabled multiprocessor compilation.
|
|
ce1d3c48
|
2013-10-08T16:42:47
|
|
Added flags to disable or enable generation of samples and test projects.
|
|
0049e43d
|
2013-10-07T17:07:33
|
|
Fixed the DEPS folder and added a .gclient file so gclient sync will now work.
|
|
6850947e
|
2013-10-07T17:06:30
|
|
Added a define that removes d3d includes from the common directory so that d3d9 headers are not included in the translator project.
|
|
c3597523
|
2013-09-05T11:12:14
|
|
Refactored the tests.gyp file.
|
|
0e435467
|
2013-09-03T15:21:51
|
|
Refactored the samples.gyp file.
|
|
39d5166d
|
2013-08-29T16:08:23
|
|
Moved the gyp libGLESv2 and libEGL projects into their own gyp files. Renamed build_angle.gpy* to angle.gyp* but kept build_angle.gyp for chrome compatability.
|
|
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
|
|
d0f8e82b
|
2013-09-30T15:21:53
|
|
Implement META_ASSERT with static_assert if the compiler supports it.
TRAC #23948
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
|
|
93780289
|
2013-10-04T11:04:55
|
|
Update to most recent khrplatform.h
Signed-off-by: Geoff Lang
Signed-off-by: Jamie Madill
|
|
ef2c2b83
|
2013-09-26T10:06:07
|
|
Eliminate bitfield enum members to avoid GCC compile error.
BUG=448
R=shannonwoods@chromium.org
Review URL: https://codereview.appspot.com/14302044
|
|
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
|
|
4f1a8639
|
2013-09-24T10:13:04
|
|
Add helper functions to determien if addition and mulutiplication of unsigned values will cause an overflow.
TRAC #23842
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
486a1af8
|
2013-09-24T15:21:54
|
|
Add a couple missed files types to .gitattributes's CRLF list.
TRAC #23896
|
|
cc4ec64c
|
2013-09-23T14:57:10
|
|
Use the same mechanism to process int/float literals
This also fixes the float overflow errno leaking bug.
BUG=
R=alokp@chromium.org
Review URL: https://codereview.appspot.com/13368050
|
|
ac44cd2b
|
2013-09-23T14:57:09
|
|
Add an option in ANGLE shader translator to initialize gl_Position to vec4(0.0, 0.0, 0.0, 1.0).
This is to work around driver bugs where shader compile or program link would fail incorrectly if gl_Position is not set in vertex shader.
At the moment at least Linux NVIDIA driver has this bug.
ANGLEBUG=472
R=alokp@chromium.org, kbr@chromium.org
Review URL: https://codereview.appspot.com/13509043
|
|
a15f3e84
|
2013-09-23T14:57:08
|
|
Expose the packing function so we can check varyings packing per program
ANGLEBUG=471
R=kbr@chromium.org
Review URL: https://codereview.appspot.com/13322043
|
|
f1d723c6
|
2013-09-23T14:57:07
|
|
Clamp numeric overflow rather than failing with an error
BUG=249086
ANGLEBUG=468
TEST=
R=alokp@chromium.org, kbr@chromium.org
Review URL: https://codereview.appspot.com/13195043
|
|
b41ebf57
|
2013-09-23T14:57:06
|
|
Fix compile errors in the essl to hlsl standalone translator.
ANGLEBUG=469
R=shannonwoods@chromium.org
Review URL: https://codereview.appspot.com/13281043
|
|
d2d340b0
|
2013-09-23T14:57:05
|
|
Add static_use to shader variable info query.
BUG=249018
ANGLEBUG=465
R=kbr@chromium.org
Review URL: https://codereview.appspot.com/13158043
|
|
fa3c346f
|
2013-09-23T14:57:04
|
|
Build fix: not all types support precisions.
Currently Angle translator made the wrong assumption that all variables have a precision, and ASSERT that.
BUG=276031
TBR=alokp@chromium.org
Review URL: https://codereview.appspot.com/13113044
|
|
a5a1dfc6
|
2013-09-23T14:57:03
|
|
Support precision for sampler types.
BUG=
R=alokp@chromium.org
Review URL: https://codereview.appspot.com/12833045
|
|
bc3f1ac6
|
2013-09-23T14:57:02
|
|
Minor refactoring of TSymbolTable.
Used pointers for precision-stack entries as well to avoid unnecessarily re-allocating PrecisionStackLevel whenever the vector needs to resize.
Added a scoped class to properly restore symbol-table level after each compile.
R=kbr@chromium.org
Review URL: https://codereview.appspot.com/12583047
|
|
74da9f2f
|
2013-09-23T14:57:01
|
|
Expose varying variables and also precision for all variables.
ANGLEBUG=457
R=alokp@chromium.org, kbr@chromium.org
Review URL: https://codereview.appspot.com/12487043
|
|
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
|
|
0b67bfbf
|
2013-09-23T14:56:59
|
|
Print token string into the syntax error message.
Bison calls yyerror("syntax error") when it cannot match any grammar rule.
We used to append current token string to the error message,
which got broken in r2202.
This patch restores the original behavior.
BUG=442
R=kbr@chromium.org
Review URL: https://codereview.appspot.com/12876043
|
|
8156b6be
|
2013-09-23T14:56:58
|
|
Fixed memory leak associated with TLS.
We used to allocate thread-local memory on each compile.
If the compile did not happen on the same thread as ShInitialize,
we leaked the thread-local memory.
It turns out that there is no need to allocate any thread-local
memory. This patch cleans up all the unnecessary junk around TLS.
BUG=crbug.com/181691
R=kbr@chromium.org
Review URL: https://codereview.appspot.com/11679046
Conflicts:
src/compiler/ConstantUnion.h
src/compiler/ShaderLang.cpp
src/compiler/Types.h
src/compiler/ValidateLimitations.cpp
|
|
36be856c
|
2013-09-23T14:56:57
|
|
Generate a new grammar with the Bison 2.7.1, the latest cygwin version.
TRAC #23854
Signed-off-by: Shannon Woods
Signed-off-by: Nicolas Capens
|
|
ba615196
|
2013-09-24T14:07:39
|
|
Normalize line endings of tracked files in the repository.
TRAC #23896
Signed-off-by: Shannon Woods
|
|
5d2e9594
|
2013-09-20T10:48:49
|
|
Add .gitattributes to handle end-of-line normalization on commit and
checkout.
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
|
|
a21eea36
|
2013-09-18T14:36:25
|
|
Add pixel unpack buffer stubs to the Renderer classes.
TRAC #23841
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
89a0bf50
|
2013-09-18T14:36:24
|
|
Add initial implementation for PixelTransfer11, which will enable GPU buffer to texture and texture to buffer copies.
This is necessary for fast implementation of ES3 PBOs.
TRAC #23841
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
d3f0f1ec
|
2013-09-20T13:31:08
|
|
Expose and generalize Clear11's CompareStates function, and add methods for equality test and initialization.
TRAC #23841
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
10b411df
|
2013-09-18T14:36:23
|
|
Add a helper method to gl::RenderTarget to return the extents of the texture (width/height/depth).
TRAC #23841
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
c2da55cc
|
2013-09-18T14:36:22
|
|
Make CompilePS a shared utility method in the d3d11 namespace, and add methods for vertex and geometry shaders.
TRAC #23841
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
bdfa2289
|
2013-09-18T14:36:21
|
|
Move and adjust the name of the Blit11 local functions to be consistent with our coding style.
TRAC #23841
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
3466a4d0
|
2013-09-18T14:36:20
|
|
Add a helper method to return the number of components in a texture format.
TRAC #23841
Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
|
|
02f20dd8
|
2013-09-12T12:07:42
|
|
Fix compile error regressions in OutputGLSL and OutputESSL.
These were broken back with the symbol table changes.
TRAC #23857
Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
|