Searched defs:packing (Results 1 - 18 of 18) sorted by relevance

/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/
H A Dintel_tex_subimage.c49 const struct gl_pixelstore_attrib *packing)
88 format, type, pixels, packing,
124 format, type, pixels, packing)) {
146 _mesa_unmap_teximage_pbo(ctx, packing);
159 const struct gl_pixelstore_attrib *packing)
165 format, type, pixels, packing)) {
169 format, type, pixels, packing);
44 intel_blit_texsubimage(struct gl_context * ctx, struct gl_texture_image *texImage, GLint xoffset, GLint yoffset, GLint width, GLint height, GLenum format, GLenum type, const void *pixels, const struct gl_pixelstore_attrib *packing) argument
152 intelTexSubImage(struct gl_context * ctx, GLuint dims, struct gl_texture_image *texImage, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid * pixels, const struct gl_pixelstore_attrib *packing) argument
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dintel_tex_subimage.c49 const struct gl_pixelstore_attrib *packing)
88 format, type, pixels, packing,
124 format, type, pixels, packing)) {
146 _mesa_unmap_teximage_pbo(ctx, packing);
159 const struct gl_pixelstore_attrib *packing)
165 format, type, pixels, packing)) {
169 format, type, pixels, packing);
44 intel_blit_texsubimage(struct gl_context * ctx, struct gl_texture_image *texImage, GLint xoffset, GLint yoffset, GLint width, GLint height, GLenum format, GLenum type, const void *pixels, const struct gl_pixelstore_attrib *packing) argument
152 intelTexSubImage(struct gl_context * ctx, GLuint dims, struct gl_texture_image *texImage, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid * pixels, const struct gl_pixelstore_attrib *packing) argument
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/
H A Dintel_tex_subimage.c49 const struct gl_pixelstore_attrib *packing)
88 format, type, pixels, packing,
124 format, type, pixels, packing)) {
146 _mesa_unmap_teximage_pbo(ctx, packing);
159 const struct gl_pixelstore_attrib *packing)
165 format, type, pixels, packing)) {
169 format, type, pixels, packing);
44 intel_blit_texsubimage(struct gl_context * ctx, struct gl_texture_image *texImage, GLint xoffset, GLint yoffset, GLint width, GLint height, GLenum format, GLenum type, const void *pixels, const struct gl_pixelstore_attrib *packing) argument
152 intelTexSubImage(struct gl_context * ctx, GLuint dims, struct gl_texture_image *texImage, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid * pixels, const struct gl_pixelstore_attrib *packing) argument
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dpbo.c372 const struct gl_pixelstore_attrib *packing,
377 if (!_mesa_is_bufferobj(packing->BufferObj)) {
382 ((const GLubyte *) 0) + packing->BufferObj->Size) {
389 packing->BufferObj->Size,
391 packing->BufferObj);
370 _mesa_validate_pbo_compressed_teximage(struct gl_context *ctx, GLsizei imageSize, const GLvoid *pixels, const struct gl_pixelstore_attrib *packing, const char *funcName) argument
H A Dreadpix.c58 const struct gl_pixelstore_attrib *packing )
68 if (packing->SwapBytes)
86 dstStride = _mesa_image_row_stride(packing, width, GL_DEPTH_COMPONENT, type);
87 dst = (GLubyte *) _mesa_image_address2d(packing, pixels, width, height,
114 const struct gl_pixelstore_attrib *packing )
132 if (fast_read_depth_pixels(ctx, x, y, width, height, type, pixels, packing))
135 dstStride = _mesa_image_row_stride(packing, width, GL_DEPTH_COMPONENT, type);
136 dst = (GLubyte *) _mesa_image_address2d(packing, pixels, width, height,
152 _mesa_pack_depth_span(ctx, width, dst, type, depthValues, packing);
176 const struct gl_pixelstore_attrib *packing )
225 fast_read_rgba_pixels_memcpy( struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels, const struct gl_pixelstore_attrib *packing, GLbitfield transferOps ) argument
318 slow_read_rgba_pixels( struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels, const struct gl_pixelstore_attrib *packing, GLbitfield transferOps ) argument
519 slow_read_depth_stencil_pixels_separate(struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum type, const struct gl_pixelstore_attrib *packing, GLubyte *dst, int dstStride) argument
641 _mesa_readpixels(struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *packing, GLvoid *pixels) argument
[all...]
H A Dimage.c82 * Pixel unpacking/packing parameters are observed according to \p packing.
85 * \param packing the pixelstore attributes
100 const struct gl_pixelstore_attrib *packing,
115 alignment = packing->Alignment;
116 if (packing->RowLength > 0) {
117 pixels_per_row = packing->RowLength;
122 if (packing->ImageHeight > 0) {
123 rows_per_image = packing->ImageHeight;
129 skippixels = packing
99 _mesa_image_offset( GLuint dimensions, const struct gl_pixelstore_attrib *packing, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint img, GLint row, GLint column ) argument
214 _mesa_image_address( GLuint dimensions, const struct gl_pixelstore_attrib *packing, const GLvoid *image, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint img, GLint row, GLint column ) argument
231 _mesa_image_address1d( const struct gl_pixelstore_attrib *packing, const GLvoid *image, GLsizei width, GLenum format, GLenum type, GLint column ) argument
243 _mesa_image_address2d( const struct gl_pixelstore_attrib *packing, const GLvoid *image, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint row, GLint column ) argument
255 _mesa_image_address3d( const struct gl_pixelstore_attrib *packing, const GLvoid *image, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint img, GLint row, GLint column ) argument
278 _mesa_image_row_stride( const struct gl_pixelstore_attrib *packing, GLint width, GLenum format, GLenum type ) argument
325 _mesa_image_image_stride( const struct gl_pixelstore_attrib *packing, GLint width, GLint height, GLenum format, GLenum type ) argument
[all...]
H A Dtexstore.c315 * \param srcPacking source image pixel packing
556 * \param srcPacking source image pixel packing
4270 const struct gl_pixelstore_attrib *packing,
4300 format, type, pixels, packing, caller);
4324 srcImageStride = _mesa_image_row_stride(packing, width, format, type);
4331 srcImageStride = _mesa_image_image_stride(packing, width, height,
4338 srcImageStride = _mesa_image_image_stride(packing, width, height,
4366 format, type, src, packing);
4380 _mesa_unmap_teximage_pbo(ctx, packing);
4395 const struct gl_pixelstore_attrib *packing)
4265 store_texsubimage(struct gl_context *ctx, struct gl_texture_image *texImage, GLint xoffset, GLint yoffset, GLint zoffset, GLint width, GLint height, GLint depth, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *packing, const char *caller) argument
4391 _mesa_store_teximage(struct gl_context *ctx, GLuint dims, struct gl_texture_image *texImage, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *packing) argument
4418 _mesa_store_texsubimage(struct gl_context *ctx, GLuint dims, struct gl_texture_image *texImage, GLint xoffset, GLint yoffset, GLint zoffset, GLint width, GLint height, GLint depth, GLenum format, GLenum type, const void *pixels, const struct gl_pixelstore_attrib *packing) argument
[all...]
/external/mesa3d/src/mesa/drivers/dri/i915/
H A Dintel_tex_subimage.c49 const struct gl_pixelstore_attrib *packing)
88 format, type, pixels, packing,
124 format, type, pixels, packing)) {
146 _mesa_unmap_teximage_pbo(ctx, packing);
159 const struct gl_pixelstore_attrib *packing)
165 format, type, pixels, packing)) {
169 format, type, pixels, packing);
44 intel_blit_texsubimage(struct gl_context * ctx, struct gl_texture_image *texImage, GLint xoffset, GLint yoffset, GLint width, GLint height, GLenum format, GLenum type, const void *pixels, const struct gl_pixelstore_attrib *packing) argument
152 intelTexSubImage(struct gl_context * ctx, GLuint dims, struct gl_texture_image *texImage, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid * pixels, const struct gl_pixelstore_attrib *packing) argument
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dintel_tex_subimage.c49 const struct gl_pixelstore_attrib *packing)
88 format, type, pixels, packing,
124 format, type, pixels, packing)) {
146 _mesa_unmap_teximage_pbo(ctx, packing);
159 const struct gl_pixelstore_attrib *packing)
165 format, type, pixels, packing)) {
169 format, type, pixels, packing);
44 intel_blit_texsubimage(struct gl_context * ctx, struct gl_texture_image *texImage, GLint xoffset, GLint yoffset, GLint width, GLint height, GLenum format, GLenum type, const void *pixels, const struct gl_pixelstore_attrib *packing) argument
152 intelTexSubImage(struct gl_context * ctx, GLuint dims, struct gl_texture_image *texImage, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid * pixels, const struct gl_pixelstore_attrib *packing) argument
/external/mesa3d/src/mesa/drivers/dri/intel/
H A Dintel_tex_subimage.c49 const struct gl_pixelstore_attrib *packing)
88 format, type, pixels, packing,
124 format, type, pixels, packing)) {
146 _mesa_unmap_teximage_pbo(ctx, packing);
159 const struct gl_pixelstore_attrib *packing)
165 format, type, pixels, packing)) {
169 format, type, pixels, packing);
44 intel_blit_texsubimage(struct gl_context * ctx, struct gl_texture_image *texImage, GLint xoffset, GLint yoffset, GLint width, GLint height, GLenum format, GLenum type, const void *pixels, const struct gl_pixelstore_attrib *packing) argument
152 intelTexSubImage(struct gl_context * ctx, GLuint dims, struct gl_texture_image *texImage, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid * pixels, const struct gl_pixelstore_attrib *packing) argument
/external/mesa3d/src/mesa/main/
H A Dpbo.c372 const struct gl_pixelstore_attrib *packing,
377 if (!_mesa_is_bufferobj(packing->BufferObj)) {
382 ((const GLubyte *) 0) + packing->BufferObj->Size) {
389 packing->BufferObj->Size,
391 packing->BufferObj);
370 _mesa_validate_pbo_compressed_teximage(struct gl_context *ctx, GLsizei imageSize, const GLvoid *pixels, const struct gl_pixelstore_attrib *packing, const char *funcName) argument
H A Dreadpix.c58 const struct gl_pixelstore_attrib *packing )
68 if (packing->SwapBytes)
86 dstStride = _mesa_image_row_stride(packing, width, GL_DEPTH_COMPONENT, type);
87 dst = (GLubyte *) _mesa_image_address2d(packing, pixels, width, height,
114 const struct gl_pixelstore_attrib *packing )
132 if (fast_read_depth_pixels(ctx, x, y, width, height, type, pixels, packing))
135 dstStride = _mesa_image_row_stride(packing, width, GL_DEPTH_COMPONENT, type);
136 dst = (GLubyte *) _mesa_image_address2d(packing, pixels, width, height,
152 _mesa_pack_depth_span(ctx, width, dst, type, depthValues, packing);
176 const struct gl_pixelstore_attrib *packing )
225 fast_read_rgba_pixels_memcpy( struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels, const struct gl_pixelstore_attrib *packing, GLbitfield transferOps ) argument
318 slow_read_rgba_pixels( struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels, const struct gl_pixelstore_attrib *packing, GLbitfield transferOps ) argument
519 slow_read_depth_stencil_pixels_separate(struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum type, const struct gl_pixelstore_attrib *packing, GLubyte *dst, int dstStride) argument
641 _mesa_readpixels(struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *packing, GLvoid *pixels) argument
[all...]
H A Dimage.c82 * Pixel unpacking/packing parameters are observed according to \p packing.
85 * \param packing the pixelstore attributes
100 const struct gl_pixelstore_attrib *packing,
115 alignment = packing->Alignment;
116 if (packing->RowLength > 0) {
117 pixels_per_row = packing->RowLength;
122 if (packing->ImageHeight > 0) {
123 rows_per_image = packing->ImageHeight;
129 skippixels = packing
99 _mesa_image_offset( GLuint dimensions, const struct gl_pixelstore_attrib *packing, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint img, GLint row, GLint column ) argument
214 _mesa_image_address( GLuint dimensions, const struct gl_pixelstore_attrib *packing, const GLvoid *image, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint img, GLint row, GLint column ) argument
231 _mesa_image_address1d( const struct gl_pixelstore_attrib *packing, const GLvoid *image, GLsizei width, GLenum format, GLenum type, GLint column ) argument
243 _mesa_image_address2d( const struct gl_pixelstore_attrib *packing, const GLvoid *image, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint row, GLint column ) argument
255 _mesa_image_address3d( const struct gl_pixelstore_attrib *packing, const GLvoid *image, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint img, GLint row, GLint column ) argument
278 _mesa_image_row_stride( const struct gl_pixelstore_attrib *packing, GLint width, GLenum format, GLenum type ) argument
325 _mesa_image_image_stride( const struct gl_pixelstore_attrib *packing, GLint width, GLint height, GLenum format, GLenum type ) argument
[all...]
H A Dtexstore.c315 * \param srcPacking source image pixel packing
556 * \param srcPacking source image pixel packing
4270 const struct gl_pixelstore_attrib *packing,
4300 format, type, pixels, packing, caller);
4324 srcImageStride = _mesa_image_row_stride(packing, width, format, type);
4331 srcImageStride = _mesa_image_image_stride(packing, width, height,
4338 srcImageStride = _mesa_image_image_stride(packing, width, height,
4366 format, type, src, packing);
4380 _mesa_unmap_teximage_pbo(ctx, packing);
4395 const struct gl_pixelstore_attrib *packing)
4265 store_texsubimage(struct gl_context *ctx, struct gl_texture_image *texImage, GLint xoffset, GLint yoffset, GLint zoffset, GLint width, GLint height, GLint depth, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *packing, const char *caller) argument
4391 _mesa_store_teximage(struct gl_context *ctx, GLuint dims, struct gl_texture_image *texImage, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *packing) argument
4418 _mesa_store_texsubimage(struct gl_context *ctx, GLuint dims, struct gl_texture_image *texImage, GLint xoffset, GLint yoffset, GLint zoffset, GLint width, GLint height, GLint depth, GLenum format, GLenum type, const void *pixels, const struct gl_pixelstore_attrib *packing) argument
[all...]
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/
H A DProgramD3D.cpp142 rx::VaryingPacking packing = { NULL }; local
143 *registers = mDynamicHLSL->packVaryings(infoLog, packing, fragmentShaderD3D, vertexShaderD3D, transformFeedbackVaryings);
155 if (!mDynamicHLSL->generateShaderLinkHLSL(infoLog, *registers, packing, mPixelHLSL, mVertexHLSL,
H A DDynamicHLSL.cpp101 static bool packVarying(PackedVarying *varying, const int maxVaryingVectors, VaryingPacking packing) argument
119 if (packing[r + y][x])
135 packing[r + y][x] = &*varying;
153 if (packing[r + y][x])
169 packing[r + y][x] = &*varying;
186 space[x] += packing[y][x] ? 0 : 1;
204 if (!packing[r][column])
211 packing[y][column] = &*varying;
228 int DynamicHLSL::packVaryings(InfoLog &infoLog, VaryingPacking packing, rx::ShaderD3D *fragmentShader, argument
251 if (packVarying(varying, maxVaryingVectors, packing))
665 generateShaderLinkHLSL(InfoLog &infoLog, int registers, const VaryingPacking packing, std::string& pixelHLSL, std::string& vertexHLSL, rx::ShaderD3D *fragmentShader, rx::ShaderD3D *vertexShader, const std::vector<std::string>& transformFeedbackVaryings, std::vector<LinkedVarying> *linkedVaryings, std::map<int, VariableLocation> *programOutputVars, std::vector<PixelShaderOutputVariable> *outPixelShaderKey, bool *outUsesFragDepth) const argument
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/
H A Dnouveau_texture.c487 const struct gl_pixelstore_attrib *packing,
505 pixels, packing, "glCompressedTexImage");
509 pixels, packing, "glTexImage");
521 format, type, pixels, packing);
525 _mesa_unmap_teximage_pbo(ctx, packing);
548 const struct gl_pixelstore_attrib *packing)
551 packing, GL_FALSE);
570 const struct gl_pixelstore_attrib *packing,
580 pixels, packing, "glCompressedTexSubImage");
584 pixels, packing, "glTexSubImag
483 nouveau_teximage(struct gl_context *ctx, GLint dims, struct gl_texture_image *ti, GLsizei imageSize, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *packing, GLboolean compressed) argument
545 nouveau_teximage_123d(struct gl_context *ctx, GLuint dims, struct gl_texture_image *ti, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *packing) argument
564 nouveau_texsubimage(struct gl_context *ctx, GLint dims, struct gl_texture_image *ti, GLint xoffset, GLint yoffset, GLint zoffset, GLint width, GLint height, GLint depth, GLsizei imageSize, GLenum format, GLenum type, const void *pixels, const struct gl_pixelstore_attrib *packing, GLboolean compressed) argument
608 nouveau_texsubimage_123d(struct gl_context *ctx, GLuint dims, struct gl_texture_image *ti, GLint xoffset, GLint yoffset, GLint zoffset, GLint width, GLint height, GLint depth, GLenum format, GLenum type, const void *pixels, const struct gl_pixelstore_attrib *packing) argument
[all...]
/external/mesa3d/src/mesa/drivers/dri/nouveau/
H A Dnouveau_texture.c487 const struct gl_pixelstore_attrib *packing,
505 pixels, packing, "glCompressedTexImage");
509 pixels, packing, "glTexImage");
521 format, type, pixels, packing);
525 _mesa_unmap_teximage_pbo(ctx, packing);
548 const struct gl_pixelstore_attrib *packing)
551 packing, GL_FALSE);
570 const struct gl_pixelstore_attrib *packing,
580 pixels, packing, "glCompressedTexSubImage");
584 pixels, packing, "glTexSubImag
483 nouveau_teximage(struct gl_context *ctx, GLint dims, struct gl_texture_image *ti, GLsizei imageSize, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *packing, GLboolean compressed) argument
545 nouveau_teximage_123d(struct gl_context *ctx, GLuint dims, struct gl_texture_image *ti, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *packing) argument
564 nouveau_texsubimage(struct gl_context *ctx, GLint dims, struct gl_texture_image *ti, GLint xoffset, GLint yoffset, GLint zoffset, GLint width, GLint height, GLint depth, GLsizei imageSize, GLenum format, GLenum type, const void *pixels, const struct gl_pixelstore_attrib *packing, GLboolean compressed) argument
608 nouveau_texsubimage_123d(struct gl_context *ctx, GLuint dims, struct gl_texture_image *ti, GLint xoffset, GLint yoffset, GLint zoffset, GLint width, GLint height, GLint depth, GLenum format, GLenum type, const void *pixels, const struct gl_pixelstore_attrib *packing) argument
[all...]

Completed in 357 milliseconds