/frameworks/base/libs/hwui/ |
H A D | Layer.cpp | 58 if (stencil || fbo || texture.mId) { 132 if (stencil) { 133 stencil->bind(); 134 stencil->resize(desiredWidth, desiredHeight); 146 if (stencil) { 152 caches.renderBufferCache.put(stencil); 153 stencil = nullptr; 188 if (stencil) { 189 stencil->bind();
|
H A D | BakedOpRenderer.cpp | 84 if (mRenderTarget.stencil) { 85 // if stencil was used for clipping, detach it and return it to pool 88 mCaches.renderBufferCache.put(mRenderTarget.stencil); 89 mRenderTarget.stencil = nullptr; 137 mRenderState.stencil().enableDebugTest(i + 1, false); 140 mRenderState.stencil().enableDebugTest(4, true); 155 mRenderState.stencil().disable(); 225 // clears and re-fills stencil with provided rendertarget space quads, 226 // and then put stencil into test mode 229 mRenderState.stencil() [all...] |
H A D | Layer.h | 85 * 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; 359 * The render buffer used as the stencil buffer. 361 RenderBuffer* stencil = nullptr; member in class:android::uirenderer::Layer
|
H A D | BakedOpRenderer.h | 131 // Used when drawing to a layer and using stencil clipping. otherwise null. 132 RenderBuffer* stencil = nullptr; member in struct:android::uirenderer::BakedOpRenderer::__anon1050 135 // the stencil of the current render target
|
H A D | Readback.cpp | 163 renderState.stencil().disable();
|
H A D | OpenGLRenderer.h | 272 // should only be called outside of other draw ops, so stencil can only be in test state 273 bool stencilWasEnabled = mCaches.stencil.isTestEnabled(); 274 mCaches.stencil.disable(); 278 if (stencilWasEnabled) mCaches.stencil.enableTest(); 378 * This method is called whenever a stencil buffer is required. Subclasses 385 * Obtains a stencil render buffer (allocating it if necessary) and 391 * Draw a rectangle list. Currently only used for the the stencil buffer so that the stencil 483 * Sets the clipping region using the stencil buffer. The clip region
|
H A D | OpenGLRenderer.cpp | 308 mRenderState.stencil().enableDebugTest(2); 312 mRenderState.stencil().enableDebugTest(3); 316 mRenderState.stencil().enableDebugTest(4); 320 mRenderState.stencil().enableDebugTest(4, true); 323 mRenderState.stencil().disable(); 835 * hardware layer with overdraw debug on, draws again to the stencil only, so that these draw 1078 // stencil setup from doing the same thing again 1206 // cannot attach a stencil buffer to fbo0 dynamically. Let's 1301 mRenderState.stencil().enableWrite(incrementThreshold); 1303 // Clean and update the stencil, bu [all...] |
H A D | GlopBuilder.cpp | 644 // the stencil buffer and if stencil highlight debugging is on 647 && 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 | 202 stencil().clear(); 205 stencil().enableDebugWrite(); 207 stencil().disable(); 402 stencil().dump();
|
H A D | RenderState.h | 99 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 | 1237 // C function void glClearBufferfi ( GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil ) 1243 int stencil
|
/frameworks/native/opengl/include/GLES3/ |
H A D | gl3.h | 1056 typedef void (GL_APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); 1161 GL_APICALL void GL_APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
|
H A D | gl31.h | 1056 typedef void (GL_APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); 1161 GL_APICALL void GL_APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
|
H A D | gl32.h | 1056 typedef void (GL_APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); 1161 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 | 3195 /* void glClearBufferfi ( GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil ) */ 3198 (JNIEnv *_env, jobject _this, jint buffer, jint drawbuffer, jfloat depth, jint stencil) { 3203 (GLint)stencil 3197 android_glClearBufferfi__IIFI(JNIEnv *_env, jobject _this, jint buffer, jint drawbuffer, jfloat depth, jint stencil) argument
|
/frameworks/native/vulkan/include/vulkan/ |
H A D | vulkan.h | 2141 uint32_t stencil; member in struct:VkClearDepthStencilValue
|