Lines Matching defs:GLClientState
16 #include "GLClientState.h"
33 void GLClientState::init() {
108 GLClientState::GLClientState()
113 GLClientState::GLClientState(int majorVersion, int minorVersion) :
119 GLClientState::~GLClientState()
123 void GLClientState::enable(int location, int state)
129 void GLClientState::setVertexAttribState(int location, int size, GLenum type, GLboolean normalized, GLsizei stride, const void *data, bool isInt)
150 void GLClientState::setVertexBindingDivisor(int bindingindex, GLuint divisor) {
154 const GLClientState::BufferBinding& GLClientState::getCurrAttributeBindingInfo(int attribindex) {
158 void GLClientState::setVertexAttribBinding(int attribindex, int bindingindex) {
162 void GLClientState::setVertexAttribFormat(int location, int size, GLenum type, GLboolean normalized, GLuint reloffset, bool isInt) {
180 void GLClientState::addVertexArrayObjects(GLsizei n, GLuint* arrays) {
186 void GLClientState::removeVertexArrayObjects(GLsizei n, const GLuint* arrays) {
195 void GLClientState::addVertexArrayObject(GLuint name) {
227 void GLClientState::removeVertexArrayObject(GLuint name) {
242 void GLClientState::setVertexArrayObject(GLuint name) {
265 bool GLClientState::isVertexArrayObject(GLuint vao) const {
269 const GLClientState::VertexAttribState& GLClientState::getState(int location)
274 const GLClientState::VertexAttribState& GLClientState::getStateAndEnableDirty(int location, bool *enableChanged)
284 int GLClientState::getLocation(GLenum loc)
316 static void sClearIndexedBufferBinding(GLuint id, std::vector<GLClientState::BufferBinding>& bindings) {
329 void GLClientState::addBuffer(GLuint id) {
333 void GLClientState::removeBuffer(GLuint id) {
337 bool GLClientState::bufferIdExists(GLuint id) const {
341 void GLClientState::unBindBuffer(GLuint id) {
372 int GLClientState::bindBuffer(GLenum target, GLuint id)
418 void GLClientState::bindIndexedBuffer(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size, GLintptr stride, GLintptr effectiveStride) {
454 int GLClientState::getMaxIndexedBufferBindings(GLenum target) const {
469 int GLClientState::getBuffer(GLenum target) {
514 void GLClientState::getClientStatePointer(GLenum pname, GLvoid** params)
519 which_state = GLClientState::VERTEX_LOCATION;
523 which_state = GLClientState::NORMAL_LOCATION;
527 which_state = GLClientState::COLOR_LOCATION;
531 which_state = getActiveTexture() + GLClientState::TEXCOORD0_LOCATION;
535 which_state = GLClientState::POINTSIZE_LOCATION;
539 which_state = GLClientState::MATRIXINDEX_LOCATION;
543 which_state = GLClientState::WEIGHT_LOCATION;
551 int GLClientState::setPixelStore(GLenum param, GLint value)
592 size_t GLClientState::pixelDataSize(GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, int pack) const
623 size_t GLClientState::pboNeededDataSize(GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, int pack) const
655 size_t GLClientState::clearBufferNumElts(GLenum buffer) const
667 void GLClientState::setNumActiveUniformsInUniformBlock(GLuint program, GLuint uniformBlockIndex, GLint numActiveUniforms) {
678 size_t GLClientState::numActiveUniformsInUniformBlock(GLuint program, GLuint uniformBlockIndex) const {
688 void GLClientState::associateProgramWithPipeline(GLuint program, GLuint pipeline) {
692 GLClientState::ProgramPipelineIterator GLClientState::programPipelineBegin() {
696 GLClientState::ProgramPipelineIterator GLClientState::programPipelineEnd() {
700 GLenum GLClientState::setActiveTextureUnit(GLenum texture)
710 GLenum GLClientState::getActiveTextureUnit() const
715 void GLClientState::enableTextureTarget(GLenum target)
727 void GLClientState::disableTextureTarget(GLenum target)
739 GLenum GLClientState::getPriorityEnabledTarget(GLenum allDisabled) const
751 int GLClientState::compareTexId(const void* pid, const void* prec)
758 GLenum GLClientState::bindTexture(GLenum target, GLuint texture,
802 void GLClientState::setBoundEGLImage(GLenum target, GLeglImageOES image) {
809 TextureRec* GLClientState::addTextureRec(GLuint id, GLenum target)
824 TextureRec* GLClientState::getTextureRec(GLuint id) const {
833 void GLClientState::setBoundTextureInternalFormat(GLenum target, GLint internalformat) {
840 void GLClientState::setBoundTextureFormat(GLenum target, GLenum format) {
847 void GLClientState::setBoundTextureType(GLenum target, GLenum type) {
854 void GLClientState::setBoundTextureDims(GLenum target, GLsizei level, GLsizei width, GLsizei height, GLsizei depth) {
892 void GLClientState::setBoundTextureSamples(GLenum target, GLsizei samples) {
899 void GLClientState::setBoundTextureImmutableFormat(GLenum target) {
906 bool GLClientState::isBoundTextureImmutableFormat(GLenum target) const {
913 GLuint GLClientState::getBoundTexture(GLenum target) const
945 void GLClientState::writeCopyTexImageState
970 GLenum GLClientState::copyTexImageNeededTarget
990 GLenum GLClientState::copyTexImageLuminanceCubeMapAMDWorkaround
999 void GLClientState::deleteTextures(GLsizei n, const GLuint* textures)
1031 void GLClientState::addFreshRenderbuffer(GLuint name) {
1048 void GLClientState::addRenderbuffers(GLsizei n, GLuint* renderbuffers) {
1054 size_t GLClientState::getRboIndex(GLuint name) const {
1063 void GLClientState::removeRenderbuffers(GLsizei n, const GLuint* renderbuffers) {
1085 bool GLClientState::usedRenderbufferName(GLuint name) const {
1094 void GLClientState::setBoundRenderbufferIndex() {
1103 RboProps& GLClientState::boundRboProps() {
1107 const RboProps& GLClientState::boundRboProps_const() const {
1111 void GLClientState::bindRenderbuffer(GLenum target, GLuint name) {
1122 GLuint GLClientState::boundRenderbuffer() const {
1126 void GLClientState::setBoundRenderbufferFormat(GLenum format) {
1130 void GLClientState::setBoundRenderbufferSamples(GLsizei samples) {
1138 GLenum GLClientState::queryRboFormat(GLuint rbo_name) const {
1142 GLsizei GLClientState::queryRboSamples(GLuint rbo_name) const {
1146 GLint GLClientState::queryTexInternalFormat(GLuint tex_name) const {
1152 GLsizei GLClientState::queryTexWidth(GLsizei level, GLuint tex_name) const {
1160 GLsizei GLClientState::queryTexHeight(GLsizei level, GLuint tex_name) const {
1166 GLsizei GLClientState::queryTexDepth(GLsizei level, GLuint tex_name) const {
1172 bool GLClientState::queryTexEGLImageBacked(GLuint tex_name) const {
1178 GLenum GLClientState::queryTexFormat(GLuint tex_name) const {
1184 GLenum GLClientState::queryTexType(GLuint tex_name) const {
1190 GLsizei GLClientState::queryTexSamples(GLuint tex_name) const {
1196 GLenum GLClientState::queryTexLastBoundTarget(GLuint tex_name) const {
1202 void GLClientState::getBoundFramebufferFormat(
1302 FboAttachmentType GLClientState::getBoundFramebufferAttachmentType(GLenum target, GLenum attachment) const {
1309 int GLClientState::getMaxColorAttachments() const {
1313 int GLClientState::getMaxDrawBuffers() const {
1317 void GLClientState::addFreshFramebuffer(GLuint name) {
1344 void GLClientState::addFramebuffers(GLsizei n, GLuint* framebuffers) {
1350 void GLClientState::removeFramebuffers(GLsizei n, const GLuint* framebuffers) {
1364 bool GLClientState::usedFramebufferName(GLuint name) const {
1368 FboProps& GLClientState::boundFboProps(GLenum target) {
1380 const FboProps& GLClientState::boundFboProps_const(GLenum target) const {
1392 void GLClientState::bindFramebuffer(GLenum target, GLuint name) {
1412 void GLClientState::setCheckFramebufferStatus(GLenum target, GLenum status) {
1426 GLenum GLClientState::getCheckFramebufferStatus(GLenum target) const {
1438 GLuint GLClientState::boundFramebuffer(GLenum target) const {
1444 void GLClientState::attachTextureObject(
1476 GLuint GLClientState::getFboAttachmentTextureId(GLenum target, GLenum attachment) const {
1502 void GLClientState::detachRbo(GLuint renderbuffer) {
1518 void GLClientState::detachRboFromFbo(GLenum target, GLenum attachment, GLuint renderbuffer) {
1565 void GLClientState::attachRbo(GLenum target, GLenum attachment, GLuint renderbuffer) {
1595 GLuint GLClientState::getFboAttachmentRboId(GLenum target, GLenum attachment) const {
1619 bool GLClientState::attachmentHasObject(GLenum target, GLenum attachment) const {
1647 GLuint GLClientState::objectOfAttachment(GLenum target, GLenum attachment) const {
1694 void GLClientState::setTransformFeedbackActiveUnpaused(bool activeUnpaused) {
1698 bool GLClientState::getTransformFeedbackActiveUnpaused() const {
1702 void GLClientState::setTextureData(SharedTextureDataMap* sharedTexData) {
1706 void GLClientState::fromMakeCurrent() {
1717 void GLClientState::initFromCaps(
1769 bool GLClientState::needsInitFromCaps() const {