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

/frameworks/base/libs/hwui/
H A DLayer.cpp59 if (stencil || fbo || texture.id) {
134 if (stencil) {
135 stencil->bind();
136 stencil->resize(desiredWidth, desiredHeight);
148 if (stencil) {
154 caches.renderBufferCache.put(stencil);
155 stencil = nullptr;
190 if (stencil) {
191 stencil->bind();
H A DLayer.h84 * buffer (stencil for instance.)
191 this->stencil = renderBuffer;
193 GL_RENDERBUFFER, stencil->getName());
195 ALOGE("The specified render buffer is not a stencil buffer");
200 return stencil;
356 * The render buffer used as the stencil buffer.
358 RenderBuffer* stencil = nullptr; member in class:android::uirenderer::Layer
H A DOpenGLRenderer.h345 // should only be called outside of other draw ops, so stencil can only be in test state
346 bool stencilWasEnabled = mCaches.stencil.isTestEnabled();
347 mCaches.stencil.disable();
351 if (stencilWasEnabled) mCaches.stencil.enableTest();
448 * This method is called whenever a stencil buffer is required. Subclasses
455 * Obtains a stencil render buffer (allocating it if necessary) and
461 * Draw a rectangle list. Currently only used for the the stencil buffer so that the stencil
584 * Sets the clipping region using the stencil buffer. The clip region
H A DOpenGLRenderer.cpp356 mRenderState.stencil().enableDebugTest(2);
360 mRenderState.stencil().enableDebugTest(3);
364 mRenderState.stencil().enableDebugTest(4);
368 mRenderState.stencil().enableDebugTest(4, true);
371 mRenderState.stencil().disable();
895 * hardware layer with overdraw debug on, draws again to the stencil only, so that these draw
1137 // stencil setup from doing the same thing again
1260 // cannot attach a stencil buffer to fbo0 dynamically. Let's
1363 mRenderState.stencil().enableWrite(incrementThreshold);
1365 // Clean and update the stencil, bu
[all...]
H A DGlopBuilder.cpp600 // the stencil buffer and if stencil highlight debugging is on
603 && mRenderState.stencil().isTestEnabled();
/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/base/libs/hwui/renderstate/
H A DRenderState.cpp166 stencil().clear();
169 stencil().enableDebugWrite();
171 stencil().disable();
357 stencil().dump();
H A DRenderState.h93 Stencil& stencil() { return *mStencil; } function in class:android::uirenderer::RenderState
/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.cpp3181 /* void glClearBufferfi ( GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil ) */
3184 (JNIEnv *_env, jobject _this, jint buffer, jint drawbuffer, jfloat depth, jint stencil) {
3189 (GLint)stencil
3183 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 4662 milliseconds