HomeSort by relevance Sort by last modified time
    Searched refs:Shader (Results 1 - 25 of 272) sorted by null

1 2 3 4 5 6 7 8 91011

  /external/deqp/framework/randomshaders/
rsgProgramGenerator.hpp 4 * drawElements Quality Program Random Shader Generator
39 void generate (const ProgramParameters& programParams, Shader& vertexShader, Shader& fragmentShader);
rsgGeneratorState.hpp 4 * drawElements Quality Program Random Shader Generator
36 class Shader;
62 Shader& getShader (void) { return *m_shader; }
64 void setShader (const ShaderParameters& params, Shader& shader);
93 Shader* m_shader;
rsgShaderGenerator.hpp 4 * drawElements Quality Program Random Shader Generator
23 * \brief Shader generator.
42 void generate (const ShaderParameters& shaderParams, Shader& shader, const std::vector<ShaderInput*>& outputs);
rsgTest.cpp 2 * drawElements Quality Program Random Shader Generator
21 * \brief Random Shader Generator Tester.
50 rsg::Shader vertexShader(rsg::Shader::TYPE_VERTEX);
51 rsg::Shader fragmentShader(rsg::Shader::TYPE_FRAGMENT);
56 std::cout << "Vertex shader:\n--\n" << vertexShader.getSource() << "--\n";
57 std::cout << "Fragment shader:\n--\n" << fragmentShader.getSource() << "--\n";
rsgProgramExecutor.hpp 4 * drawElements Quality Program Random Shader Generator
51 void execute (const Shader& vertexShader, const Shader& fragmentShader, const std::vector<VariableValue>& uniforms);
rsgShader.cpp 2 * drawElements Quality Program Random Shader Generator
21 * \brief Shader Class.
67 Shader::Shader (Type type)
73 Shader::~Shader (void)
81 void Shader::getOutputs (vector<const Variable*>& outputs) const
93 void Shader::tokenize (GeneratorState& state, TokenStream& str) const
96 if (state.getShader().getType() == Shader::TYPE_FRAGMENT)
115 void Shader::execute (ExecutionContext& execCtx) cons
    [all...]
  /external/deqp/modules/gles31/functional/
es31fProgramInterfaceDefinition.hpp 63 class Shader
74 Shader (glu::ShaderType type, glu::GLSLVersion version);
75 ~Shader (void);
77 Shader (const Shader&);
78 Shader& operator= (const Shader&);
93 Shader* addShader (glu::ShaderType type, glu::GLSLVersion version);
98 const std::vector<Shader*>& getShaders (void) const;
114 std::vector<Shader*> m_shaders
    [all...]
  /frameworks/base/graphics/java/android/graphics/
