OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:mProgram
(Results
26 - 50
of
97
) sorted by null
1
2
3
4
/external/chromium_org/third_party/angle/samples/angle/simple_texture_2d/
SimpleTexture2D.cpp
53
mProgram
= CompileProgram(vs, fs);
54
if (!
mProgram
)
60
mPositionLoc = glGetAttribLocation(
mProgram
, "a_position");
61
mTexCoordLoc = glGetAttribLocation(
mProgram
, "a_texCoord");
64
mSamplerLoc = glGetUniformLocation(
mProgram
, "s_texture");
76
glDeleteProgram(
mProgram
);
102
glUseProgram(
mProgram
);
124
GLuint
mProgram
;
/external/chromium_org/third_party/angle/samples/angle/simple_texture_cubemap/
SimpleTextureCubemap.cpp
55
mProgram
= CompileProgram(vs, fs);
56
if (!
mProgram
)
62
mPositionLoc = glGetAttribLocation(
mProgram
, "a_position");
63
mNormalLoc = glGetAttribLocation(
mProgram
, "a_normal");
66
mSamplerLoc = glGetUniformLocation(
mProgram
, "s_texture");
83
glDeleteProgram(
mProgram
);
96
glUseProgram(
mProgram
);
118
GLuint
mProgram
;
/external/chromium_org/third_party/angle/samples/angle/texture_wrap/
TextureWrap.cpp
55
mProgram
= CompileProgram(vs, fs);
56
if (!
mProgram
)
62
mPositionLoc = glGetAttribLocation(
mProgram
, "a_position");
63
mTexCoordLoc = glGetAttribLocation(
mProgram
, "a_texCoord");
66
mSamplerLoc = glGetUniformLocation(
mProgram
, "s_texture");
69
mOffsetLoc = glGetUniformLocation(
mProgram
, "u_offset");
81
glDeleteProgram(
mProgram
);
106
glUseProgram(
mProgram
);
140
GLuint
mProgram
;
/external/chromium_org/third_party/angle/tests/angle_tests/
BufferDataTest.cpp
8
mProgram
(0),
49
mProgram
= compileProgram(vsSource, fsSource);
50
ASSERT_NE(
mProgram
, 0U);
52
mAttribLocation = glGetAttribLocation(
mProgram
, "in_attrib");
67
glDeleteProgram(
mProgram
);
73
GLuint
mProgram
;
140
//glUseProgram(
mProgram
);
144
//drawQuad(
mProgram
, "position", 0.5f);
LineLoopTest.cpp
43
mProgram
= compileProgram(vsSource, fsSource);
44
if (
mProgram
== 0)
49
mPositionLocation = glGetAttribLocation(
mProgram
, "position");
50
mColorLocation = glGetAttribLocation(
mProgram
, "in_color");
63
glDeleteProgram(
mProgram
);
96
glUseProgram(
mProgram
);
124
GLuint
mProgram
;
OcclusionQueriesTest.cpp
16
mProgram
= 0;
41
mProgram
= compileProgram(passthroughVS, passthroughPS);
42
if (
mProgram
== 0)
50
glDeleteProgram(
mProgram
);
55
GLuint
mProgram
;
65
glUseProgram(
mProgram
);
66
drawQuad(
mProgram
, "position", 0.3f);
74
drawQuad(
mProgram
, "position", 0.8f); // this quad should be occluded by first quad
108
drawQuad(
mProgram
, "position", 0.8f); // this quad should not be occluded
149
drawQuad(
mProgram
, "position", 0.8f); // this quad should not be occlude
[
all
...]
PBOExtensionTest.cpp
53
mProgram
= compileProgram(vertexShaderSrc, fragmentShaderSrc);
68
glDeleteProgram(
mProgram
);
72
GLuint
mProgram
;
TextureTest.cpp
52
mProgram
= compileProgram(vertexShaderSource, fragmentShaderSource);
53
if (
mProgram
== 0)
58
mTextureUniformLocation = glGetUniformLocation(
mProgram
, "tex");
64
glDeleteProgram(
mProgram
);
71
GLuint
mProgram
;
91
glUseProgram(
mProgram
);
93
drawQuad(
mProgram
, "position", 0.5f);
/frameworks/native/services/surfaceflinger/RenderEngine/
Program.h
66
GLuint
mProgram
;
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
BitmapOverlayFilter.java
40
private Program
mProgram
;
76
mProgram
= shaderProgram;
104
if (
mProgram
== null || inputFormat.getTarget() != mTarget) {
112
mProgram
.process(inputs, output);
CropRectFilter.java
48
private Program
mProgram
;
70
mProgram
= shaderProgram;
82
if (
mProgram
!= null) {
100
if (
mProgram
== null || inputFormat.getTarget() != mTarget) {
110
mProgram
.process(input, output);
131
((ShaderProgram)
mProgram
).setSourceRect((float) mXorigin / mWidth,
DrawRectFilter.java
60
private ShaderProgram
mProgram
;
82
mProgram
= new ShaderProgram(context, mVertexShader, mFixedColorFragmentShader);
120
mProgram
.setHostValue("color", color);
121
mProgram
.setAttributeValues("aPosition", vertexValues, 2);
122
mProgram
.setVertexCount(4);
125
mProgram
.beginDrawing();
FisheyeFilter.java
46
private Program
mProgram
;
90
mProgram
= shaderProgram;
110
if (
mProgram
== null || inputFormat.getTarget() != mTarget) {
120
mProgram
.process(input, output);
131
if (
mProgram
!= null) {
162
mProgram
.setHostValue("scale", scale);
163
mProgram
.setHostValue("radius2",radius2);
164
mProgram
.setHostValue("factor", factor);
165
mProgram
.setHostValue("alpha", alpha);
ImageCombineFilter.java
34
protected Program
mProgram
;
54
Field programField = ImageCombineFilter.class.getDeclaredField("
mProgram
");
57
throw new RuntimeException("Internal Error:
mProgram
field not found!");
97
mProgram
.process(inputs, output);
110
mProgram
= getNativeProgram(context);
114
mProgram
= getShaderProgram(context);
118
mProgram
= null;
121
if (
mProgram
== null) {
125
initProgramInputs(
mProgram
, context);
ImageSlicer.java
45
private Program
mProgram
;
104
if (
mProgram
== null) {
105
mProgram
= ShaderProgram.createIdentity(context);
116
((ShaderProgram)
mProgram
).setSourceRect(x0, y0,
121
mProgram
.process(mOriginalFrame, output);
ImageStitcher.java
40
private Program
mProgram
;
105
if (
mProgram
== null) {
106
mProgram
= ShaderProgram.createIdentity(context);
120
((ShaderProgram)
mProgram
).setSourceRect(x0, y0,
124
((ShaderProgram)
mProgram
).setTargetRect(((float) outputOffsetX)/ mImageWidth,
130
mProgram
.process(input, mOutputFrame);
ResizeFilter.java
47
private Program
mProgram
;
78
mProgram
= prog;
107
mProgram
.process(mipmapped, output);
110
mProgram
.process(input, output);
RotateFilter.java
42
private Program
mProgram
;
67
mProgram
= shaderProgram;
79
if (
mProgram
!= null) {
91
if (
mProgram
== null || inputFormat.getTarget() != mTarget) {
112
mProgram
.process(input, output);
149
((ShaderProgram)
mProgram
).setTargetRegion(quad);
SharpenFilter.java
36
private Program
mProgram
;
88
mProgram
= shaderProgram;
108
if (
mProgram
== null || inputFormat.getTarget() != mTarget) {
118
mProgram
.process(input, output);
131
if (
mProgram
!= null) {
132
mProgram
.setHostValue("stepsizeX", 1.0f / mWidth);
133
mProgram
.setHostValue("stepsizeY", 1.0f / mHeight);
139
mProgram
.setHostValue("scale", mScale);
144
if (
mProgram
!= null) {
StraightenFilter.java
45
private Program
mProgram
;
68
mProgram
= shaderProgram;
80
if (
mProgram
!= null) {
92
if (
mProgram
== null || inputFormat.getTarget() != mTarget) {
106
mProgram
.process(input, output);
147
((ShaderProgram)
mProgram
).setSourceRegion(quad);
ToPackedGrayFilter.java
43
private Program
mProgram
;
112
mProgram
= new ShaderProgram(context, mColorToPackedGrayShader);
123
mProgram
.setHostValue("pix_stride", 1.0f / ow);
129
mProgram
.process(input, temp);
VignetteFilter.java
36
private Program
mProgram
;
82
mProgram
= shaderProgram;
93
if (
mProgram
!= null) {
103
mProgram
.setHostValue("scale", scale);
104
mProgram
.setHostValue("inv_max_dist", 1f / max_dist);
105
mProgram
.setHostValue("shade", mShade);
115
mProgram
.setHostValue("range", 1.30f - (float) Math.sqrt(mScale) * 0.7f);
120
if (
mProgram
!= null) {
132
if (
mProgram
== null || inputFormat.getTarget() != mTarget) {
147
mProgram
.process(input, output)
[
all
...]
/external/chromium_org/third_party/angle/samples/angle/mip_map_2d/
MipMap2D.cpp
55
mProgram
= CompileProgram(vs, fs);
56
if (!
mProgram
)
62
mPositionLoc = glGetAttribLocation(
mProgram
, "a_position");
63
mTexCoordLoc = glGetAttribLocation(
mProgram
, "a_texCoord");
66
mSamplerLoc = glGetUniformLocation(
mProgram
, "s_texture");
69
mOffsetLoc = glGetUniformLocation(
mProgram
, "u_offset");
84
glDeleteProgram(
mProgram
);
110
glUseProgram(
mProgram
);
147
GLuint
mProgram
;
/external/chromium_org/third_party/angle/samples/angle/multi_texture/
MultiTexture.cpp
71
mProgram
= CompileProgram(vs, fs);
72
if (!
mProgram
)
78
mPositionLoc = glGetAttribLocation(
mProgram
, "a_position");
79
mTexCoordLoc = glGetAttribLocation(
mProgram
, "a_texCoord");
82
mBaseMapLoc = glGetUniformLocation(
mProgram
, "s_baseMap");
83
mLightMapLoc = glGetUniformLocation(
mProgram
, "s_lightMap");
98
glDeleteProgram(
mProgram
);
125
glUseProgram(
mProgram
);
154
GLuint
mProgram
;
/external/chromium_org/third_party/angle/samples/angle/simple_vertex_shader/
SimpleVertexShader.cpp
56
mProgram
= CompileProgram(vs, fs);
57
if (!
mProgram
)
63
mPositionLoc = glGetAttribLocation(
mProgram
, "a_position");
64
mTexcoordLoc = glGetAttribLocation(
mProgram
, "a_texcoord");
67
mMVPMatrixLoc = glGetUniformLocation(
mProgram
, "u_mvpMatrix");
84
glDeleteProgram(
mProgram
);
114
glUseProgram(
mProgram
);
130
GLuint
mProgram
;
Completed in 264 milliseconds
1
2
3
4