Searched defs:format (Results 451 - 475 of 2207) sorted by relevance

<<11121314151617181920>>

/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_screen_cache.h63 SVGA3dSurfaceFormat format; member in struct:svga_host_surface_cache_key
/external/mesa3d/src/gallium/state_trackers/clover/core/
H A Dmemory.cpp118 const cl_image_format *format,
123 __format(*format), __width(width), __height(height), __depth(depth),
144 image::format() const { function in class:image
174 const cl_image_format *format, size_t width,
177 image(ctx, flags, format, width, height, 0,
187 const cl_image_format *format,
191 image(ctx, flags, format, width, height, depth,
117 image(clover::context &ctx, cl_mem_flags flags, const cl_image_format *format, size_t width, size_t height, size_t depth, size_t row_pitch, size_t slice_pitch, size_t size, void *host_ptr) argument
173 image2d(clover::context &ctx, cl_mem_flags flags, const cl_image_format *format, size_t width, size_t height, size_t row_pitch, void *host_ptr) argument
186 image3d(clover::context &ctx, cl_mem_flags flags, const cl_image_format *format, size_t width, size_t height, size_t depth, size_t row_pitch, size_t slice_pitch, void *host_ptr) argument
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d10app/
H A Dd3d10x11main.cpp35 DXGI_FORMAT format = DXGI_FORMAT_R8G8B8A8_UNORM; variable
66 swap_chain_desc.BufferDesc.Format = format;
130 swap_chain->ResizeBuffers(3, width, height, format, 0);
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11app/
H A Dd3d11x11main.cpp9 DXGI_FORMAT format = DXGI_FORMAT_R8G8B8A8_UNORM; variable
40 swap_chain_desc.BufferDesc.Format = format;
90 swap_chain->ResizeBuffers(3, width, height, format, 0);
/external/mesa3d/src/gallium/state_trackers/gbm/
H A Dgbm_drm.c44 gbm_format_to_gallium(enum gbm_bo_format format) argument
46 switch (format) {
77 enum gbm_bo_format format,
83 pf = gbm_format_to_gallium(format);
91 if (usage & GBM_BO_USE_SCANOUT && format != GBM_BO_FORMAT_XRGB8888)
147 switch (resource->format) {
149 bo->base.base.format = GBM_BO_FORMAT_XRGB8888;
152 bo->base.base.format = GBM_BO_FORMAT_ARGB8888;
174 enum gbm_bo_format format, uint32_t usage)
189 bo->base.base.format
76 gbm_gallium_drm_is_format_supported(struct gbm_device *gbm, enum gbm_bo_format format, uint32_t usage) argument
172 gbm_gallium_drm_bo_create(struct gbm_device *gbm, uint32_t width, uint32_t height, enum gbm_bo_format format, uint32_t usage) argument
[all...]
/external/mesa3d/src/gallium/targets/graw-gdi/
H A Dgraw_gdi.c64 enum pipe_format format,
75 if (format != PIPE_FORMAT_R8G8B8A8_UNORM)
60 graw_create_window_and_screen(int x, int y, unsigned width, unsigned height, enum pipe_format format, void **handle) argument
/external/mesa3d/src/gallium/targets/graw-xlib/
H A Dgraw_xlib.c48 enum pipe_format format,
88 /* See if the requirested pixel format matches the visual */
92 if (format != PIPE_FORMAT_B8G8R8A8_UNORM)
98 if (format != PIPE_FORMAT_R8G8B8A8_UNORM)
44 graw_create_window_and_screen( int x, int y, unsigned width, unsigned height, enum pipe_format format, void **handle) argument
/external/mesa3d/src/gallium/tools/trace/
H A Dmodel.py35 import format namespace
50 formatter = format.DefaultFormatter(stream)
/external/mesa3d/src/gallium/winsys/sw/null/
H A Dnull_sw_winsys.c49 enum pipe_format format )
84 enum pipe_format format,
82 null_sw_displaytarget_create(struct sw_winsys *winsys, unsigned tex_usage, enum pipe_format format, unsigned width, unsigned height, unsigned alignment, unsigned *stride) argument
/external/mesa3d/src/glsl/
H A Dir_uniform.h41 uniform_native = 0, /**< Store data in the native format. */
68 * Base format of the stored data.
73 uint8_t format; member in struct:gl_uniform_driver_storage
/external/mesa3d/src/glx/apple/
H A Dglxreply.c59 GLint width, GLint height, GLint depth, GLenum format,
96 __glEmptyImage(gc, 3, width, height, depth, format, type, buf, dest);
58 __glXReadPixelReply(Display * dpy, struct glx_context * gc, unsigned max_dim, GLint width, GLint height, GLint depth, GLenum format, GLenum type, void *dest, GLboolean dimensions_in_reply) argument
/external/mesa3d/src/glx/
H A Dindirect_texture_compression.c140 GLenum format, GLsizei image_size,
166 __GLX_PUT_LONG(28, format);
184 __GLX_PUT_LONG(32, format);
270 GLenum format, GLsizei image_size,
274 format, image_size, data,
283 GLenum format, GLsizei image_size,
287 format, image_size, data,
297 GLenum format, GLsizei image_size,
319 __GLX_PUT_LONG(36, format);
337 __GLX_PUT_LONG(40, format);
137 CompressedTexSubImage1D2D(GLenum target, GLint level, GLsizei xoffset, GLsizei yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei image_size, const GLvoid * data, CARD32 rop) argument
267 __indirect_glCompressedTexSubImage1DARB(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei image_size, const GLvoid * data) argument
280 __indirect_glCompressedTexSubImage2DARB(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei image_size, const GLvoid * data) argument
293 __indirect_glCompressedTexSubImage3DARB(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei image_size, const GLvoid * data) argument
[all...]
H A Drenderpix.c69 * \param format Format of the image
83 GLenum format, GLenum type, const GLvoid * src,
95 (*gc->fillImage) (gc, dim, width, height, depth, format, type,
121 GLsizei width, GLsizei height, GLenum format,
129 compsize = __glImageSize(width, 1, 1, format, type, 0);
130 compsize2 = __glImageSize(height, 1, 1, format, type, 0);
146 __GLX_PUT_LONG(16, format);
150 (*gc->fillImage) (gc, 1, width, 1, 1, format, type,
155 (*gc->fillImage) (gc, 1, height, 1, 1, format, type,
176 __GLX_PUT_LONG(16, format);
81 __glXSendLargeImage(struct glx_context * gc, GLint compsize, GLint dim, GLint width, GLint height, GLint depth, GLenum format, GLenum type, const GLvoid * src, GLubyte * pc, GLubyte * modes) argument
120 __indirect_glSeparableFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * row, const GLvoid * column) argument
[all...]
H A Dsinglepix.c38 __indirect_glGetSeparableFilter(GLenum target, GLenum format, GLenum type, argument
54 __GLX_SINGLE_PUT_LONG(4, format);
67 widthsize = __glImageSize(width, 1, 1, format, type, 0);
68 heightsize = __glImageSize(height, 1, 1, format, type, 0);
82 __glEmptyImage(gc, 1, width, 1, 1, format, type, rowBuf, row);
96 __glEmptyImage(gc, 1, height, 1, 1, format, type, colBuf, column);
111 void gl_dispatch_stub_GetSeparableFilterEXT (GLenum target, GLenum format, argument
123 p(target, format, type, row, column, span);
142 (void) memcpy((void *) (pc + 4), (void *) (&format), 4);
154 __glImageSize(width, 1, 1, format, typ
[all...]
H A Dvertarr.c101 __indirect_glInterleavedArrays(GLenum format, GLsizei stride, argument
161 const int idx = format - GL_V2F;
165 * is just the format biased by -GL_V2F, all valid idx values are on the
/external/mesa3d/src/mesa/drivers/dri/i915/
H A Dintel_pixel_read.c73 GLenum format, GLenum type,
100 !intel_check_blit_format(src, format, type)) {
101 DBG("%s - bad format for blit\n", __FUNCTION__);
126 format, type, 0, 0, 0);
171 GLenum format, GLenum type,
182 (ctx, x, y, width, height, format, type, pack, pixels))
201 _mesa_readpixels(ctx, x, y, width, height, format, type, pack, pixels);
71 do_blit_readpixels(struct gl_context * ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *pack, GLvoid * pixels) argument
169 intelReadPixels(struct gl_context * ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *pack, GLvoid * pixels) argument
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dintel_pixel_read.c73 GLenum format, GLenum type,
100 !intel_check_blit_format(src, format, type)) {
101 DBG("%s - bad format for blit\n", __FUNCTION__);
126 format, type, 0, 0, 0);
171 GLenum format, GLenum type,
182 (ctx, x, y, width, height, format, type, pack, pixels))
201 _mesa_readpixels(ctx, x, y, width, height, format, type, pack, pixels);
71 do_blit_readpixels(struct gl_context * ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *pack, GLvoid * pixels) argument
169 intelReadPixels(struct gl_context * ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *pack, GLvoid * pixels) argument
/external/mesa3d/src/mesa/drivers/dri/intel/
H A Dintel_pixel_read.c73 GLenum format, GLenum type,
100 !intel_check_blit_format(src, format, type)) {
101 DBG("%s - bad format for blit\n", __FUNCTION__);
126 format, type, 0, 0, 0);
171 GLenum format, GLenum type,
182 (ctx, x, y, width, height, format, type, pack, pixels))
201 _mesa_readpixels(ctx, x, y, width, height, format, type, pack, pixels);
71 do_blit_readpixels(struct gl_context * ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *pack, GLvoid * pixels) argument
169 intelReadPixels(struct gl_context * ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *pack, GLvoid * pixels) argument
/external/mesa3d/src/mesa/drivers/dri/nouveau/
H A Dnv20_state_fb.c36 get_rt_format(gl_format format) argument
38 switch (format) {
97 rt_format |= get_rt_format(s->format);
110 rt_format |= get_rt_format(s->format);
/external/mesa3d/src/mesa/drivers/dri/r200/
H A Dradeon_pixel_read.c41 static gl_format gl_format_and_type_to_mesa_format(GLenum format, GLenum type) argument
43 switch (format)
92 GLenum format, GLenum type,
97 const gl_format dst_format = gl_format_and_type_to_mesa_format(format, type);
200 GLenum format, GLenum type,
206 if (do_blit_readpixels(ctx, x, y, width, height, format, type, pack, pixels))
214 "Falling back to sw for ReadPixels (format %s, type %s)\n",
215 _mesa_lookup_enum_by_nr(format), _mesa_lookup_enum_by_nr(type));
220 _mesa_readpixels(ctx, x, y, width, height, format, type, pack, pixels);
90 do_blit_readpixels(struct gl_context * ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *pack, GLvoid * pixels) argument
198 radeonReadPixels(struct gl_context * ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *pack, GLvoid * pixels) argument
/external/mesa3d/src/mesa/drivers/dri/radeon/
H A Dradeon_pixel_read.c41 static gl_format gl_format_and_type_to_mesa_format(GLenum format, GLenum type) argument
43 switch (format)
92 GLenum format, GLenum type,
97 const gl_format dst_format = gl_format_and_type_to_mesa_format(format, type);
200 GLenum format, GLenum type,
206 if (do_blit_readpixels(ctx, x, y, width, height, format, type, pack, pixels))
214 "Falling back to sw for ReadPixels (format %s, type %s)\n",
215 _mesa_lookup_enum_by_nr(format), _mesa_lookup_enum_by_nr(type));
220 _mesa_readpixels(ctx, x, y, width, height, format, type, pack, pixels);
90 do_blit_readpixels(struct gl_context * ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *pack, GLvoid * pixels) argument
198 radeonReadPixels(struct gl_context * ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *pack, GLvoid * pixels) argument
/external/mesa3d/src/mesa/main/
H A Dcolortab.c46 GLsizei width, GLenum format, GLenum type,
58 GLsizei count, GLenum format, GLenum type,
91 _mesa_GetnColorTableARB( GLenum target, GLenum format, GLenum type, argument
101 _mesa_GetColorTable( GLenum target, GLenum format, argument
45 _mesa_ColorTable( GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *data ) argument
57 _mesa_ColorSubTable( GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data ) argument
H A Ddrawpix.c50 GLenum format, GLenum type, const GLvoid *pixels )
59 _mesa_lookup_enum_by_nr(format),
86 * "If format contains integer components, as shown in table 3.6, an
94 if (_mesa_is_enum_format_integer(format)) {
95 _mesa_error(ctx, GL_INVALID_OPERATION, "glDrawPixels(integer format)");
99 err = _mesa_error_check_format_and_type(ctx, format, type);
101 _mesa_error(ctx, err, "glDrawPixels(invalid format %s and/or type %s)",
102 _mesa_lookup_enum_by_nr(format),
107 /* do special format-related checks */
108 switch (format) {
49 _mesa_DrawPixels( GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels ) argument
[all...]
H A Dglformats.c106 * format data types.
160 * Get the number of components in a pixel format.
162 * \param format pixel format.
164 * \return the number of components in the given format, or -1 if a bad format.
167 _mesa_components_in_format(GLenum format) argument
169 switch (format) {
216 * Get the bytes per pixel of pixel format type pair.
218 * \param format pixe
224 _mesa_bytes_per_pixel(GLenum format, GLenum type) argument
314 _mesa_is_enum_format_integer(GLenum format) argument
410 _mesa_is_enum_format_or_type_integer(GLenum format, GLenum type) argument
454 _mesa_is_color_format(GLenum format) argument
677 _mesa_is_depth_format(GLenum format) argument
696 _mesa_is_stencil_format(GLenum format) argument
711 _mesa_is_ycbcr_format(GLenum format) argument
726 _mesa_is_depthstencil_format(GLenum format) argument
743 _mesa_is_depth_or_stencil_format(GLenum format) argument
770 _mesa_is_dudv_format(GLenum format) argument
788 _mesa_is_compressed_format(struct gl_context *ctx, GLenum format) argument
855 _mesa_base_format_to_integer_format(GLenum format) argument
978 _mesa_generic_compressed_format_to_uncompressed_format(GLenum format) argument
1024 _mesa_error_check_format_and_type(const struct gl_context *ctx, GLenum format, GLenum type) argument
[all...]
H A Dhistogram.c47 _mesa_GetnMinmaxARB(GLenum target, GLboolean reset, GLenum format, argument
57 _mesa_GetMinmax(GLenum target, GLboolean reset, GLenum format, GLenum type, argument
60 _mesa_GetnMinmaxARB(target, reset, format, type, INT_MAX, values);
65 _mesa_GetnHistogramARB(GLenum target, GLboolean reset, GLenum format, argument
75 _mesa_GetHistogram(GLenum target, GLboolean reset, GLenum format, GLenum type, argument
78 _mesa_GetnHistogramARB(target, reset, format, type, INT_MAX, values);

Completed in 358 milliseconds

<<11121314151617181920>>