ComposeShader.java 19 /** A subclass of shader that returns the composition of two other shaders, combined by
22 public class ComposeShader extends Shader {
39 private final Shader mShaderA;
41 private final Shader mShaderB;
43 /** Create a new compose shader, given shaders A, B, and a combining mode.
44 When the mode is applied, it will be given the result from shader A as its
45 "dst", and the result from shader B as its "src".
46 @param shaderA The colors from this shader are seen as the "dst" by the mode
47 @param shaderB The colors from this shader are seen as the "src" by the mode
51 public ComposeShader(Shader shaderA, Shader shaderB, Xfermode mode)
    [all...]
Shader.java 20 * Shader is the based class for objects that return horizontal spans of colors
21 * during drawing. A subclass of Shader is installed in a Paint calling
22 * paint.setShader(shader). After that any object (other than a bitmap) that is
23 * drawn with that paint will get its color(s) from the shader.
25 public class Shader {
44 * replicate the edge color if the shader draws outside of its
49 * repeat the shader's image horizontally and vertically
53 * repeat the shader's image horizontally and vertically, alternating
65 * Return true if the shader has a non-identity local matrix.
66 * @param localM If not null, it is set to the shader's local matrix
    [all...]
BitmapShader.java 20 * Shader used to draw a bitmap as a texture. The bitmap can be repeated or
23 public class BitmapShader extends Shader {
35 * Call this to create a new shader that will draw with a bitmap.
37 * @param bitmap The bitmap to use inside the shader
53 protected Shader copy() {
  /external/chromium_org/gpu/command_buffer/service/
shader_manager.h 21 // This is used to keep the source code for a shader. This is because in order
25 class GPU_EXPORT Shader : public base::RefCounted<Shader> {
127 friend class base::RefCounted<Shader>;
130 Shader(GLuint service_id, GLenum shader_type);
131 ~Shader();
139 // The shader this Shader is tracking.
141 // Type of shader - GL_VERTEX_SHADER or GL_FRAGMENT_SHADER.
147 // The shader source as passed to glShaderSource
    [all...]
shader_manager.cc 15 Shader::Shader(GLuint service_id, GLenum shader_type)
22 Shader::~Shader() {
25 void Shader::IncUseCount() {
29 void Shader::DecUseCount() {
34 void Shader::MarkAsDeleted() {
39 void Shader::SetStatus(
61 const Shader::VariableInfo*
62 Shader::GetAttribInfo
102 Shader* shader = shaders_.begin()->second.get(); local
    [all...]
program_cache.h 20 class Shader;
54 Shader* shader_a,
56 Shader* shader_b,
65 const Shader* shader_a,
67 const Shader* shader_b,
85 // called by implementing class after a shader was successfully cached
89 void ComputeShaderHash(const std::string& shader,
mocks.h 88 MOCK_METHOD1(Translate, bool(const char* shader));
106 Shader* shader_a,
108 Shader* shader_b,
115 const Shader* shader_a,
117 const Shader* shader_b,
  /cts/tests/tests/graphics/src/android/graphics/cts/
ShaderTest.java 22 import android.graphics.Shader;
27 new Shader();
36 Shader shader = new BitmapShader(bitmap, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT); local
39 shader.setLocalMatrix(m);
40 assertFalse(shader.getLocalMatrix(m));
42 shader.setLocalMatrix(null);
43 assertFalse(shader.getLocalMatrix(m))
    [all...]
Shader_TileModeTest.java 20 import android.graphics.Shader;
21 import android.graphics.Shader.TileMode;
  /external/deqp/modules/glshared/
glsRandomShaderProgram.hpp 32 class Shader;
44 RandomShaderProgram (const rsg::Shader& vertexShader, const rsg::Shader& fragmentShader, int numUnifiedUniforms, const rsg::ShaderInput* const* unifiedUniforms);
52 const rsg::Shader& m_vertexShader;
53 const rsg::Shader& m_fragmentShader;
58 std::vector<const rsg::Variable*> m_vertexOutputs; //!< Other vertex outputs in the order they are passed to fragment shader.
glsFragOpInteractionCase.hpp 23 * \brief Shader - render state interaction case.
70 rsg::Shader m_vertexShader;
71 rsg::Shader m_fragmentShader;
  /external/chromium_org/third_party/angle/src/libGLESv2/
Shader.cpp 8 // Shader.cpp: Implements the gl::Shader class and its derived classes
9 // VertexShader and FragmentShader. Implements GL shader objects and related
12 #include "libGLESv2/Shader.h"
22 void *Shader::mFragmentCompiler = NULL;
23 void *Shader::mVertexCompiler = NULL;
25 Shader::Shader(ResourceManager *manager, const rx::Renderer *renderer, GLuint handle)
36 Shader::~Shader()
    [all...]
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
ResourceModifier.java 30 import android.graphics.Shader;
62 repeatShader = new BitmapShader(bitmap, Shader.TileMode.REPEAT,
63 Shader.TileMode.REPEAT);
65 translatedShader = new BitmapShader(bitmap, Shader.TileMode.REPEAT,
66 Shader.TileMode.REPEAT);
72 scaledShader = new BitmapShader(bitmap, Shader.TileMode.MIRROR,
73 Shader.TileMode.MIRROR);
79 Color.RED, Color.GREEN, Shader.TileMode.CLAMP);
87 Color.BLUE, Color.RED, Shader.TileMode.CLAMP);
90 Color.YELLOW, Color.MAGENTA, Shader.TileMode.MIRROR)
    [all...]
  /external/deqp/framework/referencerenderer/
rrShaders.hpp 23 * \brief Shader interfaces.
38 * \brief Vertex shader input information
52 * \brief Shader varying information
80 * \brief Fragment shader output information
94 * \brief Vertex shader interface
117 * \brief Fragment shader interface
119 * Fragment shader executes shading for list of fragment packets. See
140 * \brief Geometry shader input primitive type
154 * \brief Geometry shader output primitive type
166 * \brief Geometry shader interfac
    [all...]
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
GradientStopsActivity.java 25 import android.graphics.Shader;
48 colors, positions, Shader.TileMode.CLAMP);
58 colors, positions, Shader.TileMode.CLAMP);
68 colors, positions, Shader.TileMode.CLAMP);
77 colors, null, Shader.TileMode.CLAMP);
85 colors, null, Shader.TileMode.REPEAT);
93 colors, null, Shader.TileMode.MIRROR);
101 colors, null, Shader.TileMode.CLAMP);
109 colors, null, Shader.TileMode.CLAMP);
117 colors, null, Shader.TileMode.CLAMP)
    [all...]
ShadersActivity.java 29 import android.graphics.Shader;
68 mRepeatShader = new BitmapShader(mTexture, Shader.TileMode.REPEAT,
69 Shader.TileMode.REPEAT);
71 mTranslatedShader = new BitmapShader(mTexture, Shader.TileMode.REPEAT,
72 Shader.TileMode.REPEAT);
78 mScaledShader = new BitmapShader(mTexture, Shader.TileMode.MIRROR,
79 Shader.TileMode.MIRROR);
85 Color.RED, Color.GREEN, Shader.TileMode.CLAMP);
93 Color.BLUE, Color.MAGENTA, Shader.TileMode.CLAMP);
96 Color.YELLOW, Color.MAGENTA, Shader.TileMode.MIRROR)
    [all...]
BigGradientActivity.java 24 import android.graphics.Shader;
45 0xff333333, Shader.TileMode.CLAMP));
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
Patterns.java 54 private final Shader mShader1;
55 private final Shader mShader2;
74 mShader1 = new BitmapShader(makeBitmap1(), Shader.TileMode.REPEAT,
75 Shader.TileMode.REPEAT);
76 mShader2 = new BitmapShader(makeBitmap2(), Shader.TileMode.REPEAT,
77 Shader.TileMode.REPEAT);

Completed in 947 milliseconds

1 2 3 4 5 6 7 8 91011