HomeSort by relevance Sort by last modified time
    Searched full:shader (Results 76 - 100 of 672) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/skia/src/effects/
SkColorFilters.cpp 56 virtual void filterSpan(const SkPMColor shader[], int count,
62 result[i] = proc(color, shader[i]);
66 virtual void filterSpan16(const uint16_t shader[], int count,
74 result[i] = proc16(color, shader[i]);
122 virtual void filterSpan(const SkPMColor shader[], int count,
127 virtual void filterSpan16(const uint16_t shader[], int count,
158 virtual void filterSpan(const SkPMColor shader[], int count,
160 fColor32Proc(result, shader, count, this->getPMColor());
163 virtual void filterSpan16(const uint16_t shader[], int count,
239 virtual void filterSpan(const SkPMColor shader[], int count
    [all...]
  /frameworks/base/graphics/java/android/graphics/drawable/
BitmapDrawable.java 29 import android.graphics.Shader;
332 * @return {@link Shader.TileMode#CLAMP} if the bitmap does not repeat,
333 * {@link Shader.TileMode#REPEAT} or {@link Shader.TileMode#MIRROR} otherwise.
335 public Shader.TileMode getTileModeX() {
342 * @return {@link Shader.TileMode#CLAMP} if the bitmap does not repeat,
343 * {@link Shader.TileMode#REPEAT} or {@link Shader.TileMode#MIRROR} otherwise.
345 public Shader.TileMode getTileModeY() {
351 * does not repeat its bitmap. Using {@link Shader.TileMode#REPEAT} o
432 Shader shader = state.mPaint.getShader(); local
    [all...]
  /sdk/emulator/opengl/tests/translator_tests/GLES_V2/
triangleV2.cpp 111 fprintf(stderr, "\t-vs <filename> - vertex shader to use\n");
112 fprintf(stderr, "\t-fs <filename> - fragment shader to use\n");
119 GLuint shader; local
121 // Create the shader object
122 shader = glCreateShader(type);
123 if(shader == 0)
125 // Load the shader source
126 glShaderSource(shader, 1, &shaderSrc, NULL);
127 // Compile the shader
128 glCompileShader(shader);
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
SweepGradientTest.java 25 import android.graphics.Shader;
55 Shader shader = new SweepGradient(CENTER, CENTER, colors[0], colors[1]); local
56 mPaint.setShader(shader);
64 Shader shader = new SweepGradient(CENTER, CENTER, colors, positions); local
65 mPaint.setShader(shader);
75 Shader shader = new SweepGradient(CENTER, CENTER, colors, positions); local
76 mPaint.setShader(shader);
    [all...]
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);
  /frameworks/base/libs/hwui/
SkiaShader.h 37 // Base shader
41 * Represents a Skia shader. A shader will modify the GL context and active
46 * Type of Skia shader in use.
62 void copyFrom(const SkiaShader& shader);
137 * A shader that draws a bitmap.
159 * A shader that draws a linear gradient.
183 * A shader that draws a sweep gradient.
208 * A shader that draws a circular gradient.
224 * A shader that draws two shaders, composited with an xfermode
    [all...]
SkiaShader.cpp 58 // Base shader
61 void SkiaShader::copyFrom(const SkiaShader& shader) {
62 mType = shader.mType;
63 mKey = shader.mKey;
64 mTileX = shader.mTileX;
65 mTileY = shader.mTileY;
66 mBlend = shader.mBlend;
67 mUnitMatrix = shader.mUnitMatrix;
68 mShaderMatrix = shader.mShaderMatrix;
69 mGenerationId = shader.mGenerationId
    [all...]
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
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...]
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);
  /frameworks/native/opengl/tests/gl2_java/src/com/android/gl2java/
GL2JavaView.java 96 int shader = GLES20.glCreateShader(shaderType); local
97 if (shader != 0) {
98 GLES20.glShaderSource(shader, source);
99 GLES20.glCompileShader(shader);
101 GLES20.glGetShaderiv(shader, GLES20.GL_COMPILE_STATUS, compiled, 0);
103 Log.e(TAG, "Could not compile shader " + shaderType + ":");
104 Log.e(TAG, GLES20.glGetShaderInfoLog(shader));
105 GLES20.glDeleteShader(shader);
106 shader = 0;
109 return shader;
    [all...]
  /packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/
SurfaceTextureView.java 35 int shader = GLES20.glCreateShader(shaderType); local
36 if (shader != 0) {
37 GLES20.glShaderSource(shader, source);
38 GLES20.glCompileShader(shader);
40 GLES20.glGetShaderiv(shader, GLES20.GL_COMPILE_STATUS, compiled, 0);
42 Log.e(TAG, "Could not compile shader " + shaderType + ":");
43 Log.e(TAG, GLES20.glGetShaderInfoLog(shader));
44 GLES20.glDeleteShader(shader);
45 shader = 0;
48 return shader;
    [all...]
  /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);
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/skia/src/core/
SkColorFilter.cpp 50 SkFilterShader::SkFilterShader(SkShader* shader, SkColorFilter* filter) {
51 fShader = shader; shader->ref();
76 // if the filter doesn't support 16bit, clear the matching bit in the shader
80 // if the filter might change alpha, clear the opaque flag in the shader
125 str->append("Shader: ");
SkPaintPriv.h 20 shader.
  /frameworks/rs/driver/
rsdProgram.cpp 37 const char* shader, size_t shaderLen,
40 RsdShader *drv = new RsdShader(pv, GL_VERTEX_SHADER, shader, shaderLen,
74 ALOGV("Destroying vertex shader with ID %u", (uint32_t)pv);
84 const char* shader, size_t shaderLen,
87 RsdShader *drv = new RsdShader(pf, GL_FRAGMENT_SHADER, shader, shaderLen,
108 ALOGV("Destroying fragment shader with ID %u", (uint32_t)pf);
  /sdk/emulator/opengl/host/libs/Translator/GLES_V2/
GLESv2Imp.cpp 150 GL_APICALL void GL_APIENTRY glAttachShader(GLuint program, GLuint shader){
153 const GLuint globalProgramName = ctx->shareGroup()->getGlobalName(SHADER,program);
155 const GLuint globalShaderName = ctx->shareGroup()->getGlobalName(SHADER,shader);
158 ObjectDataPtr programData = ctx->shareGroup()->getObjectData(SHADER,program);
159 ObjectDataPtr shaderData = ctx->shareGroup()->getObjectData(SHADER,shader);
167 pData->attachShader(shader,shaderType);
177 const GLuint globalProgramName = ctx->shareGroup()->getGlobalName(SHADER,program);
179 ObjectDataPtr objData = ctx->shareGroup()->getObjectData(SHADER,program)
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/material/
package.html 22 Material definitions provide the "logic" for the material. Usually a shader that
24 configuration of the shader.
26 The J3MD file abstracts the shader and its configuration away from the user, allowing a
  /external/jmonkeyengine/engine/src/core/com/jme3/renderer/
GL1Renderer.java 6 * Renderer sub-interface that is used for non-shader based renderers.
  /external/jmonkeyengine/engine/src/core/com/jme3/shader/
ShaderVariable.java 33 package com.jme3.shader;
41 // if -1, not defined in shader
46 * Name of the uniform as was declared in the shader.
53 * True if the shader value was changed.
  /external/skia/src/gpu/gl/debug/
GrProgramObj.h 25 void AttachShader(GrShaderObj *shader);
  /external/skia/tests/
FlatDataTest.cpp 61 SkShader* shader = SkGradientShader::CreateLinear(points, colors, NULL, local
63 SkAutoUnref aur(shader);
64 testCreate(reporter, shader, flattenFlattenableProc);
73 paint.setShader(shader);
  /external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/
ResourceManager.cpp 15 #include "libGLESv2/Shader.h"
81 // Returns an unused shader/program name
104 // Returns an unused program/shader name
160 void ResourceManager::deleteShader(GLuint shader)
162 ShaderMap::iterator shaderObject = mShaderMap.find(shader);
232 Shader *ResourceManager::getShader(unsigned int handle)
234 ShaderMap::iterator shader = mShaderMap.find(handle); local
236 if (shader == mShaderMap.end())
242 return shader->second;
  /external/webkit/Source/WebCore/platform/graphics/gpu/
Shader.h 44 class Shader {
45 WTF_MAKE_NONCOPYABLE(Shader);
65 Shader(GraphicsContext3D*, unsigned program);
66 ~Shader();
  /external/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/
LwjglRenderer.java 46 import com.jme3.shader.Attribute;
47 import com.jme3.shader.Shader;
48 import com.jme3.shader.Shader.ShaderSource;
49 import com.jme3.shader.Shader.ShaderType;
50 import com.jme3.shader.Uniform;
93 private Shader boundShader;
760 protected void updateUniformLocation(Shader shader, Uniform uniform) {
    [all...]

Completed in 964 milliseconds

1 2 34 5 6 7 8 91011>>