Home
last modified time | relevance | path

Searched refs:stencil (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/libs/hwui/
DLayer.cpp60 stencil = NULL; in Layer()
75 if (stencil || fbo || texture.id) { in ~Layer()
150 if (stencil) { in resize()
151 stencil->bind(); in resize()
152 stencil->resize(desiredWidth, desiredHeight); in resize()
164 if (stencil) { in removeFbo()
170 caches.renderBufferCache.put(stencil); in removeFbo()
171 stencil = NULL; in removeFbo()
206 if (stencil) { in bindStencilRenderBuffer()
207 stencil->bind(); in bindStencilRenderBuffer()
DRenderState.cpp148 mCaches->stencil.clear(); in debugOverdraw()
151 mCaches->stencil.enableDebugWrite(); in debugOverdraw()
153 mCaches->stencil.disable(); in debugOverdraw()
DLayer.h189 this->stencil = renderBuffer; in setStencilRenderBuffer()
191 GL_RENDERBUFFER, stencil->getName()); in setStencilRenderBuffer()
198 return stencil; in getStencilRenderBuffer()
352 RenderBuffer* stencil; variable
DOpenGLRenderer.h331 bool stencilWasEnabled = mCaches.stencil.isTestEnabled(); in drawScreenSpaceColorRect()
332 mCaches.stencil.disable(); in drawScreenSpaceColorRect()
336 if (stencilWasEnabled) mCaches.stencil.enableTest(); in drawScreenSpaceColorRect()
DCaches.h349 Stencil stencil; variable
DOpenGLRenderer.cpp434 mCaches.stencil.enableDebugTest(2); in renderOverdraw()
438 mCaches.stencil.enableDebugTest(3); in renderOverdraw()
442 mCaches.stencil.enableDebugTest(4); in renderOverdraw()
446 mCaches.stencil.enableDebugTest(4, true); in renderOverdraw()
449 mCaches.stencil.disable(); in renderOverdraw()
1466 mCaches.stencil.enableWrite(); in setStencilFromClip()
1475 mCaches.stencil.clear(); in setStencilFromClip()
1495 mCaches.stencil.enableTest(); in setStencilFromClip()
1506 mCaches.stencil.disable(); in setStencilFromClip()
1583 mCaches.stencil.isTestEnabled();
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/
DGLDualGL2View.java68 public GLDualGL2View(Context context, boolean translucent, int depth, int stencil) { in GLDualGL2View() argument
70 init(translucent, depth, stencil); in GLDualGL2View()
73 private void init(boolean translucent, int depth, int stencil) { in init() argument
76 new ConfigChooser(8,8,8,8, depth, stencil) : in init()
77 new ConfigChooser(5,6,5,0, depth, stencil)); in init()
115 public ConfigChooser(int r, int g, int b, int a, int depth, int stencil) { in ConfigChooser() argument
121 mStencilSize = stencil; in ConfigChooser()
/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/
DGLPerfView.java65 public GLPerfView(Context context, boolean translucent, int depth, int stencil) { in GLPerfView() argument
67 init(translucent, depth, stencil); in GLPerfView()
70 private void init(boolean translucent, int depth, int stencil) { in init() argument
73 new ConfigChooser(8,8,8,8, depth, stencil) : in init()
74 new ConfigChooser(5,6,5,0, depth, stencil)); in init()
112 public ConfigChooser(int r, int g, int b, int a, int depth, int stencil) { in ConfigChooser() argument
118 mStencilSize = stencil; in ConfigChooser()
/frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/
DGL2JNIView.java65 public GL2JNIView(Context context, boolean translucent, int depth, int stencil) { in GL2JNIView() argument
67 init(translucent, depth, stencil); in GL2JNIView()
70 private void init(boolean translucent, int depth, int stencil) { in init() argument
73 new ConfigChooser(8,8,8,8, depth, stencil) : in init()
74 new ConfigChooser(5,6,5,0, depth, stencil)); in init()
112 public ConfigChooser(int r, int g, int b, int a, int depth, int stencil) { in ConfigChooser() argument
118 mStencilSize = stencil; in ConfigChooser()
/frameworks/native/opengl/tools/glgen/specs/gles11/
DGLES30.spec66 void glClearBufferfi ( GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil )
/frameworks/base/opengl/java/android/opengl/
DGLES30.java1228 int stencil in glClearBufferfi() argument
/frameworks/native/opengl/libs/GLES2/
Dgl2_api.in604 void API_ENTRY(glClearBufferfi)(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil) {
605 CALL_GL_API(glClearBufferfi, buffer, drawbuffer, depth, stencil);
/frameworks/base/docs/html/about/versions/
Dlollipop.jd162 <p>OpenGL ES 3.1 adds compute shaders, stencil textures, accelerated visual effects, high quality E…
Dandroid-5.0.jd346 <li>Multisample and stencil textures
/frameworks/native/opengl/include/GLES3/
Dgl3.h888 …L void GL_APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
Dgl31.h888 …L void GL_APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
/frameworks/native/opengl/libs/
Dtrace.in54 … depth, GLint stencil), (buffer, drawbuffer, depth, stencil), 4, "GLenum", buffer, "GLint", drawbu…
Dentries.in54 GL_ENTRY(void, glClearBufferfi, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil)
/frameworks/base/core/jni/
Dandroid_opengl_GLES30.cpp3062 (JNIEnv *_env, jobject _this, jint buffer, jint drawbuffer, jfloat depth, jint stencil) { in android_glClearBufferfi__IIFI() argument
3067 (GLint)stencil in android_glClearBufferfi__IIFI()
/frameworks/native/opengl/libs/GLES_trace/src/
Dgltrace_api.h225 void GLTrace_glClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
Dgltrace_api.cpp8435 void GLTrace_glClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil) { in GLTrace_glClearBufferfi() argument
8463 arg_stencil->add_intvalue(stencil); in GLTrace_glClearBufferfi()
8468 glContext->hooks->gl.glClearBufferfi(buffer, drawbuffer, depth, stencil); in GLTrace_glClearBufferfi()