OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:baseFormat
(Results
1 - 19
of
19
) sorted by relevancy
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
st_sampler_view.c
326
compute_texture_format_swizzle(GLenum
baseFormat
, GLenum depthMode,
329
switch (
baseFormat
) {
386
assert(!"Unexpected
baseFormat
");
397
GLenum
baseFormat
= _mesa_base_tex_image(&stObj->base)->_BaseFormat;
405
(
baseFormat
== GL_DEPTH_COMPONENT ||
406
baseFormat
== GL_DEPTH_STENCIL ||
407
baseFormat
== GL_STENCIL_INDEX)) {
415
tex_swizzle = compute_texture_format_swizzle(
baseFormat
,
476
GLenum
baseFormat
= _mesa_base_tex_image(&stObj->base)->_BaseFormat;
479
if (
baseFormat
== GL_DEPTH_COMPONENT |
[
all
...]
st_format.c
2388
GLenum
baseFormat
= _mesa_base_tex_format(ctx, internalFormat);
2399
if (iformat ==
baseFormat
&& iformat == basePackFormat) {
2569
GLenum
baseFormat
, GLboolean is_integer)
2575
switch (
baseFormat
) {
2617
switch (
baseFormat
) {
/xsrc/external/mit/MesaLib/dist/src/mesa/main/
formatquery.c
968
GLint
baseformat
;
local
972
baseformat
= _mesa_base_tex_format(ctx, internalformat);
974
baseformat
= _mesa_base_fbo_format(ctx, internalformat);
985
if (texformat == MESA_FORMAT_NONE ||
baseformat
<= 0)
998
if (!_mesa_base_format_has_channel(
baseformat
, pname))
1158
GLenum
baseFormat
= _mesa_base_fbo_format(ctx, internalformat);
1159
if (
baseFormat
!= GL_DEPTH_STENCIL &&
1160
((pname == GL_DEPTH_RENDERABLE &&
baseFormat
!= GL_DEPTH_COMPONENT) ||
1161
(pname == GL_STENCIL_RENDERABLE &&
baseFormat
!= GL_STENCIL_INDEX)))
framebuffer.c
425
const GLenum
baseFormat
= _mesa_get_format_base_format(rb->Format);
434
if (_mesa_is_legal_color_format(ctx,
baseFormat
)) {
texgetimage.c
281
teximage_needs_rebase(mesa_format texFormat, GLenum
baseFormat
,
286
if (
baseFormat
== GL_LUMINANCE ||
287
baseFormat
== GL_INTENSITY) {
293
} else if (
baseFormat
== GL_LUMINANCE_ALPHA) {
300
(
baseFormat
!= _mesa_get_format_base_format(texFormat))) {
302
_mesa_compute_rgba2base2rgba_component_mapping(
baseFormat
,
324
const GLenum
baseFormat
= _mesa_get_format_base_format(texFormat);
363
needsRebase = teximage_needs_rebase(texFormat,
baseFormat
, true,
1142
GLenum
baseFormat
;
1150
baseFormat
= _mesa_get_format_base_format(texImage->TexFormat)
[
all
...]
texparam.c
1845
GLenum
baseFormat
= _mesa_get_format_base_format(texFormat);
1890
if (_mesa_base_format_has_channel(
baseFormat
, pname))
1897
if (_mesa_base_format_has_channel(
baseFormat
, pname)) {
1958
if (_mesa_base_format_has_channel(
baseFormat
, pname))
fbobject.c
725
_mesa_is_legal_color_format(const struct gl_context *ctx, GLenum
baseFormat
)
727
switch (
baseFormat
) {
770
const GLenum
baseFormat
=
774
valid = _mesa_is_legal_color_format(ctx,
baseFormat
);
877
is_legal_depth_format(const struct gl_context *ctx, GLenum
baseFormat
)
879
switch (
baseFormat
) {
908
GLenum
baseFormat
;
974
baseFormat
= texImage->_BaseFormat;
977
if (!_mesa_is_legal_color_format(ctx,
baseFormat
)) {
1000
if (
baseFormat
== GL_DEPTH_COMPONENT)
[
all
...]
teximage.c
2292
GLint
baseFormat
;
2392
baseFormat
= _mesa_base_tex_format(ctx, internalFormat);
2393
if (
baseFormat
< 0) {
2420
if (_mesa_components_in_format(
baseFormat
) >
2424
if (
baseFormat
== GL_DEPTH_COMPONENT ||
2425
baseFormat
== GL_DEPTH_STENCIL ||
2426
baseFormat
== GL_STENCIL_INDEX ||
2430
((
baseFormat
== GL_LUMINANCE_ALPHA ||
2431
baseFormat
== GL_ALPHA) &&
2486
if (!_mesa_source_buffer_exists(ctx,
baseFormat
)) {
[
all
...]
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
st_format.c
1322
GLenum
baseFormat
= _mesa_base_tex_format(ctx, internalFormat);
1333
if (iformat ==
baseFormat
&& iformat == basePackFormat) {
1522
GLenum
baseFormat
, GLboolean is_integer)
1527
switch (
baseFormat
) {
1558
switch (
baseFormat
) {
st_sampler_view.c
364
compute_texture_format_swizzle(GLenum
baseFormat
, GLenum depthMode,
367
switch (
baseFormat
) {
424
assert(!"Unexpected
baseFormat
");
435
GLenum
baseFormat
= _mesa_base_tex_image(&stObj->base)->_BaseFormat;
443
(
baseFormat
== GL_DEPTH_COMPONENT ||
444
baseFormat
== GL_DEPTH_STENCIL ||
445
baseFormat
== GL_STENCIL_INDEX)) {
453
tex_swizzle = compute_texture_format_swizzle(
baseFormat
,
516
GLenum
baseFormat
= _mesa_base_tex_image(&stObj->base)->_BaseFormat;
519
if (
baseFormat
== GL_DEPTH_COMPONENT |
[
all
...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
formatquery.c
958
GLint
baseformat
;
local
962
baseformat
= _mesa_base_tex_format(ctx, internalformat);
964
baseformat
= _mesa_base_fbo_format(ctx, internalformat);
975
if (texformat == MESA_FORMAT_NONE ||
baseformat
<= 0)
988
if (!_mesa_base_format_has_channel(
baseformat
, pname))
1148
GLenum
baseFormat
= _mesa_base_fbo_format(ctx, internalformat);
1149
if (
baseFormat
!= GL_DEPTH_STENCIL &&
1150
((pname == GL_DEPTH_RENDERABLE &&
baseFormat
!= GL_DEPTH_COMPONENT) ||
1151
(pname == GL_STENCIL_RENDERABLE &&
baseFormat
!= GL_STENCIL_INDEX)))
framebuffer.c
444
const GLenum
baseFormat
= _mesa_get_format_base_format(rb->Format);
454
if (_mesa_is_legal_color_format(ctx,
baseFormat
)) {
texparam.c
1551
GLenum
baseFormat
= _mesa_get_format_base_format(texFormat);
1596
if (_mesa_base_format_has_channel(
baseFormat
, pname))
1603
if (_mesa_base_format_has_channel(
baseFormat
, pname)) {
1664
if (_mesa_base_format_has_channel(
baseFormat
, pname))
texgetimage.c
274
teximage_needs_rebase(mesa_format texFormat, GLenum
baseFormat
,
279
if (
baseFormat
== GL_LUMINANCE ||
280
baseFormat
== GL_INTENSITY) {
286
} else if (
baseFormat
== GL_LUMINANCE_ALPHA) {
293
(
baseFormat
!= _mesa_get_format_base_format(texFormat))) {
295
_mesa_compute_rgba2base2rgba_component_mapping(
baseFormat
,
317
const GLenum
baseFormat
= _mesa_get_format_base_format(texFormat);
356
needsRebase = teximage_needs_rebase(texFormat,
baseFormat
, true,
1135
GLenum
baseFormat
;
1143
baseFormat
= _mesa_get_format_base_format(texImage->TexFormat)
[
all
...]
fbobject.c
694
_mesa_is_legal_color_format(const struct gl_context *ctx, GLenum
baseFormat
)
696
switch (
baseFormat
) {
722
const GLenum
baseFormat
=
726
valid = _mesa_is_legal_color_format(ctx,
baseFormat
);
776
is_legal_depth_format(const struct gl_context *ctx, GLenum
baseFormat
)
778
switch (
baseFormat
) {
807
GLenum
baseFormat
;
858
baseFormat
= texImage->_BaseFormat;
861
if (!_mesa_is_legal_color_format(ctx,
baseFormat
)) {
884
if (
baseFormat
== GL_DEPTH_COMPONENT)
[
all
...]
teximage.c
2303
GLint
baseFormat
;
2385
baseFormat
= _mesa_base_tex_format(ctx, internalFormat);
2386
if (
baseFormat
< 0) {
2413
if (_mesa_components_in_format(
baseFormat
) >
2417
if (
baseFormat
== GL_DEPTH_COMPONENT ||
2418
baseFormat
== GL_DEPTH_STENCIL ||
2419
baseFormat
== GL_STENCIL_INDEX ||
2423
((
baseFormat
== GL_LUMINANCE_ALPHA ||
2424
baseFormat
== GL_ALPHA) &&
2483
if (!_mesa_source_buffer_exists(ctx,
baseFormat
)) {
[
all
...]
/xsrc/external/mit/mesa-demos/dist/src/demos/
texenv.c
84
GLenum
baseFormat
;
163
int
baseFormat
;
308
if ( ++
baseFormat
> NUM_BASE_FORMATS - 1 ) {
309
baseFormat
= 0;
313
if ( --
baseFormat
< 0 ) {
314
baseFormat
= NUM_BASE_FORMATS - 1;
318
--baseFormats[
baseFormat
].current;
319
if ( baseFormats[
baseFormat
].current < 0 ) {
320
baseFormats[
baseFormat
].current = baseFormats[
baseFormat
].number - 1
[
all
...]
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/common/
meta.c
2731
const GLenum
baseFormat
= _mesa_get_format_base_format(format);
2735
switch (
baseFormat
) {
2764
baseFormat
);
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/common/
meta.c
2764
const GLenum
baseFormat
= _mesa_get_format_base_format(format);
2768
switch (
baseFormat
) {
2797
baseFormat
);
Completed in 28 milliseconds
Indexes created Sat Aug 01 00:24:56 UTC 2026