History log of /external/skia/src/gpu/glsl/GrGLSLCaps.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
33ad701bc30387127c427fb1e38c781d5de33491 22-Feb-2016 cdalton <cdalton@nvidia.com> Add gl_SampleMask functionality to fragment builders

Adds methods for overriding and masking a fragment's sample mask.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1690963003

Committed: https://skia.googlesource.com/skia/+/533cefe5b9c7cec2592fc7ca00ee4cf69a26c094

Review URL: https://codereview.chromium.org/1690963003
/external/skia/src/gpu/glsl/GrGLSLCaps.h
1751dc74f95a409fdb8cdc5c4efae20b1c39509a 13-Feb-2016 benjaminwagner <benjaminwagner@google.com> Revert of Add infastructure for gl_SampleMask (patchset #6 id:100001 of https://codereview.chromium.org/1690963003/ )

Reason for revert:
Several bots failing with error 'invalid profile "es" for version 320'.

Original issue's description:
> Add infastructure for gl_SampleMask
>
> BUG=skia:
> GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1690963003
>
> Committed: https://skia.googlesource.com/skia/+/533cefe5b9c7cec2592fc7ca00ee4cf69a26c094

TBR=egdaniel@google.com,bsalomon@google.com,cdalton@nvidia.com
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=skia:

Review URL: https://codereview.chromium.org/1693113002
/external/skia/src/gpu/glsl/GrGLSLCaps.h
533cefe5b9c7cec2592fc7ca00ee4cf69a26c094 12-Feb-2016 cdalton <cdalton@nvidia.com> Add infastructure for gl_SampleMask

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1690963003

Review URL: https://codereview.chromium.org/1690963003
/external/skia/src/gpu/glsl/GrGLSLCaps.h
c08f196648463d44eb85e17c5815dbf8f709a42a 12-Feb-2016 cdalton <cdalton@nvidia.com> Use noperspective interpolation for 2D draws

Adds a mechanism to notify GrGLSLVaryingHandler that a shader will not
emit geometry in perspective. This gives it a chance to use the
noperspective keyword if it is supported.

Updates the existing processors to notify the varying handler when
there is no perspective.

Begins using the noperspective keyword in GrGLGpu internal shaders.

Web scenes with observable benefit (Pixel C, gpu config):

tabl_nofolo.skp 4.62 -> 3.33 ms 28%
desk_tigersvg.skp 26.5 -> 24 ms 9%
desk_pokemonwiki.skp 16.1 -> 14.9 ms 7%
tabl_deviantart.skp 3.97 -> 3.7 ms 7%
desk_gws.skp 3.85 -> 3.65 ms 5%

Also adds new methods for creating varyings with flat interpolation.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1673093002

Review URL: https://codereview.chromium.org/1673093002
/external/skia/src/gpu/glsl/GrGLSLCaps.h
fa8963252e122c5288c8e92b5ecc25a8fea21c3b 13-Jan-2016 egdaniel <egdaniel@google.com> Move some program building utils from GL to GLSL

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1535603006

Review URL: https://codereview.chromium.org/1535603006
/external/skia/src/gpu/glsl/GrGLSLCaps.h
7f9b2e4a45775e8cdd3f98260a66c0c6e1840550 12-Jan-2016 bsalomon <bsalomon@google.com> Swizzle shader output and blend when using GL_RED to implement kAlpha_8_GrPixelConfig
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1584473002

Review URL: https://codereview.chromium.org/1584473002
/external/skia/src/gpu/glsl/GrGLSLCaps.h
cdee009886babe6df7743a9b5b3e2cc0a5f21adf 08-Jan-2016 bsalomon <bsalomon@google.com> Add a class representing texture swizzle.

Store config swizzle GrGLCaps and shader swizzles in GrGLSLCaps.

Remove GrTextureAccess's swizzle and update users of it to swizzle in their shader code.
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1567733005

Committed: https://skia.googlesource.com/skia/+/1a1efeacf7cc94a8c2977114dfe230fed3efc105

Review URL: https://codereview.chromium.org/1567733005
/external/skia/src/gpu/glsl/GrGLSLCaps.h
3183a4136364cfe18b3584302e71ea528a018401 08-Jan-2016 mtklein <mtklein@google.com> Revert of Add a class representing texture swizzle. (patchset #6 id:100001 of https://codereview.chromium.org/1567733005/ )

Reason for revert:
Shader compilation failures when implicitly converting vec4 to float.

https://uberchromegw.corp.google.com/i/client.skia/builders/Test-Win8-MSVC-ShuttleA-GPU-GTX960-x86_64-Debug/builds/3266/steps/dm/logs/stdio

https://uberchromegw.corp.google.com/i/client.skia.android/builders/Test-Android-GCC-Nexus6-GPU-Adreno420-Arm7-Debug/builds/3154/steps/dm/logs/stdio

Original issue's description:
> Add a class representing texture swizzle.
>
> Store config swizzle GrGLCaps and shader swizzles in GrGLSLCaps.
>
> Remove GrTextureAccess's swizzle and update users of it to swizzle in their shader code.
> GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1567733005
>
> Committed: https://skia.googlesource.com/skia/+/1a1efeacf7cc94a8c2977114dfe230fed3efc105

TBR=egdaniel@google.com,bsalomon@google.com
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

Review URL: https://codereview.chromium.org/1569393002
/external/skia/src/gpu/glsl/GrGLSLCaps.h
1a1efeacf7cc94a8c2977114dfe230fed3efc105 08-Jan-2016 bsalomon <bsalomon@google.com> Add a class representing texture swizzle.

Store config swizzle GrGLCaps and shader swizzles in GrGLSLCaps.

Remove GrTextureAccess's swizzle and update users of it to swizzle in their shader code.
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1567733005

Review URL: https://codereview.chromium.org/1567733005
/external/skia/src/gpu/glsl/GrGLSLCaps.h
8e03b8af752638ee7375460f03aebd554360486f 07-Dec-2015 joel.liang <joel.liang@arm.com> Always use high precision on NDS transform

To fix the Chrome fillRect issue on Galaxy S6.
We should use high precision for position related calculation.

BUG=chromium:552999

Review URL: https://codereview.chromium.org/1500393002
/external/skia/src/gpu/glsl/GrGLSLCaps.h
7ea33f5e1ae9eb1fb1e7377d6edf6acdcf71d103 22-Nov-2015 bsalomon <bsalomon@google.com> Initial version of external_oes texture support and unit test

Committed: https://skia.googlesource.com/skia/+/27a048700778d4cebfc23301d1780649791b0e03

Review URL: https://codereview.chromium.org/1451683002
/external/skia/src/gpu/glsl/GrGLSLCaps.h
0315dbcb554fe7f5fa80a81079fd8d2e61fc20e1 21-Nov-2015 bsalomon <bsalomon@google.com> Revert of Initial version of external_oes texture support and unit test (patchset #14 id:260001 of https://codereview.chromium.org/1451683002/ )

Reason for revert:
Error wrapping external texture in GrTexture on some devices.

Original issue's description:
> Initial version of external_oes texture support and unit test
>
> Committed: https://skia.googlesource.com/skia/+/27a048700778d4cebfc23301d1780649791b0e03

TBR=joshualitt@google.com,egdaniel@google.com,robertphillips@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

Review URL: https://codereview.chromium.org/1459323004
/external/skia/src/gpu/glsl/GrGLSLCaps.h
27a048700778d4cebfc23301d1780649791b0e03 21-Nov-2015 bsalomon <bsalomon@google.com> Initial version of external_oes texture support and unit test

Review URL: https://codereview.chromium.org/1451683002
/external/skia/src/gpu/glsl/GrGLSLCaps.h
8dcdedc4a087ea46ce1e2458d335d60918e56310 11-Nov-2015 egdaniel <egdaniel@google.com> Make GrGLSLProgramBuilder base class for GrGLProgramBuilder.

This CL still keeps the weird diamond shape we have for all our ProgramBuilders.
However, the GrGLSL base class will allow us to pull multiple other parts
of our program setup away from GL which will eventually allow us to break up
the diamond.

As part of this all ShaderBuilder subclass have been made gl independent,
however I will move them to GLSL files/class names in a follow on CL.

BUG=skia:

Review URL: https://codereview.chromium.org/1416423003
/external/skia/src/gpu/glsl/GrGLSLCaps.h
b7e7d5748d74c7482436b33733d7770484bb62e3 04-Nov-2015 egdaniel <egdaniel@google.com> Create swizzle table inside of glsl caps

BUG=skia:

Committed: https://skia.googlesource.com/skia/+/4036674952f341dab0695c3b054fefa5bb8cdec1

Review URL: https://codereview.chromium.org/1420033005
/external/skia/src/gpu/glsl/GrGLSLCaps.h
0c2999974d189ea257f82c9b7672d9afda52f6c2 03-Nov-2015 egdaniel <egdaniel@google.com> Revert of Create swizzle table inside of glsl caps (patchset #12 id:210001 of https://codereview.chromium.org/1420033005/ )

Reason for revert:
Breaking gm's on nexus7 and s3

Original issue's description:
> Create swizzle table inside of glsl caps
>
> BUG=skia:
>
> Committed: https://skia.googlesource.com/skia/+/4036674952f341dab0695c3b054fefa5bb8cdec1

TBR=bsalomon@google.com,robertphillips@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=skia:

Review URL: https://codereview.chromium.org/1426653008
/external/skia/src/gpu/glsl/GrGLSLCaps.h
4036674952f341dab0695c3b054fefa5bb8cdec1 03-Nov-2015 egdaniel <egdaniel@google.com> Create swizzle table inside of glsl caps

BUG=skia:

Review URL: https://codereview.chromium.org/1420033005
/external/skia/src/gpu/glsl/GrGLSLCaps.h
574a4c153d8a3f42b2806848f5c23cbf55e18bbb 02-Nov-2015 egdaniel <egdaniel@google.com> Move shader compiling to ProgramBuilder and various ShaderBuilder cleanups.

An additional positive of this CL is that GrGLShaderBuilder is now GL independent besides GrGLProgramBuilder

BUG=skia:

Review URL: https://codereview.chromium.org/1431433003
/external/skia/src/gpu/glsl/GrGLSLCaps.h
472d44e8f881f87449d11ba66515d3c1c5e69891 22-Oct-2015 egdaniel <egdaniel@google.com> Add version string and force highp NDS transfrom to GLSLCaps

This also include the use of any() in the shaders.

BUG=skia:

Committed: https://skia.googlesource.com/skia/+/cef4bce8e260b49bf3417eadbac806cf7d39cdc8

Review URL: https://codereview.chromium.org/1417993004
/external/skia/src/gpu/glsl/GrGLSLCaps.h
899ba37db336c20a06bce65d952e0664596a26ef 22-Oct-2015 egdaniel <egdaniel@google.com> Revert of Add version string and force highp NDS transfrom to GLSLCaps (patchset #3 id:40001 of https://codereview.chromium.org/1417993004/ )

Reason for revert:
breaking bots

Original issue's description:
> Add version string and force highp NDS transfrom to GLSLCaps
>
> This also include the use of any() in the shaders.
>
> BUG=skia:
>
> Committed: https://skia.googlesource.com/skia/+/cef4bce8e260b49bf3417eadbac806cf7d39cdc8

TBR=bsalomon@google.com,jvanverth@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=skia:

Review URL: https://codereview.chromium.org/1420033002
/external/skia/src/gpu/glsl/GrGLSLCaps.h
cef4bce8e260b49bf3417eadbac806cf7d39cdc8 22-Oct-2015 egdaniel <egdaniel@google.com> Add version string and force highp NDS transfrom to GLSLCaps

This also include the use of any() in the shaders.

BUG=skia:

Review URL: https://codereview.chromium.org/1417993004
/external/skia/src/gpu/glsl/GrGLSLCaps.h
f529439fea003851d986a0573a7e0465754b2a48 21-Oct-2015 egdaniel <egdaniel@google.com> Move shader precision modifier check onto GLSLCaps

BUG=skia:

Review URL: https://codereview.chromium.org/1414373002
/external/skia/src/gpu/glsl/GrGLSLCaps.h
2766c00fc0b6a07d46e5f74cdad45da2ef625237 26-Jun-2015 mtklein <mtklein@chromium.org> remove SkInstCnt

It's been outclassed by Valgrind and leak sanitizer,
and it seems to be causing problems for external folks building Skia.

I'm not sure why our own builds seem unaffected.

Latest thread:
https://groups.google.com/forum/#!topic/skia-discuss/oj9FsQwwSF0

BUG=skia:

Review URL: https://codereview.chromium.org/1217573002
/external/skia/src/gpu/glsl/GrGLSLCaps.h
cba99b88fd5fb39def7a094dc32c0745c7a1cfea 24-Jun-2015 jvanverth <jvanverth@google.com> Move GLSL-specific routines/classes to separate glsl directory

The purpose is to begin separating our GLSL-specific code from
our GL-specific code, so it can be used with the GL45 platform

Review URL: https://codereview.chromium.org/1202293002
/external/skia/src/gpu/glsl/GrGLSLCaps.h