Lines Matching refs:writetarget
3335 void GL2Encoder::s_glCopyBufferSubData(void *self , GLenum readtarget, GLenum writetarget, GLintptr… in s_glCopyBufferSubData() argument
3339 SET_ERROR_IF(!GLESv2Validation::bufferTarget(ctx, writetarget), GL_INVALID_ENUM); in s_glCopyBufferSubData()
3344 SET_ERROR_IF((writetarget == GL_ATOMIC_COUNTER_BUFFER || in s_glCopyBufferSubData()
3345 writetarget == GL_DISPATCH_INDIRECT_BUFFER || in s_glCopyBufferSubData()
3346 writetarget == GL_DRAW_INDIRECT_BUFFER || in s_glCopyBufferSubData()
3347 writetarget == GL_SHADER_STORAGE_BUFFER), GL_INVALID_ENUM); in s_glCopyBufferSubData()
3349 SET_ERROR_IF(!ctx->boundBuffer(writetarget), GL_INVALID_OPERATION); in s_glCopyBufferSubData()
3351 SET_ERROR_IF(ctx->isBufferTargetMapped(writetarget), GL_INVALID_OPERATION); in s_glCopyBufferSubData()
3360 ctx->getBufferData(writetarget) && in s_glCopyBufferSubData()
3361 (writeoffset + size > ctx->getBufferData(writetarget)->m_size), in s_glCopyBufferSubData()
3363 SET_ERROR_IF(readtarget == writetarget && in s_glCopyBufferSubData()
3368 ctx->m_glCopyBufferSubData_enc(self, readtarget, writetarget, readoffset, writeoffset, size); in s_glCopyBufferSubData()