/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
AdvancedBlendActivity.java | 31 import android.graphics.Shader; 69 mScaledShader = new BitmapShader(texture, Shader.TileMode.MIRROR, 70 Shader.TileMode.MIRROR); 75 mScaled2Shader = new BitmapShader(texture, Shader.TileMode.MIRROR, 76 Shader.TileMode.MIRROR); 82 Color.BLACK, Color.WHITE, Shader.TileMode.CLAMP);
|
MoreShadersActivity.java | 33 import android.graphics.Shader; 71 mScaledShader = new BitmapShader(texture, Shader.TileMode.MIRROR, 72 Shader.TileMode.MIRROR); 77 mScaled2Shader = new BitmapShader(texture, Shader.TileMode.MIRROR, 78 Shader.TileMode.MIRROR); 84 Color.RED, 0x7f00ff00, Shader.TileMode.CLAMP); 90 Color.YELLOW, Color.MAGENTA, Shader.TileMode.MIRROR);
|
Alpha8BitmapActivity.java | 29 import android.graphics.Shader; 56 BitmapShader shader = new BitmapShader(texture, local 57 Shader.TileMode.REPEAT, Shader.TileMode.REPEAT); 71 mBitmapPaint.setShader(shader);
|
/external/chromium_org/third_party/angle/src/libGLESv2/ |
Program.h | 31 class Shader; 72 bool attachShader(Shader *shader); 73 bool detachShader(Shader *shader);
|
ResourceManager.h | 34 class Shader; 55 void deleteShader(GLuint shader); 61 Shader *getShader(GLuint handle); 90 typedef HASH_MAP<GLuint, Shader*> ShaderMap;
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapShaderTest.java | 24 import android.graphics.Shader; 26 import android.graphics.Shader.TileMode; 46 BitmapShader shader = new BitmapShader(tile, Shader.TileMode.REPEAT, local 47 Shader.TileMode.REPEAT); 49 paint.setShader(shader);
|
Interpolator_ResultTest.java | 21 import android.graphics.Shader.TileMode;
|
ComposeShaderTest.java | 28 import android.graphics.Shader; 31 import android.graphics.Shader.TileMode; 43 Color.GREEN, Color.BLUE, Shader.TileMode.CLAMP); 45 Color.GREEN, Color.RED, Shader.TileMode.CLAMP); 46 ComposeShader shader = new ComposeShader(blueGradient, redGradient, PorterDuff.Mode.SCREEN); local 51 paint.setShader(shader); 84 ComposeShader shader = new ComposeShader(blueShader, redShader, xferMode); local 89 paint.setShader(shader);
|
/external/chromium_org/gpu/command_buffer/service/ |
memory_program_cache.h | 31 Shader* shader_a, 33 Shader* shader_b, 39 const Shader* shader_a, 41 const Shader* shader_b,
|
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
st_atom_clip.c | 52 /* if we have a vertex shader that writes clip vertex we need to pass 55 if (ctx->Shader.CurrentVertexProgram)
|
/external/jmonkeyengine/engine/src/core/com/jme3/shader/ |
Shader.java | 33 package com.jme3.shader;
47 public final class Shader extends NativeObject implements Savable {
52 * True if the shader is fully compiled & linked.
69 * Maps attribute name to the location of the attribute in the shader.
74 * Type of shader. The shader will control the pipeline of it's type.
94 * Shader source describes a shader object in OpenGL. Each shader source
110 throw new NullPointerException("The shader type must be specified"); 294 ShaderSource shader = new ShaderSource(type); local [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/system/ |
NullRenderer.java | 44 import com.jme3.shader.Shader; 45 import com.jme3.shader.Shader.ShaderSource; 101 public void setShader(Shader shader) { 104 public void deleteShader(Shader shader) {
|
/external/mesa3d/src/mesa/state_tracker/ |
st_atom_clip.c | 52 /* if we have a vertex shader that writes clip vertex we need to pass 55 if (ctx->Shader.CurrentVertexProgram)
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
uniforms.c | 134 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, &v0, GL_FLOAT); 144 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, v, GL_FLOAT_VEC2); 155 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, v, GL_FLOAT_VEC3); 168 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, v, GL_FLOAT_VEC4); 175 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, &v0, GL_INT); 185 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, v, GL_INT_VEC2); 196 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, v, GL_INT_VEC3); 208 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, v, GL_INT_VEC4); 215 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, count, value, GL_FLOAT); 222 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, count, value, GL_FLOAT_VEC2) [all...] |
/external/mesa3d/src/mesa/main/ |
uniforms.c | 134 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, &v0, GL_FLOAT); 144 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, v, GL_FLOAT_VEC2); 155 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, v, GL_FLOAT_VEC3); 168 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, v, GL_FLOAT_VEC4); 175 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, &v0, GL_INT); 185 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, v, GL_INT_VEC2); 196 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, v, GL_INT_VEC3); 208 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, v, GL_INT_VEC4); 215 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, count, value, GL_FLOAT); 222 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, count, value, GL_FLOAT_VEC2) [all...] |
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
Shader.java | 33 public abstract class Shader extends SceneGraphBase { 46 public Shader() {
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
BitmapDrawableTest.java | 7 import android.graphics.Shader; 99 drawable.setTileModeXY(Shader.TileMode.REPEAT, Shader.TileMode.MIRROR); 100 assertEquals(Shader.TileMode.REPEAT, drawable.getTileModeX()); 101 assertEquals(Shader.TileMode.MIRROR, drawable.getTileModeY());
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
Vertices.java | 54 Shader s = new BitmapShader(bm, Shader.TileMode.CLAMP, 55 Shader.TileMode.CLAMP);
|
/external/chromium_org/third_party/skia/src/animator/ |
SkPaintParts.h | 51 DECLARE_DRAW_MEMBER_INFO(Shader); 56 void addPostlude(SkShader* shader);
|
/external/skia/src/animator/ |
SkPaintParts.h | 51 DECLARE_DRAW_MEMBER_INFO(Shader); 56 void addPostlude(SkShader* shader);
|
/external/jmonkeyengine/engine/src/core/com/jme3/asset/ |
AssetManager.java | 40 import com.jme3.shader.Shader; 41 import com.jme3.shader.ShaderKey; 249 * Loads shader file(s), shouldn't be used by end-user in most cases. 253 public Shader loadShader(ShaderKey key);
|
/frameworks/base/graphics/java/android/graphics/ |
SweepGradient.java | 19 public class SweepGradient extends Shader { 38 * A subclass of Shader that draws a sweep gradient around a center point. 70 * A subclass of Shader that draws a sweep gradient around a center point. 91 protected Shader copy() {
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/ |
ColorBrightnessView.java | 27 import android.graphics.Shader; 92 BitmapShader bs = new BitmapShader(bitmap, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT); 137 0, .3f, .31f, 1 }, Shader.TileMode.CLAMP); 159 Shader sg = new LinearGradient( 161 color1, color2, Shader.TileMode.CLAMP);
|
ColorOpacityView.java | 28 import android.graphics.Shader; 97 BitmapShader bs = new BitmapShader(bitmap, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT); 142 0, .3f, .31f, 1 }, Shader.TileMode.CLAMP); 160 Shader sg = new LinearGradient( 161 mBorder, mBorder, mWidth - mBorder, mBorder, color1, color2, Shader.TileMode.CLAMP);
|
ColorSaturationView.java | 27 import android.graphics.Shader; 92 BitmapShader bs = new BitmapShader(bitmap, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT); 137 0, .3f, .31f, 1 }, Shader.TileMode.CLAMP); 158 Shader sg = new LinearGradient( 160 color1, color2, Shader.TileMode.CLAMP);
|