Initial OpenGL Image support.
authorBrian Salomon <bsalomon@google.com>
Tue, 22 Nov 2016 20:56:30 +0000 (15:56 -0500)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Tue, 22 Nov 2016 21:35:11 +0000 (21:35 +0000)
commitbe34882042048db096baca32ddf4a8b472529804
tree2676dc4a9e6506f19728eddfe011ba4465f1c3ab
parent030cbd5f3cc60255b887fb88920fb655c8a2a9be
Initial OpenGL Image support.

This change along with recently landed changes is enough to make the new unit test work and not much else. imageLoad is support but not stores or any other image functions (atomics). Barriers in the shading language or the GL API are not yet hooked up.

GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4182

Change-Id: I5958b7c89e40ae5ee05f7bbaca3b3738162fe5ce
Reviewed-on: https://skia-review.googlesource.com/4182
Reviewed-by: Greg Daniel <egdaniel@google.com>
Reviewed-by: Chris Dalton <csmartdalton@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
38 files changed:
gn/tests.gni
include/gpu/GrGpuResourceRef.h
include/gpu/GrProcessor.h
include/gpu/GrShaderVar.h
include/gpu/GrTypesPriv.h
src/gpu/GrFragmentProcessor.cpp
src/gpu/GrProcessor.cpp
src/gpu/GrProgramDesc.cpp
src/gpu/GrShaderVar.cpp
src/gpu/GrTexturePriv.h
src/gpu/gl/GrGLCaps.cpp
src/gpu/gl/GrGLCaps.h
src/gpu/gl/GrGLGpu.cpp
src/gpu/gl/GrGLGpu.h
src/gpu/gl/GrGLProgram.cpp
src/gpu/gl/GrGLProgram.h
src/gpu/gl/GrGLProgramDataManager.cpp
src/gpu/gl/GrGLProgramDataManager.h
src/gpu/gl/GrGLUniformHandler.cpp
src/gpu/gl/GrGLUniformHandler.h
src/gpu/gl/builders/GrGLProgramBuilder.cpp
src/gpu/glsl/GrGLSL.h
src/gpu/glsl/GrGLSLCaps.cpp
src/gpu/glsl/GrGLSLCaps.h
src/gpu/glsl/GrGLSLFragmentProcessor.cpp
src/gpu/glsl/GrGLSLFragmentProcessor.h
src/gpu/glsl/GrGLSLPrimitiveProcessor.h
src/gpu/glsl/GrGLSLProgramBuilder.cpp
src/gpu/glsl/GrGLSLProgramBuilder.h
src/gpu/glsl/GrGLSLShaderBuilder.cpp
src/gpu/glsl/GrGLSLShaderBuilder.h
src/gpu/glsl/GrGLSLUniformHandler.h
src/gpu/glsl/GrGLSLXferProcessor.h
src/gpu/vk/GrVkPipelineState.cpp
src/gpu/vk/GrVkUniformHandler.cpp
src/gpu/vk/GrVkUniformHandler.h
src/gpu/vk/GrVkVaryingHandler.cpp
tests/ImageStorageTest.cpp [new file with mode: 0644]