Home
last modified time | relevance | path

Searched defs:shader (Results 1 – 25 of 80) sorted by relevance

1234

/frameworks/native/libs/shaders/
Dshaders.cpp36 void generateEOTF(ui::Dataspace dataspace, std::string& shader) { in generateEOTF()
161 void generateXYZTransforms(std::string& shader) { in generateXYZTransforms()
177 std::string& shader) { in generateLuminanceScalesForOOTF()
219 std::string& shader) { in generateLuminanceNormalizationForOOTF()
246 std::string& shader) { in generateOOTF()
267 void generateOETF(ui::Dataspace dataspace, std::string& shader) { in generateOETF()
389 void generateEffectiveOOTF(bool undoPremultipliedAlpha, std::string& shader) { in generateEffectiveOOTF()
/frameworks/native/opengl/tools/glgen/stubs/gles11/
DglGetShaderSource.java4 int shader, in glGetShaderSource()
16 int shader, in glGetShaderSource()
25 int shader in glGetShaderSource()
DglGetShaderSource.cpp4 …(JNIEnv *_env, jobject _this, jint shader, jint bufsize, jintArray length_ref, jint lengthOffset, … in android_glGetShaderSource__II_3II_3BI()
69 (JNIEnv *_env, jobject _this, jint shader, jint bufsize, jobject length_buf, jbyte source) { in android_glGetShaderSource__IILjava_nio_IntBuffer_2B()
92 static jstring android_glGetShaderSource(JNIEnv *_env, jobject, jint shader) { in android_glGetShaderSource()
DglGetShaderInfoLog.java5 int shader in glGetShaderInfoLog()
DglShaderSource.java4 int shader, in glShaderSource()
DglGetProgramInfoLog.cpp4 static jstring android_glGetProgramInfoLog(JNIEnv *_env, jobject, jint shader) { in android_glGetProgramInfoLog()
DglGetProgramPipelineInfoLog.cpp4 static jstring android_glGetProgramPipelineInfoLog(JNIEnv *_env, jobject, jint shader) { in android_glGetProgramPipelineInfoLog()
DglShaderSource.cpp6 (JNIEnv *_env, jobject _this, jint shader, jstring string) { in android_glShaderSource()
DglGetShaderInfoLog.cpp4 static jstring android_glGetShaderInfoLog(JNIEnv *_env, jobject, jint shader) { in android_glGetShaderInfoLog()
/frameworks/base/libs/hwui/tests/unit/
DShaderCacheTests.cpp168 inline bool checkShader(const sk_sp<SkData>& shader, const char* program) { in checkShader()
173 inline bool checkShader(const sk_sp<SkData>& shader, const std::string& program) { in checkShader()
178 bool checkShader(const sk_sp<SkData>& shader, std::vector<T>& program) { in checkShader()
183 void setShader(sk_sp<SkData>& shader, const char* program) { in setShader()
187 void setShader(sk_sp<SkData>& shader, const std::string& program) { in setShader()
192 void setShader(sk_sp<SkData>& shader, std::vector<T>& buffer) { in setShader()
/frameworks/native/libs/tonemap/tests/
Dtonemap_test.cpp65 const auto shader = in TEST_F() local
77 const auto shader = in TEST_F() local
/frameworks/base/libs/hwui/jni/
DShader.cpp56 static void Shader_safeUnref(SkShader* shader) { in Shader_safeUnref()
83 sk_sp<SkShader> shader; in BitmapShader_constructor() local
131 sk_sp<SkShader> shader(SkGradientShader::MakeLinear(pts, &colors[0], in LinearGradient_create() local
177 sk_sp<SkShader> shader = SkGradientShader::MakeTwoPointConical(start, startRadius, end, in RadialGradient_create() local
207 sk_sp<SkShader> shader = SkGradientShader::MakeSweep(x, y, &colors[0], in SweepGradient_create() local
231 SkShader* shader; in ComposeShader_create() local
267 sk_sp<SkShader> shader = builder->makeShader(matrix); in RuntimeShader_create() local
377 SkShader* shader = reinterpret_cast<SkShader*>(shaderHandle); in RuntimeShader_updateShader() local
/frameworks/rs/driver/
DrsdProgram.cpp40 const char* shader, size_t shaderLen, in rsdProgramVertexInit()
87 const char* shader, size_t shaderLen, in rsdProgramFragmentInit()
/frameworks/base/libs/hwui/utils/
DPaintUtils.h48 static bool isBlendedShader(const SkShader* shader) { return shader && !shader->isOpaque(); } in isBlendedShader()
/frameworks/base/graphics/java/android/graphics/
DRuntimeShader.java263 public RuntimeShader(@NonNull String shader) { in RuntimeShader()
486 public void setInputShader(@NonNull String shaderName, @NonNull Shader shader) { in setInputShader()
506 public void setInputBuffer(@NonNull String shaderName, @NonNull BitmapShader shader) { in setInputBuffer()
545 long shaderBuilder, String shaderName, long shader); in nativeUpdateShader()
DRenderEffect.java289 public static RenderEffect createShaderEffect(@NonNull Shader shader) { in createShaderEffect()
302 public static RenderEffect createRuntimeShaderEffect( in createRuntimeShaderEffect()
336 private static native long nativeCreateShaderEffect(long shader); in nativeCreateShaderEffect()
/frameworks/base/libs/hwui/pipeline/skia/
DLayerDrawable.cpp79 static sk_sp<SkShader> createLinearEffectShader(sk_sp<SkShader> shader, in createLinearEffectShader()
203 auto shader = layerImage->makeShader(sampling, in DrawLayer() local
/frameworks/native/libs/renderengine/skia/filters/
DLinearEffect.cpp44 sk_sp<SkShader> shader, const shaders::LinearEffect& linearEffect, in createLinearEffectShader()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DAlpha8BitmapActivity.java56 BitmapShader shader = new BitmapShader(texture, in BitmapsView() local
/frameworks/base/tests/GamePerformance/src/android/gameperformance/
DOpenGLUtils.java41 final int shader = GLES20.glCreateShader(type); in loadShader() local
/frameworks/av/media/libstagefright/renderfright/gl/filters/
DGenericProgram.cpp66 const GLuint shader = glCreateShader(type); in compileShader() local
/frameworks/native/libs/renderengine/gl/filters/
DGenericProgram.cpp66 const GLuint shader = glCreateShader(type); in compileShader() local
/frameworks/av/media/libstagefright/renderfright/gl/
DProgram.cpp103 GLuint shader = glCreateShader(type); in buildShader() local
/frameworks/opt/chips/src/com/android/ex/chips/
DCircularImageView.java98 BitmapShader shader = new BitmapShader(bitmap, Shader.TileMode.CLAMP, in drawBitmapWithCircleOnCanvas() local
/frameworks/native/libs/renderengine/gl/
DProgram.cpp112 GLuint shader = glCreateShader(type); in buildShader() local

1234