.hgignore
author Sam Lantinga
Sun, 05 Apr 2020 08:58:47 -0700
changeset 13689 c3055b205671
parent 13477 98899a226da5
permissions -rw-r--r--
Fixed bug 5015 - SDL_RenderReadPixels on DirectX 11.1 backend seems to be broken

Konrad

It appears that I cannot use SDL_RenderReadPixels on a bound framebuffer (SDL_Texture set as render target) as it simply results in gibberish data. However, drawing that framebuffer into the default target (window surface) does render it correctly. Other backends (OpenGL, software, Direct3D) do work fine.

It looks to me like D3D11_RenderReadPixels just gets the general backbuffer and not the current render target and its backbuffer.

Here is the patch which actually fetches the current render target and its underlying ID3D11Resource which is ID3D11Texture2D.
icculus@4418
     1
syntax:glob
slouken@7232
     2
aclocal.m4
icculus@4418
     3
autom4te*
icculus@4418
     4
config.cache
icculus@4418
     5
config.log
icculus@4418
     6
config.status
slouken@13477
     7
libtool
icculus@4418
     8
Makefile
slouken@13477
     9
Makefile.rules
slouken@13477
    10
sdl2-config
slouken@13477
    11
sdl2-config.cmake
slouken@13477
    12
sdl2.pc
slouken@6250
    13
SDL2.spec
icculus@4418
    14
build
jadahl@10303
    15
gen
slime73@9487
    16
Build
slouken@5318
    17
slouken@13477
    18
# for CMake
slouken@13477
    19
CMakeFiles/
slouken@13477
    20
CMakeCache.txt
slouken@13477
    21
cmake_install.cmake
slouken@13477
    22
cmake_uninstall.cmake
slouken@13477
    23
SDL2ConfigVersion.cmake
slouken@13477
    24
*.a
slouken@13477
    25
*.la
slouken@13477
    26
*.so
slouken@13477
    27
*.so.*
slouken@13477
    28
.ninja_*
slouken@13477
    29
*.ninja
slouken@13477
    30
slouken@13476
    31
# for CLion
slouken@13476
    32
.idea
slouken@13476
    33
cmake-build-*
slouken@13476
    34
ewing@4466
    35
# for Xcode
ewing@4466
    36
*.orig
ewing@4466
    37
*.swp
ewing@4466
    38
*.tmp
ewing@4466
    39
*.rej
ewing@4466
    40
*~
ewing@4466
    41
*.o
ewing@4466
    42
*.mode1*
ewing@4466
    43
*.perspective*
ewing@4466
    44
*.pbxuser
ewing@4466
    45
(^|/)build($|/)
icculus@4418
    46
.DS_Store
slouken@9765
    47
xcuserdata
slouken@9765
    48
*.xcworkspace
slouken@5318
    49
slouken@5318
    50
# for Visual C++
slouken@5318
    51
Debug
slouken@5318
    52
Release
slouken@5318
    53
*.user
slouken@5318
    54
*.ncb
slouken@5318
    55
*.suo
slouken@7572
    56
*.sdf
slouken@8848
    57
VisualC/tests/loopwave/sample.wav
slouken@8848
    58
VisualC/tests/testautomation/CompareSurfaces0001_Reference.bmp
slouken@8848
    59
VisualC/tests/testautomation/CompareSurfaces0001_TestOutput.bmp
slouken@8848
    60
VisualC/tests/testgamecontroller/axis.bmp
slouken@8848
    61
VisualC/tests/testgamecontroller/button.bmp
slouken@8848
    62
VisualC/tests/testgamecontroller/controllermap.bmp
slouken@8848
    63
VisualC/tests/testoverlay2/moose.dat
slouken@8848
    64
VisualC/tests/testrendertarget/icon.bmp
slouken@8848
    65
VisualC/tests/testrendertarget/sample.bmp
slouken@8848
    66
VisualC/tests/testscale/icon.bmp
slouken@8848
    67
VisualC/tests/testscale/sample.bmp
slouken@8848
    68
VisualC/tests/testsprite2/icon.bmp
slouken@8848
    69
