| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|\
| |
| |
| |
| |
| | |
Conflicts:
src/mesa/state_tracker/st_gen_mipmap.c
src/mesa/state_tracker/st_texture.c
|
| | |
|
| |
| |
| |
| |
| | |
adapt to blit changes, and also handle a bit more msaa state in theory
(incomplete, doesn't handle resolves in any way for now).
|
|\ \ |
|
| | |
| | |
| | |
| | | |
The linux-debug target builds...
|
| | |
| | |
| | |
| | | |
Signed-off-by: Corbin Simpson <[email protected]>
|
|/ /
| |
| |
| |
| |
| | |
Fixes regression from commit b0427bedde80e3189524651a327235bdfddbc613.
Reviewed-by: José Fonseca <[email protected]>
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This removes references to symbols in draw module for OpenGL ES build.
As OpenGL ES does not support feedback/selection mode, draw module is
used in pathes that will never be reached. However, if the symbols are
referenced, it will bloat the final shared libraries unnecessarily.
This is serious when LLVM is enabled.
|
| |
| |
| |
| |
| | |
This change allows st_cb_drawtex.h to be used without knowing if
FEATURE_OES_draw_texture is enabled.
|
| |
| |
| |
| |
| | |
This change allows st_cb_blit.h to be used without knowing if
FEATURE_EXT_framebuffer_blit is enabled.
|
| |
| |
| |
| |
| | |
This change allows st_cb_queryobj.h to be used without knowing if
FEATURE_queryobj is enabled.
|
| |
| |
| |
| |
| |
| | |
Make st_cb_feedback.h FEATURE_feedback aware and st_cb_rastpos.h
FEATURE_rastpos aware. Move creation of selection/feedback draw context
to st_init_draw.
|
| |
| |
| |
| |
| | |
This change allows st_cb_{bitmap,drawpixels}.h to be used without
knowing if FEATURE_drawpix is enabled.
|
| |
| |
| |
| |
| | |
This change allows st_cb_accum.h to be used without knowing if
FEATURE_accum is enabled.
|
| |
| |
| |
| |
| |
| | |
This allows transformfeedback.h and st_cb_xformfb.h to be included and
used without knowing if FEATURE_EXT_transform_feedback is enabled. Fix
build of ES overlay.
|
| | |
|
| |
| |
| |
| |
| |
| | |
This fixes crashes with the memory debugging routines on Windows.
NOTE: This is a candidate for the 7.8 stable branch
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Now that transfers are context operations it is the driver's
responsibility to ensure that transfers happen in order with all other
context operations, so flushes and finishes inside Mesa should be no
longer necessary. The attached patch implements that.
This should proportionate significant improvements for hardware drivers
which are able to stream transfers in the command buffers.
You can use the softpipe/llvmpipe_flush_resource() as reference
implementation of the worst case scenario, where the driver is not able
to streamline transfers. But the expectation is that driver
implementators will want to avoid flushing as much as possible.
|
| |
| |
| |
| |
| | |
Includes GL_ARB_transform_feedback2 which encapsulates transform feedback
state in objects.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
When internal_format and tex->format differ, st_finailize_texture will
surface_copy between surfaces with different formats. This commit works
around the issue by ignoring internal_format. A sane fix is needed
here.
|
| |
| |
| |
| |
| |
| |
| | |
When the mipmap level is smaller than the compression block width, height
we need to fill in / replicate pixels so that we don't get garbage values.
Fixes piglit gen-compressed-teximage test.
|
| |
| |
| |
| |
| | |
Fix more fall-out from the "ignore BaseLevel" change.
This may help with fd.o bug 27991.
|
| |
| |
| |
| |
| |
| | |
Saves some work and avoids potential issue with inconsistant mipmap
level sizes. As long as the mipmap levels from BaseLevel to MaxLevel
are consistant, we don't care about the other levels.
|
| |
| |
| |
| | |
This fixes FDO bug #27343.
|
| | |
|
| |
| |
| |
| |
| |
| | |
Remember the size of the level=0 mipmap image. Do not call
util_format_get_component_bits when st_context_teximage is called to
release a texture image.
|
| | |
|
| |
| |
| |
| | |
Fixes a regression in mipmap setup.
|
| |
| |
| |
| |
| |
| | |
Before we looked at stObj->pt to see if we may have run out of memory,
but that's not a good indicator. This fixes the spurious GL_OUT_OF_MEMORY
errors that could arise before.
|
| |
| |
| |
| |
| |
| |
| | |
No longer need to search for the src mipmap level.
Added assertions.
Updated comments.
Moved debug code into separate function.
|
|/
|
|
|
|
|
| |
In the lack of more fine grained capabilities in Gallium, assume that if
the pipe driver supports GLSL then native limits match Mesa software
limits.
(cherry picked from commit 40a90cd11234a09c2477f5c9984dd6d9fac3f52c)
|
|
|
|
| |
This is a better place than in u_rect.c
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|