/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
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);
|
RedEyeFilter.java | 25 import android.filterfw.core.ShaderProgram; 98 ShaderProgram shaderProgram = new ShaderProgram(context, mRedEyeShader); 99 shaderProgram.setMaximumTileSize(mTileSize); 100 mProgram = shaderProgram;
|
ToPackedGrayFilter.java | 27 import android.filterfw.core.ShaderProgram; 112 mProgram = new ShaderProgram(context, mColorToPackedGrayShader);
|
/external/deqp/modules/glshared/ |
glsFragmentOpUtil.hpp | 34 class ShaderProgram; 78 glu::ShaderProgram* m_program;
|
glsStateChangePerfTestCases.hpp | 31 class ShaderProgram; 92 std::vector<glu::ShaderProgram*> m_programs;
|
glsShaderPerformanceCase.hpp | 81 glu::ShaderProgram* m_program;
|
/external/deqp/framework/opengl/simplereference/ |
sglrShaderProgram.cpp | 133 ShaderProgram::ShaderProgram (const pdec::ShaderProgramDeclaration& decl) 199 ShaderProgram::~ShaderProgram (void) 203 const UniformSlot& ShaderProgram::getUniformByName (const char* name) const 215 void ShaderProgram::shadePrimitives (rr::GeometryEmitter& output, int verticesIn, const rr::PrimitivePacket* packets, const int numPackets, int invocationID) const
|
sglrShaderProgram.hpp | 46 class ShaderProgram; 186 friend class ::sglr::ShaderProgram; 226 class ShaderProgram : private rr::VertexShader, private rr::GeometryShader, private rr::FragmentShader 229 ShaderProgram (const pdec::ShaderProgramDeclaration&); 230 virtual ~ShaderProgram (void);
|
/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) {
|
VertexBufferObject.java | 138 public void bind (ShaderProgram shader) {
143 public void bind (ShaderProgram shader, int[] locations) {
191 public void unbind (final ShaderProgram shader) {
196 public void unbind (final ShaderProgram shader, final int[] locations) {
|
/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) {
|
VertexBufferObject.java | 179 public void bind (ShaderProgram shader) {
184 public void bind (ShaderProgram shader, int[] locations) {
224 public void unbind (final ShaderProgram shader) {
229 public void unbind (final ShaderProgram shader, final int[] locations) {
|
VertexBufferObjectSubData.java | 153 public void bind (final ShaderProgram shader) {
158 public void bind (final ShaderProgram shader, final int[] locations) {
197 public void unbind (final ShaderProgram shader) {
202 public void unbind (final ShaderProgram shader, final int[] locations) {
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/ |
TextureArrayTest.java | 31 import com.badlogic.gdx.graphics.glutils.ShaderProgram; 44 ShaderProgram shaderProgram; 54 ShaderProgram.prependVertexCode = Gdx.app.getType().equals(Application.ApplicationType.Desktop) ? "#version 140\n #extension GL_EXT_texture_array : enable\n" : "#version 300 es\n"; 55 ShaderProgram.prependFragmentCode = Gdx.app.getType().equals(Application.ApplicationType.Desktop) ? "#version 140\n #extension GL_EXT_texture_array : enable\n" : "#version 300 es\n"; 69 shaderProgram = new ShaderProgram(Gdx.files.internal("data/shaders/texturearray.vert"), Gdx.files.internal("data/shaders/texturearray.frag")); 70 System.out.println(shaderProgram.getLog()); 74 terrain = new Mesh(false, vertexCount * 6, 0, new VertexAttributes(VertexAttribute.Position(), new VertexAttribute(VertexAttributes.Usage.TextureCoordinates, 3, ShaderProgram.TEXCOORD_ATTRIBUTE + 0))); 121 shaderProgram.begin() [all...] |
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
MipMapTest.java | 30 import com.badlogic.gdx.graphics.glutils.ShaderProgram;
49 ShaderProgram shader;
65 mesh = new Mesh(true, 4, 4, new VertexAttribute(Usage.Position, 3, ShaderProgram.POSITION_ATTRIBUTE), new VertexAttribute(
66 Usage.TextureCoordinates, 2, ShaderProgram.TEXCOORD_ATTRIBUTE));
70 shader = new ShaderProgram(Gdx.files.internal("data/shaders/flattex-vert.glsl").readString(), Gdx.files.internal(
|
EarClippingTriangulatorTest.java | 31 import com.badlogic.gdx.graphics.glutils.ShaderProgram;
251 // new VertexAttribute(Usage.Position, 2, ShaderProgram.POSITION_ATTRIBUTE));
253 // ShaderProgram.POSITION_ATTRIBUTE), new VertexAttribute(Usage.Color, 4, ShaderProgram.COLOR_ATTRIBUTE));
|
/frameworks/base/media/mca/filterfw/native/core/ |
shader_program.h | 42 // A ShaderProgram is a Program object that holds a GLSL shader implementation. 46 // By default a ShaderProgram provides its own vertex shader. However, a custom 67 class ShaderProgram { 77 // Note, that the ShaderProgram does NOT take ownership of the GLEnv. The 80 explicit ShaderProgram(GLEnv* gl_env, const std::string& fragment_shader); 85 // Note, that the ShaderProgram does NOT take ownership of the GLEnv. The 88 ShaderProgram(GLEnv* gl_env, 93 ~ShaderProgram(); 123 static ShaderProgram* CreateIdentity(GLEnv* env);
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videoproc/ |
BackDropperFilter.java | 27 import android.filterfw.core.ShaderProgram; 467 private ShaderProgram mBgDistProgram; 468 private ShaderProgram mBgMaskProgram; 469 private ShaderProgram mBgSubtractProgram; 470 private ShaderProgram mBgUpdateMeanProgram; 471 private ShaderProgram mBgUpdateVarianceProgram; 472 private ShaderProgram mCopyOutProgram; 473 private ShaderProgram mAutomaticWhiteBalanceProgram; 474 private ShaderProgram mMaskVerifyProgram; 475 private ShaderProgram copyShaderProgram [all...] |
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/ |
SurfaceTargetFilter.java | 29 import android.filterfw.core.ShaderProgram; 71 private ShaderProgram mProgram; 120 mProgram = ShaderProgram.createIdentity(context);
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/ |
SurfaceTextureSource.java | 27 import android.filterfw.core.ShaderProgram; 104 private ShaderProgram mFrameExtractor; 165 mFrameExtractor = new ShaderProgram(context, mRenderShader);
|
SurfaceTextureTarget.java | 29 import android.filterfw.core.ShaderProgram; 88 private ShaderProgram mProgram; 136 mProgram = ShaderProgram.createIdentity(context); 323 ((ShaderProgram) mProgram).setSourceRegion(mSourceQuad); 327 ((ShaderProgram) mProgram).setTargetRegion(mTargetQuad);
|
/external/deqp/modules/gles2/functional/ |
es2fNegativeShaderApiTests.cpp | 311 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 341 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 372 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 426 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); 498 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSource, uniformTestFragSource)); 538 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSource, uniformTestFragSource)); 586 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSource, uniformTestFragSource)); 628 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSource, uniformTestFragSource)); 659 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSource, uniformTestFragSource)); 704 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSource, uniformTestFr (…) [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/gdx/src/com/badlogic/gdx/graphics/g2d/ |
SpriteCache.java | 32 import com.badlogic.gdx.graphics.glutils.ShaderProgram;
79 private final ShaderProgram shader;
88 private ShaderProgram customShader = null;
113 public SpriteCache (int size, ShaderProgram shader, boolean useIndices) {
119 ShaderProgram.POSITION_ATTRIBUTE), new VertexAttribute(Usage.ColorPacked, 4, ShaderProgram.COLOR_ATTRIBUTE),
120 new VertexAttribute(Usage.TextureCoordinates, 2, ShaderProgram.TEXCOORD_ATTRIBUTE + "0"));
975 static ShaderProgram createDefaultShader () {
976 String vertexShader = "attribute vec4 " + ShaderProgram.POSITION_ATTRIBUTE + ";\n" //
977 + "attribute vec4 " + ShaderProgram.COLOR_ATTRIBUTE + ";\n" // [all...] |
/external/deqp/modules/gles31/functional/ |
es31fProgramPipelineStateQueryTests.cpp | 100 const glu::ShaderProgram vtxProgram (m_context.getRenderContext(), glu::ProgramSources() << glu::ProgramSeparable(true) << glu::VertexSource(s_vertexSource)); 101 const glu::ShaderProgram frgProgram (m_context.getRenderContext(), glu::ProgramSources() << glu::ProgramSeparable(true) << glu::FragmentSource(s_fragmentSource)); 185 glu::ShaderProgram program(m_context.getRenderContext(), sources); 239 glu::ShaderProgram vtxProgram (m_context.getRenderContext(), glu::ProgramSources() << glu::ProgramSeparable(true) << glu::VertexSource(s_vertexSource)); 240 glu::ShaderProgram frgProgram (m_context.getRenderContext(), glu::ProgramSources() << glu::ProgramSeparable(true) << glu::FragmentSource(s_fragmentSource)); 309 glu::ShaderProgram vtxProgram (m_context.getRenderContext(), glu::ProgramSources() << glu::ProgramSeparable(true) << glu::VertexSource(s_vertexSource)); 310 glu::ShaderProgram frgProgram (m_context.getRenderContext(), glu::ProgramSources() << glu::ProgramSeparable(true) << glu::FragmentSource(s_incompatibleFragmentSource));
|