Searched refs:stencil (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/libs/hwui/
H A DLayer.cpp46 stencil = NULL;
102 if (stencil) {
103 stencil->bind();
104 stencil->resize(desiredWidth, desiredHeight);
116 if (stencil) {
123 Caches::getInstance().renderBufferCache.put(stencil);
124 stencil = NULL;
H A DLayer.h61 * buffer (stencil for instance.)
162 this->stencil = renderBuffer;
164 GL_RENDERBUFFER, stencil->getName());
166 ALOGE("The specified render buffer is not a stencil buffer");
171 return stencil;
231 if (stencil) {
232 stencil->bind();
330 * The render buffer used as the stencil buffer.
332 RenderBuffer* stencil; member in struct:android::uirenderer::Layer
H A DCaches.h291 Stencil stencil; member in class:android::uirenderer::Caches
H A DOpenGLRenderer.h374 // should only be called outside of other draw ops, so stencil can only be in test state
375 bool stencilWasEnabled = mCaches.stencil.isTestEnabled();
376 mCaches.stencil.disable();
380 if (stencilWasEnabled) mCaches.stencil.enableTest();
414 * This method is called whenever a stencil buffer is required. Subclasses
421 * Obtains a stencil render buffer (allocating it if necessary) and
576 * Sets the clipping region using the stencil buffer. The clip region
H A DOpenGLRenderer.cpp497 mCaches.stencil.clear();
500 mCaches.stencil.enableDebugWrite();
502 mCaches.stencil.disable();
515 mCaches.stencil.enableDebugTest(2);
517 mCaches.stencil.enableDebugTest(3);
519 mCaches.stencil.enableDebugTest(4);
521 mCaches.stencil.enableDebugTest(4, true);
523 mCaches.stencil.disable();
1097 * hardware layer with overdraw debug on, draws again to the stencil only, so that these draw
1144 // stencil buffe
[all...]
/frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/
H A DGL2JNIView.java65 public GL2JNIView(Context context, boolean translucent, int depth, int stencil) { argument
67 init(translucent, depth, stencil);
70 private void init(boolean translucent, int depth, int stencil) { argument
73 new ConfigChooser(8,8,8,8, depth, stencil) :
74 new ConfigChooser(5,6,5,0, depth, stencil));
112 public ConfigChooser(int r, int g, int b, int a, int depth, int stencil) { argument
118 mStencilSize = stencil;
/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/
H A DGLPerfView.java65 public GLPerfView(Context context, boolean translucent, int depth, int stencil) { argument
67 init(translucent, depth, stencil);
70 private void init(boolean translucent, int depth, int stencil) { argument
73 new ConfigChooser(8,8,8,8, depth, stencil) :
74 new ConfigChooser(5,6,5,0, depth, stencil));
112 public ConfigChooser(int r, int g, int b, int a, int depth, int stencil) { argument
118 mStencilSize = stencil;
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/
H A DGLDualGL2View.java68 public GLDualGL2View(Context context, boolean translucent, int depth, int stencil) { argument
70 init(translucent, depth, stencil);
73 private void init(boolean translucent, int depth, int stencil) { argument
76 new ConfigChooser(8,8,8,8, depth, stencil) :
77 new ConfigChooser(5,6,5,0, depth, stencil));
115 public ConfigChooser(int r, int g, int b, int a, int depth, int stencil) { argument
121 mStencilSize = stencil;
/frameworks/native/opengl/tools/glgen/specs/gles11/
H A DGLES30.spec66 void glClearBufferfi ( GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil )
/frameworks/base/opengl/java/android/opengl/
H A DGLES30.java1222 // C function void glClearBufferfi ( GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil )
1228 int stencil
/frameworks/native/opengl/include/GLES3/
H A Dgl3.h1011 GL_APICALL void GL_APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_api.h225 void GLTrace_glClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
H A Dgltrace_api.cpp8436 void GLTrace_glClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil) { argument
8460 // copy argument stencil
8464 arg_stencil->add_intvalue(stencil);
8469 glContext->hooks->gl.glClearBufferfi(buffer, drawbuffer, depth, stencil);
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES30.cpp3057 /* void glClearBufferfi ( GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil ) */
3060 (JNIEnv *_env, jobject _this, jint buffer, jint drawbuffer, jfloat depth, jint stencil) {
3065 (GLint)stencil
3059 android_glClearBufferfi__IIFI(JNIEnv *_env, jobject _this, jint buffer, jint drawbuffer, jfloat depth, jint stencil) argument

Completed in 324 milliseconds