Home
last modified time | relevance | path

Searched refs:drawbuffer (Results 1 – 25 of 86) sorted by relevance

1234

/external/mesa3d/src/mesa/main/
Dclear.c256 make_color_buffer_mask(struct gl_context *ctx, GLint drawbuffer) in make_color_buffer_mask() argument
275 if (drawbuffer < 0 || drawbuffer >= (GLint)ctx->Const.MaxDrawBuffers) { in make_color_buffer_mask()
279 switch (ctx->DrawBuffer->ColorDrawBuffer[drawbuffer]) { in make_color_buffer_mask()
325 ctx->DrawBuffer->_ColorDrawBufferIndexes[drawbuffer]; in make_color_buffer_mask()
343 clear_bufferiv(struct gl_context *ctx, GLenum buffer, GLint drawbuffer, in clear_bufferiv() argument
367 if (!no_error && drawbuffer != 0) { in clear_bufferiv()
369 drawbuffer); in clear_bufferiv()
387 const GLbitfield mask = make_color_buffer_mask(ctx, drawbuffer); in clear_bufferiv()
390 drawbuffer); in clear_bufferiv()
424 _mesa_ClearBufferiv_no_error(GLenum buffer, GLint drawbuffer, const GLint *value) in _mesa_ClearBufferiv_no_error() argument
[all …]
Dclear.h53 _mesa_ClearBufferiv_no_error(GLenum buffer, GLint drawbuffer,
57 _mesa_ClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint *value);
61 GLint drawbuffer, const GLint *value);
64 _mesa_ClearBufferuiv_no_error(GLenum buffer, GLint drawbuffer,
68 _mesa_ClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint *value);
72 GLint drawbuffer, const GLuint *value);
75 _mesa_ClearBufferfv_no_error(GLenum buffer, GLint drawbuffer,
79 _mesa_ClearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat *value);
83 GLint drawbuffer, const GLfloat *value);
86 _mesa_ClearBufferfi_no_error(GLenum buffer, GLint drawbuffer,
[all …]
/external/angle/src/libANGLE/renderer/gl/
DClearMultiviewGL.cpp37 GLint drawbuffer, in clearMultiviewFBO() argument
45 clearLayeredFBO(state, clearCommandType, mask, buffer, drawbuffer, values, depth, stencil); in clearMultiviewFBO()
53 GLint drawbuffer, in clearLayeredFBO() argument
74 genericClear(clearCommandType, mask, buffer, drawbuffer, values, depth, stencil); in clearLayeredFBO()
83 GLint drawbuffer, in genericClear() argument
94 mFunctions->clearBufferfv(buffer, drawbuffer, in genericClear()
98 mFunctions->clearBufferuiv(buffer, drawbuffer, in genericClear()
102 mFunctions->clearBufferiv(buffer, drawbuffer, reinterpret_cast<const GLint *>(values)); in genericClear()
105 mFunctions->clearBufferfi(buffer, drawbuffer, depth, stencil); in genericClear()
DClearMultiviewGL.h54 GLint drawbuffer,
67 GLint drawbuffer,
74 GLint drawbuffer,
DFramebufferGL.h45 GLint drawbuffer,
49 GLint drawbuffer,
53 GLint drawbuffer,
57 GLint drawbuffer,
DFramebufferGL.cpp530 GLint drawbuffer, in clearBufferfv() argument
537 syncClearBufferState(context, buffer, drawbuffer); in clearBufferfv()
542 functions->clearBufferfv(buffer, drawbuffer, values); in clearBufferfv()
549 static_cast<GLbitfield>(0u), buffer, drawbuffer, in clearBufferfv()
559 GLint drawbuffer, in clearBufferuiv() argument
566 syncClearBufferState(context, buffer, drawbuffer); in clearBufferuiv()
571 functions->clearBufferuiv(buffer, drawbuffer, values); in clearBufferuiv()
578 static_cast<GLbitfield>(0u), buffer, drawbuffer, in clearBufferuiv()
588 GLint drawbuffer, in clearBufferiv() argument
595 syncClearBufferState(context, buffer, drawbuffer); in clearBufferiv()
[all …]
/external/angle/src/libANGLE/renderer/null/
DFramebufferNULL.h38 GLint drawbuffer,
42 GLint drawbuffer,
46 GLint drawbuffer,
50 GLint drawbuffer,
DFramebufferNULL.cpp54 GLint drawbuffer, in clearBufferfv() argument
62 GLint drawbuffer, in clearBufferuiv() argument
70 GLint drawbuffer, in clearBufferiv() argument
78 GLint drawbuffer, in clearBufferfi() argument
/external/angle/src/libANGLE/renderer/
DFramebufferImpl.h53 GLint drawbuffer,
57 GLint drawbuffer,
61 GLint drawbuffer,
65 GLint drawbuffer,
/external/angle/src/libANGLE/renderer/d3d/
DFramebufferD3D.h65 GLint drawbuffer,
69 GLint drawbuffer,
73 GLint drawbuffer,
77 GLint drawbuffer,
DFramebufferD3D.cpp115 GLint drawbuffer, in clearBufferfv() argument
125 clearParams.clearColor[i] = (drawbuffer == static_cast<int>(i)); in clearBufferfv()
142 GLint drawbuffer, in clearBufferuiv() argument
149 clearParams.clearColor[i] = (drawbuffer == static_cast<int>(i)); in clearBufferuiv()
159 GLint drawbuffer, in clearBufferiv() argument
169 clearParams.clearColor[i] = (drawbuffer == static_cast<int>(i)); in clearBufferiv()
186 GLint drawbuffer, in clearBufferfi() argument
/external/deqp/framework/opengl/simplereference/
DsglrContextWrapper.cpp269 void ContextWrapper::glClearBufferiv (deUint32 buffer, int drawbuffer, const int* value) in glClearBufferiv() argument
271 m_curCtx->clearBufferiv(buffer, drawbuffer, value); in glClearBufferiv()
274 void ContextWrapper::glClearBufferfv (deUint32 buffer, int drawbuffer, const float* value) in glClearBufferfv() argument
276 m_curCtx->clearBufferfv(buffer, drawbuffer, value); in glClearBufferfv()
279 void ContextWrapper::glClearBufferuiv (deUint32 buffer, int drawbuffer, const deUint32* value) in glClearBufferuiv() argument
281 m_curCtx->clearBufferuiv(buffer, drawbuffer, value); in glClearBufferuiv()
284 void ContextWrapper::glClearBufferfi (deUint32 buffer, int drawbuffer, float depth, int stencil) in glClearBufferfi() argument
286 m_curCtx->clearBufferfi(buffer, drawbuffer, depth, stencil); in glClearBufferfi()
DsglrGLContext.hpp116 virtual void clearBufferiv (deUint32 buffer, int drawbuffer, const int* value);
117 virtual void clearBufferfv (deUint32 buffer, int drawbuffer, const float* value);
118 virtual void clearBufferuiv (deUint32 buffer, int drawbuffer, const deUint32* value);
119 virtual void clearBufferfi (deUint32 buffer, int drawbuffer, float depth, int stencil);
DsglrContext.hpp104 virtual void clearBufferiv (deUint32 buffer, int drawbuffer, const int* value) = DE_NULL;
105 virtual void clearBufferfv (deUint32 buffer, int drawbuffer, const float* value) = DE_NULL;
106 virtual void clearBufferuiv (deUint32 buffer, int drawbuffer, const deUint32* value) = DE_NULL;
107 …virtual void clearBufferfi (deUint32 buffer, int drawbuffer, float depth, int stencil) = DE_NUL…
DsglrGLContext.cpp463 void GLContext::clearBufferiv (deUint32 buffer, int drawbuffer, const int* value) in clearBufferiv() argument
465 m_wrapper->glClearBufferiv(buffer, drawbuffer, value); in clearBufferiv()
468 void GLContext::clearBufferfv (deUint32 buffer, int drawbuffer, const float* value) in clearBufferfv() argument
470 m_wrapper->glClearBufferfv(buffer, drawbuffer, value); in clearBufferfv()
473 void GLContext::clearBufferuiv (deUint32 buffer, int drawbuffer, const deUint32* value) in clearBufferuiv() argument
475 m_wrapper->glClearBufferuiv(buffer, drawbuffer, value); in clearBufferuiv()
478 void GLContext::clearBufferfi (deUint32 buffer, int drawbuffer, float depth, int stencil) in clearBufferfi() argument
480 m_wrapper->glClearBufferfi(buffer, drawbuffer, depth, stencil); in clearBufferfi()
/external/angle/src/libANGLE/renderer/metal/
DFrameBufferMtl.h51 GLint drawbuffer,
55 GLint drawbuffer,
59 GLint drawbuffer,
63 GLint drawbuffer,
/external/angle/src/libANGLE/renderer/vulkan/
DFramebufferVk.h78 GLint drawbuffer,
82 GLint drawbuffer,
86 GLint drawbuffer,
90 GLint drawbuffer,
/external/angle/src/libANGLE/
DFramebuffer.h343 GLint drawbuffer,
347 GLint drawbuffer,
351 GLint drawbuffer,
355 GLint drawbuffer,
428 GLint drawbuffer);
DContext_gles_3_0_autogen.h24 void clearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); \
25 void clearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat *value); \
26 void clearBufferiv(GLenum buffer, GLint drawbuffer, const GLint *value); \
27 void clearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint *value); \
DFramebuffer.cpp1603 GLint drawbuffer, in clearBufferfv() argument
1606 return mImpl->clearBufferfv(context, buffer, drawbuffer, values); in clearBufferfv()
1611 GLint drawbuffer, in clearBufferuiv() argument
1614 return mImpl->clearBufferuiv(context, buffer, drawbuffer, values); in clearBufferuiv()
1619 GLint drawbuffer, in clearBufferiv() argument
1622 return mImpl->clearBufferiv(context, buffer, drawbuffer, values); in clearBufferiv()
1627 GLint drawbuffer, in clearBufferfi() argument
1639 ANGLE_TRY(mImpl->clearBufferfi(context, GL_DEPTH_STENCIL, drawbuffer, depth, stencil)); in clearBufferfi()
1643 ANGLE_TRY(mImpl->clearBufferfv(context, GL_DEPTH, drawbuffer, &depth)); in clearBufferfi()
1647 ANGLE_TRY(mImpl->clearBufferiv(context, GL_STENCIL, drawbuffer, &stencil)); in clearBufferfi()
[all …]
DvalidationES3_autogen.h50 GLint drawbuffer,
55 GLint drawbuffer,
59 GLint drawbuffer,
63 GLint drawbuffer,
/external/swiftshader/src/OpenGL/libGLESv2/
DlibGLESv3.cpp2264 void GL_APIENTRY ClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint *value) in ClearBufferiv() argument
2267 buffer, drawbuffer, value); in ClearBufferiv()
2276 if(drawbuffer < 0 || drawbuffer >= MAX_DRAW_BUFFERS) in ClearBufferiv()
2282 context->clearColorBuffer(drawbuffer, value); in ClearBufferiv()
2286 if(drawbuffer != 0) in ClearBufferiv()
2301 void GL_APIENTRY ClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint *value) in ClearBufferuiv() argument
2304 buffer, drawbuffer, value); in ClearBufferuiv()
2313 if(drawbuffer < 0 || drawbuffer >= MAX_DRAW_BUFFERS) in ClearBufferuiv()
2319 context->clearColorBuffer(drawbuffer, value); in ClearBufferuiv()
2328 void GL_APIENTRY ClearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat *value) in ClearBufferfv() argument
[all …]
/external/mesa3d/docs/_extra/specs/
DMESA_configless_context.spec115 raise an error, change the drawbuffer state to GL_FRONT or just do
116 nothing, expecting the application to set GL_FRONT drawbuffer before
/external/angle/src/libGLESv2/
Dentry_points_gles_3_0_autogen.h37 GLint drawbuffer,
41 GLint drawbuffer,
43 ANGLE_EXPORT void GL_APIENTRY GL_ClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint *value);
45 GLint drawbuffer,
Dentry_points_gles_3_0_autogen.cpp239 void GL_APIENTRY GL_ClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil) in GL_ClearBufferfi() argument
244 GLenumToString(GLenumGroup::Buffer, buffer), drawbuffer, depth, stencil); in GL_ClearBufferfi()
250 ValidateClearBufferfi(context, buffer, drawbuffer, depth, stencil)); in GL_ClearBufferfi()
253 context->clearBufferfi(buffer, drawbuffer, depth, stencil); in GL_ClearBufferfi()
255 ANGLE_CAPTURE(ClearBufferfi, isCallValid, context, buffer, drawbuffer, depth, stencil); in GL_ClearBufferfi()
263 void GL_APIENTRY GL_ClearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat *value) in GL_ClearBufferfv() argument
268 GLenumToString(GLenumGroup::Buffer, buffer), drawbuffer, (uintptr_t)value); in GL_ClearBufferfv()
274 ValidateClearBufferfv(context, buffer, drawbuffer, value)); in GL_ClearBufferfv()
277 context->clearBufferfv(buffer, drawbuffer, value); in GL_ClearBufferfv()
279 ANGLE_CAPTURE(ClearBufferfv, isCallValid, context, buffer, drawbuffer, value); in GL_ClearBufferfv()
[all …]

1234