|
a8f019b1
|
2022-10-28T00:52:06
|
|
Using ST and removing warnings
|
|
5de01eb0
|
2022-10-22T00:22:34
|
|
Make render to use new functions
|
|
f2ebedae
|
2022-10-27T00:35:20
|
|
adding texture function
|
|
dd72f3f0
|
2022-10-24T10:37:43
|
|
Added comment for #endif
|
|
3d35c085
|
2022-10-02T17:30:03
|
|
fix a few 'unused but set variable' and 'unused function' warnings
|
|
aefc6b5b
|
2022-10-18T08:40:03
|
|
Renamed variables, index is the singular of indices
|
|
dfbb93dd
|
2022-10-18T11:31:30
|
|
SDL_Renderer / GLES2: add specific list of indice to render rect (see #6401)
|
|
e8a4c23c
|
2022-10-18T10:45:01
|
|
Revert commit 790fa3156cfee847a7c0b34986de0cd7fdd7438f.
SDL_BLENDMODE_INVALID case is probably used for custom blendmode
|
|
790fa315
|
2022-10-18T10:41:10
|
|
Fix warning: enumeration value 'SDL_BLENDMODE_INVALID' not explicitly handled in switch
|
|
3d99d310
|
2022-10-18T10:34:56
|
|
Fixed bug #6401 - back-end can choose the order the triangles when rendering rects, attempt to fix small glitch rendering.
|
|
285cbf6f
|
2022-10-18T10:04:06
|
|
Revert commit 485bb3565b6da24620e4eedde837fbfbc5cee6d2.
"Fixed bug #6401 - change the order of triangles when using RenderCopy, RenderCopyEx and RenderFillRect"
because the glitch reappears on other backend
|
|
3903f4c8
|
2022-10-17T21:59:38
|
|
PSP: Use vramalloc instead of conflicting valloc function
The libpspvram library was offering a function with conflicted with valloc. This has been renamed now, so SDL2 had to be updated for it.
|
|
485bb356
|
2022-10-17T13:30:30
|
|
Fixed bug #6401 - change the order of triangles when using RenderCopy, RenderCopyEx and RenderFillRect
|
|
5b9608e0
|
2022-10-11T23:35:33
|
|
Remove D3D9 workarounds for Watcom.
The linked PRs have been merged since May.
|
|
df1bd07d
|
2022-10-11T07:25:27
|
|
d3d12: actually execute the pending commands before processing resize
This makes sure all the resources are in the expected state
Fix the D3D12 case in https://github.com/libsdl-org/SDL/issues/6376
|
|
41c718ed
|
2022-10-11T10:07:32
|
|
Fix memory leak in PSP_CreateTexture
|
|
8117bfe5
|
2022-10-10T22:29:31
|
|
PS2: Ignore warnings from toolchain headers.
The `gsInline.h` header creates `Wdeclaration-after-statement` warnings.
|
|
f99fc326
|
2022-10-09T11:42:39
|
|
d3d12: fixed window resize handling
Fixes https://github.com/libsdl-org/SDL/issues/6355
|
|
490c20f9
|
2022-10-09T09:57:55
|
|
d3d12: reset the vertex buffer size when it is released
|
|
01498d3a
|
2022-10-06T03:19:28
|
|
SDL_render_psp.c: fix -Wshadow
Emitted by PSP's gcc
|
|
85fd40fa
|
2022-10-06T02:04:24
|
|
Fix -Wunused-const-variable warning when using clang-cl
|
|
321ca109
|
2022-10-03T12:00:38
|
|
opengles2: Texture names are GLuint, not GLenum.
|
|
01c5554f
|
2022-10-03T11:57:10
|
|
opengles2: SDL_GL_BindTexture() should bind all YUV textures.
This matches what the non-GLES OpenGL renderer does.
Fixes #6070.
|
|
69bbe4ce
|
2022-09-29T15:50:50
|
|
Fix memory leak in VITA_GXM_CreateRenderer
|
|
00b67f55
|
2022-09-21T10:30:38
|
|
Fix potential memory leak in GLES_CreateTexture
|
|
82b40f09
|
2022-09-16T09:55:20
|
|
Fixed runaway CPU usage in the metal renderer when the window is minimized
|
|
e2753e19
|
2022-09-15T08:02:14
|
|
Calculate simulated vsync interval based on display refresh rate
|
|
208964f0
|
2022-09-15T07:05:55
|
|
Reset the simulated vsync presentation timeline if it's been too long since the last present
|
|
1663cb41
|
2022-09-15T06:30:19
|
|
Reset simulated presentation timeline when vsync status changes
|
|
d744aafb
|
2022-09-15T01:00:12
|
|
Added support for simulated vsync in the renderer
This kicks in if the platform doesn't support vsync directly, or if the present fails for some reason (e.g. minimized on some platforms)
Fixes https://github.com/libsdl-org/SDL/issues/5134
|
|
c23fb235
|
2022-09-16T17:20:56
|
|
SDL_render_d3d12.c: Fix uninitialized warning for CreateEventExFunc
|
|
5bc85d67
|
2022-09-16T06:15:45
|
|
Only advertise the SDL_PIXELFORMAT_EXTERNAL_OES format if we can build the shader for it
|
|
2970710b
|
2022-09-15T07:41:29
|
|
Pretty print shaders for debugging purposes
|
|
bc57d3e3
|
2022-09-15T06:57:41
|
|
Fixed OpenGL ES shader compilation on Linux
|
|
8a15a738
|
2022-09-15T06:21:19
|
|
Fixed uninitialized variable warning
|
|
b5102a55
|
2022-09-14T08:03:46
|
|
Fixed OpenGLES shaders failing after renderer has been created
Cache all the shaders up front, so we can verify that they won't silently fail at runtime.
If compiling the fragment shaders with the precision hint fails, try again without specifying precision.
Fixes https://github.com/libsdl-org/SDL/issues/6166
Fixes https://github.com/libsdl-org/SDL/issues/6174
|
|
7f415ce5
|
2022-09-12T20:09:00
|
|
android: fix some compiler warnings
|
|
90a480a1
|
2022-09-08T05:44:39
|
|
Fixed bug #6199 - Broken clip behaviour on a render target (metal)
|
|
29f4a5ba
|
2022-09-06T15:55:27
|
|
Add GLES2 shader prologue infrastructure. (by @eloj)
There is supposedly an OpenGL ES2 target that does not support precision specifiers. However, the existing logic to detect this is currently broken in two ways:
1) There's a typo of the `#ifdef` as `#if`.
2) Checking for `GL_FRAGMENT_PRECISION_HIGH` can not be the correct way to detect this platform. Other targets, including some desktops, will also not have this defined (for various reasons).
Because some of the shader code is missing precision specifiers, and because a default is ONLY provided if `GL_FRAGMENT_PRECISION_HIGH` is set, these other targets break.
Instead of 'hard-coding' the prologue string into shaders in the C source, use our ability to provide a list of strings to `glShaderSource` instead, leaving the determination to run-time.
This commit closes https://github.com/libsdl-org/SDL/pull/6182
|
|
4fd6bba2
|
2022-09-06T12:29:42
|
|
Refactored for similarity to surrounding code
|
|
10e1ef00
|
2022-09-06T11:21:57
|
|
Fix compatibility with Windows XP
|
|
f1e46858
|
2022-08-26T17:58:59
|
|
Adding specific SDL_Hint for the dynamic VSYNC
|
|
00452e47
|
2022-08-24T11:25:13
|
|
Adding SDL_GetWindowSizeInPixels for window size in pixels (#6112)
|
|
50c5d23f
|
2022-08-23T07:42:48
|
|
Round coordinates so very small floating point values don't turn into 0x80000000
e.g. SDL_RenderDrawLineF(renderer, -1e20, -1e20, 10, 10);
Fixes https://github.com/libsdl-org/SDL/issues/6116
|
|
09b6956d
|
2022-08-16T15:08:10
|
|
opengl: Support NV12 textures on GPUs with only 2 texture units
|
|
7d5ccae2
|
2022-08-14T12:15:55
|
|
Fix memory leak when destroying texture
|
|
cb46e1b3
|
2022-08-12T20:51:44
|
|
Removed unused variable
|
|
a28f426a
|
2022-08-12T16:13:24
|
|
render: Only update size/scale/viewport when moving to a new display, rather than all window movement.
We really only care about DPI changes here, so this both reduces work and also avoids weird cases where viewport state can be corrupted by trivial window events. This doesn't _completely_ get rid of the issue but this is somewhat intentional, since apps will definitely want to do a full reset when changing displays anyhow (otherwise DPI/adapter changes will screw things up, and that's out of our control as long as both window size and drawable size are exposed at the same time.
Note that OpenGL still captures window events because of weird platform-specific issues like macOS and viewport stretching!
Fixes #5949
|
|
20f9a1b8
|
2022-08-08T17:23:43
|
|
Implement SetTextureScaleMode
|
|
fbb440d1
|
2022-08-06T18:10:54
|
|
Invalidate texture in the UnlockTextureMethod
|
|
5858c7df
|
2022-08-05T16:17:10
|
|
Fixed OpenGL ES Shaders for systems that don't understand precision keywords
|
|
944111db
|
2022-08-02T18:47:39
|
|
Cleaning up video driver
|
|
83c11797
|
2022-08-01T12:23:58
|
|
Adding SetViewPortCommand
|
|
a9f4cda3
|
2022-08-01T12:13:28
|
|
Adding setcliprect command
|
|
fb1a205e
|
2022-08-01T11:44:05
|
|
Implement blend modes
|
|
075f9016
|
2022-08-01T11:43:50
|
|
Remove some unnecessary comments
|
|
ed301b12
|
2022-08-01T11:43:35
|
|
Updating supported format
|
|
1d1965b6
|
2022-07-18T12:34:17
|
|
Removing the BGR_888 from texture supported
|
|
f75c35c0
|
2022-07-12T23:01:28
|
|
Add invalidate texture when it changes
|
|
5bb965be
|
2022-07-08T15:47:33
|
|
Implement RenderLines
|
|
0f0e5b44
|
2022-07-08T17:47:19
|
|
Increase size of pool for gsKit events
|
|
f758cad8
|
2022-07-08T13:14:40
|
|
Remove non needed FillRects function
|
|
3cb124b9
|
2022-07-07T15:00:15
|
|
Implement RenderPoints
|
|
df6ebc25
|
2022-07-07T14:10:37
|
|
Implement FillRect
|
|
a152e467
|
2022-07-07T12:09:12
|
|
Fix "implicit declaration" with memalign
|
|
33cbf9ac
|
2022-07-07T12:03:46
|
|
Fix some mixed declaration warnings
|
|
acf48f14
|
2022-07-07T11:37:20
|
|
Vertex pointer revision
Now triangles are fully working
|
|
72618044
|
2022-07-07T10:36:48
|
|
Add textured triangle prim
|
|
2a70d492
|
2022-07-07T16:42:42
|
|
Destroy texture properly
|
|
7b0486d4
|
2022-07-07T09:33:36
|
|
Try triangles
|
|
d5305ee0
|
2022-07-07T08:48:25
|
|
Do properly color assign
|
|
b48c74a3
|
2022-07-07T08:24:46
|
|
Add GeometryQueue
|
|
3bfc8f55
|
2022-07-04T23:54:13
|
|
Removing some of the QueueCopy functions because they are legacy
|
|
be1219bd
|
2022-07-04T23:35:25
|
|
Implement setDrawColor
|
|
f1699ce7
|
2022-06-23T23:45:04
|
|
Implementing Clear command and texture Update
|
|
c472b8dd
|
2022-07-04T13:23:06
|
|
Whole clean around render and video driver
|
|
cdf89fde
|
2022-07-04T04:09:55
|
|
Add triangle prim support
Improve line support
Add initial texture support
|
|
88e64f9a
|
2022-07-03T23:29:25
|
|
Add natively supported colors
|
|
90e0e5c2
|
2022-06-30T19:50:22
|
|
Add point, line and rect support
|
|
147a71b9
|
2022-06-30T12:57:37
|
|
Finish dummy driver
|
|
2660449c
|
2022-06-30T11:44:35
|
|
Add dummy driver
|
|
65647b34
|
2022-07-22T22:07:52
|
|
SDL_Render: use high precision texcoords in ES2 shaders, when possible
Fixes #5884
|
|
b299cb3d
|
2022-07-17T08:31:16
|
|
Added a utility function to calculate the next power of 2 for a value
|
|
f317d619
|
2022-07-01T13:59:14
|
|
Xbox GDKX support (#5869)
* Xbox GDK support (14 squashed commits)
* Added basic keyboard testing
* Update readme
* Code review fixes
* Fixed issue where controller add/removal wasn't working (since the device notification events don't work on Xbox, have to use the joystick thread to poll XInput)
|
|
4f732197
|
2022-06-30T00:25:26
|
|
Fixed D3D12 renderer not working with batching, and got rid of the vertex buffer size limit
|
|
6c536afd
|
2022-06-27T15:43:17
|
|
Fix C89 declaration for macOS modules.
Since Clang 14, `-Wdeclaration-after-statement` is enforced on every
standard.
|
|
3b191580
|
2022-06-27T17:19:39
|
|
Windows GDK Support (#5830)
* Added GDK
* Simplfied checks in SDL_config_wingdk.h
* Added testgdk sample
* Added GDK readme
* Fixed error in merge of SDL_windows.h
* Additional GDK fixes
* OpenWatcom should not export _SDL_GDKGetTaskQueue
* Formatting fixes
* Moved initialization code into SDL_GDKRunApp
|
|
314bb5a1
|
2022-06-27T14:45:14
|
|
Fixed bug #5850: Android EGL_BAD_ACCESS because of viewport command while turning the screen off/on.
|
|
b2f07d94
|
2022-06-26T15:53:13
|
|
Vita: create rendertarget color surface with same format as texture. Fixes #5844
|
|
ebe4f47f
|
2022-06-26T19:04:25
|
|
Fixed __VA_ARGS__ in gcc when no args
|
|
51c6488f
|
2022-06-26T18:47:34
|
|
Add support for SDL_render_d3d12.c to compile in C++ mode
|
|
adc68758
|
2022-06-17T10:22:28
|
|
Added SDL_copyp to avoid size mismatch when copying values (thanks @1bsyl!)
Closes https://github.com/libsdl-org/SDL/pull/5811
|
|
1eb247fa
|
2022-06-16T15:44:18
|
|
Fixed building D3D12 renderer with latest mingw-64
|
|
960b86dc
|
2022-06-14T01:56:40
|
|
update SDL_render_d3d12.c after DPI scaling/highdpi support patch.
See https://github.com/libsdl-org/SDL/pull/5778#issuecomment-1153006938
|
|
ded6c22e
|
2022-06-14T14:09:13
|
|
render: Corrected wrong SDL_memcpy() sizes for viewport, cliprect.
Fixes #5786.
|
|
e09551bc
|
2022-06-09T02:22:21
|
|
Fix WinRT build
|
|
ab81a559
|
2022-06-07T02:01:27
|
|
Windows DPI scaling/highdpi support
Adds hint "SDL_WINDOWS_DPI_SCALING" which can be set to "1" to
change the SDL coordinate system units to be DPI-scaled points, rather
than pixels everywhere.
This means windows will be appropriately sized, even when created on
high-DPI displays with scaling.
e.g. requesting a 640x480 window from SDL, on a display with 125%
scaling in Windows display settings, will create a window with an
800x600 client area (in pixels).
Setting this to "1" implicitly requests process DPI awareness
(setting SDL_WINDOWS_DPI_AWARENESS is unnecessary),
and forces SDL_WINDOW_ALLOW_HIGHDPI on all windows.
|
|
6f69bbc5
|
2022-06-08T12:38:43
|
|
D3D11: Fix SDL_TEXTUREACCESS_TARGET not working if SDL_HAVE_YUV was 0
Added a couple of missing SDL_zeros in CreateTexture
|
|
8303c5d0
|
2022-06-08T12:37:36
|
|
Added missing SDL_zero for renderTargetViewDesc
|
|
7a335df9
|
2022-06-07T16:11:25
|
|
Updated CMakeLists.txt and configure.asc/script so that it checks for the required Windows SDK version before it enables the d3d12 renderer. Also fixed reported warnings in some builds.
|