/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/ |
SpriteBatch.java | 27 import com.badlogic.gdx.graphics.glutils.ShaderProgram;
59 private final ShaderProgram shader;
60 private ShaderProgram customShader = null;
76 * @see SpriteBatch#SpriteBatch(int, ShaderProgram) */
82 * @see SpriteBatch#SpriteBatch(int, ShaderProgram) */
92 * the ones expect for shaders set with {@link #setShader(ShaderProgram)}. See {@link #createDefaultShader()}.
95 public SpriteBatch (int size, ShaderProgram defaultShader) {
102 ShaderProgram.POSITION_ATTRIBUTE), new VertexAttribute(Usage.ColorPacked, 4, ShaderProgram.COLOR_ATTRIBUTE),
103 new VertexAttribute(Usage.TextureCoordinates, 2, ShaderProgram.TEXCOORD_ATTRIBUTE + "0")); [all...] |
/external/deqp/modules/gles3/functional/ |
es3fNegativeShaderApiTests.cpp | 281 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 323 glu::ShaderProgram program1(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 324 glu::ShaderProgram program2(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 383 glu::ShaderProgram program (m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 384 glu::ShaderProgram programInvalid (m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, "")); 422 glu::ShaderProgram srcProgram (m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 635 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 667 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 720 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformBlockVertSource, uniformTestFragSource)); 771 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSource, uniformTestFr (…) [all...] |
/external/deqp/modules/gles31/functional/ |
es31fFboTestUtil.hpp | 55 class Texture2DShader : public sglr::ShaderProgram 85 class TextureCubeArrayShader : public sglr::ShaderProgram
|
es31fProgramStateQueryTests.cpp | 132 glu::ShaderProgram program (m_context.getRenderContext(), glu::ProgramSources() 149 glu::ShaderProgram program (m_context.getRenderContext(), glu::ProgramSources() 165 glu::ShaderProgram program (m_context.getRenderContext(), glu::ProgramSources() 258 glu::ShaderProgram program (m_context.getRenderContext(), glu::ProgramSources() 277 glu::ShaderProgram program (m_context.getRenderContext(), glu::ProgramSources() 296 glu::ShaderProgram program (m_context.getRenderContext(), glu::ProgramSources() 495 glu::ShaderProgram program (m_context.getRenderContext(), glu::ProgramSources() << glu::ComputeSource(tcu::StringTemplate(s_computeTemplate1D).specialize(args))); 506 glu::ShaderProgram program (m_context.getRenderContext(), glu::ProgramSources() << glu::ComputeSource(tcu::StringTemplate(s_computeTemplate2D).specialize(args))); 517 glu::ShaderProgram program (m_context.getRenderContext(), glu::ProgramSources() << glu::ComputeSource(tcu::StringTemplate(s_computeTemplate3D).specialize(args))); 591 glu::ShaderProgram program (m_context.getRenderContext(), glu::ProgramSources() << glu::ComputeSource(tcu::StringT (…) [all...] |
es31fLayoutBindingTests.cpp | 227 virtual glu::ShaderProgram* generateShaders (void) const = 0; 233 const glu::ShaderProgram* m_program; 602 virtual glu::ShaderProgram* generateShaders (void) const = 0; 604 const glu::ShaderProgram* m_program; 839 glu::ShaderProgram* generateShaders (void) const; 943 glu::ShaderProgram* SamplerBindingRenderCase::generateShaders (void) const [all...] |
es31fShaderHelperInvocationTests.cpp | 52 using glu::ShaderProgram; 309 MovePtr<ShaderProgram> m_program; 336 m_program = MovePtr<ShaderProgram>(new ShaderProgram(m_context.getRenderContext(), 467 MovePtr<ShaderProgram> m_program; 496 m_program = MovePtr<ShaderProgram>(new ShaderProgram(m_context.getRenderContext(),
|
es31fSynchronizationTests.cpp | 161 glu::ShaderProgram* m_program; 200 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources() << glu::ComputeSource(genShaderSource())); [all...] |
/external/deqp/modules/glshared/ |
glsMemoryStressCase.cpp | 103 glu::ShaderProgram* m_program; 187 m_program = new glu::ShaderProgram(m_renderCtx, glu::makeVtxFragSources(s_vertexShaderGLES3, s_fragmentShaderGLES3)); 189 m_program = new glu::ShaderProgram(m_renderCtx, glu::makeVtxFragSources(s_vertexShaderGLES2, s_fragmentShaderGLES2)); 191 m_program = new glu::ShaderProgram(m_renderCtx, glu::makeVtxFragSources(s_vertexShaderGL3, s_fragmentShaderGL3)); 265 glu::ShaderProgram* m_program; 349 m_program = new glu::ShaderProgram(m_renderCtx, glu::makeVtxFragSources(s_vertexShaderGLES3, s_fragmentShaderGLES3)); 351 m_program = new glu::ShaderProgram(m_renderCtx, glu::makeVtxFragSources(s_vertexShaderGLES2, s_fragmentShaderGLES2)); 353 m_program = new glu::ShaderProgram(m_renderCtx, glu::makeVtxFragSources(s_vertexShaderGL3, s_fragmentShaderGL3));
|
glsSamplerObjectTest.hpp | 89 glu::ShaderProgram* m_program; 148 glu::ShaderProgram* m_program;
|
glsBufferTestUtil.hpp | 42 class ShaderProgram; 254 glu::ShaderProgram* m_program; 274 glu::ShaderProgram* m_program;
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
VBOWithVAOPerformanceTest.java | 29 import com.badlogic.gdx.graphics.glutils.ShaderProgram; 46 ShaderProgram shader; 78 shader = new ShaderProgram(vertexShader, fragmentShader); 389 public void bind(ShaderProgram shader) { 394 public void bind(ShaderProgram shader, int[] locations) { 417 private void bindAttributes(ShaderProgram shader, int[] locations) { 455 public void unbind(final ShaderProgram shader) { 460 public void unbind(final ShaderProgram shader, final int[] locations) {
|
BitmapFontDistanceFieldTest.java | 29 import com.badlogic.gdx.graphics.glutils.ShaderProgram; 40 private static class DistanceFieldShader extends ShaderProgram { 85 ShaderProgram.pedantic = false; // Useful when debugging this test
|
FrameBufferTest.java | 42 import com.badlogic.gdx.graphics.glutils.ShaderProgram;
55 ShaderProgram meshShader;
152 meshShader = new ShaderProgram(vertexShader, fragmentShader);
|
KTXTest.java | 43 import com.badlogic.gdx.graphics.glutils.ShaderProgram;
64 private ShaderProgram etc1aShader;
150 etc1aShader = new ShaderProgram(etc1aVS, etc1aFS);
|
/external/deqp/executor/ |
xeTestCaseResult.hpp | 69 class ShaderProgram; 335 class ShaderProgram : public Item 338 ShaderProgram (void) : Item(TYPE_SHADERPROGRAM), linkStatus(false) {} 339 ~ShaderProgram (void) {}
|
/external/deqp/modules/gles2/functional/ |
es2fNegativeVertexArrayApiTests.cpp | 128 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 181 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 209 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 274 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource));
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/ |
ShootTest.java | 30 import com.badlogic.gdx.graphics.glutils.ShaderProgram;
|
SoftBodyTest.java | 35 import com.badlogic.gdx.graphics.glutils.ShaderProgram; 95 mesh = new Mesh(false, vertCount, faceCount * 3, new VertexAttribute(Usage.Position, 3, ShaderProgram.POSITION_ATTRIBUTE), 96 new VertexAttribute(Usage.Normal, 3, ShaderProgram.NORMAL_ATTRIBUTE), new VertexAttribute(Usage.TextureCoordinates, 2, 97 ShaderProgram.TEXCOORD_ATTRIBUTE + "0"));
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/shaders/ |
DepthShader.java | 30 import com.badlogic.gdx.graphics.glutils.ShaderProgram;
88 this(renderable, config, new ShaderProgram(prefix + vertexShader, prefix + fragmentShader));
91 public DepthShader (final Renderable renderable, final Config config, final ShaderProgram shaderProgram) {
92 super(renderable, config, shaderProgram);
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/ |
ShaderLoader.java | 25 import com.badlogic.gdx.graphics.glutils.ShaderProgram;
40 public ShaderProgram load (String vertex, String fragment) {
49 return new ShaderProgram(vertex, fragment);
|
MultipleRenderTargetTest.java | 51 import com.badlogic.gdx.graphics.glutils.ShaderProgram; 77 ShaderProgram mrtSceneShader; 105 ShaderProgram.pedantic = false;//depth texture not currently sampled 109 ShaderProgram.prependVertexCode = Gdx.app.getType().equals(Application.ApplicationType.Desktop) ? "#version 140\n #extension GL_ARB_explicit_attrib_location : enable\n" : "#version 300 es\n"; 110 ShaderProgram.prependFragmentCode = Gdx.app.getType().equals(Application.ApplicationType.Desktop) ? "#version 140\n #extension GL_ARB_explicit_attrib_location : enable\n" : "#version 300 es\n"; 127 mrtSceneShader = new ShaderProgram(Gdx.files.internal("data/g3d/shaders/mrtscene.vert"), 322 new VertexAttribute(VertexAttributes.Usage.Position, 3, ShaderProgram.POSITION_ATTRIBUTE), 323 new VertexAttribute(VertexAttributes.Usage.TextureCoordinates, 2, ShaderProgram.TEXCOORD_ATTRIBUTE + "0")); 372 ShaderProgram shaderProgram; [all...] |
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/gwt/ |
GwtTest.java | 37 import com.badlogic.gdx.graphics.glutils.ShaderProgram;
45 ShaderProgram shader;
63 shader = new ShaderProgram(Gdx.files.internal("data/shaders/shader-vs.glsl"),
|
/frameworks/base/media/mca/filterfw/native/core/ |
gl_frame.cpp | 218 ShaderProgram* GLFrame::GetIdentity() const { 219 ShaderProgram* stored_shader = gl_env_->ShaderWithKey(kIdentityShaderKey); 221 stored_shader = ShaderProgram::CreateIdentity(gl_env_);
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
AutoFixFilter.java | 25 import android.filterfw.core.ShaderProgram; 176 ShaderProgram shaderProgram = new ShaderProgram(context, mAutoFixShader); 177 shaderProgram.setMaximumTileSize(mTileSize); 178 mShaderProgram = shaderProgram;
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/ |
SurfaceRenderFilter.java | 30 import android.filterfw.core.ShaderProgram; 65 private ShaderProgram mProgram; 112 mProgram = ShaderProgram.createIdentity(context);
|