HomeSort by relevance Sort by last modified time
    Searched refs:shaderProgram (Results 26 - 46 of 46) sorted by null

12

  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
RotateFilter.java 26 import android.filterfw.core.ShaderProgram;
64 ShaderProgram shaderProgram = ShaderProgram.createIdentity(context);
65 shaderProgram.setMaximumTileSize(mTileSize);
66 shaderProgram.setClearsOutput(true);
67 mProgram = shaderProgram;
149 ((ShaderProgram) mProgram).setTargetRegion(quad);
RedEyeFilter.java 25 import android.filterfw.core.ShaderProgram;
98 ShaderProgram shaderProgram = new ShaderProgram(context, mRedEyeShader);
99 shaderProgram.setMaximumTileSize(mTileSize);
100 mProgram = shaderProgram;
StraightenFilter.java 26 import android.filterfw.core.ShaderProgram;
66 ShaderProgram shaderProgram = ShaderProgram.createIdentity(context);
67 shaderProgram.setMaximumTileSize(mTileSize);
68 mProgram = shaderProgram;
147 ((ShaderProgram) mProgram).setSourceRegion(quad);
CropFilter.java 27 import android.filterfw.core.ShaderProgram;
95 mProgram = new ShaderProgram(context, mFragShader);
97 mProgram = ShaderProgram.createIdentity(context);
126 if (mProgram instanceof ShaderProgram) {
127 ShaderProgram shaderProgram = (ShaderProgram)mProgram;
128 shaderProgram.setSourceRegion(box);
AutoFixFilter.java 25 import android.filterfw.core.ShaderProgram;
176 ShaderProgram shaderProgram = new ShaderProgram(context, mAutoFixShader);
177 shaderProgram.setMaximumTileSize(mTileSize);
178 mShaderProgram = shaderProgram;
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/shadows/system/classical/
MainShader.java 24 import com.badlogic.gdx.graphics.glutils.ShaderProgram;
97 this(renderable, config, new ShaderProgram(prefix + vertexShader, prefix + fragmentShader));
100 public MainShader (final Renderable renderable, final Config config, final ShaderProgram shaderProgram) {
101 super(renderable, config, shaderProgram);
Pass2Shader.java 33 import com.badlogic.gdx.graphics.glutils.ShaderProgram;
187 this(renderable, config, new ShaderProgram(prefix + vertexShader, prefix + fragmentShader));
190 public Pass2Shader (final Renderable renderable, final Config config, final ShaderProgram shaderProgram) {
191 super(renderable, config, shaderProgram);
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/
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/deqp/executor/tools/
xeExtractShaderPrograms.cpp 68 static void writeShaderProgram (const CommandLine& cmdLine, const std::string& casePath, const xe::ri::ShaderProgram& shaderProgram, int programNdx)
72 for (int shaderNdx = 0; shaderNdx < shaderProgram.shaders.getNumItems(); shaderNdx++)
74 const xe::ri::Shader& shader = dynamic_cast<const xe::ri::Shader&>(shaderProgram.shaders.getItem(shaderNdx));
117 writeShaderProgram(cmdLine, casePath, static_cast<const xe::ri::ShaderProgram&>(curItem), programNdx);
  /external/autotest/client/site_tests/graphics_SanAngeles/src/
demo.c 98 GLuint shaderProgram;
178 result->shaderProgram = 0;
255 bindShaderProgram(object->shaderProgram);
256 if (object->shaderProgram == sShaderLit.program)
262 else if (object->shaderProgram == sShaderFlat.program)
477 result->shaderProgram = sShaderLit.program;
532 result->shaderProgram = sShaderFlat.program;
580 result->shaderProgram = sShaderFade.program;
    [all...]
  /external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/graphics/glutils/
VertexBufferObjectWithVAO.java 131 public void bind (ShaderProgram shader) {
136 public void bind (ShaderProgram shader, int[] locations) {
149 private void bindAttributes (ShaderProgram shader, int[] locations) {
192 private void unbindAttributes (ShaderProgram shaderProgram) {
202 shaderProgram.disableVertexAttribute(location);
221 public void unbind (final ShaderProgram shader) {
226 public void unbind (final ShaderProgram shader, final int[] locations) {
  /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);
DefaultShader.java 44 import com.badlogic.gdx.graphics.glutils.ShaderProgram;
521 this(renderable, config, new ShaderProgram(prefix + vertexShader, prefix + fragmentShader));
524 public DefaultShader (final Renderable renderable, final Config config, final ShaderProgram shaderProgram) {
527 this.program = shaderProgram;
593 final ShaderProgram program = this.program;
    [all...]
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/glutils/
VertexBufferObjectWithVAO.java 135 public void bind (ShaderProgram shader) {
140 public void bind (ShaderProgram shader, int[] locations) {
153 private void bindAttributes (ShaderProgram shader, int[] locations) {
196 private void unbindAttributes (ShaderProgram shaderProgram) {
206 shaderProgram.disableVertexAttribute(location);
225 public void unbind (final ShaderProgram shader) {
230 public void unbind (final ShaderProgram shader, final int[] locations) {
ShaderProgram.java 46 * After construction a ShaderProgram can be used to draw {@link Mesh}. To make the GPU use a specific ShaderProgram the programs
47 * {@link ShaderProgram#begin()} method must be used which effectively binds the program.
51 * When a ShaderProgram is bound one can set uniforms, vertex attributes and attributes as needed via the respective methods.
55 * A ShaderProgram can be unbound with a call to {@link ShaderProgram#end()}
59 * A ShaderProgram must be disposed via a call to {@link ShaderProgram#dispose()} when it is no longer needed
69 public class ShaderProgram implements Disposable {
95 private final static ObjectMap<Application, Array<ShaderProgram>> shaders = new ObjectMap<Application, Array<ShaderProgram>>();
    [all...]
  /external/deqp/framework/opengl/
gluShaderProgram.cpp 307 // ShaderProgram
309 ShaderProgram::ShaderProgram (const RenderContext& renderCtx, const ProgramSources& sources)
315 ShaderProgram::ShaderProgram (const glw::Functions& gl, const ProgramSources& sources)
321 void ShaderProgram::init (const glw::Functions& gl, const ProgramSources& sources)
378 ShaderProgram::~ShaderProgram (void)
442 return log << tcu::TestLog::ShaderProgram(false, "Plain shader") << shader.getInfo() << tcu::TestLog::EndShaderProgram;
447 log << tcu::TestLog::ShaderProgram(programInfo.linkOk, programInfo.infoLog)
    [all...]
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/shadows/system/realistic/
MainShader.java 30 import com.badlogic.gdx.graphics.glutils.ShaderProgram;
125 this(renderable, config, new ShaderProgram(prefix + vertexShader, prefix + fragmentShader));
128 public MainShader (final Renderable renderable, final Config config, final ShaderProgram shaderProgram) {
129 super(renderable, config, shaderProgram);
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/
ParticleShader.java 35 import com.badlogic.gdx.graphics.glutils.ShaderProgram;
174 this(renderable, config, new ShaderProgram(prefix + vertexShader, prefix + fragmentShader));
177 public ParticleShader(final Renderable renderable, final Config config, final ShaderProgram shaderProgram) {
179 this.program = shaderProgram;
203 final ShaderProgram program = this.program;
  /external/deqp/executor/
xeTestResultParser.cpp 116 { 0x72863a54, "ShaderProgram", ri::TYPE_SHADERPROGRAM },
419 m_curItemList = &static_cast<ri::ShaderProgram*>(item)->shaders;
541 ri::ShaderProgram* shaderProgram = curList->allocItem<ri::ShaderProgram>();
542 shaderProgram->linkStatus = toBool(getAttribute("LinkStatus"));
543 item = shaderProgram;
550 throw TestResultParseError(string("<") + elemName + "> outside of <ShaderProgram>");
564 throw TestResultParseError(string("<") + elemName + "> outside of <ShaderProgram>");
578 item = &static_cast<ri::ShaderProgram*>(parentItem)->linkInfoLog
    [all...]
  /external/deqp/framework/common/
tcuTestLog.hpp 96 typedef LogShaderProgram ShaderProgram;
118 TestLog& operator<< (const ShaderProgram& shaderProgram);
437 inline TestLog& TestLog::operator<< (const ShaderProgram& shaderProg) { shaderProg.write(*this); return *this; }
  /external/deqp/modules/gles31/functional/
es31fNegativeShaderApiTests.cpp 163 GLuint shaderProgram[2];
189 shaderProgram[0] = ctx.glCreateShader(GL_VERTEX_SHADER);
190 shaderProgram[1] = ctx.glCreateProgram();
223 ctx.glShaderBinary(2, &shaderProgram[0], binaryFormats[0], 0, 0);
343 glu::ShaderProgram program(ctx.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource));
389 glu::ShaderProgram program1(ctx.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource));
390 glu::ShaderProgram program2(ctx.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource));
467 glu::ShaderProgram program (ctx.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource));
468 glu::ShaderProgram programInvalid (ctx.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, ""));
507 glu::ShaderProgram srcProgram (ctx.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSo (…)
    [all...]

Completed in 965 milliseconds

12