Searched defs:have_stencil (Results 1 - 1 of 1) sorted by relevance

/external/chromium_org/gpu/command_buffer/service/
H A Dgles2_cmd_decoder.cc4033 bool have_stencil = BoundFramebufferHasStencilAttachment(); local
4035 GL_FRONT, have_stencil ? state_.stencil_front_writemask : 0);
4037 GL_BACK, have_stencil ? state_.stencil_back_writemask : 0);
4042 GL_STENCIL_TEST, state_.enable_flags.stencil_test && have_stencil);
8068 bool have_stencil = (channels & GLES2Util::kStencil) != 0; local
8069 GLenum attachment = have_stencil ? GL_DEPTH_STENCIL_ATTACHMENT :
8085 glClear(GL_DEPTH_BUFFER_BIT | (have_stencil ? GL_STENCIL_BUFFER_BIT : 0));

Completed in 514 milliseconds