/frameworks/base/libs/hwui/ |
H A D | Layer.cpp | 59 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 D | Layer.h | 84 * 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 D | OpenGLRenderer.h | 345 // 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 D | OpenGLRenderer.cpp | 356 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 D | GlopBuilder.cpp | 600 // 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 D | GL2JNIView.java | 65 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 D | GLPerfView.java | 65 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 D | GLDualGL2View.java | 68 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 D | RenderState.cpp | 166 stencil().clear(); 169 stencil().enableDebugWrite(); 171 stencil().disable(); 357 stencil().dump();
|
H A D | RenderState.h | 93 Stencil& stencil() { return *mStencil; } function in class:android::uirenderer::RenderState
|
/frameworks/native/opengl/tools/glgen/specs/gles11/ |
H A D | GLES30.spec | 66 void glClearBufferfi ( GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil )
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLES30.java | 1222 // C function void glClearBufferfi ( GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil ) 1228 int stencil
|
/frameworks/native/opengl/include/GLES3/ |
H A D | gl3.h | 888 GL_APICALL void GL_APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
|
H A D | gl31.h | 888 GL_APICALL void GL_APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
|
/frameworks/base/core/jni/ |
H A D | android_opengl_GLES30.cpp | 3181 /* 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 D | gltrace_api.h | 225 void GLTrace_glClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
|
H A D | gltrace_api.cpp | 8435 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...] |