VisualC/visualtest/icon.bmp
slouken@8848
    70
VisualC/visualtest/testquit.actions
slouken@8848
    71
VisualC/visualtest/testquit.config
slouken@8848
    72
VisualC/visualtest/testquit.exe
slouken@8848
    73
VisualC/visualtest/testquit.parameters
slouken@8848
    74
VisualC/visualtest/testsprite2.exe
slouken@8848
    75
VisualC/visualtest/testsprite2_sample.actions
slouken@8848
    76
VisualC/visualtest/testsprite2_sample.config
slouken@8848
    77
VisualC/visualtest/testsprite2_sample.parameters
slouken@5318
    78
slouken@6907
    79
# for Android
slouken@6907
    80
android-project/local.properties
slouken@6907
    81
sezeroz@12990
    82
test/aclocal.m4
icculus@4418
    83
test/autom4te*
icculus@4418
    84
test/config.cache
icculus@4418
    85
test/config.log
icculus@4418
    86
test/config.status
icculus@4418
    87
test/Makefile
slouken@6250
    88
test/SDL2.dll
icculus@4418
    89
test/checkkeys
rohitnirmal9@9550
    90
test/controllermap
icculus@4418
    91
test/loopwave
icculus@9012
    92
test/loopwavequeue
slouken@4862
    93
test/testatomic
slouken@11702
    94
test/testaudiocapture
rohitnirmal9@9550
    95
test/testaudiohotplug
slouken@4862
    96
test/testaudioinfo
slouken@6958
    97
test/testautomation
slouken@11702
    98
test/testbounds
slouken@11702
    99
test/testcustomcursor
slouken@11702
   100
test/testdisplayinfo
slouken@4862
   101
test/testdraw2
rohitnirmal9@9550
   102
test/testdrawchessboard
rohitnirmal9@9550
   103
test/testdropfile
icculus@4418
   104
test/testerror
icculus@4418
   105
test/testfile
slouken@11702
   106
test/testfilesystem
slouken@6958
   107
test/testgamecontroller
slouken@4862
   108
test/testgesture
slouken@4862
   109
test/testgl2
slouken@4862
   110
test/testgles
rohitnirmal9@9550
   111
test/testgles2
slouken@4862
   112
test/testhaptic
icculus@8935
   113
test/testhittesting
rohitnirmal9@9550
   114
test/testhotplug
icculus@4418
   115
test/testiconv
slouken@4862
   116
test/testime
slouken@4862
   117
test/testintersections
icculus@4418
   118
test/testjoystick
icculus@4418
   119
test/testkeys
slouken@4862
   120
test/testloadso
icculus@4418
   121
test/testlock
slouken@6658
   122
test/testmessage
slouken@4862
   123
test/testmultiaudio
slouken@6286
   124
test/testnative
icculus@4418
   125
test/testoverlay2
icculus@4418
   126
test/testplatform
slouken@4862
   127
test/testpower
slouken@11702
   128
test/testqsort
slouken@6517
   129
test/testrelative
slouken@6517
   130
test/testrendercopyex
slouken@6286
   131
test/testrendertarget
slouken@4862
   132
test/testresample
slouken@5453
   133
test/testrumble
slouken@5318
   134
test/testscale
icculus@4418
   135
test/testsem
slouken@12130
   136
test/testsensor
slouken@5318
   137
test/testshader
slouken@5318
   138
test/testshape
slouken@4862
   139
test/testsprite2
slouken@4862
   140
test/testspriteminimal
slouken@5318
   141
test/teststreaming
slouken@6286
   142
test/testthread
icculus@4418
   143
test/testtimer
icculus@4418
   144
test/testver
rohitnirmal9@9550
   145
test/testviewport
slouken@13477
   146
test/testvulkan
slouken@4862
   147
test/testwm2
slouken@11702
   148
test/testyuv
icculus@4418
   149
test/torturethread
icculus@4418
   150
test/*.exe
slouken@13477
   151
test/*,e1f
slouken@13477
   152
test/*,ff8
icculus@4418
   153
test/*.dSYM
icculus@8152
   154
buildbot
icculus@8152
   155
test/buildbot