Home
last modified time | relevance | path

Searched refs:packing (Results 1 – 25 of 328) sorted by relevance

12345678910>>...14

/third_party/mesa3d/src/mesa/main/
Dimage.c117 const struct gl_pixelstore_attrib *packing, in _mesa_image_offset() argument
132 alignment = packing->Alignment; in _mesa_image_offset()
133 if (packing->RowLength > 0) { in _mesa_image_offset()
134 pixels_per_row = packing->RowLength; in _mesa_image_offset()
139 if (packing->ImageHeight > 0) { in _mesa_image_offset()
140 rows_per_image = packing->ImageHeight; in _mesa_image_offset()
146 skippixels = packing->SkipPixels; in _mesa_image_offset()
148 skiprows = packing->SkipRows; in _mesa_image_offset()
150 skipimages = (dimensions == 3) ? packing->SkipImages : 0; in _mesa_image_offset()
190 if (packing->Invert) { in _mesa_image_offset()
[all …]
Dreadpix.c196 const struct gl_pixelstore_attrib *packing) in readpixels_can_use_memcpy() argument
214 packing->SwapBytes, NULL)) { in readpixels_can_use_memcpy()
228 const struct gl_pixelstore_attrib *packing) in readpixels_memcpy() argument
236 if (!readpixels_can_use_memcpy(ctx, format, type, packing)) { in readpixels_memcpy()
240 dstStride = _mesa_image_row_stride(packing, width, format, type); in readpixels_memcpy()
241 dst = (GLubyte *) _mesa_image_address2d(packing, pixels, width, height, in readpixels_memcpy()
279 const struct gl_pixelstore_attrib *packing ) in read_uint_depth_pixels() argument
289 if (packing->SwapBytes) in read_uint_depth_pixels()
303 dstStride = _mesa_image_row_stride(packing, width, GL_DEPTH_COMPONENT, type); in read_uint_depth_pixels()
304 dst = (GLubyte *) _mesa_image_address2d(packing, pixels, width, height, in read_uint_depth_pixels()
[all …]
Dimage.h45 const struct gl_pixelstore_attrib *packing,
52 const struct gl_pixelstore_attrib *packing,
59 _mesa_image_address1d( const struct gl_pixelstore_attrib *packing,
66 _mesa_image_address2d( const struct gl_pixelstore_attrib *packing,
73 _mesa_image_address3d( const struct gl_pixelstore_attrib *packing,
81 _mesa_image_row_stride( const struct gl_pixelstore_attrib *packing,
86 _mesa_image_image_stride( const struct gl_pixelstore_attrib *packing,
139 const struct gl_pixelstore_attrib *packing,
Dpixelstore.c324 const struct gl_pixelstore_attrib *packing, in _mesa_compressed_pixel_storage_error_check() argument
327 if (!_mesa_is_desktop_gl(ctx) || !packing->CompressedBlockSize) in _mesa_compressed_pixel_storage_error_check()
330 if (packing->CompressedBlockWidth && in _mesa_compressed_pixel_storage_error_check()
331 packing->SkipPixels % packing->CompressedBlockWidth) { in _mesa_compressed_pixel_storage_error_check()
338 packing->CompressedBlockHeight && in _mesa_compressed_pixel_storage_error_check()
339 packing->SkipRows % packing->CompressedBlockHeight) { in _mesa_compressed_pixel_storage_error_check()
346 packing->CompressedBlockDepth && in _mesa_compressed_pixel_storage_error_check()
347 packing->SkipImages % packing->CompressedBlockDepth) { in _mesa_compressed_pixel_storage_error_check()
Dtexstore.c976 const struct gl_pixelstore_attrib *packing, in store_texsubimage() argument
1007 format, type, pixels, packing, caller); in store_texsubimage()
1033 srcImageStride = _mesa_image_row_stride(packing, width, format, type); in store_texsubimage()
1041 srcImageStride = _mesa_image_image_stride(packing, width, height, in store_texsubimage()
1048 srcImageStride = _mesa_image_image_stride(packing, width, height, in store_texsubimage()
1054 srcImageStride = _mesa_image_image_stride(packing, width, height, in store_texsubimage()
1083 format, type, src, packing); in store_texsubimage()
1097 _mesa_unmap_teximage_pbo(ctx, packing); in store_texsubimage()
1112 const struct gl_pixelstore_attrib *packing) in _mesa_store_teximage() argument
1127 format, type, pixels, packing, "glTexImage"); in _mesa_store_teximage()
[all …]
Dpbo.c442 const struct gl_pixelstore_attrib *packing, in _mesa_validate_pbo_compressed_teximage() argument
447 if (!_mesa_validate_pbo_source_compressed(ctx, dimensions, packing, in _mesa_validate_pbo_compressed_teximage()
453 if (!packing->BufferObj) { in _mesa_validate_pbo_compressed_teximage()
459 packing->BufferObj->Size, in _mesa_validate_pbo_compressed_teximage()
461 packing->BufferObj, in _mesa_validate_pbo_compressed_teximage()
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_tex_image.c136 const struct gl_pixelstore_attrib *packing) in brw_texsubimage_blorp() argument
150 pixels, packing); in brw_texsubimage_blorp()
184 const struct gl_pixelstore_attrib *packing) in brw_texsubimage_tiled_memcpy() argument
211 packing->BufferObj || in brw_texsubimage_tiled_memcpy()
212 packing->Alignment > 4 || in brw_texsubimage_tiled_memcpy()
213 packing->SkipPixels > 0 || in brw_texsubimage_tiled_memcpy()
214 packing->SkipRows > 0 || in brw_texsubimage_tiled_memcpy()
215 (packing->RowLength != 0 && packing->RowLength != width) || in brw_texsubimage_tiled_memcpy()
216 packing->SwapBytes || in brw_texsubimage_tiled_memcpy()
217 packing->LsbFirst || in brw_texsubimage_tiled_memcpy()
[all …]
Dbrw_blorp.c827 const struct gl_pixelstore_attrib *packing, in blorp_get_client_bo() argument
833 const uint32_t first_pixel = _mesa_image_offset(dims, packing, w, h, in blorp_get_client_bo()
835 const uint32_t last_pixel = _mesa_image_offset(dims, packing, w, h, in blorp_get_client_bo()
838 const uint32_t stride = _mesa_image_row_stride(packing, w, format, type); in blorp_get_client_bo()
842 *image_stride_out = _mesa_image_image_stride(packing, w, h, format, type); in blorp_get_client_bo()
844 if (packing->BufferObj) { in blorp_get_client_bo()
859 brw_buffer_object(packing->BufferObj); in blorp_get_client_bo()
905 const struct gl_pixelstore_attrib *packing) in blorp_get_client_format() argument
910 if (packing->SwapBytes || packing->LsbFirst || packing->Invert) { in blorp_get_client_format()
944 const struct gl_pixelstore_attrib *packing) in brw_blorp_upload_miptree() argument
[all …]
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Dintel_tex_subimage.c52 const struct gl_pixelstore_attrib *packing) in intel_blit_texsubimage() argument
79 format, type, pixels, packing, in intel_blit_texsubimage()
101 format, type, pixels, packing)) { in intel_blit_texsubimage()
118 _mesa_unmap_teximage_pbo(ctx, packing); in intel_blit_texsubimage()
125 _mesa_unmap_teximage_pbo(ctx, packing); in intel_blit_texsubimage()
137 const struct gl_pixelstore_attrib *packing) in intelTexSubImage() argument
143 format, type, pixels, packing)) { in intelTexSubImage()
147 format, type, pixels, packing); in intelTexSubImage()
/third_party/mesa3d/src/compiler/glsl/
Dlower_buffer_access.cpp63 enum glsl_interface_packing packing, in emit_access() argument
77 if (packing == GLSL_INTERFACE_PACKING_STD430) in emit_access()
85 row_major, NULL, packing, in emit_access()
88 if (packing == GLSL_INTERFACE_PACKING_STD430) in emit_access()
97 unsigned array_stride = packing == GLSL_INTERFACE_PACKING_STD430 ? in emit_access()
108 row_major, NULL, packing, in emit_access()
125 : link_calculate_matrix_stride(deref->type, row_major, packing); in emit_access()
129 row_major, deref->type, packing, in emit_access()
151 link_calculate_matrix_stride(matrix_type, row_major, packing); in emit_access()
280 enum glsl_interface_packing packing) in setup_buffer_access() argument
[all …]
Dlinker.h104 enum glsl_interface_packing packing);
190 const enum glsl_interface_packing packing,
194 bool row_major, const enum glsl_interface_packing packing);
197 bool row_major, const enum glsl_interface_packing packing);
213 const enum glsl_interface_packing packing,
Dlower_ubo_reference.cpp69 enum glsl_interface_packing packing);
107 enum glsl_interface_packing packing);
281 enum glsl_interface_packing packing) in setup_for_load_or_store() argument
330 matrix_type, &this->struct_field, packing); in setup_for_load_or_store()
354 enum glsl_interface_packing packing = in handle_rvalue() local
369 packing); in handle_rvalue()
389 row_major, matrix_type, packing, 0); in handle_rvalue()
570 enum glsl_interface_packing packing = in write_to_memory() local
583 packing); in write_to_memory()
597 row_major, matrix_type, packing, write_mask); in write_to_memory()
[all …]
Dlink_uniforms.cpp270 enum glsl_interface_packing packing = in process() local
273 recursion(type, &name_copy, strlen(name), false, NULL, packing, false, in process()
294 enum glsl_interface_packing packing = var->get_interface_type() ? in process() local
309 recursion(var->type, &name, strlen(name), row_major, NULL, packing, in process()
318 recursion(t, &name, strlen(name), row_major, NULL, packing, in process()
323 this->visit_field(t, var->name, row_major, NULL, packing, false); in process()
331 const enum glsl_interface_packing packing, in recursion() argument
346 packing, false, record_array_count, NULL); in recursion()
352 this->enter_record(t, *name, row_major, packing); in recursion()
386 packing, in recursion()
[all …]
Dlower_shared_reference.cpp145 const enum glsl_interface_packing packing = GLSL_INTERFACE_PACKING_STD430; in handle_rvalue() local
149 &row_major, &matrix_type, NULL, packing); in handle_rvalue()
169 matrix_type, packing, 0); in handle_rvalue()
213 const enum glsl_interface_packing packing = GLSL_INTERFACE_PACKING_STD430; in handle_assignment() local
217 &row_major, &matrix_type, NULL, packing); in handle_assignment()
229 matrix_type, packing, ir->write_mask); in handle_assignment()
373 const enum glsl_interface_packing packing = GLSL_INTERFACE_PACKING_STD430; in lower_shared_atomic_intrinsic() local
378 &row_major, &matrix_type, NULL, packing); in lower_shared_atomic_intrinsic()
Dlower_buffer_access.h52 enum glsl_interface_packing packing,
62 enum glsl_interface_packing packing);
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DModifyStruct.cpp321 TLayoutMatrixPacking packing, in addModifiedField() argument
326 layoutQualifier.matrixPacking = packing; in addModifiedField()
637 const TLayoutMatrixPacking packing);
642 const TLayoutMatrixPacking packing);
647 const TLayoutMatrixPacking packing) in IdentityModify() argument
650 state.addModifiedField(field, CloneType(type), storage, packing, nullptr); in IdentityModify()
660 const TLayoutMatrixPacking packing) in InlineStruct() argument
682 const TLayoutMatrixPacking subpacking = Overlay(packing, subtype); in InlineStruct()
692 const TLayoutMatrixPacking packing) in RecurseStruct() argument
720 state.addModifiedField(field, newType, storage, packing, state.symbolEnv.isPointer(field)); in RecurseStruct()
[all …]
/third_party/gettext/gettext-tools/tests/
Dxgettext-glade-535 <packing>
37 </packing>
46 <packing>
48 </packing>
126 <packing>
128 </packing>
137 <packing>
139 </packing>
Dxgettext-glade-375 <packing>
80 </packing>
103 <packing>
107 </packing>
140 <packing>
144 </packing>
147 <packing>
151 </packing>
154 <packing>
158 </packing>
Dxgettext-glade-7143 <packing>
147 </packing>
159 <packing>
163 </packing>
174 <packing>
178 </packing>
/third_party/skia/third_party/externals/opengl-registry/extensions/APPLE/
DAPPLE_row_bytes.txt40 within GL regarding the packing and unpacking of pixel data from
44 existed in GL using pixel storage modes for unpacking, packing, and
46 packing or unpacking of data is specified with pixel atomicity rather than
51 then they do not allow for the packing and unpacking of pixel data in a
71 Storage mode class - delineation of packing vs unpacking pixel storage
79 Specifying non-zero row bytes packing or unpacking values will
93 Does the semantics for packing need to match that of unpacking ?
103 for packing or unpacking is not known, as in the case of a
106 values. In the case cited above, the packing modes can be specified
/third_party/openGLES/extensions/APPLE/
DAPPLE_row_bytes.txt40 within GL regarding the packing and unpacking of pixel data from
44 existed in GL using pixel storage modes for unpacking, packing, and
46 packing or unpacking of data is specified with pixel atomicity rather than
51 then they do not allow for the packing and unpacking of pixel data in a
71 Storage mode class - delineation of packing vs unpacking pixel storage
79 Specifying non-zero row bytes packing or unpacking values will
93 Does the semantics for packing need to match that of unpacking ?
103 for packing or unpacking is not known, as in the case of a
106 values. In the case cited above, the packing modes can be specified
/third_party/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_texture.c448 const struct gl_pixelstore_attrib *packing, in nouveau_teximage() argument
466 pixels, packing, "glCompressedTexImage"); in nouveau_teximage()
470 pixels, packing, "glTexImage"); in nouveau_teximage()
492 format, type, pixels, packing); in nouveau_teximage()
497 _mesa_unmap_teximage_pbo(ctx, packing); in nouveau_teximage()
520 const struct gl_pixelstore_attrib *packing) in nouveau_teximage_123d() argument
523 packing, GL_FALSE); in nouveau_teximage_123d()
551 const struct gl_pixelstore_attrib *packing, in nouveau_texsubimage() argument
559 pixels, packing, "glCompressedTexSubImage"); in nouveau_texsubimage()
563 pixels, packing, "glTexSubImage"); in nouveau_texsubimage()
[all …]
/third_party/openGLES/extensions/ARB/
DARB_shading_language_packing.txt67 This extension also adds the GLSL built-in packing functions included in
70 these packing functions in this separate extension it allows
74 In addition to the packing functions from ARB_gpu_shader5 this extension
105 (add support for general packing functions)
150 (add support for 16-bit floating-point packing and unpacking functions)
160 and then packing these two 16-bit integers into a 32-bit unsigned integer.
240 (4) The packing functions introduced in ARB_gpu_shader5 may be available
242 How can an implementation expose those packing functions?
244 RESOLVED: Added all the ARB_gpu_shader5 packing functions to revision
248 (5) Should we also provide a [un]packSnorm2x16 packing function, which
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DARB_shading_language_packing.txt57 This extension also adds the GLSL built-in packing functions included in
60 these packing functions in this separate extension it allows
64 In addition to the packing functions from ARB_gpu_shader5 this extension
95 (add support for general packing functions)
140 (add support for 16-bit floating-point packing and unpacking functions)
150 and then packing these two 16-bit integers into a 32-bit unsigned integer.
230 (4) The packing functions introduced in ARB_gpu_shader5 may be available
232 How can an implementation expose those packing functions?
234 RESOLVED: Added all the ARB_gpu_shader5 packing functions to revision
238 (5) Should we also provide a [un]packSnorm2x16 packing function, which
[all …]
/third_party/mesa3d/src/compiler/
Dglsl_types.h486 enum glsl_interface_packing packing,
1246 enum glsl_interface_packing packing = this->get_interface_packing(); in get_internal_ifc_packing() local
1247 if (packing == GLSL_INTERFACE_PACKING_STD140 || in get_internal_ifc_packing()
1249 (packing == GLSL_INTERFACE_PACKING_SHARED || in get_internal_ifc_packing()
1250 packing == GLSL_INTERFACE_PACKING_PACKED))) { in get_internal_ifc_packing()
1253 assert(packing == GLSL_INTERFACE_PACKING_STD430 || in get_internal_ifc_packing()
1255 (packing == GLSL_INTERFACE_PACKING_SHARED || in get_internal_ifc_packing()
1256 packing == GLSL_INTERFACE_PACKING_PACKED))); in get_internal_ifc_packing()
1299 enum glsl_interface_packing packing,

12345678910>>...14