HomeSort by relevance Sort by last modified time
    Searched refs:stencil (Results 51 - 75 of 297) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/surfaceview/
GLSurfaceView20.java 64 public GLSurfaceView20 (Context context, boolean translucent, int depth, int stencil, ResolutionStrategy resolutionStrategy) {
67 init(translucent, depth, stencil);
114 private void init (boolean translucent, int depth, int stencil) {
134 setEGLConfigChooser(translucent ? new ConfigChooser(8, 8, 8, 8, depth, stencil) : new ConfigChooser(5, 6, 5, 0, depth,
135 stencil));
177 public ConfigChooser (int r, int g, int b, int a, int depth, int stencil) {
183 mStencilSize = stencil;
GLSurfaceView20API18.java 56 public GLSurfaceView20API18 (Context context, boolean translucent, int depth, int stencil, ResolutionStrategy resolutionStrategy) {
59 init(translucent, depth, stencil);
106 private void init (boolean translucent, int depth, int stencil) {
126 setEGLConfigChooser(translucent ? new ConfigChooser(8, 8, 8, 8, depth, stencil) : new ConfigChooser(5, 6, 5, 0, depth,
127 stencil));
160 public ConfigChooser (int r, int g, int b, int a, int depth, int stencil) {
166 mStencilSize = stencil;
  /external/webrtc/webrtc/modules/video_render/android/java/src/org/webrtc/videoengine/
ViEAndroidGLES20.java 54 int depth, int stencil) {
56 init(translucent, depth, stencil);
59 private void init(boolean translucent, int depth, int stencil) {
78 new ConfigChooser(8, 8, 8, 8, depth, stencil) :
79 new ConfigChooser(5, 6, 5, 0, depth, stencil) );
112 public ConfigChooser(int r, int g, int b, int a, int depth, int stencil) {
118 mStencilSize = stencil;
  /external/mesa3d/src/mesa/state_tracker/
st_cb_fbo.c 549 * Check if two renderbuffer attachments name a combined depth/stencil
554 const struct gl_renderbuffer_attachment *stencil)
556 assert(depth && stencil);
558 if (depth->Type == stencil->Type) {
560 depth->Renderbuffer == stencil->Renderbuffer)
564 depth->Texture == stencil->Texture)
576 * For Gallium we only supports combined Z+stencil, not separate buffers.
585 const struct gl_renderbuffer_attachment *stencil = local
592 if (depth->Type && stencil->Type && depth->Type != stencil->Type)
    [all...]
st_cb_clear.c 195 GLboolean color, GLboolean depth, GLboolean stencil)
211 stencil ? "stencil" : "",
262 if (stencil) {
265 depth_stencil.stencil[0].enabled = 1;
266 depth_stencil.stencil[0].func = PIPE_FUNC_ALWAYS;
267 depth_stencil.stencil[0].fail_op = PIPE_STENCIL_OP_REPLACE;
268 depth_stencil.stencil[0].zpass_op = PIPE_STENCIL_OP_REPLACE;
269 depth_stencil.stencil[0].zfail_op = PIPE_STENCIL_OP_REPLACE;
270 depth_stencil.stencil[0].valuemask = 0xff
    [all...]
  /external/skia/src/gpu/gl/
GrGLRenderTarget.cpp 22 GrGLStencilAttachment* stencil)
24 , INHERITED(gpu, idDesc.fLifeCycle, desc, idDesc.fSampleConfig, stencil) {
78 GrStencilAttachment* stencil = this->renderTargetPriv().getStencilAttachment(); local
79 if (nullptr == stencil) {
93 const GrGLStencilAttachment* glStencil = static_cast<const GrGLStencilAttachment*>(stencil);
  /external/deqp/external/vulkancts/modules/vulkan/pipeline/
vktPipelineClearUtil.cpp 88 clearDepthStencilValue.stencil = defaultClearStencil();
100 clearValue.depthStencil.stencil = dsValue.stencil;
  /external/libgdx/backends/gdx-backend-lwjgl3/src/com/badlogic/gdx/backends/lwjgl3/
Lwjgl3ApplicationConfiguration.java 53 int depth = 16, stencil = 0; field in class:Lwjgl3ApplicationConfiguration
90 copy.stencil = config.stencil;
173 * Sets the bit depth of the color, depth and stencil buffer as well as
186 * @param stencil
187 * stencil bits (default 0)
191 public void setBackBufferConfig(int r, int g, int b, int a, int depth, int stencil, int samples) {
197 this.stencil = stencil;
  /external/mesa3d/src/gallium/drivers/llvmpipe/
lp_state_blend.c 120 state->stencil[0].enabled = 0;
121 state->stencil[1].enabled = 0;
lp_state_fs.h 53 struct pipe_stencil_state stencil[2]; member in struct:lp_fragment_shader_variant_key
lp_state_fs.c 37 * - depth/stencil test
49 * depth/stencil test and blending is better done in the type that most closely
50 * matches the depth/stencil and color buffer respectively.
212 * Generate the fragment shader, depth/stencil test, and alpha tests.
255 key->stencil[0].enabled ||
256 key->stencil[1].enabled) {
277 !(key->stencil[0].enabled && key->stencil[0].writemask))
323 key->stencil,
380 key->stencil,
    [all...]
  /external/skia/src/gpu/vk/
GrVkStencilAttachment.cpp 61 GrVkStencilAttachment* stencil = new GrVkStencilAttachment(gpu, lifeCycle, format, imageDesc, local
66 return stencil;
  /external/deqp/modules/glshared/
glsInteractionTestUtil.hpp 87 StencilState stencil[rr::FACETYPE_LAST]; member in struct:deqp::gls::InteractionTestUtil::RenderState
  /external/mesa3d/src/mesa/main/
pixeltransfer.h 72 GLubyte stencil[]);
  /frameworks/base/libs/hwui/
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
  /external/mesa3d/docs/OLD/
MESA_packed_depth_stencil.spec 35 transfer depth and stencil image data. Specifically, we defined new
36 packed pixel formats and types which pack both stencil and depth
49 2. If not, is it correct to use _REV to indicate that stencil
85 STENCIL_INDEX Stencil Stencil index
99 DEPTH_STENCIL Depth, Depth component, stencil index.
100 Stencil
182 DEPTH_STENCIL_MESA depth stencil
  /external/deqp/modules/gles3/functional/
es3fFboMultisampleTests.cpp 85 bool stencil = depthStencilFmt.order == tcu::TextureFormat::S || depthStencilFmt.order == tcu::TextureFormat::DS; local
109 if (depth || stencil)
121 if (stencil)
131 // Clear depth and stencil buffers.
173 glBlitFramebuffer(0, 0, m_size.x(), m_size.y(), 0, 0, m_size.x(), m_size.y(), GL_COLOR_BUFFER_BIT | (depth ? GL_DEPTH_BUFFER_BIT : 0) | (stencil ? GL_STENCIL_BUFFER_BIT : 0), GL_NEAREST);
200 if (stencil)
202 // Visualize stencil.
311 // Depth/stencil formats.
es3fStencilTests.cpp 21 * \brief Stencil tests.
129 int stencil; //!< Ref for quad op, clear value for clears member in class:deqp::gles3::Functional::StencilOp
140 , stencil (stencil_)
150 static StencilOp clearStencil (int stencil)
153 op.stencil = stencil;
164 static StencilOp quad (GLenum stencilTest, int stencil, GLenum depthTest, float depth, GLenum sFail, GLenum dFail, GLenum dPass)
166 return StencilOp(TYPE_QUAD, stencilTest, stencil, depthTest, depth, sFail, dFail, dPass);
235 context.clearStencil(op.stencil);
244 context.stencilFunc(op.stencilTest, op.stencil, op.stencilMask)
    [all...]
  /external/mesa3d/src/gallium/drivers/softpipe/
sp_quad_depth_test.c 30 * \brief Quad depth / stencil testing
220 * fragment stencil values.
229 /* Copy quads stencil values
240 data->shader_stencil_refs[j] = ((unsigned)(quad->output.stencil[j]));
250 * Write data->bzzzz[] values and data->stencilVals into the Z/stencil buffer.
325 /** Only 8-bit stencil supported */
330 * Do the basic stencil test (compare stencil buffer values against the
333 * \param data->stencilVals the stencil values from the stencil buffe
892 boolean stencil = qs->softpipe->depth_stencil->stencil[0].enabled; local
    [all...]
  /external/mesa3d/src/gallium/state_trackers/vega/
renderer.c 992 dsa->stencil[0].enabled = 1;
993 dsa->stencil[0].writemask = 1;
994 dsa->stencil[0].fail_op = PIPE_STENCIL_OP_KEEP;
995 dsa->stencil[0].zfail_op = PIPE_STENCIL_OP_KEEP;
996 dsa->stencil[0].zpass_op = PIPE_STENCIL_OP_INVERT;
997 dsa->stencil[0].func = PIPE_FUNC_ALWAYS;
998 dsa->stencil[0].valuemask = ~0;
1004 dsa->stencil[0].enabled = 1;
1005 dsa->stencil[0].writemask = ~0;
1006 dsa->stencil[0].fail_op = PIPE_STENCIL_OP_KEEP
    [all...]
  /external/deqp/modules/gles2/functional/
es2fStencilTests.cpp 21 * \brief Stencil tests.
126 int stencil; //!< Ref for quad op, clear value for clears member in class:deqp::gles2::Functional::StencilOp
137 , stencil (stencil_)
147 static StencilOp clearStencil (int stencil)
150 op.stencil = stencil;
161 static StencilOp quad (GLenum stencilTest, int stencil, GLenum depthTest, float depth, GLenum sFail, GLenum dFail, GLenum dPass)
163 return StencilOp(TYPE_QUAD, stencilTest, stencil, depthTest, depth, sFail, dFail, dPass);
232 context.clearStencil(op.stencil);
241 context.stencilFunc(op.stencilTest, op.stencil, op.stencilMask)
    [all...]
  /external/mesa3d/src/mesa/swrast/
s_copypix.c 353 GLubyte *p, *tmpImage, *stencil; local
403 stencil = (GLubyte *) malloc(width * sizeof(GLubyte));
404 if (!stencil) {
410 /* Get stencil values */
412 memcpy(stencil, p, width * sizeof(GLubyte));
416 _swrast_read_stencil_span( ctx, rb, width, srcx, sy, stencil );
419 _mesa_apply_stencil_transfer_ops(ctx, width, stencil);
421 /* Write stencil values */
424 destx, dy, stencil);
427 _swrast_write_stencil_span( ctx, width, destx, dy, stencil );
    [all...]
  /external/mesa3d/src/gallium/drivers/i915/
i915_state.c 445 int testmask = depth_stencil->stencil[0].valuemask & 0xff;
446 int writemask = depth_stencil->stencil[0].writemask & 0xff;
455 if (depth_stencil->stencil[0].enabled) {
456 int test = i915_translate_compare_func(depth_stencil->stencil[0].func);
457 int fop = i915_translate_stencil_op(depth_stencil->stencil[0].fail_op);
458 int dfop = i915_translate_stencil_op(depth_stencil->stencil[0].zfail_op);
459 int dpop = i915_translate_stencil_op(depth_stencil->stencil[0].zpass_op);
469 if (depth_stencil->stencil[1].enabled) {
470 int test = i915_translate_compare_func(depth_stencil->stencil[1].func);
471 int fop = i915_translate_stencil_op(depth_stencil->stencil[1].fail_op)
    [all...]
  /external/mesa3d/src/gallium/drivers/svga/
svga_cmd.h 126 uint32 color, float depth, uint32 stencil,
132 uint32 stencil, uint32 x, uint32 y, uint32 w, uint32 h);
  /external/mesa3d/src/gallium/drivers/trace/
tr_dump_state.c 322 trace_dump_member_begin("stencil");
324 for(i = 0; i < Elements(state->stencil); ++i) {
327 trace_dump_member(bool, &state->stencil[i], enabled);
328 trace_dump_member(uint, &state->stencil[i], func);
329 trace_dump_member(uint, &state->stencil[i], fail_op);
330 trace_dump_member(uint, &state->stencil[i], zpass_op);
331 trace_dump_member(uint, &state->stencil[i], zfail_op);
332 trace_dump_member(uint, &state->stencil[i], valuemask);
333 trace_dump_member(uint, &state->stencil[i], writemask);

Completed in 612 milliseconds

1 23 4 5 6 7 8 91011>>