/external/deqp/framework/randomshaders/ |
rsgGeneratorState.cpp | 2 * drawElements Quality Program Random Shader Generator 48 void GeneratorState::setShader (const ShaderParameters& shaderParams, Shader& shader) 51 m_shader = &shader;
|
rsgVariable.cpp | 2 * drawElements Quality Program Random Shader Generator 72 if (state.getShader().getType() == Shader::TYPE_FRAGMENT) 81 case Shader::TYPE_VERTEX: str << Token::ATTRIBUTE; break; 82 case Shader::TYPE_FRAGMENT: str << Token::VARYING << Token::MEDIUM_PRECISION; break; 102 if (state.getShader().getType() == Shader::TYPE_VERTEX)
|
rsgShader.hpp | 4 * drawElements Quality Program Random Shader Generator 23 * \brief Shader Class. 80 class Shader 91 Shader (Type type); 92 ~Shader (void);
|
rsgProgramGenerator.cpp | 2 * drawElements Quality Program Random Shader Generator 43 Shader& vertexShader, 44 Shader& fragmentShader) 51 // Fragment shader 58 // Vertex shader 62 // Initialize outputs from fragment shader inputs
|
rsgUtils.hpp | 4 * drawElements Quality Program Random Shader Generator 38 void computeUnifiedUniforms (const Shader& vertexShader, const Shader& fragmentShader, std::vector<const ShaderInput*>& uniforms);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
BitmapHelper.java | 25 import android.graphics.Shader; 44 paint.setShader(new BitmapShader(input, Shader.TileMode.CLAMP, Shader.TileMode.CLAMP));
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowPaint.java | 5 import android.graphics.Shader; 27 private Shader shader; field in class:ShadowPaint 47 public Shader setShader(Shader shader) { 48 this.shader = shader; 49 return shader; 64 public Shader getShader() [all...] |
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
ResourceModifiers.java | 32 import android.graphics.Shader; 72 mRepeatShader = new BitmapShader(mBitmap, Shader.TileMode.REPEAT, 73 Shader.TileMode.REPEAT); 75 mTranslatedShader = new BitmapShader(mBitmap, Shader.TileMode.REPEAT, 76 Shader.TileMode.REPEAT); 82 mScaledShader = new BitmapShader(mBitmap, Shader.TileMode.MIRROR, 83 Shader.TileMode.MIRROR); 89 Color.RED, Color.GREEN, Shader.TileMode.CLAMP); 97 Color.BLUE, Color.RED, Shader.TileMode.CLAMP); 100 Color.YELLOW, Color.MAGENTA, Shader.TileMode.MIRROR) [all...] |
/external/chromium_org/gpu/command_buffer/service/ |
shader_manager_unittest.cc | 37 // Check we can create shader. 38 Shader* info0 = manager_.CreateShader( 40 // Check shader got created. 42 Shader* shader1 = manager_.GetShader(kClient1Id); 44 // Check we get nothing for a non-existent shader. 46 // Check we can't get the shader after we remove it. 55 // Check we can create shader. 56 Shader* shader1 = manager_.CreateShader( 58 // Check shader got created. 75 // Check we can create shader [all...] |
memory_program_cache.h | 31 Shader* shader_a, 33 Shader* shader_b, 39 const Shader* shader_a, 41 const Shader* shader_b,
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
ShapeDrawable1.java | 38 private static Shader makeSweep() { 44 private static Shader makeLinear() { 47 null, Shader.TileMode.MIRROR); 50 private static Shader makeTiling() { 55 return new BitmapShader(bm, Shader.TileMode.REPEAT, 56 Shader.TileMode.REPEAT);
|
/external/chromium_org/third_party/angle/src/libGLESv2/ |
Shader.h | 7 // Shader.h: Defines the abstract gl::Shader class and its concrete derived 8 // classes VertexShader and FragmentShader. Implements GL shader objects and 52 class Shader 57 Shader(ResourceManager *manager, const rx::Renderer *renderer, GLuint handle); 59 virtual ~Shader(); 90 static ShShaderOutput getCompilerOutputType(GLenum shader); 126 DISALLOW_COPY_AND_ASSIGN(Shader); 131 unsigned int mRefCount; // Number of program objects this shader is attached to 132 bool mDeleteStatus; // Flag to indicate that the shader can be deleted when no longer in us [all...] |
/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);
|
/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;
|
/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/deqp/executor/tools/ |
xeExtractShaderPrograms.cpp | 21 * \brief Extract shader programs from log. 53 static const char* getShaderTypeSuffix (const xe::ri::Shader::ShaderType shaderType) 57 case xe::ri::Shader::SHADERTYPE_VERTEX: return "vert"; 58 case xe::ri::Shader::SHADERTYPE_FRAGMENT: return "frag"; 59 case xe::ri::Shader::SHADERTYPE_GEOMETRY: return "geom"; 60 case xe::ri::Shader::SHADERTYPE_TESS_CONTROL: return "tesc"; 61 case xe::ri::Shader::SHADERTYPE_TESS_EVALUATION: return "tese"; 62 case xe::ri::Shader::SHADERTYPE_COMPUTE: return "comp"; 64 throw xe::Error("Invalid shader type"); 74 const xe::ri::Shader& shader = dynamic_cast<const xe::ri::Shader&>(shaderProgram.shaders.getItem(shaderNdx)) local [all...] |
/external/deqp/framework/opengl/ |
gluShaderProgram.hpp | 23 * \brief Shader and Program helpers. 44 * \brief Shader information (compile status, log, etc.). 48 ShaderType type; //!< Shader type. 49 std::string source; //!< Shader source. 70 * \brief Shader object. 72 class Shader 75 Shader (const RenderContext& renderCtx, ShaderType shaderType); 76 ~Shader (void); 92 Shader (const Shader& other) [all...] |
/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/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. 69 * A subclass of Shader that draws a sweep gradient around a center point. 89 protected Shader copy() {
|
/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());
|