Home
last modified time | relevance | path

Searched refs:pixelUnpackBuffer (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DContext.cpp239 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 …]
DContext.h381 gl::BindingPointer<Buffer> pixelUnpackBuffer; member
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DvalidationES3.cpp788 Buffer *pixelUnpackBuffer = context->getState().getTargetBuffer(BufferBinding::PixelUnpack); in ValidateES3TexImageParametersBase() local
789 if (pixelUnpackBuffer != nullptr) in ValidateES3TexImageParametersBase()
807 if (pixelUnpackBuffer->isMapped() && !pixelUnpackBuffer->isPersistentlyMapped()) in ValidateES3TexImageParametersBase()
832 if (!pixelUnpackBuffer && !pixels && !isSubImage) in ValidateES3TexImageParametersBase()
DvalidationES.cpp1177 Buffer *pixelUnpackBuffer = context->getState().getTargetBuffer(BufferBinding::PixelUnpack); in ValidImageDataSize() local
1178 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() local
6402 if (pixelUnpackBuffer == nullptr) in ValidateRobustCompressedTexImageBase()
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/
DFrameCapture.cpp4450 gl::Buffer *pixelUnpackBuffer = in captureCompressedTextureData() local
4462 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()