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

/frameworks/base/libs/hwui/
H A DLayer.cpp60 stencil = NULL;
75 if (stencil || fbo || texture.id) {
150 if (stencil) {
151 stencil->bind();
152 stencil->resize(desiredWidth, desiredHeight);
164 if (stencil) {
170 caches.renderBufferCache.put(stencil);
171 stencil = NULL;
206 if (stencil) {
207 stencil
[all...]
H A DRenderState.cpp148 mCaches->stencil.clear();
151 mCaches->stencil.enableDebugWrite();
153 mCaches->stencil.disable();
H A DLayer.h82 * buffer (stencil for instance.)
189 this->stencil = renderBuffer;
191 GL_RENDERBUFFER, stencil->getName());
193 ALOGE("The specified render buffer is not a stencil buffer");
198 return stencil;
350 * The render buffer used as the stencil buffer.
352 RenderBuffer* stencil; member in class:android::uirenderer::Layer
H A DOpenGLRenderer.h330 // should only be called outside of other draw ops, so stencil can only be in test state
331 bool stencilWasEnabled = mCaches.stencil.isTestEnabled();
332 mCaches.stencil.disable();
336 if (stencilWasEnabled) mCaches.stencil.enableTest();
375 * This method is called whenever a stencil buffer is required. Subclasses
382 * Obtains a stencil render buffer (allocating it if necessary) and
526 * Sets the clipping region using the stencil buffer. The clip region
874 * currentTransform() will be ignored. (e.g. when drawing clip in layer coordinates to stencil,
H A DCaches.h349 Stencil stencil; member in class:android::uirenderer::Caches
H A DOpenGLRenderer.cpp434 mCaches.stencil.enableDebugTest(2);
438 mCaches.stencil.enableDebugTest(3);
442 mCaches.stencil.enableDebugTest(4);
446 mCaches.stencil.enableDebugTest(4, true);
449 mCaches.stencil.disable();
1012 * hardware layer with overdraw debug on, draws again to the stencil only, so that these draw
1127 // stencil buffer in setupDraw()
1304 // call setupDraw() to prevent stencil setup to do
1432 // cannot attach a stencil buffer to fbo0 dynamically. Let's
1466 mCaches.stencil
[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.h888 GL_APICALL void GL_APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
H A Dgl31.h888 GL_APICALL void GL_APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES30.cpp3059 /* void glClearBufferfi ( GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil ) */
3062 (JNIEnv *_env, jobject _this, jint buffer, jint drawbuffer, jfloat depth, jint stencil) {
3067 (GLint)stencil
3061 android_glClearBufferfi__IIFI(JNIEnv *_env, jobject _this, jint buffer, jint drawbuffer, jfloat depth, jint stencil) argument
/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.cpp8435 void GLTrace_glClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil) { argument
8459 // copy argument stencil
8463 arg_stencil->add_intvalue(stencil);
8468 glContext->hooks->gl.glClearBufferfi(buffer, drawbuffer, depth, stencil);
[all...]

Completed in 1126 milliseconds