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 …]
411 gl::BindingPointer<Buffer> pixelUnpackBuffer; member
3017 gl::Buffer *pixelUnpackBuffer = in captureCompressedTextureData() local3029 if (pixelUnpackBuffer) in captureCompressedTextureData()3032 ASSERT(!pixelUnpackBuffer->isMapped()); in captureCompressedTextureData()3033 (void)pixelUnpackBuffer->mapRange(context, reinterpret_cast<GLintptr>(data), imageSize, in captureCompressedTextureData()3036 pixelData = reinterpret_cast<const uint8_t *>(pixelUnpackBuffer->getMapPointer()); in captureCompressedTextureData()3163 if (pixelUnpackBuffer) in captureCompressedTextureData()3166 (void)pixelUnpackBuffer->unmap(context, &success); in captureCompressedTextureData()
982 Buffer *pixelUnpackBuffer = context->getState().getTargetBuffer(BufferBinding::PixelUnpack); in ValidImageDataSize() local983 if (pixelUnpackBuffer == nullptr && imageSize < 0) in ValidImageDataSize()1004 if (pixelUnpackBuffer) in ValidImageDataSize()1011 (checkedEndByte.ValueOrDie() > static_cast<size_t>(pixelUnpackBuffer->getSize()))) in ValidImageDataSize()1018 pixelUnpackBuffer->isBoundForTransformFeedbackAndOtherUse()) in ValidImageDataSize()5145 Buffer *pixelUnpackBuffer = context->getState().getTargetBuffer(BufferBinding::PixelUnpack); in ValidateRobustCompressedTexImageBase() local5146 if (pixelUnpackBuffer == nullptr) in ValidateRobustCompressedTexImageBase()
647 Buffer *pixelUnpackBuffer = context->getState().getTargetBuffer(BufferBinding::PixelUnpack); in ValidateES3TexImageParametersBase() local648 if (pixelUnpackBuffer != nullptr) in ValidateES3TexImageParametersBase()666 if (pixelUnpackBuffer->isMapped()) in ValidateES3TexImageParametersBase()