Searched refs:pixelUnpackBuffer (Results 1 – 5 of 5) sorted by relevance
239 mState.pixelUnpackBuffer = nullptr; in ~Context()1182 mState.pixelUnpackBuffer = getBuffer(buffer); in bindPixelUnpackBuffer()1562 return mState.pixelUnpackBuffer; in getPixelUnpackBuffer()1599 if(mState.pixelUnpackBuffer) in getPixels()1601 ASSERT(mState.pixelUnpackBuffer->name != 0); in getPixels()1603 if(mState.pixelUnpackBuffer->isMapped()) in getPixels()1615 if(offset > mState.pixelUnpackBuffer->size()) in getPixels()1620 if(mState.pixelUnpackBuffer->size() - offset < imageSize) in getPixels()1625 *pixels = static_cast<const unsigned char*>(mState.pixelUnpackBuffer->data()) + offset; in getPixels()2356 *params = mState.pixelUnpackBuffer.name(); in getIntegerv()[all …]
381 gl::BindingPointer<Buffer> pixelUnpackBuffer; member
788 Buffer *pixelUnpackBuffer = context->getState().getTargetBuffer(BufferBinding::PixelUnpack); in ValidateES3TexImageParametersBase() local789 if (pixelUnpackBuffer != nullptr) in ValidateES3TexImageParametersBase()807 if (pixelUnpackBuffer->isMapped() && !pixelUnpackBuffer->isPersistentlyMapped()) in ValidateES3TexImageParametersBase()832 if (!pixelUnpackBuffer && !pixels && !isSubImage) in ValidateES3TexImageParametersBase()
1177 Buffer *pixelUnpackBuffer = context->getState().getTargetBuffer(BufferBinding::PixelUnpack); in ValidImageDataSize() local1178 if (pixelUnpackBuffer == nullptr && imageSize < 0) in ValidImageDataSize()1199 if (pixelUnpackBuffer) in ValidImageDataSize()1206 (checkedEndByte.ValueOrDie() > static_cast<size_t>(pixelUnpackBuffer->getSize()))) in ValidImageDataSize()1212 if (pixelUnpackBuffer->hasWebGLXFBBindingConflict(context->isWebGL())) in ValidImageDataSize()6401 Buffer *pixelUnpackBuffer = context->getState().getTargetBuffer(BufferBinding::PixelUnpack); in ValidateRobustCompressedTexImageBase() local6402 if (pixelUnpackBuffer == nullptr) in ValidateRobustCompressedTexImageBase()
4450 gl::Buffer *pixelUnpackBuffer = in captureCompressedTextureData() local4462 if (pixelUnpackBuffer) in captureCompressedTextureData()4465 ASSERT(!pixelUnpackBuffer->isMapped()); in captureCompressedTextureData()4466 (void)pixelUnpackBuffer->mapRange(context, reinterpret_cast<GLintptr>(data), imageSize, in captureCompressedTextureData()4469 pixelData = reinterpret_cast<const uint8_t *>(pixelUnpackBuffer->getMapPointer()); in captureCompressedTextureData()4583 if (pixelUnpackBuffer) in captureCompressedTextureData()4586 (void)pixelUnpackBuffer->unmap(context, &success); in captureCompressedTextureData()